The Fusion of Large Language Models and Formal Methods for Trustworthy AI Agents: A Roadmap
National University of Singapore(新加坡国立大学);Peking University(北京大学);Huazhong University of Science and Technology(华中科技大学);Griffith University(格里菲斯大学);Beijing Institute of Technology(北京理工大学);Singapore Management University(新加坡管理大学);University of Auckland(奥克兰大学)
Yedi Zhang, Yufan Cai, Xinyue Zuo, Xiaokun Luan, Kailong Wang, Zhe Hou, Yifan Zhang, Zhiyuan Wei, Meng Sun, Jun Sun, Jing Sun, Jin Song Dong
大语言模型(Large Language Models, LLMs)已成为一种变革性的AI范式,凭借其卓越的语言理解和上下文生成能力深刻影响着日常生活。尽管性能出色,LLMs仍面临一项关键挑战:由于其基于学习的本质存在固有局限,容易产生不可靠的输出。另一方面,形式化方法(Formal Methods, FMs)是一种成熟的计算范式,可为系统的建模、规约和正确性验证提供数学层面严格的技术手段。FMs已被广泛应用于任务关键型软件工程、嵌入式系统和网络安全领域。然而,阻碍FMs在实际场景中部署的主要挑战在于其学习曲线陡峭、缺乏用户友好的界面,以及效率和适应性方面的问题。\n本立场论文提出了一条通过LLMs与FMs的相互增强来推动下一代可信AI系统发展的路线图。首先,我们阐述了包括推理和认证技术在内的FMs如何帮助LLMs生成更可靠且具备形式化认证的输出。随后,我们强调了LLMs的先进学习能力与适应性如何能够显著提升现有FM工具的易用性、效率和可扩展性。最后,我们表明,统一这两种计算范式——将LLMs的灵活性与智能性和FMs的严格推理能力相结合——对可信AI软件系统的开发具有变革性潜力。我们认为,这种融合有望同时提升软件工程实践的可信度与效率,同时推动能够应对复杂现实挑战的智能FM工具的发展。
英文摘要:
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.
Towards Trustworthy Retrieval Augmented Generation for Large Language Models: A Survey
Vanderbilt University(范德堡大学);University of Notre Dame(圣母大学);University of Oregon(俄勒冈大学);Meta;Oracle Health AI(甲骨文健康人工智能公司);Adobe Research(奥多比研究院);Cisco AI Research(思科人工智能研究院);North Carolina State University(北卡罗来纳州立大学);The Hong Kong Polytechnic University(香港理工大学);Air Force Research Lab(空军研究实验室)
TrustGeoGen: Formal-Verified Data Engine for Trustworthy Multi-modal Geometric Problem Solving
College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机科学与人工智能学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院)
A roadmap to fair and trustworthy prediction model validation in healthcare
Duke-NUS Medical School(杜克-国大医学院);Erasmus MC University Medical Center(伊拉斯姆斯大学医学中心);Singapore Health Services(新加坡保健服务集团);Singapore General Hospital(新加坡中央医院);Duke University(杜克大学);National University of Singapore(新加坡国立大学)
Trustworthy Quantum Machine Learning: A Roadmap for Reliability, Robustness, and Security in the NISQ Era
Department of Electrical Engineering and Computer Science, University of Stavanger, Norway(斯瓦尔巴大学电气工程与计算机科学系);School of Physics, Engineering and Technology, University of York, UK(约克大学物理、工程与技术学院)
Testing learning-enabled cyber-physical systems with Large-Language Models: A Formal Approach
Macquarie University(麦考瑞大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);Yale University(耶鲁大学);University of Wisconsin Madison(威斯康星大学麦迪逊分校);University of Southern California(南加州大学);University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校);University of Pennsylvania(宾夕法尼亚大学)
Responsible Integration of AI in Cancer Genomics: Barriers, Risks, and Pathways to Trustworthy Clinical Translation
Robert Koch Institute(罗伯特·科赫研究所);European Commission(欧洲委员会);Deree-The American College of Greece(希腊 Deree 美国学院);Åbo Akademi University(奥布学术大学);Arcada University of Applied Sciences(阿卡达应用科学大学);University of Münster(明斯特大学)
Trustworthy Graph Neural Networks: Aspects, Methods and Trends
Monash University(莫纳什大学);University of Melbourne(墨尔本大学);Griffith University(格里菲斯大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Duke University(杜克大学)
AI Slop and Hallucinations in Vulnerability Assessment: A Survey on Reasoning Failures and Trustworthy Mitigation
University of New South Wales(新南威尔士大学);University of Wollongong(伍伦贡大学);Nanjing University of Information Science & Technology(南京信息工程大学);Griffith University(格里菲斯大学);Nanyang Technological University(南洋理工大学)
NeuroSymbolic AI for Legal AI-TRISM: Trustworthy, Reliable, Interpretable, Safe Models
Department of Computer Science, AI Institute, University of South Carolina(南卡罗来纳大学计算机科学系,人工智能研究所);Department of Computer Science and Electrical Engineering, University of Maryland, Baltimore County(马里兰大学巴尔的摩县分校计算机科学与电气工程系);Department of Computer Science and Engineering, The Ohio State University(俄亥俄州立大学计算机科学与工程系)
University of Bristol(布里斯托大学);Open University(开放大学);Imperial College London(伦敦帝国理工学院);Lancaster University(兰卡斯特大学);University of Edinburgh(爱丁堡大学);Bauhaus University Weimar(魏玛包豪斯大学)