arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.18239cs.AIcs.CLcs.FLcs.RO
收藏

使用形式化方法反馈微调语言模型

Fine-Tuning Language Models Using Formal Methods Feedback

University of Texas at Austin(德克萨斯大学奥斯汀分校)

Yunhao Yang, Neel P. Bhatt, Tyler Ingebrand, William Ward, Steven Carr, Zhangyang Wang, Ufuk Topcu

AI总结:

本文提出一种全自动微调方法,利用形式化验证对预训练语言模型合成的自动机控制器进行排名反馈,无需人类参与,在自动驾驶等任务中将规范满足率从60%提升至90%。

摘要:

尽管预训练语言模型编码了有益于规划与控制的通用知识,但它们可能无法为领域特定任务生成合适的控制策略。现有的微调方法使用人类反馈来解决这一局限,但获取人类反馈劳动密集且成本高昂。我们提出一种全自动方法,用于微调面向自主系统应用的预训练语言模型,在降低成本的同時弥合通用知识与领域特定需求之间的差距。该方法在自然语言任务描述引导下,从预训练模型合成基于自动机的控制器。这些控制器可在世界模型内针对独立提供的规范进行验证,世界模型可以是抽象的,也可以从高保真模拟器获得。与期望规范符合度高的控制器获得更高排名,从而引导迭代微调过程。我们提供了定量证据,主要在自动驾驶领域,以证明该方法在多个任务上的有效性。结果表明,控制器满足规范的百分比从60%提升至90%。

英文摘要:

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%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑