University of Toronto
Towards Reliable and Practical Language-Model Agents: Evaluation and Development
Abstract
dc:description.abstractWhile Large Language Model (LLM) agents with complex reasoning and tool-use capabilities are promising, their fundamental unreliability like hallucination hinders practical, high-stakes deployment. This thesis confronts this gap by diagnosing key facets of this unreliability and proposing a more principled paradigm for agent development. In this thesis, we diagnose the multifaceted nature of agent unreliability through three complementary evaluations. First, we introduce \tau2-Bench, a novel benchmark that measures an agent's reliability in real-world scenarios requiring collaboration with a human user. Then, to quantify the severe consequences of agent failures, we present ToolEmu, a framework that uses an LM-emulated sandbox to identify and assess high-stakes risks. Finally, we probe the foundational reliability of agent-generated code with TypyBench, which analyzes type inference consistency at the repository level. We further argue that these multifaceted failures necessitate a principled, hybrid approach. We introduce APPL, a prompt programming language that enables this by seamlessly integrating prompts and code. This promotes a modular design, which encapsulates the stochastic reasoning of LLMs within well-defined programmatic structures. The resulting agent architecture is more transparent, structured, and debuggable, providing a sounder foundation for building dependable systems. Collectively, these contributions advance the development of practical and reliable agents by providing rigorous new methods for evaluation and a more principled framework for their construction, establishing a more reliable engineering foundation for the field.
Degree
thesis:*- Department dc:contributor.department
- Computer Science
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Dong, Honghua
- Advisors dc:contributor.advisor
-
- Si, Xujie
- Maddison, Chris J
Subjects
dc:subject × 4Rights
dc:rights- Statement dc:rights
-
- Attribution 4.0 International
- Licence dc:rights.uri
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/151915