atlas

Research map / Architectures and efficiency / Attention and transformers

Transformer Fusion with Optimal Transport

ICLR 2024 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 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.

Extends OTFusion to Transformers (ViT, BERT) via a transport-map flow graph, handling residuals, multi-head attention, LayerNorm and embeddings, and shows soft Sinkhorn alignment beats hard EMD alignment for one-shot fusion and fine-tuned fusion beats parents.

Problem

Model fusion (merging independently trained networks) has been developed for MLPs, CNNs, ResNets and RNNs, but layerwise OTFusion does not handle Transformer components such as multi-head self-attention, layer normalization, embeddings and residual streams.

Approach

A Transportation Map Flow Graph that describes how transport maps propagate through residual connections, attention, embeddings and normalization, combined with soft (Sinkhorn) alignment and cross-head alignment, enabling one-shot fusion and heterogeneous-width fusion of Transformers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use soft Sinkhorn activation alignment instead of hard EMD alignment (ablation)ViT OTFusion · CIFAR10 one-shot, 2 modelsaccuracy: 24.50 ± 5.66 -> 60.87 ± 0.44Helped
Use non-zero Sinkhorn regularization rather than hard alignment (ablation)ViT OTFusion · CIFAR10 one-shotaccuracyHelped
Use 6x6 center-window token filtering for activation alignment (ablation)ViT activation-based OTFusion · CIFAR10 one-shotaccuracyHelped
Use averaging for residual transportation maps instead of weighted residual policies (ablation)ViT OTFusion · CIFAR10 one-shotaccuracyHelped
Remove the equality constraint between query and key transport maps (ablation)ViT soft OTFusion · One-shot accuracyaccuracyHelped
Use soft Sinkhorn weight alignment instead of hard EMD alignment (ablation)ViT OTFusion · CIFAR100 finetuned, 2 modelsaccuracy: 64.72 -> 65.80Helped
Use soft Sinkhorn weight alignment instead of hard EMD alignment (ablation)ViT OTFusion · CIFAR100 finetuned, 6 modelsaccuracy: 65.42 -> 65.98Helped
Use activation-based alignment rather than weight-based alignment (ablation)ViT OTFusion · CIFAR100 finetunedaccuracy: 65.80 vs 65.35; 65.98 vs 65.25Mixed
Increase the number of fused parent models from 2 to 6 (ablation)ViT OT-wts followed by finetuning · CIFAR100accuracy: 65.80 -> 65.98Helped
Fuse independently trained models with soft OTFusion rather than vanilla parameter averagingViT · CIFAR10 one-shot, 2 modelsaccuracy: 7.59 -> 60.87 ± 0.44Helped
Fuse independently trained models with soft OTFusion rather than vanilla parameter averagingViT · CIFAR100 finetuned, 2 modelsaccuracy: 64.91 -> 65.80Helped
Fuse independently trained models with soft weight-based OTFusion rather than vanilla parameter averagingViT · ImageNet-1k finetuned, 2 modelsaccuracy: 67.83 -> 75.80Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 CIFAR100 Tiny ImageNet ImageNet-1k Wikipedia (simple subset) GLUE

Benchmarks: CIFAR10 CIFAR100 Tiny ImageNet ImageNet-1k GLUE

Metrics: accuracy MLM loss one-shot accuracy finetuned accuracy

Baselines: Vanilla Fusion Ensembling OTFusion with EMD (hard alignment) Individual parent models

Builds on: OTFusion Sinkhorn-Knopp Earth-Mover's Distance

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