Rational Sparse Autoencoder
- lab arXiv
- product CatalyzeX
- product DagsHub
- product GotitPub
- product Hugging Face
- product ScienceCast
- product alphaXiv
- product arXivLabs
Researchers have introduced the Rational Sparse Autoencoder (RSAE), a new architecture that replaces the fixed activation functions in standard sparse autoencoders with trainable rational functions, according to a paper submitted on 12 Jun 2026 [1]. Sparse autoencoders (SAEs) are widely used in mechanistic interpretability, a field that seeks to understand the internal computations of deep neural networks [3]. Current SAE designs rely on fixed encoder nonlinearities, such as ReLU, JumpReLU, and TopK, which hard-code a specific sparsity mechanism into the model [1]. The authors of the new paper argue this constraint can distort the trade-off between reconstruction fidelity and sparsity [1]. The RSAE addresses this by using a trainable rational function as the encoder activation, providing a more flexible function class that can adapt to the geometry of pre-activation values [2]. The RSAE’s rational activation is capable of uniformly approximating the activation primitives of existing SAE families on compact domains [2]. For the TopK baseline, this approximation uses a thresholded gate obtained after a separating top-k threshold is supplied [2]. The implementation follows a two-stage pipeline: an initialisation procedure copies the weights from a pre-trained baseline SAE and fits rational coefficients using a relaxed Remez exchange on synthetic data, followed by a fine-tuning step under a standard sparsity-regularised reconstruction objective [2]. Empirical tests were conducted on residual-stream activations from three open-weight language models [2]. Across all three baseline activation families, the RSAE showed strict improvement after fine-tuning on both reconstruction-side metrics and downstream-behaviour metrics, without sacrificing feature-level interpretability as measured by sparse probing [2]. These gains held consistent across host language models, baseline activation families, and the full range of tested sparsity levels [2]. The upgrade adds only a handful of scalar parameters per autoencoder and runs in minutes on a single consumer GPU [2].
safety-researchresearch-paperinfrastructure
Background sources we checked (7)
- arxiv.org ↗ Sparse autoencoders (SAEs) are standard tools for mechanistic interpretability, but current SAE families are constrained by fixed encoder nonlinearities such as ReLU, JumpReLU, and TopK. This hard-codes a particular sparsity mechanism into the model and can distort the reconstruc…
- en.wikipedia.org ↗ In machine learning, deep learning (DL) focuses on utilizing multilayered neural networks to perform tasks such as classification, regression, and representation learning. The field takes inspiration from biological neuroscience and revolves around stacking artificial neurons int…
- en.wikipedia.org ↗ The softmax function, also known as softargmax or normalized exponential function, converts a tuple of K real numbers into a probability distribution over K possible outcomes. It is a generalization of the logistic function to multiple dimensions, and is used in multinomial logis…
- en.wikipedia.org ↗ Non-negative matrix factorization (NMF or NNMF), also non-negative matrix approximation is a group of algorithms in multivariate analysis and linear algebra where a matrix V is factorized into (usually) two matrices W and H, with the property that all three matrices have no negat…
- en.wikipedia.org ↗ In machine learning, attention is a method that determines the importance of each component in a sequence relative to the other components in that sequence. In natural language processing, importance is represented by "soft" weights assigned to each word in a sentence. More gener…
- en.wikipedia.org ↗ While the future cannot be predicted with certainty, present understanding in various scientific fields allows for the prediction of some far-future events, if only in the broadest outline. These fields include astrophysics, which studies how planets and stars form, interact and …
- en.wikipedia.org ↗ Open science (also known as open research) is the movement to make scientific research, including publications, data, physical samples, software, and models, transparent and accessible to all levels of society through collaborative networks. This encompasses practices such as pub…
Sources
- export.arxiv.org — Rational Sparse Autoencoder ↗