Group-Balanced Supervised Fine-Tuning for Knowledge-Intensive Domains
Abstract
Supervised fine-tuning (SFT) weights every supervised token equally, so on knowledge-dense corpora the loss budget follows token count rather than importance: on a legal QA benchmark, citation strings absorb 81% of the supervised loss weight budget while the answers being taught absorb 5%. We present Group-Balanced SFT (GB-SFT), which equalizes the loss budget across the semantic roles of tokens within a target sequence. With one tunable dial and one structural switch, GB-SFT contains standard SFT, class- and span-level balancing as corners whose geometry we characterize exactly. On benchmarks in law, medicine, code, and mathematics, we show across model families that: (i) GB- SFT injects new knowledge better than uniform SFT, pointwise token weighting, memory editing, and matched-budget data mixing; (ii) it matches the injection of masking out everything but the knowledge payload while retaining the citation recall that masking destroys (0.98 vs. 0.38); and (iii) role-aware grouping carries the gain: label-free partitions recover at most a third of it, an LLM tagger nearly all where the groups are lexically distinctive; and and (iv) the budget governs what fine-tuning breaks as well as what it learns, acting as a monotone lever on the safety-guardrail erosion SFT causes, at matched task accuracy. We release two new contamination-controlled knowledge-injection benchmarks with validated ground truth.
Create a lesson
Related papers
Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models
Shared title terminology · Konstantinos Skianis, Aristidis Likas
GraphSeer: Multimodal Knowledge Graph Relational Image Retrieval with MLLMs
Shared title terminology · Linyu Li, Zhi Jin, Yuanpeng He et al.
Grounding Collaborative Agents in Group Cognition
Shared title terminology · Zhaoxuan Tan, Mengting Wan, Jingbo Yang et al.
Contrastive On-Policy Distillation via Dual-Branch Supervision
Shared title terminology · Zhibo Hou, Fan Zhao, Yiping Li et al.
AutoOntologyBench: A Task-Grounded Benchmark for Agentic Knowledge Engineering
Shared title terminology · Minye Shao, Chenghao Xiao, Xingyue Zhao et al.
No Audio, No Transcripts, No Problem: LLM-based ASR Adaptation Using Only Domain Documents
Shared title terminology · Sergio Burdisso, Dairazalia Sánchez-Cortés, Esaú Villatoro-Tello et al.