My research trajectory
My work spans systems neuroscience and mechanistic interpretability. Unified by an interest in how structured representations emerge in complex systems, I’ve worked on a range of research projects from analyzing spatial and contextual encoding in hippocampal circuits in the brain to probing feature superposition and training dynamics in neural networks.
Where does a diffusion model learn to generalise?
NeurIPS 2026 - Symmetry and Geometry of Neural Representations Workshop
Combining familiar features in unseen is a key capability of generative models. But what changes inside a model when it acquires this compositional generalization ability?
I studied this question in a conditional diffusion model trained on images varying in shape, colour, and size, with half of the possible combinations withheld during training. The model first learned the training combinations, then gradually became able to generate the novel ones.
By tracking internal representations and swapping network blocks between earlier and later training checkpoints, I traced this transition to specific parts of the decoder. Transplanting just two decoder blocks from the later model into the earlier one recovered 93% of the performance gap on unseen combinations. In these layers, steering feature vectors also selectively changed the target attributes of the generated images without affecting the other features.
These findings suggest that, in this model, compositional generalisation depends on localised changes in how downstream layers represent and learn to render familiar features.

Schematic of the weight patching experiment: transplanting the last two decoder blocks from the generalized to the earlier pre-generalization checkpoint allowed the model to generalize, generating unseen combinations of training features.
Applying SAEs to biological neurons
NeurIPS 2025 – Data on the Brain & Mind Workshop
We introduced NLDisco, a sparse autoencoder-based pipeline to uncover interpretable latent structure in high-dimensional neural recordings. This approach encourages latent units to align with meaningful features in the data, making it easier to link neural activity to behavior or experimental variables. Across synthetic and real datasets, NLDisco recovers clearer, more interpretable latent features than many traditional embedding methods.

An overview of sparse encoder–decoder architectures used to uncover interpretable latent structure: basic sparse encoding (b), hierarchical nested latent segmentation (c), and the addition of temporal transformer blocks for sequence modeling (d).
Compressed computation is not computation in superposition
NeurIPS 2025 - Mechanistic Interpretability Workshop
When we benchmark models, performance alone doesn’t guarantee we understand how they compute. We need mechanistic clarity so that interpretations reflect real internal structure, not artifacts. We analyzed a benchmark toy model of Compressed Computation previously thought to implement many functions via superposition, decomposing its training objective into computation and noise-induced mixing components. The model’s apparent advantage comes from a noise-driven mixing effect, not true superposition; when the mixing term is removed, performance drops and a simple baseline based on the mixing term reproduces the behavior.

Original model architecture from Braun et al. [2025] on the left, and our simpler equivalent model on the right. The labels for our (new) model are y = ReLU(x) + Mx. The matrix M mixes other inputs x_j into the label y_i. Thus the MLP needs to learn both the ReLU term, and the mixing term.
Place Cells Distinguish Visually Identical Rooms
During my PhD, I studied how hippocampal “place cells” (GPS neurons) represent space in a virtual environment composed of four rooms arranged A–B–B–C, where the two middle rooms were visually identical but located in different positions in the environment.
The central question was whether neurons encode only local visual information, or whether they also incorporate broader spatial context.
Using spatial correlation analyses and a Bayesian neural decoder, I found that while some neurons showed identical activity patterns in the two visually identical rooms, a substantial subset distinguished between them. These neurons were selectively active in only one of the two rooms, or shifted their active location across rooms, indicating sensitivity to global position rather than just visual input.
These results show that hippocampal spatial representations integrate both local sensory cues and broader environmental context.

Illustrative example of spiking activity in the A–B–B–C virtual track. Each row shows spikes from one example neuron as the mouse moves along the track. While some cells fire similarly in both visually identical B rooms, others differentiate between them, reflecting sensitivity to global position rather than purely local cues.
Biological neurons that “count” rooms
In the same multi-room virtual task, I identified neurons that were active at corresponding positions across all four rooms, despite differences in room identity. Rather than encoding the uniqueness of each room, these cells appeared to track structural regularities across repeated segments of the environment.
Interestingly, many of these neurons fired in similar positions across rooms but with different activity levels, suggesting that they simultaneously encoded local spatial features and global task structure.
This pattern resembles previously reported “lap-counting” cells in sequential navigation tasks, and supports the idea that hippocampal representations can reflect abstract environmental structure not just physical location.

Each neuron fires at a similar relative position within every room, but with different activity levels across rooms. This pattern suggests that these cells encode both local spatial position and the repeated structure of the environment.
Attention modulates spatial representations
While analyzing place cell recordings, I encountered sessions in which spatial tuning appeared unusually unstable — contradicting decades of robust findings in rodent navigation research.
Further behavioral analysis revealed a key difference: in these sessions, mice were disengaged from the task. They ran more slowly and failed to lick in the reward zone, indicating reduced motivation. Unlike real-world navigation tasks, virtual environments allow animals to disengage without physical consequences (e.g., hitting walls), introducing a new source of variability.
I developed a machine learning classifier that used early-session behavioral features to predict disengagement, allowing us to detect low-quality sessions in real time and avoid collecting unusable data.
This work highlights how cognitive state — particularly attention and engagement — shapes the stability of neural representations, and introduced a practical solution for improving data quality in VR-based experiments.

In engaged trials (left: fast running and anticipatory licking), the place cell neuron fires reliably at a specific location; when the animal disengages (right: slow running and rare licking), neural activity becomes scattered and spatial structure breaks down. This reveals how cognitive state directly shapes the stability of place cell representations.