arXiv Machine Learning By Francesco Cagnetta, Santiago Acevedo

Deep Latents, Long Memory: Latent persistence explains temporal correlations in transformer activations

Read the original on arXiv Machine Learning →

The paper investigates how latent variables that persist across a transformer’s context positions generate slowly decaying autocorrelation tails in layer activations. By defining an autocorrelation function as the average dot product between activations at two positions separated by a lag, the authors show that these tails grow with depth in both synthetic data with controlled hierarchical latent structure and in real text. Using sparse‑autoencoder features as proxies for latent variables, they find that the persistence of these features correlates strongly with autocorrelation magnitude, and ablating them reduces autocorrelations, indicating that deeper latent features persist longer.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Machine Learning
Sep 3

Persistent Sparse Autoencoders: Learning Feature-Specific Timescales in Language Model Representations

Persistent Sparse Autoencoders (Persistent SAEs) extend standard sparse autoencoders by learning a persistence coefficient for each feature, enabling the model to capture feature‑specific timescales from reconstruction alone. The study shows that these persistent features maintain competitive reconstruction quality while distinguishing between short‑timescale, locally interpretable features and long‑timescale, context‑accumulating features. In a prompt‑injection monitoring case study, slow features were found to preserve injection‑related signals and remain causally effective over long contexts.

By Haoyan Luo, Mateo Espinosa Zarlenga, Mateja Jamnik
arXiv Machine Learning
Sep 22

Comparing Latent Concept Formation in State Space Models and Transformers via Sparse Autoencoders

The paper compares latent representations in Selective State Space Models (SSMs) like Mamba and Transformers such as Pythia using Sparse Autoencoders. Across a 10‑million token corpus, 99.98% of Mamba features align closely with Pythia’s, supporting the Universality Hypothesis that core semantic representations are similar across architectures. A tiny 0.02% of features diverge, with Mamba’s recurrent bottleneck causing it to compress syntactic anomalies into polysemantic neurons, whereas Pythia’s attention can isolate distinct formatting edge‑cases.

By Rithin Nagaraj, Rupa Laalasa Oruganti, Prerna Subhashchandra Kunder, Ashwini M Joshi