cs.CLNov 22, 2026

Group-Balanced Supervised Fine-Tuning for Knowledge-Intensive Domains

Authors: Mark Heimann, Bruno Jacob

Organizations: Ivo AI

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.

Explore similar work

CardsList
  1. MixSD: Mixed Contextual Self-Distillation for Knowledge Injection

    May 16, 2026Jiarui Liu, Lechen Zhang, Yongjin Yang +5Knowledge Augmentation for Language ModelsFactual Knowledge in Language Models

  2. Stick to What You Know: A Study of Knowledge-Aligned Supervised Fine-Tuning

    Aug 31, 2026Arthur Becker, Jakob Kemmler, David Thulke +3Supervised Fine-TuningLLM Hallucination Mitigation

  3. Beyond Distribution Matching: Selective Margin Preservation for Supervised Fine-Tuning

    Oct 14, 2026Yuxuan Wang, Guangxiang Zhao, Xinyu Tan +6Supervised Fine-TuningSelective Fine-Tuning