fmxcoders: Factorized Masked Crosscoders for Cross-Layer Feature Discovery
Andreas D Demou, Panagiotis Koromilas, James Oldfield, Yannis Panagakis, Mihalis Nicolaou
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Sparse Feature Discovery and Interpretation · Type: new method · Keywords: cross-layer feature discovery, factorized masked crosscoders, low-rank tensor factorization, stochastic layer masking, transformer interpretability
Areas: Model Architectures & Sequence Modeling › Neural and brain architectures › Cross-Layer Factorization; Interpretability › Mechanistic Interpretability › Sparse Autoencoder Interpretability
Summary
fmxcoders introduces factorized masked crosscoders that enforce cross-layer consistency via low-rank tensor factorizations and stochastic layer masking, significantly improving cross-layer feature discovery in Transformers.
Explained to a 5-year-old
A big computer brain is made of many layers that work together. Some ideas need help from more than one layer to be understood. The old way of looking at these ideas only used one layer at a time, so it missed many things. This made the computer see simple patterns like numbers but not bigger concepts like cities. The new method makes the ideas share information across layers and checks that they still work even when one layer is hidden, helping the computer understand clearer patterns.
Explained to a 5-year-old, longer
A big computer brain is made of many layers that work together. Some ideas need help from more than one layer to be understood. The old way of looking at these ideas only used one layer at a time, so it missed many things. This made the computer see simple patterns like numbers but not bigger concepts like cities. The researchers noticed this problem and decided to improve it. They made a new method where each idea shares its information across layers, so no single layer does all the work. They also added a trick that hides one layer at a time to make sure the idea still works. This helps the computer find clearer and more useful patterns. The new method works better on different computer brains, finding more meaningful ideas. It also helps the computer rebuild data more accurately. Overall, the new way makes the computer brain easier to understand and more useful.
For a technical reader
The paper observes that existing crosscoders, which aim to capture features that span multiple transformer layers, often learn latents that are driven by only one or two layers and collapse to surface patterns. They identify two root causes: unrestricted cross-layer weight sharing and lack of regularization on layer dependencies. The authors propose a factorized architecture that ties each latent’s per-layer weights to a shared low-rank basis and adds stochastic layer masking to penalize latents that lose contribution when a single layer is omitted. Experiments on GPT-2, Pythia, and Gemma show large gains in probing F1, reconstruction error, and functional coherence, with the new method recovering 3-13× more semantically coherent latents. The approach is simple, scalable, and can be dropped into existing transformer pipelines for better interpretability.
Problem
Standard crosscoders fail to capture cross-layer features because their latents are driven by only a few layers and collapse onto surface-level patterns, limiting interpretability and reconstruction quality.
Method
The approach replaces encoder and decoder weights with low-rank tensor factorizations that share a cross-layer basis across layers and adds a stochastic layer masking regularizer to penalize latents that lose contribution when a single layer is masked.
Results
The approach lifts mean probing F1 by 10-30 points, reduces reconstruction MSE by 25-50%, and roughly doubles functional coherence, while recovering 3-13 times more semantically coherent latents according to an LLM-as-a-judge evaluation.
Contributions
It identifies the structural limitations of standard crosscoders, proposes low-rank tensor factorization and stochastic layer masking to enforce cross-layer consistency, and demonstrates substantial improvements across multiple Transformer models.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction