scimeatlas

Research map / Learning theory and algorithms / Optimal transport

Semantic Optimal Transport for Sparse Autoencoder Feature Matching and Circuit Compression

Tue M Cao, Nguyen Do, My T. Thai

NeurIPS 2026Learning theory and algorithms › Optimal transportapproach: Neural optimal transportopen problems in this approach3 citations (OpenAlex)

University of Florida

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
9improved
2no clear effect
1hurt
In one sentence

Frames SAE feature matching across layers and circuit compression as cross-manifold semantic distance, representing each feature as an activation-weighted distribution over hidden states compared with Wasserstein distance in a shared reference space.

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.

Problem

Matching semantically similar SAE features across layers and compressing large feature circuits into interpretable supernodes are hard to scale; existing decoder-vector matching fails across dissimilar layer distributions and manual supernode grouping does not scale.

Approach

Represent each SAE feature as an activation-weighted empirical distribution over the hidden states that activate it, project these into a shared reference space (target layer hidden states for matching; concatenated all-layer hidden states for circuits), and use optimal transport (Wasserstein distance) as the semantic distance for nearest-neighbor matching and clustering.</multi_core_idea>

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
represent each feature as a full activation-weighted distribution with Wasserstein distance instead of a single centroid (ablation)Our (GPT2) · Feature matching, layer 5 vs 6accuracy (%): 66.4 -> 68.2Improved
represent each feature as a full distribution instead of a single centroid (ablation)Our (Gemma-2-2B) · Feature matching, layer 12 vs 13accuracy (%): 55.2 -> 58.6Improved
represent each feature as a full distribution instead of a single centroid (ablation)Our (Gemma-2-2B) · Feature matching, layer 12 vs 13LLM Eval: 2.22 -> 2.32Improved
represent each feature as a full distribution instead of a single centroid (ablation)Our (GPT2) · Feature matching, layer 5 vs 6LLM Eval: 2.51 -> 2.53No clear effect
use shared reference-space distributions instead of decoder-vector cosine similarityFeatFlow · Feature matching, layer 12 vs 13accuracy (%): 20.4 -> 58.6Improved
use shared reference-space distributions instead of decoder-vector L2Match · Feature matching, layer 12 vs 25accuracy (%): 6.6 -> 33.6Improved
use shared reference-space distributions instead of decoder-vector cosine similarityFeatFlow · Feature matching, layer 0 vs 25accuracy (%): 8.4 -> 34.8Improved
use shared reference-space distributions instead of decoder-vector L2Match · Feature matching, layer 5 vs 6accuracy (%): 55.6 -> 68.2Improved
match through composition of consecutive layers (ML) instead of direct matchingMatch · Feature matching, layer 5 vs 11accuracy (%): 22.2 -> 6.8Hurt
match through composition of consecutive layers (ML) instead of direct matchingMatch · Feature matching, layer 12 vs 25accuracy (%): 6.6 -> 11.2Improved
use shared reference-space distributions instead of decoder vectorsFeatFlow · Feature matching, layer 5 vs 6CE loss: 3.774 -> 3.775No clear effect
use shared reference-space distributions instead of attribution patchingAttrib · Feature matching, layer 5 vs 6accuracy (%): 8.6 -> 68.2Improved

Surprising findings

  • Naive single-centroid projection onto the same reference space is competitive with the full Wasserstein method on several matching setups.

Limitations

  • Uses plain L2 ground cost, assuming flat Euclidean geometry.
  • Relies on LLM judges and small evaluation sets (100 pairs per setup, 200 circuits).

Open problems this paper states

Open problems in neural optimal transport

How can optimal transport be made cheap and flexible enough for large data, learned metrics and real tasks?

All 5 open problems and what was already tried →

Experimental setup

Datasets: The Pile

Benchmarks: feature matching (GPT2, Gemma-2-2B) circuit compression digit addition subtle-feature matching

Metrics: LLM Eval Accuracy CE loss Variance Explained human blind-ranking preference

Baselines: Match Match ML FeatFlow FeatFlow ML Attrib LLM Sel Naive

Builds on: SAE Match Feature Flow Attribution Patching Sinkhorn 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