Two Planes of Truth: Execution Fidelity and Behavioral Correctness in Tool-Using LLM Agents
DOI:
https://doi.org/10.22399/ijcesen.5498Keywords:
Large language models, Tool-using agents, Execution fidelity, Behavioral correctness, Agent evaluation, Tool callingAbstract
The increasing integration of large language models (LLMs) with external tools has created a need for evaluation approaches that extend beyond final-answer accuracy and examine whether agents execute tasks through valid and dependable operational processes. This study proposes a two-plane evaluation framework that distinguishes execution fidelity, representing the correctness of tool selection, argument construction, execution order, constraint adherence, observation utilization, and error recovery, from behavioral correctness, representing the accuracy, completeness, validity, and instruction conformity of the resulting output. A controlled benchmark comprising 2,160 agent–task executions was constructed across four LLM agents, six categories of tool-mediated tasks, and three levels of task complexity. Overall, 33.6% of executions were faithful-correct, whereas 15.6% were unfaithful-correct, demonstrating that behaviorally successful outcomes may conceal deficiencies in the underlying execution trajectory. A further 4.4% were faithful-incorrect and 46.5% were unfaithful-incorrect. Execution Fidelity Score (EFS) and Behavioral Correctness Score (BCS) were strongly associated (Spearman’s ρ = 0.835, p < 0.001), yet their divergence across individual runs confirmed that they represent related but non-equivalent dimensions of agent performance. Task complexity strongly affected both EFS and BCS, with faithful-correct performance declining from 65.0% under low-complexity tasks to 5.42% under high-complexity tasks. Trace-level analysis further revealed task-specific failure patterns, particularly in sequencing, argument construction, output formatting, observation interpretation, and recovery. The findings demonstrate that outcome-only evaluation can overestimate the reliability of tool-using agents by overlooking procedurally deficient successes. The proposed two-plane framework provides a more transparent and diagnostically informative basis for evaluating trustworthy, auditable, and robust LLM agents in increasingly complex tool-mediated environments.
References
1. Bansal, G., Vaughan, J. W., Amershi, S., Horvitz, E., Fourney, A., Mozannar, H., ... & Weld, D. S. (2024). Challenges in human-agent communication. arXiv preprint arXiv:2412.10380.
2. Barua, S. (2024). Exploring autonomous agents through the lens of large language models: A review. arXiv preprint arXiv:2404.04442.
3. Cao, R., Lei, F., Wu, H., Chen, J., Fu, Y., Gao, H., ... & Yu, T. (2024). Spider2-v: How far are multimodal agents from automating data science and engineering workflows?. Advances in Neural Information Processing Systems, 37, 107703-107744. DOI: https://doi.org/10.52202/079017-3421
4. Chakraborty, S., & Boral, S. (2017). A developed case-based reasoning system for machine tool selection. Benchmarking: An International Journal, 24(5), 1364-1385. DOI: https://doi.org/10.1108/BIJ-07-2016-0103
5. Chen, X., Bai, R., Qu, R., Dong, J., & Jin, Y. (2024). Deep reinforcement learning assisted genetic programming ensemble hyper-heuristics for dynamic scheduling of container port trucks. IEEE Transactions on Evolutionary Computation, 29(4), 1371-1385. DOI: https://doi.org/10.1109/TEVC.2024.3381042
6. Day, R. F., Kuo, F. Y., & Huang, Y. F. (2021). Influence of self-efficacy on execution discrepancy and decision performance. Information & Management, 58(5), 103470. DOI: https://doi.org/10.1016/j.im.2021.103470
7. Faroni, M., Umbrico, A., Beschi, M., Orlandini, A., Cesta, A., & Pedrocchi, N. (2023). Optimal task and motion planning and execution for multiagent systems in dynamic environments. IEEE Transactions on Cybernetics, 54(6), 3366-3377. DOI: https://doi.org/10.1109/TCYB.2023.3263380
8. Gabriel, A. G., Ahmad, A. A., & Jeyakumar, S. K. (2024). Advancing agentic systems: Dynamic task decomposition, tool integration and evaluation using novel metrics and dataset. arXiv preprint arXiv:2410.22457.
9. Giuliani, M., & Castelletti, A. (2016). Is robustness really robust? How different definitions of robustness impact decision-making under climate change. Climatic Change, 135(3), 409-424. DOI: https://doi.org/10.1007/s10584-015-1586-9
10. Jagiello, R., Heyes, C., & Whitehouse, H. (2022). Tradition and invention: The bifocal stance theory of cultural evolution. Behavioral and Brain Sciences, 45, e249. DOI: https://doi.org/10.1017/S0140525X22000383
11. Jin, H., Huang, L., Cai, H., Yan, J., Li, B., & Chen, H. (2024). From llms to llm-based agents for software engineering: A survey of current, challenges and future. arXiv preprint arXiv:2408.02479.
12. Ledford, J. R., & Gast, D. L. (2014). Measuring procedural fidelity in behavioural research. Neuropsychological Rehabilitation, 24(3-4), 332-348. DOI: https://doi.org/10.1080/09602011.2013.861352
13. Li, R., Li, R., Wang, B., & Du, X. (2024). Iqa-eval: Automatic evaluation of human-model interactive question answering. Advances in Neural Information Processing Systems, 37, 109894-109921. DOI: https://doi.org/10.52202/079017-3487
14. O'Sullivan, T. (2017). Irish Institutes of Technology in a Time of Change: A Small-scale Exploratory Qualitative Study Examining the Self-censorship of Pro-organisational Employee Voice in a Temporal Context (Doctoral dissertation, University of Sheffield).
15. Pan, A., Jones, E., Jagadeesan, M., & Steinhardt, J. (2024). Feedback loops with language models drive in-context reward hacking. arXiv preprint arXiv:2402.06627.
16. Pasumarthi, H. (2023). A deep dive into enterprise B2B integrations: Designing high-availability file and API workflows with IBM Datapower and Autosys. International Journal of Research Publications in Engineering, Technology and Management (IJRPETM), 6(2), 8363-8370.
17. Ponzoni Carvalho Chanel, C., Albore, A., T’hooft, J., Lesire, C., & Teichteil-Königsbuch, F. (2019). AMPLE: An anytime planning and execution framework for dynamic and uncertain problems in robotics. Autonomous Robots, 43(1), 37-62. DOI: https://doi.org/10.1007/s10514-018-9703-z
18. Sun, J., Min, S. Y., Chang, Y., & Bisk, Y. (2024, November). Tools fail: Detecting silent errors in faulty tools. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (pp. 14272-14289). DOI: https://doi.org/10.18653/v1/2024.emnlp-main.790
19. Yuan, W., Neubig, G., & Liu, P. (2021). Bartscore: Evaluating generated text as text generation. Advances in neural information processing systems, 34, 27263-27277.
20. Yüksel, H. (2024). Enterprise Architecture in the Digital World. Springer Books. DOI: https://doi.org/10.1007/978-3-658-45667-2
21. Zhou, Y., Zhang, W., Shao, J., Liu, Y., Li, X., Jin, J., ... & Mao, J. (2024). Trustworthiness in retrieval-augmented generation systems: A survey. arXiv preprint arXiv:2409.10102.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 International Journal of Computational and Experimental Science and Engineering

This work is licensed under a Creative Commons Attribution 4.0 International License.