HBO: Hierarchical Balancing Optimization for Fine-Tuning Large Language Models
摘要
Fine-tuning large language models (LLMs) on a mixture of diverse datasets poses challenges due to data imbalance and heterogeneity. Existing methods often address these issues across datasets (globally) but overlook the imbalance and heterogeneity within individual datasets (locally), which limits their effectiveness. We introduce Hierarchical Balancing Optimization (HBO ), a novel method that enables LLMs to autonomously adjust data allocation during fine-tuning both across datasets (globally) and within each individual dataset (locally). HBO employs a bilevel optimization strategy with two types of actors: a Global Actor, which balances data sampling across different subsets of the training mixture, and several Local Actors, which optimizes data usage within each subset based on difficulty levels. These actors are guided by reward functions derived from the LLM's training state, which measure learning progress and relative performance improvement. We evaluate HBO on three LLM backbones across nine diverse tasks in multilingual and multitask setups. Results show that HBO consistently outperforms existing baselines, achieving significant accuracy gains. Our in-depth analysis further demonstrates that both the global actor and local actors of HBO effectively adjust data usage during fine-tuning. HBO provides a comprehensive solution to the challenges of data imbalance and heterogeneity in LLM fine-tuning, enabling more effective training across diverse datasets. In addition, we release the code to foster research along this line. 1 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex Instructions 引用了 Measuring Massive Multitask Language Understanding
- WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex Instructions 引用了 Finetuned Language Models are Zero-Shot Learners
它引用的 Paper26
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu 等ICLR 2022 · 4,966 次引用
- Gradient Surgery for Multi-Task LearningTianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine 等NeurIPS 2020 · 2,261 次引用
- WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex InstructionsCan Xu, Qingfeng Sun, Kai Zheng, Xiubo Geng 等ICLR 2024 · 1,206 次引用
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu 等ICLR 2024 · 637 次引用
相关 Paper
- Mixture-of-Skills: Learning to Optimize Data Usage for Fine-Tuning Large Language ModelsMinghao Wu, Thuy-Trang Vu, Lizhen Qu, Reza HafEMNLP 2024 · 3 次引用
- Diversity as a Reward: Fine-Tuning LLMs on a Mixture of Domain-Undetermined DataZhenqing Ling, Daoyuan Chen, Liuyi Yao, Qianli Shen 等NeurIPS 2025 · 14 次引用
- IDEAL: Data Equilibrium Adaptation for Multi-Capability Language Model AlignmentChenlin Ming, Chendi Qu, Qizhi Pei, Zhuoshi Pan 等ICLR 2026 · 8 次引用
- Order Matters in the Presence of Dataset Imbalance for Multilingual LearningDami Choi, Derrick Xin, Hamid Dadkhahi, Justin Gilmer 等NeurIPS 2023 · 9 次引用
- Bohdi: Heterogeneous LLM Fusion with Automatic Data ExplorationJunqi Gao, Zhichang Guo, Dazhi Zhang, Dong Li 等NeurIPS 2025 · 3 次引用
