Honesty Testing of LLMs and AI Agents: A Vision for Software Engineering
Ying Xiao, Xinjian Wu, Lukas Twist, Yaoqi Guo, Yepang Liu, Zhenpeng Chen, Jie M. Zhang
Abstract
Human oversight of large language models (LLMs) and artificial intelligence (AI) agents increasingly depends on their reports. Claims that conflict with a system's own judgments can conceal failures, prevent timely intervention, and contribute to severe harm. Greater autonomy makes faithful reporting increasingly important for maintaining human control. In this vision paper, we propose honesty testing of LLMs and AI agents as a new research area in software engineering. Building on existing honesty evaluations, our goal is to make faithful reporting a software quality requirement that developers can specify, test, and maintain. We define honesty bugs as behavioural defects in which an LLM or AI agent, when required to communicate faithfully, makes an explicit claim that conflicts with its own judgment at the time of reporting. We present an initial framework covering LLM-level testing under controlled inputs and agent-level testing of complete systems. The framework connects these levels to testing workflows and oracle evidence. We identify research directions in benchmarks, model and harness analysis, oracle construction, and lifecycle testing to support effective oversight alongside task correctness.
Create a lesson
Metadata
- Comments
- 5 pages, 1 figure
Related papers
Think Before You Code: A Benchmark for Testing LLMs on Software Engineering Deliberation
Shared title terminologycs.SEAshman Mehra
SWE-growth: Teacher-Guided Adaptive Self-Play for Software Engineering Agents
Shared title terminologycs.SESongshi Liang, Zixuan Huang, Mingxuan Song et al.
Beyond Leaderboard Ranks: Selecting Software Engineering Agents Under Budget Constraints
Shared title terminologycs.SESrinath Srinivasan, Tim Menzies
Re-Reading Is Not Free: Token Traces and Cache-Aware Energy Estimation for LLM Agents in Software Engineering
Shared title terminologycs.SETina Vartziotis, Ketevan Peranidze, Rodopi Kosteli et al.
Soei: Structured Observability of Evidence and Intent for Multi-Agent AI Software Engineering
Shared title terminologycs.SEMohammed Nayeem Khan, K S Sarun Kumar
Mind the Intent Gap: A Methodology for Collaborative Agent-Driven Software Engineering
Shared title terminologycs.SENicolas Tacheny, Tom Mens, Saïd Mahmoudi