paper-with-me

Papers

Tuna: Instruction Tuning using Feedback from Large Language Models

2023-10-20 · Haoran Li, Yiran Liu, Xingxing Zhang, Wei Lu, Furu Wei

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 \textit{probabilistic ranking} and \textit{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 \textbf{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 \url{ https://github.com/microsoft/LMOps}.

📄 PDF Abstract BibTeX arXiv:2310.13385

Code (1)

microsoft/lmops 공식 구현 jax

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Position-Wise Feed-Forward Layer 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Grounding Data Science Code Generation with Input-Output Specifications

2024-02-12 · Yeming Wen, Pengcheng Yin, Kensen Shi, Henryk Michalewski 외

Large language models (LLMs) have recently demonstrated a remarkable ability to generate code from natural language (NL) prompts. However, in the real world, NL is often too ambiguous to capture the true intent behind pr…

Code Generation

The Wisdom of Hindsight Makes Language Models Better Instruction Followers

2023-02-10 · Tianjun Zhang, Fangchen Liu, Justin Wong, Pieter Abbeel 외

Reinforcement learning has seen wide success in finetuning large language models to better align with instructions via human feedback. The so-called algorithm, Reinforcement Learning with Human Feedback (RLHF) demonstrat…

Decision MakingLanguage ModelingLanguage Modellingreinforcement-learning+2

Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback

2023-07-29 · Viet Dac Lai, Chien Van Nguyen, Nghia Trung Ngo, Thuat Nguyen 외

A key technology for the development of large language models (LLMs) involves instruction tuning that helps align the models' responses with human expectations to realize impressive learning abilities. Two major approach…

VisCoder: Fine-Tuning LLMs for Executable Python Visualization Code Generation

2025-06-04 · Yuansheng Ni, Ping Nie, Kai Zou, Xiang Yue 외

Large language models (LLMs) often struggle with visualization tasks like plotting diagrams, charts, where success depends on both code correctness and visual semantics. Existing instruction-tuning datasets lack executio…

Code Generation

Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Models

2024-06-19 · Guanting Dong, Keming Lu, Chengpeng Li, Tingyu Xia 외

One core capability of large language models (LLMs) is to follow natural language instructions. However, the issue of automatically constructing high-quality training data to enhance the complex instruction-following abi…

Instruction Following