TensorX
返回文献探索

Paper · arXiv 2310.13385

Tuna: Instruction Tuning using Feedback from Large Language Models

Haoran Li, Yiran Liu, Xingxing Zhang, Wei Lu, Furu Wei

10 upvotesOctober 20, 2023arXiv 预印本
AI 摘要

A novel finetuning method using probabilistic and contextual ranking improves instruction-tuned LLM performance across multiple benchmarks by leveraging stronger teacher models.

probabilistic rankingcontextual rankinginstruction-tuned LLMfine-tuningSuper Natural InstructionsLMentryVicuna QAreinforcement learning

Abstract

Instruction tuning of open-source large language models (LLMs) like LLaMA, using direct outputs from more powerful LLMs such as Instruct-GPT and GPT-4, has proven to be a cost-effective way to align model behaviors with human preferences. However, the instruction-tuned model has only seen one response per instruction, lacking the knowledge of potentially better responses. In this paper, we propose finetuning an instruction-tuned LLM using our novel probabilistic ranking and contextual ranking approaches to increase the likelihood of generating better responses. Probabilistic ranking enables the instruction-tuned model to inherit the relative rankings of high-quality and low-quality responses from the teacher LLM. On the other hand, learning with contextual ranking allows the model to refine its own response distribution using the contextual understanding ability of stronger LLMs. Furthermore, we apply probabilistic ranking and contextual ranking sequentially to the instruction-tuned LLM. The resulting model, which we call Tuna, consistently improves the performance on Super Natural Instructions (119 test tasks), LMentry (25 test tasks), Vicuna QA, and can even obtain better results than several strong reinforcement learning baselines. Our code and data are available at https://github.com/microsoft/LMOps.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Tuna: Instruction Tuning using Feedback from Large Language Models | TensorX