Toward Effective and Reliable LLM Agents via Dynamic Ontology
2026-08-24 • Artificial Intelligence
Artificial Intelligence
AI summaryⓘ
The authors describe OaK, a system that builds and improves specialized knowledge maps (ontologies) for language AI to use in specific tasks. Unlike typical AI models that rely on stored facts or messy info, OaK explicitly shows important concepts and their connections, helping the AI make better, clearer decisions in multiple steps. It starts with a basic ontology, then refines it using feedback to fit the task better. Testing on several tasks showed that OaK helps language AI use evidence more reliably and make stronger multi-step choices.
Large Language ModelsOntologyKnowledge GraphMulti-step ReasoningDomain AdaptationTask-oriented OntologiesSemantic RelationsGraph ReasoningFeedback Refinement
Authors
Xiaohui Zhang, Zequn Sun, Chengyuan Yang, Yuanning Cui, Lingbing Guo, Wei Hu
Abstract
Large language model (LLM) agents rely heavily on knowledge encoded in model parameters or presented as unstructured context. In domain-specific tasks, this leaves important semantic connections implicit. This often results in incomplete evidence use and brittle multi-step decisions. Ontologies offer a way to externalize domain concepts and relations as machine-interpretable structures, but constructing task-usable ontologies traditionally requires substantial effort from domain experts and is difficult to scale. Automatic construction is also challenging: an ontology that appears semantically plausible may not contain the relational structures needed for actual decision making. We present OaK, an ontology-as-a-kernel framework that dynamically constructs and refines task-oriented ontologies for LLM agents. Given task requirements and training data, OaK constructs an ontology and its knowledge graph, generates task-adaptation functions for graph reasoning, and uses judge feedback to iteratively refine both. By making relevant concepts and relations explicit, the ontology grounds knowledge retrieval and multi-step decision making. We evaluate OaK on TravelPlanner, CRMArenaPro, and ToolQA. Results show that OaK improves standard LLM agents, strengthens evidence grounding, and boosts the reliability of multi-step reasoning.