#InsTag: Instruction Tagging for Analyzing Supervised Fine-tuning of Large Language Models
Keming Lu, Hongyi Yuan, Zheng Yuan, Runji Lin, Junyang Lin, Chuanqi Tan, Chang Zhou, Jingren Zhou
Abstract
Foundation language models obtain the instruction-following ability through supervised fine-tuning (SFT). Diversity and complexity are considered critical factors of a successful SFT dataset, while their definitions remain obscure and lack quantitative analyses. In this work, we propose InsTag, an open-set fine-grained tagger, to tag samples within SFT datasets based on semantics and intentions and define instruction diversity and complexity regarding tags. We obtain 6.6K tags to describe comprehensive user queries. Then we analyze popular open-sourced SFT datasets and find that the model ability grows with more diverse and complex data. Based on this observation, we propose a data selector based on InsTag to select 6K diverse and complex samples from open-source datasets and fine-tune models on InsTag-selected data. The resulting models, TagLM, outperform open-source models based on considerably larger SFT data evaluated by MT-Bench, echoing the importance of query diversity and complexity. We open-source InsTag in https://github.com/OFA-Sys/InsTag.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
62 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Prismatic Synthesis: Gradient-based Data Diversification Boosts Generalization in LLM Reasoning cites What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning
- Prismatic Synthesis: Gradient-based Data Diversification Boosts Generalization in LLM Reasoning cites The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning cites The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning cites Training language models to follow instructions with human feedback
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning cites Self-Instruct: Aligning Language Models with Self-Generated Instructions
- The Flan Collection: Designing Data and Methods for Effective Instruction Tuning cites Finetuned Language Models are Zero-Shot Learners
- The Flan Collection: Designing Data and Methods for Effective Instruction Tuning cites Training language models to follow instructions with human feedback
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
- Efficient LLM Jailbreak via Adaptive Dense-to-sparse Constrained Optimization cites Training language models to follow instructions with human feedback
- Efficient LLM Jailbreak via Adaptive Dense-to-sparse Constrained Optimization cites Self-Instruct: Aligning Language Models with Self-Generated Instructions
- Finetuned Language Models are Zero-Shot Learners cites Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback cites Finetuned Language Models are Zero-Shot Learners
- Self-Instruct: Aligning Language Models with Self-Generated Instructions cites Finetuned Language Models are Zero-Shot Learners
- Self-Instruct: Aligning Language Models with Self-Generated Instructions cites Training language models to follow instructions with human feedback
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation cites What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation cites The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation cites Training language models to follow instructions with human feedback
- DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solving cites What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning
- DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solving cites The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solving cites Self-Instruct: Aligning Language Models with Self-Generated Instructions
Cited by top-tier papers62
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction TuningWei Liu, Weihao Zeng, Keqing He, Yong Jiang et al.ICLR 2024 · 369 citations
- DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-SolvingYuxuan Tong, Xiwen Zhang, Rui Wang, Ruidong Wu et al.NeurIPS 2024 · 116 citations
- Prismatic Synthesis: Gradient-based Data Diversification Boosts Generalization in LLM ReasoningJaehun Jung, Seungju Han, Ximing Lu, Skyler Hallinan et al.NeurIPS 2025 · 50 citations
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented GenerationGuanting Dong, Yutao Zhu, Chenghao Zhang, Zechen Wang et al.WWW 2025 · 44 citations
- Efficient LLM Jailbreak via Adaptive Dense-to-sparse Constrained OptimizationKai Hu, Weichen Yu, Yining Li, Tianjun Yao et al.NeurIPS 2024 · 31 citations
Builds on13
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu et al.ICLR 2022 · 4,966 citations
- The Flan Collection: Designing Data and Methods for Effective Instruction TuningShayne Longpre, Le Hou, Tu Vu, Albert Webson et al.ICML 2023 · 908 citations
- Self-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu et al.ACL 2023 · 540 citations
Related papers
- MM-IFEngine: Towards Multimodal Instruction FollowingShengyuan Ding, Shenxi Wu, Xiangyu Zhao, Yuhang Zang et al.ICCV 2025 · 3 citations
- Scaling Towards the Information Boundary of Instructions through Data SynthesizingLi Du, Hanyu Zhao, Yiming Ju, Tengfei PanAAAI 2026
- MMIFEvol: Towards Evolutionary Multimodal Instruction FollowingHaoyu Wang, Sihang Jiang, Xiangru Zhu, Yuyan Chen et al.AAAI 2026 · 1 citation
- Data Diversity Matters for Robust Instruction TuningAlexander Bukharin, Shiyang Li, Zhengyang Wang, Jingfeng Yang et al.EMNLP Findings 2024 · 13 citations
- MIG: Automatic Data Selection for Instruction Tuning by Maximizing Information Gain in Semantic SpaceYicheng Chen, Yining Li, Kai Hu, Zerun Ma et al.ACL Findings 2025 · 2 citations
