The Fusion of Large Language Models and Formal Methods for Trustworthy AI Agents: A Roadmap
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Large Language Models (LLMs) have emerged as a transformative AI paradigm, profoundly influencing daily life through their exceptional language understanding and contextual generation capabilities. Despite their remarkable performance, LLMs face a critical challenge: the propensity to produce unreliable outputs due to the inherent limitations of their learning-based nature. Formal methods (FMs), on the other hand, are a well-established computation paradigm that provides mathematically rigorous techniques for modeling, specifying, and verifying the correctness of systems. FMs have been extensively applied in mission-critical software engineering, embedded systems, and cybersecurity. However, the primary challenge impeding the deployment of FMs in real-world settings lies in their steep learning curves, the absence of user-friendly interfaces, and issues with efficiency and adaptability. This position paper outlines a roadmap for advancing the next generation of trustworthy AI systems by leveraging the mutual enhancement of LLMs and FMs. First, we illustrate how FMs, including reasoning and certification techniques, can help LLMs generate more reliable and formally certified outputs. Subsequently, we highlight how the advanced learning capabilities and adaptability of LLMs can significantly enhance the usability, efficiency, and scalability of existing FM tools. Finally, we show that unifying these two computation paradigms -- integrating the flexibility and intelligence of LLMs with the rigorous reasoning abilities of FMs -- has transformative potential for the development of trustworthy AI software systems. We acknowledge that this integration has the potential to enhance both the trustworthiness and efficiency of software engineering practices while fostering the development of intelligent FM tools capable of addressing complex yet real-world challenges.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 23 of its 94 references that are in the map. First posted on arXiv 9 Dec 2024.
Builds on
23 of 94 references.
References · 23
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023A Survey of Large Language Modelscited by 2,537
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 810
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 329
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
- 2023Don't Make Your LLM an Evaluation Benchmark Cheatercited by 194
- 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
- 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
- 2022A Survey of Knowledge Graph Reasoning on Graph Types: Static, Dynamic, and Multimodalcited by 106
11 more
- 2024Faithfulness vs. Plausibility: On the (Un)Reliability of Explanations from Large Language Modelscited by 104
- 2024SciAgent: Tool-augmented Language Models for Scientific Reasoningcited by 69
- 2024Lean Copilot: Large Language Models as Copilots for Theorem Proving in Leancited by 52
- 2024SpecGen: Automated Generation of Formal Program Specifications via Large Language Modelscited by 51
- 2024ReGAL: Refactoring Programs to Discover Generalizable Abstractionscited by 32
- 2024LLMDFA: Analyzing Dataflow in Code with Large Language Modelscited by 22
- 2024Transforming Software Development: Evaluating the Efficiency and Challenges of GitHub Copilot in Real-World Projectscited by 18
- 2023A Static Evaluation of Code Completion by Large Language Modelscited by 14
- 2024CheckEmbed: Effective Verification of LLM Solutions to Open-Ended Taskscited by 10
- 2024Guiding LLM Temporal Logic Generation with Explicit Separation of Data and Controlcited by 8
- 2024Runtime Monitoring and Enforcement of Conditional Fairness in Generative AIscited by 2
Built on by
Citing papers per year: 2025: 12; 2026: 8.
20 papers.
Sort:
By area:
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agentscited by 28
- 2025AgentGuard: Runtime Verification of AI Agentscited by 16
- 2025Inherent and emergent liability issues in LLM-based agentic systems: a principal-agent perspectivecited by 12
- 2025SolverLLM: Leveraging Test-Time Scaling for Optimization Problem via LLM-Guided Searchcited by 10
- 2025Position: Towards a Responsible LLM-empowered Multi-Agent Systemscited by 7
- 2026Neuro-Symbolic Compliance: Integrating LLMs and SMT Solvers for Automated Financial Legal Analysiscited by 3
- 2026MANTRA: Synthesizing SMT-Validated Compliance Benchmarks for Tool-Using LLM Agentscited by 3
- 2025Detecting LLM Fact-conflicting Hallucinations Enhanced by Temporal-logic-based Reasoningcited by 2
- 2026FormalJudge: A Neuro-Symbolic Paradigm for Agentic Oversightcited by 2
- 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcementcited by 2
- 2025Reasoning Under Threat: Symbolic and Neural Techniques for Cybersecurity Verificationcited by 1
- 2025ReGA: Model-Based Safeguard for LLMs via Representation-Guided Abstractioncited by 1
8 more
- 2025Watchdogs and Oracles: Runtime Verification Meets Large Language Models for Autonomous Systemscited by 1
- 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generationcited by 0
- 2025Bridging Language Models and Formal Methods for Intent-Driven Optical Network Designcited by 0
- 2025From Craft to Constitution: A Governance-First Paradigm for Principled Agent Engineeringcited by 0
- 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testingcited by 0
- 2026AutoSpec: Safety Rule Evolution for LLM Agents via Inductive Logic Programmingcited by 0
- 2026Ceci n'est pas une pipe: AI systems as semantic abstractionscited by 0
- 2026Epistemic-Probabilistic Model for Guarded Multi-Agent LLM Coordinationcited by 0
- 2026Epistemic-Probabilistic Model for Guarded Multi-Agent LLM Coordination24 Sep 2026
- 2026Ceci n'est pas une pipe: AI systems as semantic abstractions10 Jul 2026
- 2026AutoSpec: Safety Rule Evolution for LLM Agents via Inductive Logic Programming23 Jun 2026
- 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcement22 Jun 2026
- 2026MANTRA: Synthesizing SMT-Validated Compliance Benchmarks for Tool-Using LLM Agents7 May 2026
- 2026FormalJudge: A Neuro-Symbolic Paradigm for Agentic Oversight11 Feb 2026
- 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testing2 Feb 2026
- 2026Neuro-Symbolic Compliance: Integrating LLMs and SMT Solvers for Automated Financial Legal Analysis7 Jan 2026
- 2025Watchdogs and Oracles: Runtime Verification Meets Large Language Models for Autonomous Systems18 Nov 2025
- 2025SolverLLM: Leveraging Test-Time Scaling for Optimization Problem via LLM-Guided Search19 Oct 2025
- 2025From Craft to Constitution: A Governance-First Paradigm for Principled Agent Engineering12 Oct 2025
- 2025AgentGuard: Runtime Verification of AI Agents28 Sep 2025
8 more
- 2025Bridging Language Models and Formal Methods for Intent-Driven Optical Network Design26 Sep 2025
- 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generation25 Jul 2025
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agents30 Jun 2025
- 2025ReGA: Model-Based Safeguard for LLMs via Representation-Guided Abstraction2 Jun 2025
- 2025Inherent and emergent liability issues in LLM-based agentic systems: a principal-agent perspective4 Apr 2025
- 2025Reasoning Under Threat: Symbolic and Neural Techniques for Cybersecurity Verification27 Mar 2025
- 2025Detecting LLM Fact-conflicting Hallucinations Enhanced by Temporal-logic-based Reasoning19 Feb 2025
- 2025Position: Towards a Responsible LLM-empowered Multi-Agent Systems3 Feb 2025
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agentscited by 28
- 2025AgentGuard: Runtime Verification of AI Agentscited by 16
- 2025Inherent and emergent liability issues in LLM-based agentic systems: a principal-agent perspectivecited by 12
- 2025Position: Towards a Responsible LLM-empowered Multi-Agent Systemscited by 7
- 2026MANTRA: Synthesizing SMT-Validated Compliance Benchmarks for Tool-Using LLM Agentscited by 3
- 2026FormalJudge: A Neuro-Symbolic Paradigm for Agentic Oversightcited by 2
- 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcementcited by 2
- 2025From Craft to Constitution: A Governance-First Paradigm for Principled Agent Engineeringcited by 0
- 2026AutoSpec: Safety Rule Evolution for LLM Agents via Inductive Logic Programmingcited by 0
- 2026Epistemic-Probabilistic Model for Guarded Multi-Agent LLM Coordinationcited by 0
- 2026Epistemic-Probabilistic Model for Guarded Multi-Agent LLM Coordination24 Sep 2026
- 2026AutoSpec: Safety Rule Evolution for LLM Agents via Inductive Logic Programming23 Jun 2026
- 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcement22 Jun 2026
- 2026MANTRA: Synthesizing SMT-Validated Compliance Benchmarks for Tool-Using LLM Agents7 May 2026
- 2026FormalJudge: A Neuro-Symbolic Paradigm for Agentic Oversight11 Feb 2026
- 2025From Craft to Constitution: A Governance-First Paradigm for Principled Agent Engineering12 Oct 2025
- 2025AgentGuard: Runtime Verification of AI Agents28 Sep 2025
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agents30 Jun 2025
- 2025Inherent and emergent liability issues in LLM-based agentic systems: a principal-agent perspective4 Apr 2025
- 2025Position: Towards a Responsible LLM-empowered Multi-Agent Systems3 Feb 2025
- 2026Neuro-Symbolic Compliance: Integrating LLMs and SMT Solvers for Automated Financial Legal Analysiscited by 3
- 2025Reasoning Under Threat: Symbolic and Neural Techniques for Cybersecurity Verificationcited by 1
- 2025Watchdogs and Oracles: Runtime Verification Meets Large Language Models for Autonomous Systemscited by 1
- 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generationcited by 0
- 2025Bridging Language Models and Formal Methods for Intent-Driven Optical Network Designcited by 0
- 2026Ceci n'est pas une pipe: AI systems as semantic abstractionscited by 0
- 2026Ceci n'est pas une pipe: AI systems as semantic abstractions10 Jul 2026
- 2026Neuro-Symbolic Compliance: Integrating LLMs and SMT Solvers for Automated Financial Legal Analysis7 Jan 2026
- 2025Watchdogs and Oracles: Runtime Verification Meets Large Language Models for Autonomous Systems18 Nov 2025
- 2025Bridging Language Models and Formal Methods for Intent-Driven Optical Network Design26 Sep 2025
- 2025Generative Logic: A New Computer Architecture for Deterministic Reasoning and Knowledge Generation25 Jul 2025
- 2025Reasoning Under Threat: Symbolic and Neural Techniques for Cybersecurity Verification27 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2024Large Language Model Evaluation Via Multi AI Agents: Preliminary results
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents
- 2026A Unified Evaluation Framework for Trustworthy Large Language Models, Agentic AI, and Multimodal Systems
- 2023A Survey on Large Language Model based Autonomous Agents
- 2025From Language to Action: A Review of Large Language Models as Autonomous Agents and Tool Users
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challenges
- 2023The Rise and Potential of Large Language Model Based Agents: A Survey
- 2024Formal-LLM: Integrating Formal Language and Natural Language for Controllable LLM-based Agents