atlas

Research map / Architectures and efficiency / Attention and transformers

Beyond the Permutation Symmetry of Transformers: The Role of Rotation for Model Fusion

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Token merging and masked pretraining · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces rotation symmetry for transformer self-attention and a closed-form rotation-based parameter matching module that plugs into model fusion methods (Simple, Fisher, RegMean, OT) to improve merged model performance.

Problem

Permutation symmetry is discrete and only fully covers MLP/FFN blocks, so parameter matching for transformer model fusion is limited; the self-attention layers lack an effective continuous symmetry-based alignment.

Approach

Extends permutation symmetry to continuous rotation symmetry for Q/K and V/O matrices in self-attention, and derives a closed-form (SVD/Procrustes-based) optimal rotation for matching two attention layers, combined with rescaling symmetry and Hungarian-based FFN permutation matching as a plug-and-play step before fusion.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add parameter matchingFisher fusion · Emotion with RoBERTamacro F1: 44.02 -> 44.05Helped
add parameter matchingRegmean fusion · Emotion with RoBERTamacro F1: 35.87 -> 39.95Helped
add parameter matchingSimple fusion · NER with DeBERTamicro F1: 27.54 -> 31.31Helped
add parameter matchingFisher fusion · NER with DeBERTamicro F1: 33.20 -> 33.83Helped
add parameter matchingSimple fusion · NER-CoNLL with DeBERTamicro F1: 10.80 -> 23.30Helped
add parameter matchingRegmean fusion · NER-CoNLL with RoBERTamicro F1: 26.86 -> 26.87Helped
add rotation-based matching and rescalingViT fusion baselines · CIFAR-10accuracy: 7.60 -> 10.19; 17.96 -> 18.58; 14.24 -> 15.35; 32.08 -> 32.53; 61.15 -> 61.25; 57.11 -> 57.17Helped
add rescaling after matching (ablation)ViT fusion baselines · CIFAR-10accuracy: 10.22 -> 10.19; 18.61 -> 18.58; 15.31 -> 15.35; 32.50 -> 32.53; 61.23 -> 61.25; 57.16 -> 57.17Mixed
match only attention modules, excluding FFN modules (ablation)ViT model matching · CIFAR-10accuracyMixed
match only FFN modules, excluding attention modules (ablation)ViT model matching · CIFAR-10accuracyMixed
match the first 5 attention layers rather than tail layers (ablation)DeBERTa matching · GLUE CoLA and STS-Bevaluation lossHelped

Surprising findings

Limitations

Experimental setup

Datasets: Emotion classification datasets (emoint, ssec, electoraltweets, grounded_emotions, affectivetext, and others) OntoNotes CoNLL GLUE (STS-B, SST-2, CoLA) CIFAR-10

Benchmarks: Emotion classification NER (OntoNotes) NER-CoNLL out-of-domain CIFAR-10 ViT merging GLUE CoLA and STS-B (subset layer matching)

Metrics: macro F1 micro F1 accuracy Euclidean distance loss barrier evaluation loss runtime

Baselines: Simple averaging Fisher merging RegMean OT-ACTS OT-ACTS-EMD OT-WTS OTFusion Git Re-Basin

Builds on: Git Re-Basin OTFusion RegMean Fisher merging Kabsch algorithm

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy