Skip to main content
QUICK REVIEW

[Paper Review] Towards Better Instruction Following Language Models for Chinese: Investigating the Impact of Training Data and Evaluation

Yunjie Ji, Yan Gong|arXiv (Cornell University)|Apr 16, 2023
Topic ModelingComputer Science4 citations
TL;DR

This paper investigates the impact of training data quantity, quality, and linguistic distribution on instruction-following performance in Chinese language models. By extending LLaMA's vocabulary and fine-tuning on 3.4B Chinese words from curated instruction datasets, the authors achieve a 60% reduction in training and inference time while maintaining strong performance, and release their model, data, and code publicly to advance open-source Chinese conversational AI.

ABSTRACT

Recently, significant public efforts have been directed towards developing low-cost models with capabilities akin to ChatGPT, thereby fostering the growth of open-source conversational models. However, there remains a scarcity of comprehensive and in-depth evaluations of these models' performance. In this study, we examine the influence of training data factors, including quantity, quality, and linguistic distribution, on model performance. Our analysis is grounded in several publicly accessible, high-quality instruction datasets, as well as our own Chinese multi-turn conversations. We assess various models using a evaluation set of 1,000 samples, encompassing nine real-world scenarios. Our goal is to supplement manual evaluations with quantitative analyses, offering valuable insights for the continued advancement of open-source chat models. Furthermore, to enhance the performance and training and inference efficiency of models in the Chinese domain, we extend the vocabulary of LLaMA - the model with the closest open-source performance to proprietary language models like GPT-3 - and conduct secondary pre-training on 3.4B Chinese words. We make our model, data, as well as code publicly available.

Motivation & Objective

  • To investigate how training data factors—quantity, quality, and linguistic distribution—affect instruction-following performance in Chinese language models.
  • To develop a comprehensive, diverse, and balanced evaluation set of 1,000 Chinese instruction samples across nine real-world scenarios to enable quantitative model comparison.
  • To improve the efficiency and performance of LLaMA-based models in the Chinese language domain through vocabulary extension and secondary pre-training.
  • To address the lack of systematic, large-scale evaluation in open-source Chinese LLM development by providing a publicly available benchmark and model.
  • To promote reproducibility and community progress by releasing the trained model, training data, and code under an open-source license.

Proposed method

  • Extended the LLaMA vocabulary to include Chinese subword units and domain-specific tokens to improve Chinese language modeling efficiency.
  • Conducted secondary pre-training on 3.4 billion Chinese words from publicly available, high-quality instruction datasets and custom multi-turn Chinese conversations.
  • Fine-tuned the extended LLaMA model using full-parameter fine-tuning on a combination of instruction data, including Alpaca-style, ShareGPT, and Belle-3.5 datasets.
  • Constructed a 1,000-sample evaluation set spanning nine real-world user scenarios to assess model performance across diverse instruction types.
  • Employed both automatic evaluation (GPT-4 scoring) and human evaluation to validate model outputs, while analyzing response quality and consistency.
  • Used a low temperature (0.001) during inference to reduce repetition, and conducted ablation studies on temperature to assess its impact on response diversity.

Experimental results

Research questions

  • RQ1How do variations in training data quantity and quality affect instruction-following performance in Chinese LLMs?
  • RQ2What is the impact of linguistic distribution and domain diversity in training data on model generalization across real-world scenarios?
  • RQ3To what extent can extending LLaMA’s vocabulary and pre-training on Chinese corpora improve model efficiency and performance in Chinese tasks?
  • RQ4How well do open-source Chinese instruction-following models generalize compared to proprietary models like ChatGPT, and what are the key failure modes?
  • RQ5Can a balanced, diverse evaluation set of 1,000 samples provide reliable and meaningful performance comparisons across models?

Key findings

  • Extending LLaMA’s vocabulary and pre-training on 3.4B Chinese words reduced training and inference time by 60% without compromising performance.
  • The model fine-tuned on a combination of Alpaca, ShareGPT, and Belle-3.5 instruction data achieved strong performance across diverse instruction types, though not matching GPT-4 in all cases.
  • Model responses showed a tendency toward longer, more verbose outputs, likely due to the inclusion of GPT-4-generated or multi-turn dialogue data in training.
  • Despite high scores on the evaluation set, case analysis revealed a disconnect between metric performance and real-world user experience, indicating limitations in evaluation set comprehensiveness.
  • Increasing the generation temperature from 0.001 to 0.5 significantly improved response diversity, suggesting that low temperature settings may induce repetition.
  • The evaluation set, while diverse, was insufficiently comprehensive—overly easy or hard examples could skew performance comparisons, highlighting the need for a more balanced, large-scale benchmark.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.