potentialpaper

SAMerging: Sharpness-aware Model Merging via Multi-Teacher Knowledge Distillation

Seyed Arshan Dalili, Mehrdad Mahdavi

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Model merging offers a lightweight alternative to joint multi-task learning (MTL), which is often costly or data-prohibitive. While the task arithmetic seems promising, it is brittle to coefficient scaling, and we observe that recent approaches, such as AdaMerging, that learn these coefficients, remain sensitive to initialization. This raises a key question: can merging coefficients be learned in a principled, label-free way? We introduce SAMerging, a method that learns coefficients by seeking flat minima. Our approach is grounded in two theoretical contributions. First, we derive a flatness-aware PAC-Bayes generalization bound for the merged model, featuring a novel cross-task heterogeneity term that quantifies expert-task mismatch. Second, this analysis guides us to frame merging as multi-teacher knowledge distillation on a small, unlabeled dataset. We formally show that minimizing the student-teacher KL divergence tightens an upper bound on the merged model's excess risk. We then employ Sharpness-Aware Minimization (SAM) to find robust solutions that generalize better. Empirically, SAMerging establishes a new state of the art on vision and NLP benchmarks. Notably, it surpasses AdaMerging with accuracy gains of +4.5%+4.5\% on TA-8 and +11.7%+11.7\% on TALL-20. This is achieved with remarkable data efficiency, using 10×10\times fewer calibration data and proving effective even in data-scarce settings with as few as 1616 examples per task. Furthermore, it requires no original training data and incurs no additional inference-time or memory overhead.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…