Enhancing Transformation from Natural Language to Signal Temporal Logic Using LLMs with Diverse External Knowledge
School of Computer Science, Peking University(北京大学计算机学院);Key Laboratory of High Confidence Software Technologies (PKU), MOE(高可信软件技术重点实验室(PKU));National Key Laboratory of Space Integrated Information System, Institute of Software, Chinese Academy of Sciences(空间一体化信息系统国家重点实验室,软件研究所,中国科学院);East China Normal University(华东师范大学)
Yue Fang, Zhi Jin, Jie An, Hongshen Chen, Xiaohong Chen, Naijun Zhan
Temporal Logic (TL), especially Signal Temporal Logic (STL), enables precise formal specification, making it widely used in cyber-physical systems such as autonomous driving and robotics. Automatically transforming NL into STL is an attractive approach to overcome the limitations of manual transformation, which is time-consuming and error-prone. However, due to the lack of datasets, automatic transformation currently faces significant challenges and has not been fully explored. In this paper, we propose an NL-STL dataset named STL-Diversity-Enhanced (STL-DivEn), which comprises 16,000 samples enriched with diverse patterns. To develop the dataset, we first manually create a small-scale seed set of NL-STL pairs. Next, representative examples are identified through clustering and used to guide large language models (LLMs) in generating additional NL-STL pairs. Finally, diversity and accuracy are ensured through rigorous rule-based filters and human validation. Furthermore, we introduce the Knowledge-Guided STL Transformation (KGST) framework, a novel approach for transforming natural language into STL, involving a generate-then-refine process based on external knowledge. Statistical analysis shows that the STL-DivEn dataset exhibits more diversity than the existing NL-STL dataset. Moreover, both metric-based and human evaluations indicate that our KGST approach outperforms baseline models in transformation accuracy on STL-DivEn and DeepSTL datasets.
Are LLMs Stable Formal Logic Translators in Logical Reasoning Across Linguistically Diversified Texts?
State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(认知智能国家重点实验室,中国科学技术大学);School of Computer Science and Technology, University of Science and Technology of China(计算机科学与技术学院,中国科学技术大学);School of Information Science and Technology, University of Science and Technology of China(信息科学与技术学院,中国科学技术大学)
SMITE: Enhancing Fairness in LLMs through Optimal In-Context Example Selection via Dynamic Validation
Indian Institute of Technology Delhi, India(印度德里理工学院);Delhi Technological University, India(德里技术大学);Indian Institute of Science Education and Research Kolkata, India(印度科学教育与研究学院科希拉分校);Indian Institute of Technology Kharagpur, India(印度理工学院哈里科格分校)
Enhancing Logical Reasoning in Language Models via Symbolically-Guided Monte Carlo Process Supervision
School of Computer Science, University of Sheffield(谢菲尔德大学计算机科学学院);School of Electronic Engineering and Computer Science, Queen Mary University of London(伦敦大学玛丽女王学院电子工程与计算机科学学院);The Alan Turing Institute(艾伦·图灵研究所)
Don't Judge a Book by its Cover: Testing LLMs' Robustness Under Logical Obfuscation
Manipal University Jaipur(马纳普大学贾普尔分校);Indian Institute of Technology, Patna(印度理工学院帕坦分校);Indian Institute of Science Education and Research, Kolkata(印度科学教育与研究学院科钦分校)
Time Series Forecasting with LLMs: Understanding and Enhancing Model Capabilities
Rutgers University(罗格斯大学);Shanghai Jiaotong University(上海交通大学);University of Liverpool(利物浦大学);New Jersey Institute of Technology(新泽西理工学院);Xi’an Jiaotong-Liverpool University(西交利物浦大学)
Failures Pave the Way: Enhancing Large Language Models through Tuning-free Rule Accumulation
Tsinghua University(清华大学);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
Logical Structure as Knowledge: Enhancing LLM Reasoning via Structured Logical Knowledge Density Estimation
Huzhou University(湖州大学);Zhejiang Key Laboratory of Intelligent Education Technology and Application(浙江智能教育技术与应用重点实验室);Banbu AI Foundation(Banbu AI基金会);Baichuan Inc(白川公司);University of Edinburgh(爱丁堡大学);Zhejiang University(浙江大学)
Logic-Regularized Verifier Elicits Reasoning from LLMs
Department of Computer Science and Technology, East China Normal University(东华大学计算机科学与技术系);Institute of Artificial Intelligence (TeleAI), China Telecom(中国电信人工智能研究院(TeleAI))
Empowering LLMs with Logical Reasoning: A Comprehensive Survey
Institute for Logic, Language and Computation, University of Amsterdam(阿姆斯特丹大学逻辑、语言与计算研究所);Center for Data Science, Peking University(北京大学数据科学中心);Tsinghua-UvA JRC for Logic, Department of Philosophy, Tsinghua University(清华大学哲学系);Machine Learning Department, MBZUAI(MBZUAI机器学习部门);Department of Philosophy, CMU(卡内基梅隆大学哲学系);State Key Lab of General AI, School of Intelligence Science and Technology, Peking University(北京大学人工智能通用实验室);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究所);Pazhou Laboratory (Huangpu), Guangzhou(广州黄埔实验室)
Order Doesn't Matter, But Reasoning Does: Training LLMs with Order-Centric Augmentation
Shanghai Key Laboratory of Data Science, School of Computer Science, Fudan University(上海数据科学关键实验室,计算机科学学院,复旦大学);School of Data Science, Fudan University(数据科学学院,复旦大学);Ant Group(蚂蚁集团)