活点地图:贝塞尔流形揭示模型合并与集成的隐藏曲面

arXiv cs.LG 论文

摘要

本文提出了 Nimbus,一种通过学习连接 N 个专家模型的高维贝塞尔流形来实现模型合并与集成的方法,将模态连通性从低维路径和曲面拓展至更高维空间。从所得流形中采样构建的集成模型在受到扰动时性能退化更为平缓,并在负对数似然和校准误差方面有所改善。

arXiv:2611.33353v1 Announce Type: new Abstract: Neural circuits are famously more robust than deep networks. This is often explained through degeneracy, where structurally distinct configurations support the same function. However, real biological systems exhibit a more flexible form of degeneracy in which specialized circuits continually adapt towards new competencies through localized changes while preserving existing function. Deep learning studies degeneracy through mode connectivity, which connects same-task networks by low-loss curves, sheets, or volumes. However, the field lacks a counterpart to flexible degeneracy, which demands more than ordinary mode connectivity. Defining such an analogue requires asking whether many independently initialized models trained on distinct tasks can be connected by a high-dimensional region of multi-task solutions. We introduce $\textit{Nimbus}$, which learns a high-dimensional B\'ezier manifold connecting $N$ specialists, going beyond the one-dimensional paths and two-dimensional sheets of mode connectivity work. A naive parameterization would scale combinatorially with $N$, but $\textit{Nimbus}$ requires learning corrections of only 3 interaction orders, showing that the connecting manifold has surprisingly low complexity yet supports multi-task competencies. The resulting manifold forms a navigable "Marauder's Map" that connects specialist models through a shared geometry of competent solutions. Trained across vision and language domains, $\textit{Nimbus}$ produces manifolds that are functionally and locally weight-flat: ensembles sampled from them degrade more gracefully than baselines under input and weight perturbations, with the largest gains in NLL loss and calibration error. $\textit{Nimbus}$ supplies a deep learning interpretation of flexible degeneracy, recasting model connectivity from a low-dimensional path between distant solutions into a high-dimensional volume of nearby ones.
查看原文
查看缓存全文

缓存时间: 2026/11/26 09:34

# The Marauder’s Map: Bézier Manifolds Reveal Hidden Surfaces for Model Merging and Ensembling
Source: [https://arxiv.org/html/2611.33353](https://arxiv.org/html/2611.33353)
Abhiram IyerAffiliation:Department of Electrical Engineering and Computer Science, MIT, Cambridge, MAAffiliation:McGovern Institute for Brain Research, MIT, Cambridge, MA Mark T\. Harnett†Affiliation:Department of Brain and Cognitive Sciences, MIT, Cambridge, MAAffiliation:McGovern Institute for Brain Research, MIT, Cambridge, MASarthak Chandra†Affiliation:\{abiyer, harnett\}@mit\.edu, sarthak\.chandra@icts\.res\.inAffiliation:International Centre for Theoretical Sciences \(ICTS\-TIFR\), Bengaluru, KA, India

###### Abstract

Neural circuits are famously more robust than their deep network counterparts\. This phenomenon is often explained through degeneracy, where structurally distinct configurations support the same function\. However, real biological systems exhibit a more flexible form of degeneracy in which specialized circuits continually adapt towards new competencies through localized changes while preserving existing function\. Deep learning studies degeneracy through mode connectivity, which connects same\-objective networks by low\-loss curves, sheets, or volumes\. However, the field lacks an analogous counterpart to flexible degeneracy, which demands more than ordinary mode connectivity\. Defining such an analogue requires asking whether many independently initialized models trained on distinct tasks can be connected by a high\-dimensional region of competent multi\-task solutions\. To address this issue, we introduce*Nimbus*, which learns a high\-dimensional Bézier manifold connectingNNspecialists, going beyond the one\-dimensional paths and two\-dimensional sheets of prior mode connectivity work\. A naive parameterization would scale combinatorially withNN, but*Nimbus*requires learning correction tensors of only33interaction orders, showing that the connecting manifold has surprisingly low complexity yet supports multi\-task competencies\. The resulting manifold from*Nimbus*forms a navigable “Marauder’s Map” that connects independently trained specialist models through a shared geometry of competent solutions\. Trained across vision and language domains,*Nimbus*produces manifolds that are functionally and locally weight\-flat: ensembles sampled from them degrade more gracefully than baselines under input and weight perturbations, with the largest gains in negative log\-likelihood loss and expected calibration error\. Thus,*Nimbus*supplies a deep learning interpretation of flexible degeneracy, recasting model connectivity from a low\-dimensional path between distant solutions into a high\-dimensional volume of nearby ones\.

22footnotetext:Equal supervision and co\-corresponding authors\.## 1Introduction

One of the key features of biological neural circuits is their robustness under synaptic noise\. This defining characteristic has long been viewed through the lens of biological*degeneracy*\[[1](https://arxiv.org/html/2611.33353#bib.bib4)\], in which structurally distinct micro\-configurations support the same macro\-level function\. Analogously, deep learning studies a similar phenomenon but seeks to answer how distinct yet functionally similar solutions are*connected*in high\-dimensional space\. Mode connectivity shows that deep networks trained on the same objective can often be linked by low\-loss curves or linear paths\[[2](https://arxiv.org/html/2611.33353#bib.bib24),[3](https://arxiv.org/html/2611.33353#bib.bib33),[4](https://arxiv.org/html/2611.33353#bib.bib18)\], with some work even extending to two\-dimensional nonlinear sheets\[[5](https://arxiv.org/html/2611.33353#bib.bib20)\]and low\-loss volumes\[[6](https://arxiv.org/html/2611.33353#bib.bib27)\]\.

Figure 1:Local degrees of freedom in biological learning\.Dendrites support synaptic clustering \(yellow\), deletion \(dashed\), and filopodia \(blue\) carrying silent synapses that can become active\. These localized mechanisms of change let circuits learn without overwriting existing function\.However,*real*biological systems routinely undergo structural change as they learn new competencies\. For example, dendritic spines grow and shrink, and can even transition a reservoir of silent synapses into active connections to directly alter synaptic strength\. Meanwhile, dendrites themselves undergo broader morphological remodeling, altering their overall length, branching complexity, and local signaling capacity\. Together, these elements of structural change implement putative local learning mechanisms such as synaptic clustering or dendritic compartmentalization\. These local degrees of freedom \(Fig\.[1](https://arxiv.org/html/2611.33353#S1.F1)\) are the means by which circuits can change without completely overwriting prior behavior\[[7](https://arxiv.org/html/2611.33353#bib.bib5),[8](https://arxiv.org/html/2611.33353#bib.bib6),[9](https://arxiv.org/html/2611.33353#bib.bib2),[10](https://arxiv.org/html/2611.33353#bib.bib7),[11](https://arxiv.org/html/2611.33353#bib.bib8),[12](https://arxiv.org/html/2611.33353#bib.bib3)\]\.

*Flexible*degeneracy is a more accurate description of biology, where specialized circuits can gradually adapt towards multiple new competencies through sequences of localized change while still preserving existing functionality\. The equivalent question in deep learning is clear\. Can a high\-dimensional manifold connect*many*independently initialized models that are trained on*distinct*tasks while maintaining uniform task competency and retaining prior functionality?

We study exactly this\. GivenNNindependently initialized models with a shared architecture but trained on different tasks, we learn a high\-dimensional manifold connecting them, a setting that is stricter than ordinary mode connectivity as endpoints need not solve every task\. Moreover, we will demonstrate that this manifold need not have a complex structure, but can instead be parameterized through a small number of tunable controls\. We propose*Nimbus*: anN\-expertInterpolatingManifold built as aBezier surface over anUnderlyingSimplex\. TheNNspecialist models anchor the vertices of the simplex, and*Nimbus*learns the\(N−1\)\(N\-1\)\-dimensional manifold that fills its interior, supplying an infinite family of competent multi\-task models\. Empirically, we will show that*Nimbus*constructs functional manifolds between independently trained models in both vision and language\.

Through this lens,*Nimbus*operates under a richer premise in both mode connectivity*and*ordinary model merging\. Most merging methods\[[13](https://arxiv.org/html/2611.33353#bib.bib28),[14](https://arxiv.org/html/2611.33353#bib.bib35),[15](https://arxiv.org/html/2611.33353#bib.bib31),[16](https://arxiv.org/html/2611.33353#bib.bib30),[17](https://arxiv.org/html/2611.33353#bib.bib37)\]output a single model while assuming no access to task data\. We instead operate in a distinct regime where task data is available and the goal is to learn the*geometry*of the merge\. Crucially, data here is not merely supervision for a single output model, but the foundation for building a high\-dimensional manifold of models instead\.

Once such a manifold has been constructed, we can also efficiently sample an arbitrarily large number of models for ensembling\. Under input and weight perturbations, this ensemble model maintains strong accuracy while improving negative log\-likelihood \(NLL\) loss and expected calibration error \(ECE\), metrics that gauge predictive quality and uncertainty more reliably than top\-KKaccuracy\[[18](https://arxiv.org/html/2611.33353#bib.bib39),[19](https://arxiv.org/html/2611.33353#bib.bib29)\]\. Without explicit flatness constraints, the process naturally yields a high\-dimensional, functionally and locally weight\-flat manifold of specialized models—a structural feature that conveniently aligns with established heuristics for out\-of\-distribution generalization\.

![Refer to caption](https://arxiv.org/html/2611.33353v1/schematic.png)Figure 2:*Nimbus*constructs a low\-loss, high\-dimensional volume through a small number of corrections\.a\.Constructing multi\-task models through linear interpolation of independent task\-trained models results in high NLL due to feature differences and neuron asymmetries\.b\.We hypothesize the existence of an ideal connecting manifold that can demonstrate low loss on the joint set of tasks in its entire volume\.c\.\(*left*\) Could an arbitrary Bézier manifold defined over a simplex satisfy this requirement? Even if it could, a naive parameterization would require combinatorially many correction terms, e\.g\., the green dots indicate learned quadratic corrections for every edge\. \(*right*\)*Nimbus*demonstrates that such manifolds not only exist, but can be parameterized through only a small number of corrective terms shared per\-degree\.### 1\.1Related work

#### Mode connecting paths and surfaces\.

Mode connectivity asks whether trained networks are isolated minima or points in a connected low\-loss set\.[Ainsworth et al\. \[20\]](https://arxiv.org/html/2611.33353#bib.bib25)found that low\-loss*linear*paths between differently initialized same\-objective models can only exist after neuron asymmetries are resolved via permutation\.[Garipov et al\. \[2\]](https://arxiv.org/html/2611.33353#bib.bib24)and[Draxler et al\. \[3\]](https://arxiv.org/html/2611.33353#bib.bib33)found*nonlinear*low\-loss paths between modes by constructing simple curves,[Nguyen \[21\]](https://arxiv.org/html/2611.33353#bib.bib21)gave theoretical conditions for connected sublevel sets, and[Zhou et al\. \[22\]](https://arxiv.org/html/2611.33353#bib.bib23)studied connectivity at the feature level\. Beyond paths,[Benton et al\. \[6\]](https://arxiv.org/html/2611.33353#bib.bib27)show that same\-objective modes can lie in multi\-dimensional low\-loss simplicial complexes, and[Ren et al\. \[5\]](https://arxiv.org/html/2611.33353#bib.bib20)construct two\-dimensional Bézier surfaces connecting up to four networks\. These are the closest geometric precedents to*Nimbus*, but all assume*same\-objective*training and connect at most a handful of networks\.*Nimbus*drops both assumptions as*many*models are*independently*initialized and trained on*disjoint*tasks\. Non\-trivially,*Nimbus*finds a high\-dimensional mode\-connected region with multi\-task capabilities while also having specialist models at the boundaries of this region\.

#### Model merging\.

Model merging combines trained models without retraining\. Approaches include weight averaging in a compatible basin\[[23](https://arxiv.org/html/2611.33353#bib.bib19)\], curvature\-weighted combination \(Fisher Merging\[[13](https://arxiv.org/html/2611.33353#bib.bib28)\]\), task\-vector composition over a shared pre\-trained base \(Task Arithmetic and TIES Merging\[[24](https://arxiv.org/html/2611.33353#bib.bib34),[15](https://arxiv.org/html/2611.33353#bib.bib31)\]\), feature\-matched merging across specialist networks \(ZipIt\!\[[16](https://arxiv.org/html/2611.33353#bib.bib30)\]\), permutation\-based merging of same\-objective models \(Git Re\-Basin\[[20](https://arxiv.org/html/2611.33353#bib.bib25)\]\), and data\-less or adaptive variants\[[14](https://arxiv.org/html/2611.33353#bib.bib35),[17](https://arxiv.org/html/2611.33353#bib.bib37)\], with recent LLM work absorbing capabilities from homologous specialists\[[25](https://arxiv.org/html/2611.33353#bib.bib36)\]\. All collapseNNspecialists into a single model and typically assume a shared pre\-trained base or fine\-tuning lineage\. Feature\- and permutation\-matching variants further require near\-identical tasks, or merge only part of the network and leave per\-specialist heads that scale linearly withNN\.*Nimbus*instead preserves specialists exactly and adds only a constant number of learnable corrections to build a continuum of multi\-task models between them, a geometry that can be traversed to tune task mixtures, sampled for ensembling, and stress\-tested under perturbations\.

#### Single\-model solutions for robustness and multi\-task training\.

A separate line of work improves robustness or mitigates task interference at the level of a single solution\. PCGrad addresses interference during joint training by projecting conflicting gradients onto orthogonal subspaces\[[26](https://arxiv.org/html/2611.33353#bib.bib32)\]\. Deep ensembles remain strong baselines under distribution shifts\[[27](https://arxiv.org/html/2611.33353#bib.bib38),[19](https://arxiv.org/html/2611.33353#bib.bib29)\]but require many independent models\. Stochastic weight averaging \(SWA\) averages along an SGD trajectory to find wider optima\[[28](https://arxiv.org/html/2611.33353#bib.bib26)\], and Adaptive Sharpness\-Aware Minimization \(ASAM\) explicitly optimizes for weight flatness\[[29](https://arxiv.org/html/2611.33353#bib.bib22)\]\.*Nimbus*presents a continuum with a closed functional form, so ensembling can operate over an arbitrarily large set of models\. Even without explicit functional and weight flatness penalties, its ensemble outperforms these baselines under perturbations, suggesting that the learned manifold is naturally well\-conditioned\.

#### Contributions\.

We make the following key contributions:

- •A high\-dimensional manifold connecting independently trained specialists\.Prior mode\-connectivity work links models through low\-loss paths and surfaces only when they share the same objective\.*Nimbus*vastly generalizes this paradigm by establishing an\(N−1\)\(N\-1\)\-dimensional low\-loss manifold acrossNNspecialists trained with*distinct*initializations on*distinct*training tasks\.
- •Connectivity manifold has low intrinsic complexity\.The high\-dimensional manifold is parameterized as a linear mixture of theNNfrozen specialists plus a small number of additive correction tensors that capture how groups of specialists interact\. A natural parameterization would assign one correction per face of the simplex and would grow exponentially inNN\. Non\-trivially,*Nimbus*finds that just33interaction orders are sufficient to build competent manifolds, keeping the construction tractable at scale\.
- •Functionally and locally weight\-flat manifolds\.When*Nimbus*is trained across vision and language domains, sampling from its manifold yields ensembles that degrade more gracefully than baselines under input and weight perturbations, with the largest gains in NLL and ECE, metrics that best capture predictive\-distribution quality\.
- •A deep learning instantiation of flexible neural degeneracy\.Just as a neural circuit uses localized mechanisms to acquire new competencies in high\-dimensional space without catastrophic overwriting \(i\.e\., flexible degeneracy\), a specialist can smoothly accumulate new task competencies on*Nimbus*’s manifold while small synaptic perturbations on the same manifold yield functionally equivalent yet differently configured models\. Our work fundamentally unifies neural degeneracy with mode connectivity and model merging, consequently recasting degeneracy from low\-dimensional surfaces to high\-dimensional volumes\.

## 2How do we construct a Bézier manifold between models?

### 2\.1Preliminaries

We are givenNNmodels\{fθi\}i=1N\\\{f\_\{\\theta\_\{i\}\}\\\}\_\{i=1\}^\{N\}that share a single architecturefθf\_\{\\theta\}and have been trained independently on different tasks\{𝒯i\}i=1N\\\{\\mathcal\{T\}\_\{i\}\\\}\_\{i=1\}^\{N\}with independent arbitrary initializations\. Our goal is to construct a single*parameter map*θ:ΔN−1→ℝ\|θ\|\\theta:\\Delta^\{N\-1\}\\to\\mathbb\{R\}^\{\|\\theta\|\}, whereΔN−1\\Delta^\{N\-1\}is the\(N−1\)\(N\-1\)\-simplex \(ΔN−1=\{𝒘∈ℝN:wi≥0,∑i=1Nwi=1\}\\Delta^\{N\-1\}=\\\{\\bm\{w\}\\in\\mathbb\{R\}^\{N\}:w\_\{i\}\\geq 0,\\sum\_\{i=1\}^\{N\}w\_\{i\}=1\\\}\), such thatθ⁡\(𝒘\)\\theta\(\\bm\{w\}\)at any mixing weight𝒘∈ΔN−1\\bm\{w\}\\in\\Delta^\{N\-1\}yields a model that performs well on the combination of tasks corresponding to the nonzero entries of𝒘\\bm\{w\}\. Specifically, this demands that the vertices𝒆i\\bm\{e\}\_\{i\}of the simplexΔ\\Deltaare recovered exactly, i\.e\.,θ⁡\(𝒘=𝒆i\)=θi\\theta\(\\bm\{w\}=\\bm\{e\}\_\{i\}\)=\\theta\_\{i\}, and that interior𝒘\\bm\{w\}yields models that behave like genuine multi\-task models rather than naive parameter averages\.

Model soups and linear mode connectivity\[[23](https://arxiv.org/html/2611.33353#bib.bib19),[4](https://arxiv.org/html/2611.33353#bib.bib18)\]typically employ a linear combination of weights \(i\.e\., the parameter mapθ⁡\(𝒘\)=∑iwi​θi\\theta\(\\bm\{w\}\)=\\sum\_\{i\}w\_\{i\}\\theta\_\{i\}\)\. However, when tasks are disjointly defined and models are free to start from arbitrary initializations, linear combinations are insufficient due to conflicting features and neuron asymmetries \(Fig\.[2](https://arxiv.org/html/2611.33353#S1.F2)a\)\. Given this practical constraint, we seek to construct parameter maps through nonlinear combinations of model weights to answer whether such a low\-loss manifold spanning specialist models can be constructed automatically \(Fig\.[2](https://arxiv.org/html/2611.33353#S1.F2)b\)\.

### 2\.2Bézier manifolds

We consider anNN\-variate,dd\-degree Bézier surface as our natural starting point\. Such a manifold is typically written in the form of:

θ⁡\(𝒘\)=∑\|𝜶\|=db𝜶d​\(𝒘\)​P𝜶,b𝜶d=d\!α1\!​α2\!​…​αN\!​∏i=1Nwiαi\\textstyle\\theta\(\\bm\{w\}\)=\\sum\_\{\|\\bm\{\\alpha\}\|=d\}b\_\{\\bm\{\\alpha\}\}^\{d\}\(\\bm\{w\}\)P\_\{\\bm\{\\alpha\}\},\\quad b\_\{\\bm\{\\alpha\}\}^\{d\}=\\frac\{d\!\}\{\\alpha\_\{1\}\!\\alpha\_\{2\}\!~\\text\{\.\.\.\}~\\alpha\_\{N\}\!\}\\prod\_\{i=1\}^\{N\}w\_\{i\}^\{\\alpha\_\{i\}\}\(1\)
where𝜶\\bm\{\\alpha\}is a multi\-index that iterates over all interaction terms on the\(N−1\)\(N\-1\)\-simplex,b𝜶db\_\{\\bm\{\\alpha\}\}^\{d\}are the Bernstein basis polynomials, andP𝜶P\_\{\\bm\{\\alpha\}\}are the Bézier \(or Bernstein\) coefficients \(conventionally referred to in mathematical literature as “control points”\)\. We note that when𝜶=d​𝒆i\\bm\{\\alpha\}=d\\bm\{e\}\_\{i\}for unit basis vector𝒆i∈ℝN\\bm\{e\}\_\{i\}\\in\\mathbb\{R\}^\{N\},P𝜶=θiP\_\{\\bm\{\\alpha\}\}=\\theta\_\{i\}is the originalii\-th vertex model exactly\. We can reinterpret Eq\.[1](https://arxiv.org/html/2611.33353#S2.E1)as a linear combination of vertex models plus additive correction terms applied to each face of the simplex \(see Supp\. Sec\.for an expanded proof\)\.

θ⁡\(𝒘\)=∑i=1Nwi​θi\+∑\|𝜶\|=db𝜶d​\(𝒘\)​P~𝜶,P~𝜶:=P𝜶−∑i=1Nαid​θi\.\\textstyle\\theta\(\\bm\{w\}\)=\\sum\_\{i=1\}^\{N\}w\_\{i\}\\theta\_\{i\}\+\\sum\_\{\|\\bm\{\\alpha\}\|=d\}b\_\{\\bm\{\\alpha\}\}^\{d\}\(\\bm\{w\}\)\\,\\tilde\{P\}\_\{\\bm\{\\alpha\}\},\\qquad\\tilde\{P\}\_\{\\bm\{\\alpha\}\}:=P\_\{\\bm\{\\alpha\}\}\-\\sum\_\{i=1\}^\{N\}\\frac\{\\alpha\_\{i\}\}\{d\}\\theta\_\{i\}\.\(2\)
Here,P~𝜶\\tilde\{P\}\_\{\\bm\{\\alpha\}\}is the residual Bernstein coefficient after subtracting the affine interpolation of the vertex models\. IfN=3N=3, for instance, these corrections are added to the three pairwise edges and the single22\-face of the\{θ0,θ1,θ2\}\\\{\\theta\_\{0\},\\theta\_\{1\},\\theta\_\{2\}\\\}triangle\.

### 2\.3Learnable corrections on a Bézier manifold

Our method falls directly out of Eq\.[2](https://arxiv.org/html/2611.33353#S2.E2)given a specific choice ofb𝜶db\_\{\\bm\{\\alpha\}\}^\{d\}and learnableP~𝜶\\tilde\{P\}\_\{\\bm\{\\alpha\}\}, where\|P~𝜶\|=\|θ\|\|\\tilde\{P\}\_\{\\bm\{\\alpha\}\}\|=\|\\theta\|\. We useb~𝜶d=b𝜶d​\(𝒘\)b𝜶d​\(𝜶d\)=∏i\(d​wiαi\)αi\\tilde\{b\}\_\{\\bm\{\\alpha\}\}^\{d\}=\\frac\{b\_\{\\bm\{\\alpha\}\}^\{d\}\(\\bm\{w\}\)\}\{b\_\{\\bm\{\\alpha\}\}^\{d\}\(\\frac\{\\bm\{\\alpha\}\}\{d\}\)\}=\\prod\_\{i\}\\left\(\\frac\{dw\_\{i\}\}\{\\alpha\_\{i\}\}\\right\)^\{\\alpha\_\{i\}\}, which is normalized by the maximum value that the Bernstein basis polynomial can take under the function𝒘↦∏i\(wi\)αi\\bm\{w\}\\mapsto\\prod\_\{i\}\(w\_\{i\}\)^\{\\alpha\_\{i\}\}\.

We modelP~𝜶\\tilde\{P\}\_\{\\bm\{\\alpha\}\}by trying to strike the right balance between maximizing expressivity and minimizing space complexity\. If we take Eq\.[2](https://arxiv.org/html/2611.33353#S2.E2)as is, then the number ofP~𝜶\\tilde\{P\}\_\{\\bm\{\\alpha\}\}parameters is exorbitantly high and scales as𝒪⁡\(\|θ\|⋅\(N\+d−1d\)\)=𝒪⁡\(\|θ\|⋅dN−1\)\\mathcal\{O\}\\left\(\|\\theta\|\\cdot\\binom\{N\+d\-1\}\{d\}\\right\)=\\mathcal\{O\}\\left\(\|\\theta\|\\cdot\{d^\{N\-1\}\}\\right\)\. First, we restrict𝜶∈\{0,1\}N\\bm\{\\alpha\}\\in\\\{0,1\\\}^\{N\}to shrink the per\-degree basis from\(N\+d−1d\)\\binom\{N\+d\-1\}\{d\}to\(Nd\)\\binom\{N\}\{d\}, eliminating self\- and cross\-interaction terms \(e\.g\.,wi2w\_\{i\}^\{2\}andwi2​wjw\_\{i\}^\{2\}w\_\{j\}\) that do not add considerable expressivity beyond the linear term \(i\.e\.,∑iwi​θi\\sum\_\{i\}w\_\{i\}\\theta\_\{i\}\) and multilinear terms \(e\.g\.,wi​wjw\_\{i\}w\_\{j\}\)\. As a consequence, the highest interaction order is capped atNN\. Second, given this ceiling, we choose which interaction orders we require from\{2,…,N\}\\\{2,\.\.\.,N\\\}instead of operating with a fixed degreedd\. Third, we shareP~𝜶\\tilde\{P\}\_\{\\bm\{\\alpha\}\}for all interaction terms within a single degree\. These decisions not only collapse the parameter count to𝒪⁡\(\|θ\|⋅\|𝒟\|\)\\mathcal\{O\}\\left\(\|\\theta\|\\cdot\|\\mathcal\{D\}\|\\right\), independent ofdd, but also impose a permutation symmetry across vertex models at each interaction order \(Fig\.[2](https://arxiv.org/html/2611.33353#S1.F2)c\)\. This symmetry crucially encodes the prior that the*order*of an interaction matters but the*identity*of which vertices participate at that order does not\. Further discussion of these design choices is included in Supp\. Sec\.\.

Taken together, we turn Eq\.[2](https://arxiv.org/html/2611.33353#S2.E2)into:

θ⁡\(𝒘\)=∑i=1Nwi​θi\+∑r∈𝒟∑𝜶∈\{0,1\}N\|𝜶\|=rb~𝜶r​\(𝒘\)​P~r\.\\textstyle\\theta\(\\bm\{w\}\)=\\sum\_\{i=1\}^\{N\}w\_\{i\}\\theta\_\{i\}\+\\sum\_\{r\\in\\mathcal\{D\}\}~\\sum\_\{\\begin\{subarray\}\{c\}\\bm\{\\alpha\}\\in\\\{0,1\\\}^\{N\}\\\\ \|\\bm\{\\alpha\}\|=r\\end\{subarray\}\}\\tilde\{b\}\_\{\\bm\{\\alpha\}\}^\{r\}\(\\bm\{w\}\)\\,\\tilde\{P\}\_\{r\}\.\(3\)
Geometrically, this construction iterates through faces of the simplex by dimension: eachr∈𝒟r\\in\\mathcal\{D\}contributes a correction supported on the\(r−1\)\(r\-1\)\-faces ofΔN−1\\Delta^\{N\-1\}\. Therefore,𝒟\\mathcal\{D\}ultimately selects which face dimensions carry learnable structure\. For anNN\-vertex Bézier manifold, we found that𝒟=\{2,N−1,N\}\\mathcal\{D\}=\\\{2,N\-1,N\\\}was sufficient to capture the salient interactions between all vertices as this included both the dominant and highest\-order interactions\. Because\|𝒟\|≤3\|\\mathcal\{D\}\|\\leq 3, the parameter count ultimately reduces to𝒪⁡\(\|θ\|\)\\mathcal\{O\}\\left\(\|\\theta\|\\right\), independent of bothddandNN\. In\-depth ablations of eachr∈𝒟r\\in\\mathcal\{D\}are included in Supp\. Sec\.\.

### 2\.4Algorithm

In practice, we augment the parameter map of \([3](https://arxiv.org/html/2611.33353#S2.E3)\) with one learnable scalar gate per degree,gr∈ℝg\_\{r\}\\in\\mathbb\{R\}forr∈𝒟r\\in\\mathcal\{D\}, that multiplicatively rescales each correction:

θ⁡\(𝒘\)=∑i=1Nwi​θi\+∑r∈𝒟egr​∑𝜶∈\{0,1\}N\|𝜶\|=rb~𝜶r​\(𝒘\)​P~r\.\\textstyle\\theta\(\\bm\{w\}\)=\\sum\_\{i=1\}^\{N\}w\_\{i\}\\,\\theta\_\{i\}\+\\sum\_\{r\\in\\mathcal\{D\}\}e^\{g\_\{r\}\}\\sum\_\{\\begin\{subarray\}\{c\}\\bm\{\\alpha\}\\in\\\{0,1\\\}^\{N\}\\\\ \|\\bm\{\\alpha\}\|=r\\end\{subarray\}\}\\tilde\{b\}\_\{\\bm\{\\alpha\}\}^\{r\}\(\\bm\{w\}\)\\,\\tilde\{P\}\_\{r\}\.\(4\)
Gates are initialized to00\(soegr=1e^\{g\_\{r\}\}=1\) and provide a small, cheap handle for calibrating each correction’s magnitude once the correction for a degree has been learned\. We train*Nimbus*in two phases: Phase 1 fits the correction terms\{P~r\}\\\{\\tilde\{P\}\_\{r\}\\\}while Phase 2 freezes these corrections and tunes only the gates\. The original\{θi\}\\\{\\theta\_\{i\}\\\}always remain frozen\. The full pseudocode is outlined in Supp\. Sec\., but we include a summary here:

#### Phase 1: low\-to\-high degree hierarchical training\.

We take inspiration from[Kobayashi et al\. \[30\]](https://arxiv.org/html/2611.33353#bib.bib1), which proposes fitting optimization problems on a simplex from lower faces to higher faces\. We therefore fit our correction terms in increasing order of degree\. Additionally, when training a particular correction, the gates of all previous degrees are unfrozen for joint refinement\. Each step draws one minibatch per task and samples a small subset of degree\-rrfaces\. On each face, we sample a set of𝒘\\bm\{w\}from a50:5050:50mixture ofDirichlet⁡\(r⋅𝟏r\)\\mathrm\{Dirichlet\}\(r\\cdot\\mathbf\{1\}\_\{r\}\)andDirichlet⁡\(𝟏r\)\\mathrm\{Dirichlet\}\(\\mathbf\{1\}\_\{r\}\)\. The first term puts its mass at each face’s center \(where the interaction we are correcting has the highest mass\), while the second term spreads samples across the rest of the face, including near its lower\-dimensional edges\. Weighting theDirichlet\\mathrm\{Dirichlet\}terms equally trains each degree across its entire face, ensuring correction tensors neither overfit the face center nor ignore the boundaries where they must blend smoothly into fixed lower\-order edge residuals\. On each sampledθ⁡\(𝒘\)\\theta\\left\(\{\\bm\{w\}\}\\right\), we minimize a cross\-entropy loss on the combined labels from the tasks on the face, plus a KL\-divergence to each task’s vertex model evaluated on that task’s own data\.

#### Phase 2: gate calibration\.

We freeze all correction terms and only train the gates\{gr\}\\\{g\_\{r\}\\\}\. We sample a set of𝒘\\bm\{w\}uniformly across degreesr∈𝒟r\\in\\mathcal\{D\}and uniformly among all faces within each degree\. On the pooled data of all tasks across the sampled faces, we minimize the mean \(i\) cross\-entropy of the averaged logits, \(ii\) NLL of the averaged probabilities, and \(iii\) KL\-divergence to each task’s vertex model evaluated on that task’s own data\. We ablate these design choices in Supp\. Sec\.and conclude that*Nimbus*’s shared\-by\-degree corrections \(covering pairwise and highest\-order interactions\), KL distillation losses, and Phase 2 training all contribute to a uniformly low\-loss manifold\.

## 3Experimental results

### 3\.1Tasks and architectures

We evaluate*Nimbus*across both vision and language modalities\.

#### ConvNeXt\.

For vision tasks, we train separate, randomly initialized ConvNeXt models\[[31](https://arxiv.org/html/2611.33353#bib.bib10)\]on subsets of CIFAR\-100\[[32](https://arxiv.org/html/2611.33353#bib.bib41)\], where each task consists of1010disjoint classes selected under a fixed random permutation across10​N10Ntotal classes \(N∈\{3,5,7,10\}N\\in\\\{3,5,7,10\\\}\)\. All models have a10​N10N\-node output head\. The\|𝒟\|≤3\|\\mathcal\{D\}\|\\leq 3correction tensorsP~r\\tilde\{P\}\_\{r\}use the same architecture\.

#### ViT\-B/32\.

We additionally consider the ViT\-B/32 vision encoder from OpenAI CLIP\[[33](https://arxiv.org/html/2611.33353#bib.bib40)\], a large\-scale vision transformer \(32×3232\\times 32patch size,224×224224\\times 224input image size, and approximately87\.587\.5M parameters\) that was jointly pre\-trained with a transformer text encoder on roughly400400M image\-text pairs\. We fine\-tune separate, pre\-trained ViT\-B/32 models via LoRA\[[34](https://arxiv.org/html/2611.33353#bib.bib42)\]\(rank=64=64, applied only to the attention projections and MLPs\) onN=8N=8vision tasks discussed in Task Arithmetic\[[24](https://arxiv.org/html/2611.33353#bib.bib34)\], which include MNIST \(digits\), SVHN \(digits\), GTSRB \(traffic signs\), DTD \(perceptual textures\), EuroSAT \(satellite imagery\), Cars, RESISC45 \(satellite imagery\), and SUN397 \(naturalistic scenes\)\. The\|𝒟\|=3\|\\mathcal\{D\}\|=3correction tensorsP~r\\tilde\{P\}\_\{r\}use the same architecture and are optimized similarly with LoRA under the same setting\. To perform zero\-shot classification, we replace the final linear layer with class embeddings generated by CLIP’s text encoder using task\-specific prompt templates\. Given an input image, the vision encoder extracts a feature vector, and the model assigns the class label whose normalized text embedding \(512512\-dim\) yields the highest cosine similarity with the image feature\.

#### nanoGPT\.

For language, we train separate, randomly initialized nanoGPT models\[[35](https://arxiv.org/html/2611.33353#bib.bib9)\]onN=7N=7different pieces of text, which include Early Modern English \(Shakespeare, the KJV, Milton, Jonson, and other in\-period authors\) from Project Gutenberg\[[36](https://arxiv.org/html/2611.33353#bib.bib13)\], WikiText\-103\[[37](https://arxiv.org/html/2611.33353#bib.bib12)\], TinyStories\[[38](https://arxiv.org/html/2611.33353#bib.bib11)\], Python source code \(CPython stdlib\[[39](https://arxiv.org/html/2611.33353#bib.bib14)\]and CodeParrot\[[40](https://arxiv.org/html/2611.33353#bib.bib17)\]\), arXiv papers\[[41](https://arxiv.org/html/2611.33353#bib.bib16)\], U\.S\. legal text \(Pile of Law\[[42](https://arxiv.org/html/2611.33353#bib.bib15)\], English\-only subsets\), and French/German literature \(Project Gutenberg\[[36](https://arxiv.org/html/2611.33353#bib.bib13)\]\)\. All domains are tokenized with a shared20482048\-token BPE vocabulary \(20482048\-node output head\) fit on a concatenation of the corpora\. The\|𝒟\|=3\|\\mathcal\{D\}\|=3correction tensorsP~r\\tilde\{P\}\_\{r\}use the same architecture\.

Hyperparameters, experimental settings, and code are given in Supp\. Sec\.[A\.1](https://arxiv.org/html/2611.33353#A1.SS1)\.

### 3\.2*Nimbus*admits flat functional manifolds

We begin by considering*Nimbus*instantiated as ConvNeXt \(N=3N=3,𝒟=\{2,3\}\\mathcal\{D\}=\\\{2,3\\\}\) and visualize the loss manifold induced by*Nimbus*overΔ2\\Delta^\{2\}, where vertices of the triangle are given by the33task specialists and mixing weight𝒘∈Δ2\\bm\{w\}\\in\\Delta^\{2\}refers to points in this triangle\. Fig\.[3](https://arxiv.org/html/2611.33353#S3.F3)a demonstrates that naive linear interpolation across these specialists encounters high\-loss barriers, while*Nimbus*is uniformly low in NLL loss despite models starting from different initializations and learning entirely different tasks\. As𝒘\\bm\{w\}approaches a particular vertex, we also recover that vertex and its task performance through our parameter mapθ⁡\(𝒘\)\\theta\(\\bm\{w\}\)\.

Remarkably, building manifolds through*Nimbus*demonstrates that it suffices to move a small synaptic distance from any vertex towards the centroid of the manifold in order to access an*infinite*set of competent solutions\. We can validate this theory by tracing and averaging the loss alongNNdifferent “rays”, each starting from a vertex and moving toward the manifold centroid \(see Fig\.[3](https://arxiv.org/html/2611.33353#S3.F3)b\)\. Distance along each ray is measured in Euclidean parameter space and normalized by the mean pairwise inter\-expert distance\. While the multi\-task NLL loss near any one expert is≈10\.0\\approx 10\.0\(≈3\.4\\approx 3\.4is chance\), moving roughly half an inter\-expert distance along*Nimbus*’s manifold collapses the loss to≈1\.0\\approx 1\.0\. The average loss across these rays then stays in a broad, flat low\-loss basin all the way across the interior\. By contrast, the linear weight\-average crosses many high\-loss barriers, reaching a multi\-task NLL of≈4\.0\\approx 4\.0near the interpolation centroid\.

Fig\.[3](https://arxiv.org/html/2611.33353#S3.F3)c demonstrates functional flatness through uniformly high top\-3 and top\-5 accuracy and uniformly low ECE, indicating that any convex combination of specialists \(plus learned corrections\) yields a competent merged multi\-task model\. Even when*Nimbus*is optimized overN=4N=4specialists, the low\-loss volume visualized as aΔ3\\Delta^\{3\}tetrahedron is bounded by lower\-dimensional surfaces, each of which effectively merges subsets of specialist models \(see Fig\.[3](https://arxiv.org/html/2611.33353#S3.F3)d\)\. Thus, faces of the tetrahedron correspond to unique sets ofN=3N=3tasks that are also uniformly low in NLL loss\. Despite a simplex face count that grows exponentially \(here,\(44\)\+\(43\)\+\(42\)\+\(41\)=15\\binom\{4\}\{4\}\+\\binom\{4\}\{3\}\+\\binom\{4\}\{2\}\+\\binom\{4\}\{1\}=15\), we conclude that a small number of correction tensors shared per order \(\|𝒟\|=\|\{2,3,4\}\|=3\|\\mathcal\{D\}\|=\|\\\{2,3,4\\\}\|=3\) suffices to populate the simplex with competent models\.

![Refer to caption](https://arxiv.org/html/2611.33353v1/manifolds.png)Figure 3:The Bézier manifold induced by*Nimbus*is flat in loss\.a\.Each point in the triangle heatmap corresponds to a mixing weight𝒘∈Δ2\\bm\{w\}\\in\\Delta^\{2\}\. For ConvNeXt \(N=3N=3,𝒟=\{2,3\}\\mathcal\{D\}=\\\{2,3\\\}\), linear connectivity between33disjoint models crosses many high\-loss barriers, while*Nimbus*is uniformly low in NLL loss \(lower is better\)\. NLL≈3\.4\\approx 3\.4is chance\.b\.We can compare the linear paths towards the vertex average and the paths towards*Nimbus*’s centroid starting from any vertex\. After moving roughly half an inter\-expert distance, linear interpolation produces poorly functioning models while the path along*Nimbus*’s manifold yields access to an infinite set of highly competent solutions\.c\.Top\-3 and top\-5 accuracy \(higher is better\) stay uniformly high across the interior, while ECE \(lower is better\) stays uniformly low, indicating that any convex combination of specialists \(plus learned corrections\) yields a competent merged multi\-task model\.d\.Even when*Nimbus*is optimized overN=4N=4specialists, the low\-lossΔ3\\Delta^\{3\}tetrahedron is bounded by lower\-dimensional surfaces, each of which effectively merges subsets of specialist models\. We visualize here two unique sets ofN=3N=3tasks as two faces of the tetrahedron\. NLL≈3\.7\\approx 3\.7is chance\.
### 3\.3Ensembling with*Nimbus*

*Nimbus*’s manifold admits a continuum of models, so we can use it for ensembling under both logit and softmax averaging\. Under both rules, we fix a sampling budget split approximately equally acrossr∈𝒟r\\in\\mathcal\{D\}, then uniformly across the faces within each degree, with weights drawn from a Dirichlet over the vertices of each sampled face\.

Fig\.[4](https://arxiv.org/html/2611.33353#S3.F4)compares*Nimbus*against a baseline ensemble of\|𝒟\|\|\\mathcal\{D\}\|arbitrarily initialized jointly trained models, each trained over all tasks\. For simplicity, we report logit ensembling here and include full results \(softmax ensembling, raw parameter averaging\) in Supp\. Sec\.along with further discussion on the differences between the ensembling rules\. On logit ensembling,*Nimbus*crucially achieves lower NLL on every task across ConvNeXt \(N=7N=7\), ViT\-B/32 \(N=8N=8\), and nanoGPT \(N=7N=7\), and is comparably well\-calibrated\.

![Refer to caption](https://arxiv.org/html/2611.33353v1/radar.png)Figure 4:Per\-task metrics for ensembling on*Nimbus*’s manifold versus an ensemble of jointly trained models\.a\.ConvNeXt \(N=7N=7\),b\.ViT\-B/32 \(N=8N=8\), andc\.nanoGPT \(N=7N=7\) per\-task metrics such as top\-3 accuracy \(higher is better\), NLL \(lower is better\), and ECE \(lower is better\) under logit ensembling for*Nimbus*\(purple\) versus a baseline ensemble of jointly trained models \(orange\)\.*Nimbus*achieves lower NLL and comparable or higher top\-3 accuracy than the baseline on every task in all settings and is well\-calibrated under logit ensembling\.
### 3\.4*Nimbus*demonstrates robustness under input and weight perturbations

Next, we evaluate*Nimbus*under distribution shifts simulated by input and weight perturbations, which probe functional and synaptic weight flatness, respectively\.

We compare against three baselines matched to*Nimbus*on both total learnable parameters and total training compute, under progressively more conservative accounting of what a practitioner is responsible for \(see Supp\. Sec\.for a rigorous treatment of this topic\)\. The first is an ensemble of\|𝒟\|\|\\mathcal\{D\}\|models fine\-tuned jointly on all tasks, splitting*Nimbus*’s budget evenly among them\. The second charges*Nimbus*for the cost of training itsNNvertices as well, expanding the ensemble to\|𝒟\|\+N\|\\mathcal\{D\}\|\+Nmodels at the same per\-model budget \(effectivelyN\|𝒟\|×\\frac\{N\}\{\|\\mathcal\{D\}\|\}\\times*more*compute\)\. The third assumes the practitioner does not want to ensemble at all and thus trains a single joint model with2×2\\timesthe compute and2×2\\timesthe parameters of*Nimbus*\(effectively4×4\\timesthe compute\)\. Additional baselines such as linear interpolation, ASAM, SWA, PCGrad, Fisher Merging, TIES Merging, and Task Arithmetic\[[29](https://arxiv.org/html/2611.33353#bib.bib22),[28](https://arxiv.org/html/2611.33353#bib.bib26),[26](https://arxiv.org/html/2611.33353#bib.bib32),[13](https://arxiv.org/html/2611.33353#bib.bib28),[15](https://arxiv.org/html/2611.33353#bib.bib31),[24](https://arxiv.org/html/2611.33353#bib.bib34)\]are included with the full results in Supp\. Sec\.;*Nimbus*outperforms each substantially\.

#### Input perturbations\.

Within the vision modality, we perturb input images with additive Gaussian noise of magnitudeε\\varepsilonrelative to theℓ2\\ell\_\{2\}\-norm of each test image \(see Fig\.[5](https://arxiv.org/html/2611.33353#S3.F5)a\)\. Within the language modality, we randomly substitute each input token with probabilityp∈\[0,1\]p\\in\[0,1\]\(see Fig\.[5](https://arxiv.org/html/2611.33353#S3.F5)b\)\.

![Refer to caption](https://arxiv.org/html/2611.33353v1/input_perturbation_visualization.png)Figure 5:Input corruption for vision and language experiments\.a\.Sample image tasks for ViT\-B/32 experiments\. Gaussian noise of magnitudeε∈\{0\.0,0\.05,0\.1,0\.2,0\.3,0\.5,0\.75,1\.0\}\\varepsilon\\in\\\{0\.0,0\.05,0\.1,0\.2,0\.3,0\.5,0\.75,1\.0\\\}relative to each image’sℓ2\\ell\_\{2\}\-norm is added\.b\.Sample text tasks for nanoGPT experiments\. Input tokens are independently replaced with a uniform random token from the BPE vocabulary with probabilityp∈\{0\.0,0\.05,0\.1,0\.25,0\.5,0\.75,1\.0\}p\\in\\\{0\.0,0\.05,0\.1,0\.25,0\.5,0\.75,1\.0\\\}\. Corrupted tokens are highlighted in red\.Relative to every compute\-matched and extra\-compute baseline,*Nimbus*instantiated as ConvNeXt and ViT degrades more gracefully, with the largest gaps in NLL and ECE \(see Fig\.[6](https://arxiv.org/html/2611.33353#S3.F6)a–b\)\. On language modeling,*Nimbus*is comparable to or better than the baselines while achieving superior calibration \(see Fig\.[6](https://arxiv.org/html/2611.33353#S3.F6)c\)\.*Nimbus*thus produces a more*functionally flat*manifold than baselines, crucially without any explicit optimization for functional flatness\.

![Refer to caption](https://arxiv.org/html/2611.33353v1/input_robustness.png)Figure 6:*Nimbus*is more robust to input perturbations than baselines\.a\.ConvNeXt \(N=7N=7\),b\.ViT\-B/32 \(N=8N=8\), andc\.nanoGPT \(N=7N=7\) robustness to input perturbations under logit ensembling for metrics such as top\-3 accuracy \(higher is better\), NLL \(lower is better\), and ECE \(lower is better\)\. We compare between*Nimbus*\(purple\) versus a baseline ensemble of\|𝒟\|\|\\mathcal\{D\}\|jointly trained models \(orange\) and\|𝒟\|\+N\|\\mathcal\{D\}\|\+Njointly trained models \(green\), and versus a single jointly trained model with4×4\\timesthe effective compute \(gold\) as*Nimbus*\(only computationally feasible to run for ConvNeXt\)\.*Nimbus*finds a more*functionally flat*manifold than baselines\.
#### Weight perturbations\.

Across all modalities, we perturb model weights with additive Gaussian noise of magnitudeε\\varepsilonrelative to theℓ2\\ell\_\{2\}\-norm of the full model\. We again compare*Nimbus*against every compute\-matched and extra\-compute baseline, and find that on ConvNeXt and nanoGPT,*Nimbus*degrades significantly more gracefully, with the largest gaps in NLL and ECE \(see Fig\.[7](https://arxiv.org/html/2611.33353#S3.F7)a, c\)\.*Nimbus*even outperforms ASAM, which is explicitly optimized for finding weight\-flat minima \(see Supp\. Sec\.\)\. On ViT\-B/32,*Nimbus*is comparable to or better than the baselines for varying levels of weight noise \(see Fig\.[7](https://arxiv.org/html/2611.33353#S3.F7)b\)\.

We include a sensitivity analysis of our input and weight robustness experiments in Supp\. Sec\.\.

![Refer to caption](https://arxiv.org/html/2611.33353v1/weight_robustness.png)Figure 7:*Nimbus*is more robust to weight perturbations than baselines\.a\.ConvNeXt \(N=7N=7\),b\.ViT\-B/32 \(N=8N=8\), andc\.nanoGPT \(N=7N=7\) robustness to weight perturbations under logit ensembling for metrics such as top\-3 accuracy \(higher is better\), NLL \(lower is better\), and ECE \(lower is better\)\. Weight perturbations are additive Gaussian noiseε\\varepsilonrelative to the norm of the model’s own weights\. We compare between*Nimbus*\(purple\) versus a baseline ensemble of\|𝒟\|\|\\mathcal\{D\}\|jointly trained models \(orange\) and\|𝒟\|\+N\|\\mathcal\{D\}\|\+Njointly trained models \(green\), and versus a single jointly trained model with4×4\\timesthe effective compute \(gold\) as*Nimbus*\(only computationally feasible to run for ConvNeXt\)\.*Nimbus*finds a more*weight\-flat*manifold than baselines\.

## 4Discussion and future work

#### *Nimbus*as a manifold learning framework for merging and ensembling\.

Where prior connectivity work links specialists by one\-dimensional paths or two\-dimensional sheets between a handful of same\-objective networks,*Nimbus*shows that an\(N−1\)\(N\-1\)\-dimensional manifold of uniformly low loss exists betweenNN*disjointly*trained ones, effectively reframing model merging as a traversable geometry instead of producing a single solution\. As a consequence, the explicit manifolds that*Nimbus*builds are also superior for robustness through arbitrarily large ensembles\. As we show, our method naturally extends to post\-training of transformer models\. Since fine\-tuned specialists share a pre\-training recipe, the linear sum∑iwi​θi\\sum\_\{i\}w\_\{i\}\\theta\_\{i\}naturally lies close to a competent initialization, so the correction terms need only repair residual interference rather than resolve systemic neuron asymmetries\. A potential future direction is utilizing only the KL term in Algorithm’s objective; eliminating the cross\-entropy weight would test how much of the manifold’s behavior can be carried through distillation alone, extending*Nimbus*to regimes where source labels are scarce or unavailable\.

#### A neural reading of the framework\.

The vertices\{θi\}\\\{\\theta\_\{i\}\\\}map naturally onto specialized neural pathways\. Biology realizes flexible degeneracy through localized mechanisms such as dendritic compartmentalization\[[8](https://arxiv.org/html/2611.33353#bib.bib6),[7](https://arxiv.org/html/2611.33353#bib.bib5)\], synaptic clustering\[[9](https://arxiv.org/html/2611.33353#bib.bib2),[10](https://arxiv.org/html/2611.33353#bib.bib7),[11](https://arxiv.org/html/2611.33353#bib.bib8)\], and the activation of silent synapses\[[12](https://arxiv.org/html/2611.33353#bib.bib3)\], all of which adapt circuit computation without overwriting existing pathways\.*Nimbus*approaches this problem through a deep learning lens\. Just as specialized circuits undergo structural changes to accumulate new capabilities, specialist models at the vertices of*Nimbus*’s manifold move away from boundaries to smoothly accumulate new task competencies\. Since a continuous family of models lies on the high\-dimensional manifold induced by*Nimbus*, a small synaptic perturbation can reach equally competent configurations with a minimal metabolic cost of synaptic change\. Our work fundamentally unifies concepts from neural degeneracy with mode connectivity and model merging, yielding a deep learning framework for flexible degeneracy\. This flexible degeneracy appears in both vision and language tasks, as*Nimbus*is both functionally and locally weight\-flat, with nearby points on the high\-dimensional manifold close in parameter space and matched in behavior\.

#### Limitations\.

While*Nimbus*is quite performant in a within\-modality heterogeneous setting \(ViT fine\-tuning tasks are visually unrelated domains\), we have yet to test*Nimbus*in a truly cross\-modal setting, such as across language and vision simultaneously\. Additionally, we are still searching for a core theoretical explanation of why or when constructing such a*Nimbus*manifold is possible among arbitrary models\.

## Acknowledgements

AI would like to thank Cynthia Rais, Raul Mojica Soto\-Albors, Courtney Yaeger, and Akhilan Boopathy for invaluable help in figure making and for very useful scientific discussions\. AI was supported by the MathWorks Graduate Research Fellowship\. SC acknowledges support of the Department of Atomic Energy, Government of India, under Project No\. RTI4001, the Murty Science Fellowship, and the Centre for Artificial Learning and Intelligence for Biological Research and Education, ICTS\-TIFR\.

## References

- \[1\]\(1999\)Measures of degeneracy and redundancy in biological networks\.Proceedings of the National Academy of Sciences96\(6\),pp\. 3257–3262\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p1.1)\.
- \[2\]T\. Garipov, P\. Izmailov, D\. Podoprikhin, D\. P\. Vetrov, and A\. G\. Wilson\(2018\)Loss surfaces, mode connectivity, and fast ensembling of dnns\.Advances in neural information processing systems31\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px1.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p1.1)\.
- \[3\]F\. Draxler, K\. Veschgini, M\. Salmhofer, and F\. Hamprecht\(2018\)Essentially no barriers in neural network energy landscape\.InInternational conference on machine learning,pp\. 1309–1318\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px1.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p1.1)\.
- \[4\]J\. Frankle, G\. K\. Dziugaite, D\. Roy, and M\. Carbin\(2020\)Linear mode connectivity and the lottery ticket hypothesis\.InInternational conference on machine learning,pp\. 3259–3269\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p1.1),[§2\.1](https://arxiv.org/html/2611.33353#S2.SS1.p2.1)\.
- \[5\]J\. Ren, P\. Chen, and R\. Wang\(2025\)Revisiting mode connectivity in neural networks with bezier surface\.\.InICLR,Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px1.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p1.1)\.
- \[6\]G\. Benton, W\. Maddox, S\. Lotfi, and A\. G\. G\. Wilson\(2021\)Loss surface simplexes for mode connecting volumes and fast ensembling\.InInternational Conference on Machine Learning,pp\. 769–779\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px1.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p1.1)\.
- \[7\]J\. C\. Magee and C\. Grienberger\(2020\)Synaptic plasticity forms and functions\.Annual review of neuroscience43\(1\),pp\. 95–117\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p2.1),[§4](https://arxiv.org/html/2611.33353#S4.SS0.SSS0.Px2.p1.1)\.
- \[8\]Y\. Otor, S\. Achvat, N\. Cermak, H\. Benisty, M\. Abboud, O\. Barak, Y\. Schiller, A\. Poleg\-Polsky, and J\. Schiller\(2022\)Dynamic compartmental computations in tuft dendrites of layer 5 neurons during motor behavior\.Science376\(6590\),pp\. 267–275\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p2.1),[§4](https://arxiv.org/html/2611.33353#S4.SS0.SSS0.Px2.p1.1)\.
- \[9\]J\. P\. Weber, B\. K\. Andrásfalvy, M\. Polito, Á\. Magó, B\. B\. Ujfalussy, and J\. K\. Makara\(2016\)Location\-dependent synaptic plasticity rules by dendritic spine cooperativity\.Nature communications7\(1\),pp\. 11380\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p2.1),[§4](https://arxiv.org/html/2611.33353#S4.SS0.SSS0.Px2.p1.1)\.
- \[10\]N\. G\. Hedrick, Z\. Lu, E\. Bushong, S\. Singhi, P\. Nguyen, Y\. Magaña, S\. Jilani, B\. K\. Lim, M\. Ellisman, and T\. Komiyama\(2022\)Learning binds new inputs into functional synaptic clusters via spinogenesis\.Nature neuroscience25\(6\),pp\. 726–737\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p2.1),[§4](https://arxiv.org/html/2611.33353#S4.SS0.SSS0.Px2.p1.1)\.
- \[11\]N\. G\. Hedrick, W\. J\. Wright, and T\. Komiyama\(2024\)Local and global predictors of synapse elimination during motor learning\.Science Advances10\(11\),pp\. eadk0540\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p2.1),[§4](https://arxiv.org/html/2611.33353#S4.SS0.SSS0.Px2.p1.1)\.
- \[12\]D\. Vardalaki, C\. E\. Yaeger, and M\. T\. Harnett\(2025\)Silent synapses in the adult brain\.Annual Review of Neuroscience48\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p2.1),[§4](https://arxiv.org/html/2611.33353#S4.SS0.SSS0.Px2.p1.1)\.
- \[13\]M\. S\. Matena and C\. A\. Raffel\(2022\)Merging models with fisher\-weighted averaging\.Advances in Neural Information Processing Systems35,pp\. 17703–17716\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p5.1),[§3\.4](https://arxiv.org/html/2611.33353#S3.SS4.p2.1)\.
- \[14\]X\. Jin, X\. Ren, D\. Preotiuc\-Pietro, and P\. Cheng\(2022\)Dataless knowledge fusion by merging weights of language models\.arXiv preprint arXiv:2212\.09849\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p5.1)\.
- \[15\]P\. Yadav, D\. Tam, L\. Choshen, C\. A\. Raffel, and M\. Bansal\(2023\)Ties\-merging: resolving interference when merging models\.Advances in neural information processing systems36,pp\. 7093–7115\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p5.1),[§3\.4](https://arxiv.org/html/2611.33353#S3.SS4.p2.1)\.
- \[16\]G\. Stoica, D\. Bolya, J\. Bjorner, P\. Ramesh, T\. Hearn, and J\. Hoffman\(2023\)Zipit\! merging models from different tasks without training\.arXiv preprint arXiv:2305\.03053\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p5.1)\.
- \[17\]E\. Yang, Z\. Wang, L\. Shen, S\. Liu, G\. Guo, X\. Wang, and D\. Tao\(2023\)Adamerging: adaptive model merging for multi\-task learning\.arXiv preprint arXiv:2310\.02575\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p5.1)\.
- \[18\]C\. Guo, G\. Pleiss, Y\. Sun, and K\. Q\. Weinberger\(2017\)On calibration of modern neural networks\.InInternational conference on machine learning,pp\. 1321–1330\.Cited by:[§1](https://arxiv.org/html/2611.33353#S1.p6.1)\.
- \[19\]Y\. Ovadia, E\. Fertig, J\. Ren, Z\. Nado, D\. Sculley, S\. Nowozin, J\. Dillon, B\. Lakshminarayanan, and J\. Snoek\(2019\)Can you trust your model’s uncertainty? evaluating predictive uncertainty under dataset shift\.Advances in neural information processing systems32\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px3.p1.1),[§1](https://arxiv.org/html/2611.33353#S1.p6.1)\.
- \[20\]S\. K\. Ainsworth, J\. Hayase, and S\. Srinivasa\(2022\)Git re\-basin: merging models modulo permutation symmetries\.arXiv preprint arXiv:2209\.04836\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px1.p1.1),[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1)\.
- \[21\]Q\. Nguyen\(2019\)On connected sublevel sets in deep learning\.InInternational conference on machine learning,pp\. 4790–4799\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px1.p1.1)\.
- \[22\]Z\. Zhou, Y\. Yang, X\. Yang, J\. Yan, and W\. Hu\(2023\)Going beyond linear mode connectivity: the layerwise linear feature connectivity\.Advances in neural information processing systems36,pp\. 60853–60877\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px1.p1.1)\.
- \[23\]M\. Wortsman, G\. Ilharco, S\. Y\. Gadre, R\. Roelofs, R\. Gontijo\-Lopes, A\. S\. Morcos, H\. Namkoong, A\. Farhadi, Y\. Carmon, S\. Kornblith,et al\.\(2022\)Model soups: averaging weights of multiple fine\-tuned models improves accuracy without increasing inference time\.InInternational conference on machine learning,pp\. 23965–23998\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1),[§2\.1](https://arxiv.org/html/2611.33353#S2.SS1.p2.1)\.
- \[24\]G\. Ilharco, M\. T\. Ribeiro, M\. Wortsman, S\. Gururangan, L\. Schmidt, H\. Hajishirzi, and A\. Farhadi\(2022\)Editing models with task arithmetic\.arXiv preprint arXiv:2212\.04089\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1),[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px2.p1.1),[§3\.4](https://arxiv.org/html/2611.33353#S3.SS4.p2.1)\.
- \[25\]L\. Yu, B\. Yu, H\. Yu, F\. Huang, and Y\. Li\(2024\)Language models are super mario: absorbing abilities from homologous models as a free lunch\.InForty\-first International Conference on Machine Learning,Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px2.p1.1)\.
- \[26\]T\. Yu, S\. Kumar, A\. Gupta, S\. Levine, K\. Hausman, and C\. Finn\(2020\)Gradient surgery for multi\-task learning\.Advances in neural information processing systems33,pp\. 5824–5836\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px3.p1.1),[§3\.4](https://arxiv.org/html/2611.33353#S3.SS4.p2.1)\.
- \[27\]B\. Lakshminarayanan, A\. Pritzel, and C\. Blundell\(2017\)Simple and scalable predictive uncertainty estimation using deep ensembles\.Advances in neural information processing systems30\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px3.p1.1)\.
- \[28\]P\. Izmailov, D\. Podoprikhin, T\. Garipov, D\. Vetrov, and A\. G\. Wilson\(2018\)Averaging weights leads to wider optima and better generalization\.arXiv preprint arXiv:1803\.05407\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px3.p1.1),[§3\.4](https://arxiv.org/html/2611.33353#S3.SS4.p2.1)\.
- \[29\]J\. Kwon, J\. Kim, H\. Park, and I\. K\. Choi\(2021\)Asam: adaptive sharpness\-aware minimization for scale\-invariant learning of deep neural networks\.InInternational conference on machine learning,pp\. 5905–5914\.Cited by:[§1\.1](https://arxiv.org/html/2611.33353#S1.SS1.SSS0.Px3.p1.1),[§3\.4](https://arxiv.org/html/2611.33353#S3.SS4.p2.1)\.
- \[30\]K\. Kobayashi, N\. Hamada, A\. Sannai, A\. Tanaka, K\. Bannai, and M\. Sugiyama\(2019\)Bézier simplex fitting: describing pareto fronts of simplicial problems with small samples in multi\-objective optimization\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.33,pp\. 2304–2313\.Cited by:[§2\.4](https://arxiv.org/html/2611.33353#S2.SS4.SSS0.Px1.p1.1)\.
- \[31\]Z\. Liu, H\. Mao, C\. Wu, C\. Feichtenhofer, T\. Darrell, and S\. Xie\(2022\)A convnet for the 2020s\.InProceedings of the IEEE/CVF conference on computer vision and pattern recognition,pp\. 11976–11986\.Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px1.p1.1)\.
- \[32\]A\. Krizhevsky G\. Hintonet al\.\(2009\)Learning multiple layers of features from tiny images\.Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px1.p1.1)\.
- \[33\]A\. Radford, J\. W\. Kim, C\. Hallacy, A\. Ramesh, G\. Goh, S\. Agarwal, G\. Sastry, A\. Askell, P\. Mishkin, J\. Clark, G\. Krueger, and I\. Sutskever\(2021\)Learning transferable visual models from natural language supervision\.InProceedings of the 38th International Conference on Machine Learning,M\. Meila and T\. Zhang \(Eds\.\),Proceedings of Machine Learning Research, Vol\.139,pp\. 8748–8763\.External Links:[Link](https://proceedings.mlr.press/v139/radford21a.html)Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px2.p1.1)\.
- \[34\]E\. J\. Hu, Y\. Shen, P\. Wallis, Z\. Allen\-Zhu, Y\. Li, S\. Wang, L\. Wang, and W\. Chen\(2021\)Lora: low\-rank adaptation of large language models\.arXiv preprint arXiv:2106\.09685\.Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px2.p1.1)\.
- \[35\]A\. Karpathy\(2022\)NanoGPT\.GitHub\.Note:[https://github\.com/karpathy/nanoGPT](https://github.com/karpathy/nanoGPT)Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px3.p1.1)\.
- \[36\]Project Gutenberg\(2026\)Project Gutenberg\.Note:[https://www\.gutenberg\.org](https://www.gutenberg.org/)Accessed: May 2, 2026Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px3.p1.1)\.
- \[37\]S\. Merity, C\. Xiong, J\. Bradbury, and R\. Socher\(2016\)Pointer sentinel mixture models\.arXiv preprint arXiv:1609\.07843\.Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px3.p1.1)\.
- \[38\]R\. Eldan and Y\. Li\(2023\)Tinystories: how small can language models be and still speak coherent english?\.arXiv preprint arXiv:2305\.07759\.Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px3.p1.1)\.
- \[39\]CPythonNote:Accessed: 2026\-05\-02External Links:[Link](https://github.com/python/cpython)Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px3.p1.1)\.
- \[40\]CodeParrot \(Hugging Face\)\(2022\)CodeParrot: a cleaned Python code dataset\.Note:[https://huggingface\.co/datasets/codeparrot/codeparrot\-clean](https://huggingface.co/datasets/codeparrot/codeparrot-clean)Accessed: 2026\-05\-02Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px3.p1.1)\.
- \[41\]J\. He, L\. Wang, L\. Liu, J\. Feng, and H\. Wu\(2019\)Long document classification from local word glimpses via recurrent attention learning\.IEEE Access7,pp\. 40707–40718\.External Links:[Document](https://dx.doi.org/10.1109/ACCESS.2019.2907992)Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px3.p1.1)\.
- \[42\]P\. Henderson, M\. S\. Krass, L\. Zheng, N\. Guha, C\. D\. Manning, D\. Jurafsky, and D\. E\. Ho\(2022\)Pile of law: learning responsible data filtering from the law and a 256GB open\-source legal dataset\.InAdvances in Neural Information Processing Systems \(NeurIPS\),Vol\.35,pp\. 29217–29234\.Cited by:[§3\.1](https://arxiv.org/html/2611.33353#S3.SS1.SSS0.Px3.p1.1)\.

## Appendix AExperimental details

### A\.1Hyperparameters

We include all the relevant hyperparameters from our experiments in Table\. Our code can be found athttps://github\.com/abhi\-iyer/nimbus\. All experiments were run on a single NVIDIA RTX 4090 GPU; in total, all experiments took about 10–12 hours to run\.

CIFAR\-100ViTLanguage modeling\\endfirsthead*Table\(continued\)*CIFAR\-100ViTLanguage modeling\\endhead*continued on next page*

相似文章

注意力流形:通过编辑学到的 B 样条曲面来引导或阻断语言模型

arXiv cs.LG

该论文提出了注意力流形——用于调制 Transformer 注意力中值维度的二维 B 样条曲面。实验表明,在仅增加 0.3% 参数开销的情况下,LLaMA 3.2 的困惑度即可降低 2–2.5 点;此外,这些曲面支持机械式编辑,可实现模型引导以及用于安全防护的注意力屏障。

贝叶斯模型合并

arXiv cs.LG

介绍贝叶斯模型合并(BMM),这是一个即插即用的双层优化框架,用于将多个任务特定的专家模型合并为一个单一模型,在视觉和语言基准测试上实现了最先进的性能。

基于输出空间投影的模型合并

arXiv cs.LG

本文提出了一种新的模型合并框架,将问题转化为关于残差更新的凸二次规划,以最小化平方输出的校准目标。该框架涵盖现有的启发式方法,并提供了一种闭式诊断指标来预测合并质量,在语言和视觉基准测试中持续取得改进。

模型合并作为微调参数空间中的概率推理

arXiv cs.LG

本文将模型合并视为在专家乘积场景下的概率推断,表明现有方法是其特例,并提出一种重尾柯西专家设计,能更准确地捕捉实际残差行为,在多个任务和架构上相对于现有最优基线取得了显著改进。