Enhancing Chat Language Models by Scaling High-quality Instructional Conversations
Written for the Research library (claude-opus-5-5) from the paper text, in our own words: the license "arXiv — non-exclusive licence to distribute" does not allow redistributing the text itself. Original — arxiv.org/pdf/2305.14233
Summary
Instruction fine-tuning makes it easy for open-source chat models to reach decent quality, but closing the remaining gap to ChatGPT is much harder. The authors argue that broader and better training data is the most direct way to close it. They build UltraChat, a fully synthetic corpus of about 1.5 million multi-turn English dialogues created without any human-written queries. The corpus is organized into three sectors meant to span typical human–assistant interactions: inquiries seeking knowledge of the world, tasks involving content creation and generation, and help with materials the user already has. Opening instructions are diversified with meta-information (Wikidata entities, topic lists, C4 texts), in-context expansion and iterative prompting. Two ChatGPT Turbo instances then produce the dialogues: one simulates a user and the other answers. Fine-tuning LLaMA-13B on this data yields UltraLLaMA. It beats Vicuna and other open-source baselines in ChatGPT-judged evaluations and ties Vicuna on TruthfulQA. The work matters because it provides a large, openly released dialogue resource and shows that data scale and diversity still improve chat models. Its evaluation, however, depends on an LLM judge.
Key points
- UltraChat: about 1.5M synthetic multi-turn dialogues in English only, released at github.com/thunlp/UltraChat.
- Generation setup: sessions run for roughly 3–7 rounds between a prompted "user" model and an "assistant" model, both ChatGPT Turbo. Seed material comes from Wikidata, search-engine results and C4.
- Independent scoring: ChatGPT rated answers on 1–10 over 300+ GPT-4-generated questions. UltraLLaMA scored 9.023, ahead of Vicuna (8.961), Koala (8.881), Alpaca (8.597), Baize, OpenAssistant, MPT-Chat and Dolly-v2.
- Pairwise preference: ChatGPT-judged comparisons gave UltraLLaMA win rates of up to 85% against open-source models, with a reported 13% higher win rate against Vicuna.
- TruthfulQA: in the multiple-choice true/false judgment setting, UltraLLaMA reached 0.54 accuracy, equal to Vicuna-13B and above Koala (0.51), OpenAssistant (0.50) and Alpaca (0.43).
- Further observations: Pythia-based models (Dolly, OpenAssistant) trailed LLaMA-based ones, which points to the importance of the backbone model. System prompts asking for detailed answers made UltraLLaMA's responses more informative.
Cited by
- Yi: Open Foundation Models by 01.AI
- SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Model
- Tower: An Open Multilingual Large Language Model for Translation-Related Tasks
- Adapting LLMs to Hebrew: Unveiling DictaLM 2.0 with Enhanced Vocabulary and Instruction Capabilities
- Qwen Technical Report
- AlpaGasus: Training A Better Alpaca with Fewer Data
- Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling
- MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategies
- Tulu 3: Pushing Frontiers in Open Language Model Post-Training
- From Quantity to Quality: Boosting LLM Performance with Self-Guided Data Selection for Instruction Tuning
- Self-Alignment with Instruction Backtranslation
- LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methods
- SnapKV: LLM Knows What You are Looking for Before Generation
- The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learning
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning
- On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Survey
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
- Orca-Math: Unlocking the potential of SLMs in Grade School Math
- Generative Representational Instruction Tuning
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs
- Aligning Large Language Models with Human: A Survey
- OpenChat: Advancing Open-source Language Models with Mixed-Quality Data
- RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language Models
- LESS: Selecting Influential Data for Targeted Instruction Tuning
- Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothing
- MiniCPM-V: A GPT-4V Level MLLM on Your Phone
- Instruction Tuning for Large Language Models: A Survey
- A Survey of Large Language Models
- LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset
Cite
@misc{ding2023enhancing,
title = {{Enhancing Chat Language Models by Scaling High-quality Instructional Conversations}},
author = {Ding, Ning and Chen, Yulin and Xu, Bokai and Qin, Yujia and Zheng, Zhi and Hu, Shengding and Liu, Zhiyuan and Sun, Maosong and Zhou, Bowen},
year = {2023},
doi = {10.48550/arxiv.2305.14233},
eprint = {2305.14233},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2305.14233}
}References
- Yuvanesh Anand, Zach Nussbaum, Brandon Duderstadt, Benjamin Schmidt, and Andriy Mulyar. 2023. Gpt4all: Training an assistant-style chatbot with large scale data distillation from gpt-3.5-turbo. https: //github.com/nomic-ai/gpt4all. find
- Stella Biderman, Hailey Schoelkopf, Quentin Anthony, Herbie Bradley, Kyle O’Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, et al. 2023. Pythia: A suite for analyzing large language models across training and scaling. arXiv preprint arXiv:2304.01373. find
- Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. 2021. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258. find our card
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901. find
- Sahil Chaudhary. 2023. Code alpaca: An instruction-following llama model for code generation. https://github.com/sahil280114/codealpaca. ↗
- Wei-Lin Chiang, Zhuohan Li, Zi Lin, Ying Sheng, Zhanghao Wu, Hao Zhang, Lianmin Zheng, Siyuan Zhuang, Yonghao Zhuang, Joseph E. Gonzalez, Ion Stoica, and Eric P. Xing. 2023. Vicuna: An open-source chatbot impressing gpt-4 with 90%* chatgpt quality. find
- Mike Conover, Matt Hayes, Matt Mathur, Xiangrui Meng, Jianwei Xie, Jun Wan, Ali Ghodsi, Patrick Wendell, and Patrick Zaharia. 2023. Hello dolly: Democratizing the magic of chatgpt with open models. find
- Ning Ding, Yujia Qin, Guang Yang, Fuchao Wei, Zonghan Yang, Yusheng Su, Shengding Hu, Yulin Chen, Chi-Min Chan, Weize Chen, et al. 2023. Parameter-efficient fine-tuning of large-scale pre-trained language models. Nature Machine Intelligence, pages 1–16. find our card
- Domeccleston. 2023. Sharegpt – share your wildest chatgpt conversations with one click. Retrieved 23 May 2023. find
- Xinyang Geng, Arnav Gudibande, Hao Liu, Eric Wallace, Pieter Abbeel, Sergey Levine, and Dawn Song. 2023. Koala: A dialogue model for academic research. Blog post. find
- Fabrizio Gilardi, Meysam Alizadeh, and Maël Kubli. 2023. Chatgpt outperforms crowd-workers for text-annotation tasks. arXiv preprint arXiv:2303.15056. find our card
- Xu Han, Zhengyan Zhang, Ning Ding, Yuxian Gu, Xiao Liu, Yuqi Huo, Jiezhong Qiu, Liang Zhang, Wentao Han, Minlie Huang, Qin Jin, Yanyan Lan, Yang Liu, Zhiyuan Liu, Zhiwu Lu, Xipeng Qiu, Ruihua Song, Jie Tang, Ji-Rong Wen, Jinhui Yuan, Wayne Xin Zhao, and Jun Zhu. 2021. Pre-trained models: Past, prese… find
- Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021. Lora: Low-rank adaptation of large language models. ArXiv preprint, abs/2106.09685. find
- Yunjie Ji, Yong Deng, Yan Gong, Yiping Peng, Qiang Niu, Lei Zhang, Baochang Ma, and Xiangang Li. 2023. Exploring the impact of instruction data scaling on large language models: An empirical study on real-world use cases. arXiv preprint arXiv:2303.14742. find
- Andreas Köpf, Yannic Kilcher, Dimitri von Rütte, Sotiris Anagnostidis, Zhi-Rui Tam, Keith Stevens, Abdullah Barhoum, Nguyen Minh Duc, Oliver Stanley, Richárd Nagyfi, et al. 2023. Openassistant conversations–democratizing large language model alignment. arXiv preprint arXiv:2304.07327. find our card
- Guohao Li, Hasan Abed Al Kader Hammoud, Hani Itani, Dmitrii Khizbullin, and Bernard Ghanem. 2023. Camel: Communicative agents for "mind" exploration of large scale language model society. find
- Shayne Longpre, Le Hou, Tu Vu, Albert Webson, Hyung Won Chung, Yi Tay, Denny Zhou, Quoc V Le, Barret Zoph, Jason Wei, et al. 2023. The flan collection: Designing data and methods for effective instruction tuning. arXiv preprint arXiv:2301.13688. find our card
- Philip M. McCarthy and Scott Jarvis. 2010. Mtld, vocd-d, and hd-d: A validation study of sophisticated approaches to lexical diversity assessment. Behavior Research Methods, 42:381–392. find
- Mosaic. 2023. Introducing mpt-7b: A new standard for open-source, commercially usable llms. find
- OpenAI. 2023. Gpt-4 technical report. arXiv. find our card
- TB OpenAI. 2022. Chatgpt: Optimizing language models for dialogue. OpenAI. find
- Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Christiano, Jan Leike, and Ryan Lowe. 2022. Train… find
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21(140):1–67. find
- Victor Sanh, Albert Webson, Colin Raffel, Stephen H Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, et al. 2021. Multitask prompted training enables zero-shot task generalization. arXiv preprint arXiv:2110.08207. find our card
- John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. 2017. Proximal policy optimization algorithms. find
- Qingyi Si, Tong Wang, Naibin Gu, Rui Liu, and Zheng Lin. 2023. Alpaca-cot: An instruction fine-tuning platform with instruction data collection and unified large lnguage models interface. https://github.com/PhoebusSi/alpaca-CoT. ↗
- Zhiqing Sun, Yikang Shen, Qinhong Zhou, Hongxin Zhang, Zhenfang Chen, David Cox, Yiming Yang, and Chuang Gan. 2023. Principle-driven self-alignment of language models from scratch with minimal human supervision. arXiv preprint arXiv:2305.03047. find our card
- Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B Hashimoto. 2023a. Alpaca: A strong, replicable instruction-following model. Stanford Center for Research on Foundation Models. https://crfm. stanford. edu/2023/03/13/alpaca. html. find
- Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. 2023b. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford\_alpaca. ↗
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023. Llama: Open and efficient foundation language models. find
- Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2022. Self-instruct: Aligning language model with self generated instructions. find
- Jason Wei, Maarten Bosma, Vincent Y Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. 2021. Finetuned language models are zero-shot learners. arXiv preprint arXiv:2109.01652. find
- Canwen Xu, Daya Guo, Nan Duan, and Julian McAuley. 2023. Baize: An open-source chat model with parameter-efficient tuning on self-chat data. arXiv preprint arXiv:2304.01196. find our card
- Chunting Zhou, Pengfei Liu, Puxin Xu, Srini Iyer, Jiao Sun, Yuning Mao, Xuezhe Ma, Avia Efrat, Ping Yu, L. Yu, Susan Zhang, Gargi Ghosh, Mike Lewis, Luke Zettlemoyer, and Omer Levy. 2023. Lima: Less is more for alignment. find