Previous studies have shown that demonstrations can significantly help Large Language Models (LLMs ) perform better on the given tasks. However, this so-called In-Context Learning ( ICL ) ability is very sensitive to the presenting context, and often dozens of demonstrations are needed. In this work, we investigate if we can reduce the shot number while still maintaining a competitive performance. We present SeCoKD, a self-Knowledge Distillation ( KD ) training framework that aligns the student model with a heavily prompted variation, thereby increasing the utilization of a single demonstration. We experiment with the SeCoKD across three LLMs and six benchmarks focusing mainly on reasoning tasks. Results show that our method outperforms the base model and Supervised Fine-tuning ( SFT ), especially in zero-shot and one-shot settings by 30% and 10%, respectively. Moreover, SeCoKD brings little negative artifacts when evaluated on new tasks, which is more robust than Supervised Fine-tuning.
DARE: Aligning LLM Agents with the R Statistical Ecosystem via Distribution-Aware Retrieval
Department of Data Science and Artificial Intelligence, The Hong Kong Polytechnic University, Hong Kong SAR, China(数据科学与人工智能系,香港理工大学,香港特别行政区,中国);Department of Applied Mathematics, The Hong Kong Polytechnic University, Hong Kong SAR, China(应用数学系,香港理工大学,香港特别行政区,中国)
Training language models to follow instructions with human feedback
OpenAI(开放人工智能研究中心);Anthropic(Anthropic公司);Alignment Research Center(对齐研究中心)
使语言模型更大并不能使它们更好地遵循用户的意图。例如,大语言模型可能会生成不真实的、有害的或对用户毫无帮助的输出。换句话说,这些模型并不符合其用户。在本文中,我们展示了一种通过人工反馈进行微调,使语言模型与用户在各种任务上的意图保持一致的方法。从一组标注器编写的提示和通过OpenAI API提交的提示开始,我们收集了所需模型行为的标注器演示数据集,我们使用监督学习来微调GPT-3。然后,我们收集一个模型输出排名的数据集,我们使用它来进一步微调这个监督模型,使用基于人类反馈的强化学习。我们将生成的模型称为InstructGPT。在对我们的即时分布的人类评估中,尽管参数少了100倍,但1.3B参数InstructGPT模型的输出优于175 B GPT-3的输出。此外,InstructGPT模型在真实性方面有所改进,减少了有毒输出的生成,同时在公共NLP数据集上具有最小的性能回归。尽管InstructGPT仍然会犯一些简单的错误,但我们的研究结果表明,利用人类反馈进行微调是将语言模型与人类意图对齐的一个有希望的方向。
Repurposing Synthetic Data for Fine-grained Search Agent Supervision
School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院);Shanghai Engineering Research Center of Intelligent Vision and Imaging(智能视觉与成像上海工程研究中心);Tongyi Lab, Alibaba Group(阿里集团通义实验室)