Abstract
Instruction fine-tuning is critical for aligning Large Language Models (LLMs) with human intent. However, existing Chinese datasets often suffer from linguistic mismatches due to their reliance on English translations or synthetic generation. This paper presents COIG-CQIA (Chinese Open Instruction Generalist - Quality Is All You Need), a dataset of 45,173 high-quality, human-verified instances sourced from authentic Chinese internet discourse. By prioritizing diversity and quality over sheer volume, models fine-tuned on COIG-CQIA achieve state-of-the-art performance across various benchmarks, demonstrating that high-quality, native data is the key to superior Chinese language modeling.
Introduction
While LLMs have advanced significantly, the majority of instruction-tuning data remains "English-centric." For the Chinese language, researchers frequently utilize datasets translated from English or synthesized by other LLMs. This approach introduces two primary challenges:
- Linguistic and Cultural Mismatch: Translated data often fails to capture the intricate linguistic features, cultural nuances, and authentic interaction patterns of native Chinese speakers.
- Quality Degradation: Synthetic data is prone to hallucinations and "GPT-style" robotic responses that lack the depth and authenticity of real human discourse.
COIG-CQIA addresses these gaps by curating data that reflects how Chinese users actually communicate, reason, and solve problems in real-world contexts.
Methodology
The researchers implemented a rigorous five-stage pipeline to ensure the highest data quality for COIG-CQIA.
The pipeline consists of:
- Raw Data Collection: Aggregating data from 18 diverse sources, including social media platforms (Zhihu, Douban, Xiaohongshu), encyclopedias, and official examination papers.
- Rule-Based Filtering: Removing harmful content, advertisements, and low-engagement posts (e.g., those with few "likes").
- Task Assignment: Transforming raw content into structured instruction-response pairs (e.g., converting a movie review into a creative writing task).
- Model-Based Filtering: Utilizing GPT-4 as an automated judge to prune low-quality or irrelevant pairs.
- Human Finalization: A final stage of manual review where experts evaluated data for logic, detail, objectivity, and safety.
Dataset Composition
The resulting dataset, COIG-CQIA, contains 45,173 high-quality instances. For specific ablation studies, the authors also created COIG-CQIA-Sub, a manually balanced subset of 12,687 instances. Sources were categorized into World Knowledge, Social Media & Forums, Exams, and NLP Datasets to ensure broad coverage of human knowledge and interaction styles.
Key Results and Evaluation
Models fine-tuned on COIG-CQIA, such as Qwen2-7B and LLaMA2-13B, were evaluated against several baselines (COIG, Firefly, Alpaca-ZH, etc.) on benchmarks like BELLE-EVAL, C-Eval, and CMMLU.
As shown in the evaluation results, the COIG-CQIA-Sub model achieved the highest average performance (74.8), particularly excelling in extraction, math, and coding tasks. Key findings include:
- Competitive Performance: COIG-CQIA-tuned models often outperformed official chat models and much larger datasets on open-ended evaluations.
- Human Preference: Side-by-side human evaluations showed that models trained on this dataset were preferred or tied over 60% of the time against strong baselines like Yi-6B-Chat.
- General Reasoning Synergy: Integrating COIG-CQIA with English datasets (e.g., Magicoder) improved performance on non-Chinese tasks like GSM8K, suggesting that high-quality Chinese data enhances general reasoning.
Insights: The "Quality is All You Need" Philosophy
The study yielded several critical insights into data selection:
- The "Ruozhiba" Phenomenon: Data from the Ruozhiba forum—known for linguistic traps and absurd logic—proved exceptionally effective at improving multi-hop reasoning despite its small volume.
- Authenticity vs. Synthesis: Real-world forum data (Zhihu, Douban) provided better alignment with human intent than purely synthetic datasets.
- Strategic Mixing: Mixing "strong" sources (Exams, Social Media) maintains performance, while including "weak" sources (basic NLP tasks) can degrade it.
- Functional Specialization: Social media and exam data are superior for "Instruction-Following," while encyclopedias are better for "Knowledge & Reasoning."
Conclusion and Future Work
COIG-CQIA demonstrates that for Chinese instruction fine-tuning, data quality and authenticity are more impactful than sheer scale. By leveraging native, human-verified content, the researchers have created a benchmark for high-quality Chinese LLM alignment. Future work will focus on expanding the diversity of data sources and refining evaluation metrics to better capture sophisticated human-like reasoning and creativity.
Summary updated