Aman Timalsina
· 1 previous affiliation
- Researcher · Current
Research Overview
Aman Timalsina focuses on the development and optimization of efficient sequence models, with a particular emphasis on State-Space Models (SSMs) and linear attention mechanisms. His work addresses the computational trade-offs between memory capacity, inference throughput, and the ability of language models to perform associative recall in long-context scenarios. By investigating the mathematical foundations of Continuous Time Memory via Orthogonal Polynomial Projections, Timalsina contributes to the design of architectures that aim to maintain the performance of Transformers while achieving the efficiency of recurrent systems.
Research Trajectory
In 2023, Timalsina’s research focused on the mathematical initialization and structural conversion of efficient sequence models. He participated in work examining the theoretical underpinnings of the Structured State Space (S4) model, specifically the role of HiPPO (High-order Polynomial Projection Operators) matrices. In How to Train your HIPPO: State Space Models with Generalized Orthogonal Basis Projections, he contributed to an analysis of how these matrices, originally derived for time-varying dynamical systems, function within time-invariant SSMs. This research sought to provide a mathematical interpretation for why specific matrix initializations are critical for a model's ability to handle long sequences, bridging a gap between classical engineering theory and modern machine learning architectures.
During the same period, Timalsina was involved in research aimed at bridging the gap between long convolution sequence models (LCSMs) and recurrent models. He contributed to the development of a distillation process detailed in Laughing Hyena Distillery: Extracting Compact Recurrences From Convolutions. This work enables the conversion of pre-trained filters into low-dimensional recurrences, targeting $O(1)$ inference costs. By distilling complex convolutions into more efficient forms, the research demonstrated significant increases in throughput at the 1.3B parameter scale without a corresponding loss in model quality.
Current Directions
In 2024, Timalsina’s focus shifted toward diagnosing and mitigating the "recall gap" observed in attention-free and recurrent language models. This work identifies a fundamental limitation where efficient models struggle to retrieve specific tokens from earlier in a sequence, a task where standard Transformers excel. He contributed to the "Zoology" project, as described in Zoology: Measuring and Improving Recall in Efficient Language Models, which attributes a significant portion of the performance deficit in models like Hyena and RWKV to failures in associative recall. The research suggests that integrating small amounts of sparse attention can effectively close this gap while maintaining efficiency.
Furthering this line of inquiry, Timalsina participated in the development of the BASED architecture. As outlined in Simple linear attention language models balance the recall-throughput tradeoff, this work proposes a hybrid approach combining linear attention with sliding window attention. The goal is to balance the size of the recurrent state with the model's recall capabilities. The resulting architecture aims to outperform state-of-the-art models like Mamba on recall-intensive tasks while delivering substantially higher throughput than standard Transformers during generation.
Most recently, Timalsina has explored the relationship between information ordering and recall difficulty in recurrent architectures. In Just read twice: closing the recall gap for recurrent language models, where he served as second author, the research formalizes the hardness of information recall by relating it to the complexity of set disjointness. The study investigates how the sequence in which information is presented to a recurrent language model affects its selection difficulty. By proposing that the model "read twice," the work attempts to improve in-context learning quality while preserving the constant memory footprint characteristic of recurrent models.
Representative Work
Timalsina’s contributions are centered on the intersection of theoretical dynamical systems and practical large language model (LLM) efficiency. His work frequently involves the evaluation of sub-quadratic architectures against traditional Transformer baselines.
In How to Train your HIPPO: State Space Models with Generalized Orthogonal Basis Projections, Timalsina and his co-authors addressed the empirical importance of the HiPPO matrix in the S4 model. The paper provides a framework for understanding these matrices as generalized orthogonal basis projections, offering a theoretical justification for their use in time-invariant systems.
His work on the Laughing Hyena Distillery: Extracting Compact Recurrences From Convolutions represents a contribution to the deployment of large-scale efficient models. By converting convolutions into recurrences, the research addresses the "memory wall" that limits the context window of traditional Transformers, facilitating higher throughput for models with over a billion parameters.
The transition to analyzing recall capabilities is best exemplified by Zoology: Measuring and Improving Recall in Efficient Language Models. This work moved beyond general perplexity metrics to isolate associative recall as a primary bottleneck for efficient models. This diagnostic approach informed the subsequent development of the BASED model in Simple linear attention language models balance the recall-throughput tradeoff, which utilizes a combination of linear and sliding window attention to optimize the recall-throughput frontier.
Finally, in Just read twice: closing the recall gap for recurrent language models, Timalsina’s role as second author involved a formal analysis of why recurrent models fail at certain in-context learning tasks. By reducing the problem to the hardness of set disjointness, the work provides a theoretical basis for the limitations of constant-memory inference and proposes practical algorithmic adjustments to mitigate these failures.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake