← Search

Atri Rudra

18 accepted papers

2026

Cartridges: Lightweight and general-purpose long context representations via self-study

ICLR 2026poster

Large language models are often used to answer queries grounded in large text corpora (e.g. codebases, legal documents, or chat histories) by placing the entire corpus in the context window and leveraging in-context learning (ICL). Although current models support contexts of 100K-10M tokens, this se…

Cited by 0SourcecodeScholar
2025

Towards Learning High-Precision Least Squares Algorithms with Sequence Models

ICLR 2025poster

This paper investigates whether sequence models can learn to perform numerical algorithms, e.g. gradient descent, on the fundamental problem of least squares. Our goal is to inherit two properties of standard algorithms from numerical analysis: (1) machine precision, i.e. we want to obtain solutions…

2024

Simple linear attention language models balance the recall-throughput tradeoff

ICML 2024spotlight

Recent work has shown that attention-based language models excel at "recall", the ability to ground generations in tokens previously seen in context. However, the efficiency of attention-based models is bottle-necked during inference by the KV-cache's aggressive memory consumption. In this work, we…

Cited by 72SourcePDFScholar
2024

Zoology: Measuring and Improving Recall in Efficient Language Models

ICLR 2024poster

Attention-free language models that combine gating and convolutions are growing in popularity due to their efficiency and increasingly competitive performance. To better understand these architectures, we pretrain a suite of 17 attention and gated-convolution language models, finding that SoTA gated…

2023

How to Train your HIPPO: State Space Models with Generalized Orthogonal Basis Projections

ICLR 2023poster

Linear time-invariant state space models (SSM) are a classical model from engineering and statistics, that have recently been shown to be very promising in machine learning through the Structured State Space sequence model (S4). A core component of S4 involves initializing the SSM state matrix to a…

2023

Hungry Hungry Hippos: Towards Language Modeling with State Space Models

ICLR 2023top-25%

State space models (SSMs) have demonstrated state-of-the-art sequence modeling performance in some modalities, but underperform attention in language modeling. Moreover, despite scaling nearly linearly in sequence length instead of quadratically, SSMs are still slower than Transformers due to poor h…

2023

Laughing Hyena Distillery: Extracting Compact Recurrences From Convolutions

NeurIPS 2023poster

Recent advances in attention-free sequence models rely on convolutions as alternatives to the attention operator at the core of Transformers. In particular, long convolution sequence models have achieved state-of-the-art performance in many domains, but incur a significant cost during auto-regressiv…

Cited by 25SourcePDFScholar
2023

Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture

NeurIPS 2023oral

Machine learning models are increasingly being scaled in both sequence length and model dimension to reach longer contexts and better performance. However, existing architectures such as Transformers scale quadratically along both these axes. We ask: are there performant architectures that can scale…

Cited by 59SourcePDFScholar
2023

Simple Hardware-Efficient Long Convolutions for Sequence Modeling

ICML 2023poster

State space models (SSMs) have high performance on long sequence modeling but require sophisticated initialization techniques and specialized implementations for high quality and runtime performance. We study whether a simple alternative can match SSMs in performance and efficiency: directly learnin…

2022

FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness

NeurIPS 2022accept

Transformers are slow and memory-hungry on long sequences, since the time and memory complexity of self-attention are quadratic in sequence length. Approximate attention methods have attempted to address this problem by trading off model quality to reduce the compute complexity, but often do not ach…

2022

Monarch: Expressive Structured Matrices for Efficient and Accurate Training

ICML 2022oral

Large neural networks excel in many domains, but they are expensive to train and fine-tune. A popular approach to reduce their compute or memory requirements is to replace dense weight matrices with structured ones (e.g., sparse, low-rank, Fourier transform). These methods have not seen widespread a…

2022

Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Models

ICLR 2022spotlight

Overparameterized neural networks generalize well but are expensive to train. Ideally one would like to reduce their computational cost while retaining their generalization benefits. Sparse model training is a simple and promising approach to achieve this, but there remain challenges as existing met…

2021

Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers

NeurIPS 2021poster

Recurrent neural networks (RNNs), temporal convolutions, and neural differential equations (NDEs) are popular families of deep learning models for time-series data, each with unique strengths and tradeoffs in modeling power and computational efficiency. We introduce a simple sequence model inspired…

2021

Scatterbrain: Unifying Sparse and Low-rank Attention

NeurIPS 2021poster

Recent advances in efficient Transformers have exploited either the sparsity or low-rank properties of attention matrices to reduce the computational and memory bottlenecks of modeling long sequences. However, it is still challenging to balance the trade-off between model quality and efficiency to p…

2020

HiPPO: Recurrent Memory with Optimal Polynomial Projections

NeurIPS 2020spotlight

A central problem in learning from sequential data is representing cumulative history in an incremental fashion as more data is processed. We introduce a general framework (HiPPO) for the online compression of continuous signals and discrete time series by projection onto polynomial bases. Given a m…

2020

Kaleidoscope: An Efficient, Learnable Representation For All Structured Linear Maps

ICLR 2020spotlight

Modern neural network architectures use structured linear transformations, such as low-rank matrices, sparse matrices, permutations, and the Fourier transform, to improve inference speed and reduce memory usage compared to general linear maps. However, choosing which of the myriad structured transfo…

Cited by 71SourceScholar
2019

Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizations

ICML 2019oral

Fast linear transforms are ubiquitous in machine learning, including the discrete Fourier transform, discrete cosine transform, and other structured transformations such as convolutions. All of these transforms can be represented by dense matrix-vector multiplication, yet each has a specialized and…

2018

Learning Compressed Transforms with Low Displacement Rank

NeurIPS 2018poster

The low displacement rank (LDR) framework for structured matrices represents a matrix through two displacement operators and a low-rank residual. Existing use of LDR matrices in deep learning has applied fixed displacement operators encoding forms of shift invariance akin to convolutions. We introdu…