Decoding-Alignment Critique
Based on: "Decoding Alignment without Encoding Alignment: A critique of similarity analysis in neuroscience" (Bertram et al., arXiv:2605.05907, May 2026).
Core Argument
Decoding-based similarity metrics (RSA, CKA, Procrustes, classification accuracy) can be saturated by a small subset of neurons and are insensitive to internal functional organization. Two systems can achieve identical alignment scores while having qualitatively different internal architectures.
Key Insight: Two Manifolds
Decoding Manifold (stimulus-centric)
- Points = stimuli, coordinates = population responses
- Nearby points = stimuli evoking similar activity
- What decoding metrics (RSA, CKA) measure
Encoding Manifold (neuron-centric)
- Points = neurons, coordinates = stimulus-response profiles
- Nearby points = neurons with similar tuning
- Captures functional architecture independently of readout
Critical Findings
1. Decoding Metrics Saturate with Small Subpopulations
Across mouse retina, V1, and VISp:
- All 8 decoding metrics plateau at 5% of neurons or below under best selection
- RSA and CKA remain near ceiling even under random selection at moderate fractions
- Same scalar summary can be produced by functionally heterogeneous populations
2. Encoding Manifold Position Determines Decoding Fidelity
- High-PC1 subpopulations recover full-population decoding profile
- Low-PC1 subpopulations yield substantially lower scores
- BUT: both occupy only a small, localized region of encoding manifold
- Decoding metrics capture local vs. global encoding differences but miss the topology
3. Causal Manipulation Evidence (MNIST Experiment)
- Decoding metrics unchanged when encoding topology is causally manipulated via training loss
- Discrete vs. continuous encoding manifolds produce identical RSA/CKA scores
- Provides causal (not just correlational) evidence of decoding metric blindness
4. Biological Validation
- Retina: encoding manifold clusters by known retinal ganglion cell types
- V1: no known functional groups, shows continuous encoding topology
- Allen Brain Observatory (5 cortical areas): decoding metrics saturate, encoding reveals structural differences
Methodology
Encoding Manifold Construction (3 stages)
Nonnegative Tensor Factorization (NTF)
- Decompose response tensor (neurons x stimuli x trials x time)
- Yields neural factors embedding each neuron in stimulus-response space
- Only hyperparameter: number of factors
Iterated Adaptive Neighborhoods (IAN)
- Build weighted data graph over neural encoding space
- Locally adaptive similarity kernel (no fixed neighborhood size)
Diffusion Maps
- Low-dimensional embedding preserving intrinsic geometry
- Produces the encoding manifold in diffusion coordinates
Gromov-Wasserstein (GW) Distance
Applied as intrinsic measure of encoding manifold coverage:
- Finds optimal transport between two metric spaces (no point correspondence needed)
- Two manifolds with same shape = zero distance
- Structurally incompatible = high distance
- Normalized GW similarity = 1 - GW/max_baseline
GW(E_sub, E_full) = min_T sum_{ij} T_ij * |d_E_sub(i,j) - d_E_full(i,j)|^2
GW_similarity = 1 - GW / GW_baseline
Eight Complementary Metrics
Static: k-NN accuracy, RSA, CKA, Procrustes R²
Trajectory: time-resolved RSA, Speed Profile Correlation, Trajectory Procrustes R², Dynamical Similarity Analysis (DSA)
Practical Implications
- Model validation is incomplete: A model declared "brain-aligned" by RSA/CKA may have structurally distinct internal organization
- Neuroscience comparisons need both manifolds: Always complement decoding analysis with encoding manifold analysis
- GW for population comparison: Use Gromov-Wasserstein distance as complementary diagnostic
- Subpopulation analysis matters: Test whether results hold across subpopulations, not just full population
When to Apply
- Validating brain-model alignment claims (RSA/CKA alone is insufficient)
- Comparing neural populations across brain regions, species, or models
- Designing experiments to characterize neural population functional architecture
- Questioning whether high representational similarity implies functional similarity
- Building interpretable neural decoding systems
Code Reference
Neural Manifold Explorer tool provided in paper.
NTF: https://github.com/ahwillia/tensorly
IAN: iterative adaptive neighborhoods algorithm
Diffusion maps: https://diffusion-maps.readthedocs.io/
Related
- brain-dnn-transformation-alignment: category-theoretic alignment framework
- naturality-violation-score: brain-DNN alignment methodology
- neural-manifold-learning-dynamics: neural manifold analysis methods
1---2name: decoding-encoding-alignment-critique3description: >4 Critical analysis framework for brain-model alignment methods demonstrating5 that decoding-based similarity metrics (RSA, CKA, Procrustes) are insensitive6 to internal functional organization. Based on arXiv:2605.05907 (Bertram et al.,7 2026). Use when: (1) evaluating representational similarity analysis validity,8 (2) comparing neural systems across species or models, (3) designing encoding9 manifold analyses, (4) applying Gromov-Wasserstein distance for neural10 population comparison, (5) questioning whether high RSA/CKA implies functional11 similarity, (6) analyzing neural population topology. Activation: decoding12 alignment, encoding manifold, RSA critique, CKA limitations, representational13 similarity analysis, neural manifold, Gromov-Wasserstein neural alignment,14 brain-model comparison, neural population topology, 解码对齐, 编码流形,15 表征相似性分析批判.16metadata:17 source: https://skillmd.com/skills/hiyenwong/decoding-encoding-alignment-critique18---1920# Decoding-Alignment Critique2122Based on: *"Decoding Alignment without Encoding Alignment: A critique of similarity analysis in neuroscience"* (Bertram et al., arXiv:2605.05907, May 2026).2324## Core Argument2526Decoding-based similarity metrics (RSA, CKA, Procrustes, classification accuracy) can be **saturated by a small subset of neurons** and are **insensitive to internal functional organization**. Two systems can achieve identical alignment scores while having qualitatively different internal architectures.2728## Key Insight: Two Manifolds2930### Decoding Manifold (stimulus-centric)31- Points = stimuli, coordinates = population responses32- Nearby points = stimuli evoking similar activity33- What decoding metrics (RSA, CKA) measure3435### Encoding Manifold (neuron-centric)36- Points = neurons, coordinates = stimulus-response profiles37- Nearby points = neurons with similar tuning38- Captures functional architecture independently of readout3940## Critical Findings4142### 1. Decoding Metrics Saturate with Small Subpopulations4344Across mouse retina, V1, and VISp:45- All 8 decoding metrics plateau at **5% of neurons** or below under best selection46- RSA and CKA remain near ceiling even under random selection at moderate fractions47- Same scalar summary can be produced by functionally heterogeneous populations4849### 2. Encoding Manifold Position Determines Decoding Fidelity5051- High-PC1 subpopulations recover full-population decoding profile52- Low-PC1 subpopulations yield substantially lower scores53- **BUT**: both occupy only a small, localized region of encoding manifold54- Decoding metrics capture local vs. global encoding differences but miss the topology5556### 3. Causal Manipulation Evidence (MNIST Experiment)5758- Decoding metrics unchanged when encoding topology is causally manipulated via training loss59- Discrete vs. continuous encoding manifolds produce identical RSA/CKA scores60- Provides causal (not just correlational) evidence of decoding metric blindness6162### 4. Biological Validation6364- Retina: encoding manifold clusters by known retinal ganglion cell types65- V1: no known functional groups, shows continuous encoding topology66- Allen Brain Observatory (5 cortical areas): decoding metrics saturate, encoding reveals structural differences6768## Methodology6970### Encoding Manifold Construction (3 stages)71721. **Nonnegative Tensor Factorization (NTF)**73 - Decompose response tensor (neurons x stimuli x trials x time)74 - Yields neural factors embedding each neuron in stimulus-response space75 - Only hyperparameter: number of factors76772. **Iterated Adaptive Neighborhoods (IAN)**78 - Build weighted data graph over neural encoding space79 - Locally adaptive similarity kernel (no fixed neighborhood size)80813. **Diffusion Maps**82 - Low-dimensional embedding preserving intrinsic geometry83 - Produces the encoding manifold in diffusion coordinates8485### Gromov-Wasserstein (GW) Distance8687Applied as intrinsic measure of encoding manifold coverage:88- Finds optimal transport between two metric spaces (no point correspondence needed)89- Two manifolds with same shape = zero distance90- Structurally incompatible = high distance91- Normalized GW similarity = 1 - GW/max_baseline9293```94GW(E_sub, E_full) = min_T sum_{ij} T_ij * |d_E_sub(i,j) - d_E_full(i,j)|^295GW_similarity = 1 - GW / GW_baseline96```9798### Eight Complementary Metrics99100**Static**: k-NN accuracy, RSA, CKA, Procrustes R²101**Trajectory**: time-resolved RSA, Speed Profile Correlation, Trajectory Procrustes R², Dynamical Similarity Analysis (DSA)102103## Practical Implications1041051. **Model validation is incomplete**: A model declared "brain-aligned" by RSA/CKA may have structurally distinct internal organization1062. **Neuroscience comparisons need both manifolds**: Always complement decoding analysis with encoding manifold analysis1073. **GW for population comparison**: Use Gromov-Wasserstein distance as complementary diagnostic1084. **Subpopulation analysis matters**: Test whether results hold across subpopulations, not just full population109110## When to Apply111112- Validating brain-model alignment claims (RSA/CKA alone is insufficient)113- Comparing neural populations across brain regions, species, or models114- Designing experiments to characterize neural population functional architecture115- Questioning whether high representational similarity implies functional similarity116- Building interpretable neural decoding systems117118## Code Reference119120Neural Manifold Explorer tool provided in paper.121NTF: https://github.com/ahwillia/tensorly122IAN: iterative adaptive neighborhoods algorithm123Diffusion maps: https://diffusion-maps.readthedocs.io/124125## Related126127- brain-dnn-transformation-alignment: category-theoretic alignment framework128- naturality-violation-score: brain-DNN alignment methodology129- neural-manifold-learning-dynamics: neural manifold analysis methods