arXiv:2503.09032cs.LGcs.AI2025-03ICLR被引 11

用类人学习提示教会大模型快速适应新领域。

Teaching LLMs How to Learn with Contextual Fine-Tuning

  • 设计模仿人类学习策略的提示,引导模型在微调中理解新知识。
  • 在医疗和金融数据上,模型能更快适应新任务,效果显著提升。
  • 适合需要快速适配新领域的研究者与应用开发者。

提示大型语言模型(LLMs)或提供其预期操作模式的上下文,是训练后引导模型输出以满足人类期望的有效方式。但在快速变化的领域中,常需对LLMs进行微调,以增强其记忆中的知识或在新领域中执行开放性推理的能力。当人类学习新概念时,通常会将新内容与已有知识关联起来。为此,我们提出:能否通过提示来教会LLMs如何学习?本文研究一种指令微调的新泛化方法——上下文微调(contextual fine-tuning),利用旨在模仿人类认知策略的指令提示,指导训练过程中的学习行为,以提升模型对特定领域知识的理解能力。实验证明,这一简单但有效的方法显著提升了LLMs在医疗和金融领域新数据集上的快速微调能力。

原文摘要 · Abstract (English)

Prompting Large Language Models (LLMs), or providing context on the expected model of operation, is an effective way to steer the outputs of such models to satisfy human desiderata after they have been trained. But in rapidly evolving domains, there is often need to fine-tune LLMs to improve either the kind of knowledge in their memory or their abilities to perform open ended reasoning in new domains. When human's learn new concepts, we often do so by linking the new material that we are studying to concepts we have already learned before. To that end, we ask, "can prompting help us teach LLMs how to learn". In this work, we study a novel generalization of instruction tuning, called contextual fine-tuning, to fine-tune LLMs. Our method leverages instructional prompts designed to mimic human cognitive strategies in learning and problem-solving to guide the learning process during training, aiming to improve the model's interpretation and understanding of domain-specific knowledge. We empirically demonstrate that this simple yet effective modification improves the ability of LLMs to be fine-tuned rapidly on new datasets both within the medical and financial domains.

大模型微调提示学习领域适应

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。