NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Task Alignment: A Simple Proxy for Practical Model Merging Across Diverse Vision Tasks

Pau de Jorge, César Roberto de Souza, Björn Michele, Mert Bülent Sarıyıldız, Philippe Weinzaepfel, Florent Perronnin, Diane Larlus, Yannis KalantidisarXiv 2026

TL;DR

Model merging allows multiple task-specific models to be combined into a single multi-task network without additional training, but evaluating candidate merges typically requires expensive decoder retraining. This paper introduces the Task Alignment Proxy (TAP), a lightweight, decoder-free metric that measures feature space similarity to predict downstream performance. TAP reduces hyperparameter selection costs by up to three orders of magnitude, expanding model merging to complex, heterogeneous 2D and 3D vision tasks.

What Problem Does This Paper Address?

Model merging has emerged as a powerful way to consolidate multiple models fine-tuned from a shared base into a single, multi-task network. However, current computer vision evaluations are largely limited to CLIP-based image classification. Because CLIP uses a frozen text encoder as a classification head, evaluating a merged model candidate is cheap and instantaneous.

In real-world vision applications (like robotics), different tasks require distinct, trainable, and often heavy decoders (e.g., for depth estimation or semantic segmentation). When merging these models, only the shared encoder can be combined directly; the task-specific decoders must be fine-tuned afterward to evaluate the merge. This creates a massive computational bottleneck: finding the optimal merging hyperparameters requires retraining decoders for every single candidate configuration, rendering exhaustive search practically impossible.

Fig. 1: (Left) Model merging methods produce a large number of candidates which depend on hyperparameters (λ, µ). (Middle) SOTA methods select hyperparameters based on validation performance. Evaluating and ranking all candidates might be fea- sible when the CLIP’s text encoder is used as the frozen head (standard benchmarks) but becomes infeasible for more complex sets of tasks that require fine-tuning multi- ple task-specific decoders of different sizes, for each hyperparameter candidate. (Right) Our proposed Task Alignment Proxy (TAP) can be used to select hyperparameters at a fraction of the cost while maintaining performance (see also Fig. 2).

Methods

The authors propose the Task Alignment Proxy (TAP), a generic, task-agnostic metric that evaluates merging candidates without training decoders or requiring ground-truth labels.

The core intuition is simple: if the features produced by the merged encoder are highly similar to those produced by a task-specific fine-tuned encoder for a given input, their downstream performance will also be similar.

Formally, TAP measures the average dissimilarity (defaulting to $\ell_2$ distance) between the feature maps of the task-specific encoder and the merged encoder across a small set of unlabeled images:

$$\text{TAP}_t(\theta) = \frac{1}{N} \sum_{i=1}^N d\left(f(x_i; \theta), f(x_i; \theta_t)\right), \quad x_i \sim D_t$$

By averaging this score across all tasks, researchers can rank hyperparameter candidates using only forward passes through the encoders. Furthermore, the authors show that TAP can be framed as a differentiable loss function, allowing it to extend learning-based merging methods like AdaMerging to non-classification tasks (AdaMerging_w/TAP).

Datasets

The method was validated across three distinct settings:

  1. CLIP-based Image Classification: Evaluated on suites of 8, 14, and 20 standard datasets (including Cars, DTD, EuroSAT, MNIST, and CIFAR100) using ViT-B and ViT-L backbones.
  2. LiDAR Semantic Segmentation: A newly introduced setting for model merging using the WaffleIron architecture across four diverse datasets: nuScenes, SemanticKITTI, Panda64, and PandaGT.
  3. Heterogeneous Vision Tasks (DUNE Benchmark): A highly challenging multi-task setup spanning ADE20k (2D semantic segmentation), NYUd (depth estimation), Bedlam (3D human mesh recovery), and MapFree (visual relocalization).

Key Insights and Ideas

  • Encoder Features Predict Performance: The strongest takeaway is that feature-space alignment alone serves as an excellent proxy for downstream task performance, completely bypassing the need for task decoders during optimization.
  • Task Vector Imbalance: Unlike standard CLIP benchmarks where task vectors have similar magnitudes, diverse vision tasks exhibit massive imbalances in their task vector norms. For instance, in the DUNE benchmark, the 3D human mesh recovery task (Bedlam) has a norm orders of magnitude larger than semantic segmentation (ADE20k). This imbalance biases simple model averages toward the high-norm tasks.
  • Extreme Data Efficiency: TAP is remarkably robust and requires very few samples (as few as 128 unlabeled images/scenes per task) to accurately identify optimal hyperparameters.
Analysis of task vector norms showing significant imbalance in LiDAR and DUNE benchmarks compared to CLIP.

Key Results

  • Massive Speedups: For heterogeneous 2D/3D vision tasks, TAP reduces hyperparameter selection time by three orders of magnitude compared to standard evaluation, matching the performance of an expensive oracle search.
  • LiDAR Merging Success: The paper demonstrates the first successful application of model merging to LiDAR point clouds. For instance, on the LiDAR benchmark, TAP-guided hyperparameter selection reduced search time from 30+ GPU hours to just 7 minutes while maintaining an average mIoU within 0.8% of the absolute optimum.
  • Surpassing Distillation: When applied to generalist backbones like DINOv2 on the DUNE benchmark, model merging combined with TAP achieved competitive or superior performance compared to heavy multi-teacher distillation methods.

Limitations and Future Work

While the paper successfully highlights the norm imbalance problem across diverse tasks, naively scaling or normalizing the task vectors (NormAvg) did not yield optimal results. The authors note that explicitly addressing large, unbalanced task vectors remains an open and promising direction for future model merging research. Additionally, when using TAP as an optimization loss, the student model can occasionally replicate task-specific artifacts or noise from out-of-domain feature regions.

Summary updated

BibTeX
@misc{jorge2026task,
  author = {Pau de Jorge and César Roberto de Souza and Björn Michele and Mert Bülent Sarıyıldız and Philippe Weinzaepfel and Florent Perronnin and Diane Larlus and Yannis Kalantidis},
  title = {{Task Alignment: A Simple Proxy for Practical Model Merging Across Diverse Vision Tasks}},
  year = {2026},
  eprint = {2604.12935},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.12935},
}

Loading related content...

Figure