失败铺就成功之路:通过免调优规则积累增强大型语言模型
Failures Pave the Way: Enhancing Large Language Models through Tuning-free Rule Accumulation
AI总结:
针对冻结LLMs因无法捕捉样本关系而重复错误的问题,提出免调优规则积累(TRAN)框架,通过从错误案例中逐步积累规则集合,指导模型在后续输入中避免类似错误,且不干扰主提示设计,实验证明其大幅优于基线方法。
摘要:
大型语言模型(LLMs)展现出了令人印象深刻的性能。然而,由于无法捕捉样本之间的关系,这些冻结的LLMs不可避免地不断重复类似的错误。在这项工作中,我们提出了免调优规则积累(TRAN)框架,该框架通过从先前的错误中学习来指导LLMs提升性能。考虑到数据顺序到达,LLMs从错误案例中逐步积累规则,形成规则集合。随后,LLMs在处理后续输入时利用这些规则来避免犯类似的错误。此外,这些规则独立于主提示,无缝补充提示设计策略。在实验上,我们表明TRAN大幅优于最近的基线方法。
英文摘要:
Large Language Models (LLMs) have showcased impressive performance. However, due to their inability to capture relationships among samples, these frozen LLMs inevitably keep repeating similar mistakes. In this work, we propose our Tuning-free Rule Accumulation (TRAN) framework, which guides LLMs in improving their performance by learning from previous mistakes. Considering data arrives sequentially, LLMs gradually accumulate rules from incorrect cases, forming a rule collection. These rules are then utilized by the LLMs to avoid making similar mistakes when processing subsequent inputs. Moreover, the rules remain independent of the primary prompts, seamlessly complementing prompt design strategies. Experimentally, we show that TRAN improves over recent baselines by a large margin.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。