ACE-Merging: Data-Free Model Merging with Adaptive Covariance Estimation

Bo Xu, Haotian Wu, Hehai Lin, Weiquan Huang, Beier Zhu, Yao Shu, Chengwei Qin

TL;DR

ACE-Merging introduces a data-free model merging framework that mathematically links fine-tuning weight updates to the underlying task data geometry. By estimating input covariance directly from model parameters, it eliminates the need for original training data or blind parameter heuristics, achieving state-of-the-art merging performance across both vision and language models.

What Problem Does This Paper Address?

When deploying machine learning models for multiple specialized tasks, maintaining a separate large model for each task is computationally expensive. "Model merging" offers an alternative: combining multiple task-specific models (experts) directly in weight space into a single multi-task model without expensive retraining.

However, merging models often triggers inter-task interference, where the specialized capabilities of different experts degrade each other. Existing solutions fall into two flawed camps:

  1. Data-dependent methods: These use original training data to calculate feature importance and guide the merge, but they fail when training data is inaccessible due to privacy or scale constraints.
  2. Data-free methods: These operate purely on model weights but rely on ad-hoc parameter heuristics (like weight pruning or sign alignment) that completely ignore the statistical distribution and geometry of the underlying data.

ACE-Merging bridges this gap by providing a data-free method that mathematically infers task data statistics directly from the fine-tuned weights themselves.

Methods

The core mathematical insight of ACE-Merging is that under a local linear approximation, the column Gram matrix of a task's weight update ($\Delta W_t^T \Delta W_t$) acts as a proxy for the input second-moment (covariance) matrix of that task.

Using this covariance proxy, the authors formulate model merging as a closed-form optimization problem and introduce three key components to make it robust:

  1. Adaptive Covariance Normalization: Task updates can vary wildly in scale. The method calculates a heterogeneity statistic ($\gamma$). If task scales diverge significantly, it normalizes the covariance estimators by their trace to prevent high-energy tasks from dominating the merge.
  2. Collective Structural Prior (CSP): Instead of treating regularization isotropically (equal in all directions), CSP injects a data-driven anisotropic regularizer that captures shared geometric structures across all expert models.
  3. Spectral Refinement: In highly heterogeneous settings, the preliminary closed-form solution can suffer from extreme spectral concentration (where a few singular values dominate the energy). ACE-Merging applies a singular value decomposition (SVD) to a structural residual, flattening the singular spectrum while preserving the dominant task subspaces.

Datasets

The authors evaluated ACE-Merging across diverse vision and language benchmarks:

  • Vision Benchmarks: Evaluated on 8-task, 14-task, and 20-task configurations using CLIP-derived Vision Transformers (ViT-B/32, ViT-B/16, ViT-L/14). Datasets included Cars, DTD, EuroSAT, GTSRB, MNIST, RESISC45, SUN397, SVHN, CIFAR10/100, STL10, Flowers102, OxfordIIITPet, PCAM, FER2013, EMNIST, Food101, FashionMNIST, RenderedSST2, and KMNIST.
  • Language Benchmarks: Evaluated on the GLUE benchmark (CoLA, MNLI, MRPC, QNLI, QQP, RTE, SST-2) using RoBERTa-Base, RoBERTa-Large, and GPT-2.

Key Insights and Ideas

  • Weights Contain Geometry: Fine-tuning updates are not just random parameter offsets; they implicitly encode second-order data statistics. This allows data-aware merging without needing actual data.
  • Heterogeneity Varies by Architecture: The necessity of normalizing task scales depends heavily on the model architecture. As shown in the paper's analysis, ViT models exhibit relatively uniform scaling across layers, whereas RoBERTa models show massive scale variation, requiring an adaptive approach rather than a one-size-fits-all heuristic.
Comparison of inter-task heterogeneity across RoBERTa-Base and ViT-B/16 architectures
  • Direction vs. Scale: In ill-conditioned merges, the preliminary closed-form solution correctly identifies the right structural directions (subspaces) but distorts the singular value scales. Correcting the scale distribution via spectral refinement unlocks significant performance gains.

Key Results

ACE-Merging consistently outperformed existing data-free merging baselines:

  • GPT-2 Language Modeling: Achieved an average GLUE score of 74.1, outperforming prominent baselines like Ties-Merging (70.0) and TSV-M (70.2) by over 4 absolute points.
  • RoBERTa Models: On RoBERTa-Base, it boosted the normalized average GLUE score to 90.4 (compared to WUDI-Merging's 85.3). On RoBERTa-Large, it reached 91.7.
  • Vision Transformers: Maintained top-tier performance across all 8-, 14-, and 20-task settings, demonstrating strong scalability as the number of tasks increased.

Limitations and Future Work

The primary limitation acknowledged in the paper is that the global regularization strength parameter ($\epsilon$) must still be manually chosen per model family (e.g., $4 \times 10^{-2}$ for GPT-2 vs. $2 \times 10^{-4}$ for RoBERTa-Base). The authors note that developing a principled, fully adaptive strategy to automatically determine $\epsilon$ for each layer is a promising direction for future work.

Summary updated

BibTeX
@inproceedings{xu2026ace,
  author = {Bo Xu and Haotian Wu and Hehai Lin and Weiquan Huang and Beier Zhu and Yao Shu and Chengwei Qin},
  title = {{ACE-Merging: Data-Free Model Merging with Adaptive Covariance Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=uKdaH0fn77},
}
Figure