ICL Markup:使用软标记标签构建上下文学习结构
ICL Markup: Structuring In-Context Learning using Soft-Token Tags
AI总结:
受标记语言启发提出ICL Markup方法,通过参数高效微调预学习软标记标签构建提示模板,减少任意决策并简化上下文学习应用,在多领域任务提升LLM性能。
摘要:
大型预训练语言模型(LLM)可通过文本到文本的方法快速适配各类任务,即指令与输入以自然语言形式输入模型。结合上下文学习(ICL),这一范式兼具出色的灵活性与强大性能。但它也给用户带来了海量选择负担,其中许多选择具有任意性。受HTML等标记语言启发,我们提出一种利用软标记标签构建提示模板的方法。该方法减少了任意决策,简化了ICL的应用流程。我们的方法属于ICL的元学习形式,通过参数高效微调“预热”过程预先学习这些标签。后续这些标签可用于全新未见过任务的ICL模板中,无需额外微调。实验取得了颇具潜力的初步结果:在少样本与开放世界意图检测等重要企业应用,以及新闻与法律领域的文本分类任务中,提升了LLM的性能。
英文摘要:
Large pretrained language models (LLMs) can be rapidly adapted to a wide variety of tasks via a text-to-text approach, where the instruction and input are fed to the model in natural language. Combined with in-context learning (ICL), this paradigm is impressively flexible and powerful. However, it also burdens users with an overwhelming number of choices, many of them arbitrary. Inspired by markup languages like HTML, we contribute a method of using soft-token tags to compose prompt templates. This approach reduces arbitrary decisions and streamlines the application of ICL. Our method is a form of meta-learning for ICL; it learns these tags in advance during a parameter-efficient fine-tuning ``warm-up'' process. The tags can subsequently be used in templates for ICL on new, unseen tasks without any additional fine-tuning. Our experiments with this approach yield promising initial results, improving LLM performance on important enterprise applications such as few-shot and open-world intent detection, as well as text classification in news and legal domains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。