paper-with-me

홈 › Papers

Fine-Tuning Language Models Using Formal Methods Feedback

2023-10-27 · Yunhao Yang, Neel P. Bhatt, Tyler Ingebrand, William Ward, Steven Carr, Zhangyang Wang, Ufuk Topcu

Although pre-trained language models encode generic knowledge beneficial for planning and control, they may fail to generate appropriate control policies for domain-specific tasks. Existing fine-tuning methods use human feedback to address this limitation, however, sourcing human feedback is labor intensive and costly. We present a fully automated approach to fine-tune pre-trained language models for applications in autonomous systems, bridging the gap between generic knowledge and domain-specific requirements while reducing cost. The method synthesizes automaton-based controllers from pre-trained models guided by natural language task descriptions. These controllers are verifiable against independently provided specifications within a world model, which can be abstract or obtained from a high-fidelity simulator. Controllers with high compliance with the desired specifications receive higher ranks, guiding the iterative fine-tuning process. We provide quantitative evidences, primarily in autonomous driving, to demonstrate the method's effectiveness across multiple tasks. The results indicate an improvement in percentage of specifications satisfied by the controller from 60% to 90%.

📄 PDF Abstract BibTeX arXiv:2310.18239

Code (0)

등록된 구현이 없습니다.

Tasks

Autonomous Driving

Similar Papers 제목 키워드 기반

LAD-VF: LLM-Automatic Differentiation Enables Fine-Tuning-Free Robot Planning from Formal Methods Feedback

2025-09-22 · Yunhao Yang, Junyuan Hong, Gabriel Jacob Perin, Zhiwen Fan 외 arxiv

Large language models (LLMs) can translate natural language instructions into executable action plans for robotics, autonomous driving, and other domains. Yet, deploying LLM-driven planning in the physical world demands …

Prompt EngineeringAutonomous DrivingRobot Navigation

Improving Code Generation by Training with Natural Language Feedback

2023-03-28 · Angelica Chen, Jérémy Scheurer, Tomasz Korbak, Jon Ander Campos 외

The potential for pre-trained large language models (LLMs) to use natural language feedback at inference time has been an exciting recent development. We build upon this observation by formalizing an algorithm for learni…

Code GenerationImitation LearningmbppProgram Synthesis

AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement

2024-12-09 · Pranjal Aggarwal, Bryan Parno, Sean Welleck

Automated code generation with large language models has gained significant traction, but there remains no guarantee on the correctness of generated code. We aim to use formal verification to provide mathematical guarant…

Code GenerationHumanEvalmbpp

Towards Specification-Driven LLM-Based Generation of Embedded Automotive Software

2024-11-20 · Minal Suresh Patil, Gustav Ung, Mattias Nyberg

The paper studies how code generation by LLMs can be combined with formal verification to produce critical embedded software. The first contribution is a general framework, spec2code, in which LLMs are combined with diff…

Code Generation

MathForm: Scaling Mathematical Autoformalization with Knowledge Retrieval and Verification-Guided Refinement

2026-08-14 · Lushi Pu, Weiming Zhang, Xinheng Xie, Zixuan Fu 외 arxiv

Autoformalization is commonly framed as translating natural-language mathematical statements into machine-verifiable formal languages such as Lean 4. However, faithful formalization requires more than translation. Models…

Reinforcement Learning