- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper presents a novel method for model merging with robust performance and good calibration results across various vision and language tasks. It also demonstrates the connection between flat Bézier manifold and lower task loss in ensembling, which provides an important insight into the manifold formulation of neural network learning and parameter merging.
Strengths and weaknesses
Strengths: (1) The paper offers an intriguing manifold-based perspective and applied classical Bezier curve interpolation skill in model merging and ensembling. (2) The experiments are extensive, accompanied by in-depth discussion. Weaknesses: (1) The paper might have overclaimed its neuroscientific relevance. It is more about manifold approximation in the parameter space. (2)Lack of efficiency analysis compared to baselines.
Questions
(1) Have authors ever considered n-dimensional NURBS approximation? Why is Brezier better or sufficient for the current formulation? (2) Can you elaborate on why low-to-high degree hierarchical training requires such specific designation of Dirichlet distribution? (3) ECE struggles with binning sensitivity. Can you provide additional calibration metrics such as Brier score or ACE?
Limitations
The proposed two-stage algorithm might be computationally inefficient when tackling with large foundation models. I will raise my score if the authors could provide efficiency analysis, or at least clarify how the implementation of Nimbus achieves competitive scaling performance.
Paper formatting concerns
No major issues exist.
We thank the reviewer for their insightful comments. We include detailed responses to each concern below, but first briefly summarize new experiments and results. We are also happy to include results tables if the reviewer needs, but omit them on this first pass due to the 10k char limit.
One of the core questions that Nimbus seeks to answer is how much does a neural model need to be edited to acquire new competencies. Nimbus explains flexible neural degeneracy by exploiting nonlinear connectivity properties of neural loss landscapes to suggest that a neural circuit need only move a small distance in synaptic perturbation space (from a specialist model towards the bulk of the Nimbus manifold) to acquire new capabilities while retaining prior function. To our knowledge, no one has connected biological degeneracy with model merging or model connectivity. Although our models are not true biological circuits, our framework was strongly inspired by understanding how neural circuits co-exist and acquire new competencies in high-dimensional space without catastrophic overwriting. Per the reviewer’s feedback, we are happy to either expand on this topic or include such discussion in the limitations section.
We haven't pursued NURBS because our domain is the probability simplex over the N specialist models, where the Bernstein basis already matches the task-mixing coefficients exactly. NURBS is primarily useful for fitting geometric shapes that require local, piecewise control, whereas we only need one smooth, global surface that recovers each specialist model at the corners.
We assume the reviewer refers to the 50-50 mix of Dir(r) and Dir(1) sampling per face. The former concentrates at each face's center, where the interaction we are correcting has the highest mass; the latter covers the boundary, where the correction must blend smoothly into the already fixed lower-degree residuals. Equal weighting trains each degree across its whole face.
We run an additional experiment for CIFAR-100, N=3, evaluating Nimbus’ robustness to input and weight noise with respect to Brier score, ECE, and ACE. Overall trends between these three metrics are approximately equivalent under both logit and softmax ensembling.
This is an excellent point. To that end, we implement Nimbus within a large vision transformer and find qualitatively similar results. Specifically, we investigate the vision encoder subnetwork of OpenAI’s CLIP model, a ViT-B/32 (32 x 32 patch size, 224 x 224 pixel input, ~87.5M parameters) already jointly pretrained with a text encoder on ~400 million pairs of images and text.
We consider the following 8 tasks: MNIST, SVHN, GTSRB, DTD, EuroSAT, Cars, RESISC45, and SUN397, spanning 10 to ~400 classes with train sets ranging from ~2k to 50k samples. The classifier’s weight matrix (i.e., the trained linear head) is replaced with zero-shot embedding vectors from CLIP: each class has a unique task prompt template, forward propagated through CLIP’s text encoder to yield one embedding vector per class. Vectors within a task are L2-normalized and concatenated into a [C, H] fixed classifier head (C = classes, H = embedding dim). Classification then scores the vision encoder’s normalized H-dim projection by cosine similarity against each row of the head.
To make the “vertex/specialist” models for our experiments, we fine tune the base ViT-B/32 on each task via low-rank adaptation (LoRA, rank = 64), touching only the attention projections and MLP layers, while leaving the embedding layers, LayerNorms, and biases untouched, simulating the merging of realistic fine-tuned models. Training minimizes standard cross-entropy loss on the integer class labels of each task, with a 100-step LR warmup then constant LR=1e-4 without any decay for 16k steps with early stopping on validation.
To save on space, we also construct the correction tensors P~r (as seen in Equation 4) to be low-rank (rank = 64).
We now rigorously evaluate the time and space complexity of building a Nimbus manifold given these 8 vertex models. To first order, the Nimbus algorithm comprises the following number of total “sample-passes” (training samples x passes):
(passes per training step) (iters / degree = 1000) (batch size = 64)∑r∈Dmin((rN),N)r
Following standard FLOP counting estimates, we define the “passes per training step” as 3 (1 pass forward, 2 backward). The binomial term counts the faces per degree r we sample from, and the second r term measures the passes per task per face (a degree r face joins r-task specialized models). In total, if D=2,7,8, then this reduces to 15.36M sample-passes. We only include the sample-passes consumed by the degree-by-degree training phase, as the calibration phase is relatively much cheaper.
The Nimbus framework here yields ~39.4M learnable params. Since ∣D∣=3, an equitable baseline finetunes 3 different pretrained ViT-B/32 base models jointly on all the tasks and ensembles between them (rank 64 per model, so total params equal Nimbus’ 39.4M budget). The number of iterations is picked such that total sample-passes across baseline models equals 15.36M (5.12M each). We call this compute-matched baseline the “baseline ensemble”. We also include a “linear interpolation” baseline (linear ensembling over the LoRA-finetuned vertices) and the Task Arithmetic baseline (Ilharco et al. 2022) that introduces these vision tasks for finetuning ViT-B/32.
We find that Nimbus’ accuracy and NLL loss across tasks is comparable, and often better than the baseline ensemble. Under logit/softmax ensembling and raw parameter averaging, Nimbus exhibits significantly more robustness to degradation of NLL and ECE. Logit ensembling preserves the diversity of its sample models while softmax ensembling compresses output confidence by removing this diversity via normalization; we include both for completeness, but logit ensembling should be preferred as it typically yields significantly lower ECE. We also note that NLL loss is the most holistic metric for determining output quality.
We thank the reviewer for the opportunity to make our formulation more rigorous. Having performed a detailed cost analysis for our new ViT experiments, we demonstrate similar compute-matched baselines for our CIFAR-100 (N=3, 5, 7, 10) experiments.
(passes per training step = 3) (epochs / degree = 100) (batch size = 256)∑r∈Dmin((rN),N)r
For example, CIFAR-100 N=7 has approximately 85.05M sample-passes. We construct a compute-matched “baseline ensemble” as before, matching both total sample-passes and learnable parameters across ∣D∣ baseline models to Nimbus.
If a practitioner employing Nimbus must also assume responsibility for the compute in training the vertices, we also include a “baseline ensemble” with ∣D∣+N sample models (each with the same sample-passes as above) to liberally account for this extra compute (effectively ∣D∣Nx more). And if a practitioner does not want to ensemble at all, we also include a single baseline model that is jointly trained on all the tasks with 2x the sample-passes and 2x the total learnable parameters as Nimbus (effectively 4x the compute). Nimbus still far outperforms each of these baselines in terms of robustness to input and weight perturbations.
Another important aspect of scaling is to consider how many corrective tensors Nimbus requires as the number of specialist models grows. We rigorously identify which corrections are needed for optimal performance by ablating the choices for D for CIFAR-100, N=7. Crucially, in all expts (CIFAR-100, nanoGPT, ViT; across all N), it suffices for ∣D∣≤3, suggesting that Nimbus’ sample-passes and learnable parameters scale independent of N.
To establish this, we uniformly sample over the constructed manifold for various choices of degrees (subsets of {2…7}) and determine the multi-task loss, also comparing the loss under logit vs. softmax ensembling for these choices. We find D=2,6,7 is the optimal choice under both quality of the NLL loss distribution (tight spread around the mean) and space complexity (number of learnable parameters that scale with ∣D∣). Additionally, the gap between logit and softmax ensembling reduces significantly under our core hypothesis (lower degrees + a few higher order degrees are sufficient).
We also showcase Nimbus’ gentle NLL loss degradation under both logit and softmax ensembling for each choice of D. We find D=2,6,7 to be optimal for robustness: (1) it starts off with the lowest NLL loss, (2) is the most robust against small magnitude noise, and (3) degrades more gracefully with higher magnitude noise for a fraction of the total learnable parameters (relative to other larger D).