Hong Kong University of Science and Technology
Grounding LLM Agents in Knowledge, Context, and Action
Abstract
dc:description<p>Large language models (LLMs) are increasingly deployed as autonomous agents that interact with users, retrieve external knowledge, and invoke tools to accomplish complex tasks. However, these agents remain insufficiently grounded: they struggle to detect contradictory evidence from external sources, fail to maintain accurate information over extended interactions, and lack the ability to plan and execute multi-step operations effectively. This thesis addresses these challenges by grounding LLM agents along three dimensions—knowledge, context, and action.</p> <p>First, we ground agents in external knowledge through two complementary studies. We develop a benchmark for detecting and resolving conflicts among retrieved evidence, revealing that most LLMs struggle to properly handle contradictory information. We further propose a systematic evaluation framework that assesses LLMs’ability to verify claims requiring multiple interdependent pieces of evidence and to plan effective retrieval strategies. Second, we ground agents in conversational context by addressing the challenge of memory in long-horizon interactions. We develop an interactive, on-policy evaluation framework with schema-based state evolution that enables controlled assessment of how well agents maintain and utilize contextual information over time, revealing significant memory limitations in current systems. Third, we ground agents in action through tool-augmented planning. In recent work, we train LLMs to orchestrate complex, multi-step API calls through reinforcement learning, with constrained data synthesis and graduated reward designs that improve planning performance, particularly at increasing task complexity, and show that the learned orchestration skills transfer across API ecosystems. By addressing knowledge, context, and action jointly, this thesis provides both evaluation tools and training methods that help LLM agents operate more reliably when deployed in complex, real-world settings.</p>
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Cheng, Jiayang
- Contributors dc:contributor
-
- Song, Yangqiu
Rights
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://repository.hkust.edu.hk/ir/Record/1783.1-172464