让大模型通过人机协作动态优化,提升复杂约束下的任务完成率。
Optimizing Large Language Models for Dynamic Constraints through Human-in-the-Loop Discriminators
- 引入人机协同判别器,实时识别关键失败案例并反馈优化。
- 仅一次迭代即达7.78%任务通过率,较基线提升40.2%。
- 适用于需持续适应约束条件的智能系统开发,如行程规划。
大语言模型在实际应用中展现出强大能力,但受限于文本输入输出范式,难以应对动态复杂的约束条件,更无法生成通用解决方案。当前常用微调和反思推理等方法多为个案处理,泛化性差。为此,我们提出一个灵活框架,使大模型能与系统接口交互、提炼约束概念,并通过与人类专家协作持续优化性能指标。以旅行规划代理为例,通过评估接口建立约束,结合基于大模型和人类的判别器识别关键失败场景,持续改进代理表现。仅一轮迭代后,人类判别器实现7.78%的通过率(较基线提升40.2%),大模型判别器达6.11%。该框架具备良好可扩展性,可广泛应用于各类约束驱动的应用,为敏感性能数据的模型微调奠定基础。
原文摘要 · Abstract (English)
Large Language Models (LLMs) have recently demonstrated impressive capabilities across various real-world applications. However, due to the current text-in-text-out paradigm, it remains challenging for LLMs to handle dynamic and complex application constraints, let alone devise general solutions that meet predefined system goals. Current common practices like model finetuning and reflection-based reasoning often address these issues case-by-case, limiting their generalizability. To address this issue, we propose a flexible framework that enables LLMs to interact with system interfaces, summarize constraint concepts, and continually optimize performance metrics by collaborating with human experts. As a case in point, we initialized a travel planner agent by establishing constraints from evaluation interfaces. Then, we employed both LLM-based and human discriminators to identify critical cases and continuously improve agent performance until the desired outcomes were achieved. After just one iteration, our framework achieved a $7.78\%$ pass rate with the human discriminator (a $40.2\%$ improvement over baseline) and a $6.11\%$ pass rate with the LLM-based discriminator. Given the adaptability of our proposal, we believe this framework can be applied to a wide range of constraint-based applications and lay a solid foundation for model finetuning with performance-sensitive data samples.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。