MCP
DP

Druv Pai

39 papers in the library · Same-name authors told apart using DBLP

Papers

30
Information-Theoretic Scaling Laws for Generative Diffusion Training
Druv PaiDejan StancevicYi MaLuca Ambrogioni
This paper studies how diffusion models' outputs depend on their finite training data, using a tractable measure called model information. Scaling this measure with model size and dataset size reveals two regimes: a nonlinear regime marking the transition from memorization to imperfect generalization, and a linear generalization regime with improved quality. The authors propose an information-theoretic scaling law quantifying both regimes, which induces scaling laws for memorization and sample quality that extrapolate beyond the fitted range, demonstrating principled scaling behavior.
arXivarXiv · · October 23, 2026
0
Nested Sparsity for Scalable Pretraining and Continual Learning
Tianzhe ChuDruv PaiYi Ma
This paper introduces Nestor, a transformer using nested sparsity that extends conditional computation to the attention operator, complementing the sparsity of mixture-of-experts (MoE) layers. Nestor outperforms conventional MoE transformers at equal compute and sparsity during language model pretraining. It also excels in continual pretraining, adapting more effectively to longer contexts, learning new domains, and forgetting less. These advantages persist with increasing model size, dataset size, and context length, highlighting its potential for scalable deep learning.
arXivarXiv · · October 22, 2026
0
Forward Online Learning Deep Networks
Ziyang WuTianjiao DingDruv PaiTianzhe ChuShen YanBenjamin David HaeffeleYi Ma
The paper derives a deep architecture, FOLD, that supports efficient offline training by backpropagation and online learning by forward propagation. Each layer uses a novel linear-time operator, replaceable for both attention and the MLP in a Transformer, whose weights act as a learned dictionary for its input; adapting to new data streams thus becomes online dictionary learning, with model weights updated at test time by treating forward propagation as an optimization step to align dictionaries with each new sample sequence. On synthetic and real-world benchmarks FOLD is competitive with state-of-the-art linear-time recurrent architectures such as Gated DeltaNet trained with backpropagation, while showing qualitatively superior online learning, and explicit forward propagation also yields strong long-context performance with only subquadratic operations.
OpenReviewOpenReview · September 18, 2026
0
Principles and Practice of Deep Representation Learning: or a Mathematical Theory of Memory
Sam BuchananDruv PaiPeng WangYi Ma
This book opens the black box of large deep neural networks through the lens of representation learning—arguably the single most important factor behind their empirical power. It reduces modern architecture design, long considered alchemy, to undergraduate-level linear algebra and calculus once the underlying principles from optimization and information theory are introduced. The resulting models are efficient, interpretable, and controllable by design, yet no less powerful than black-box counterparts.
arXivarXiv · · June 4, 2026
0
6
On the Edge of Memorization in Diffusion Models
Sam BuchananDruv PaiYi MaValentin De Bortoli
This work disentangles memorization and generalization in diffusion models by introducing a controlled setting with synthetic or structured image-like data. The authors hypothesize that the behavior of an underparameterized trained model is determined by the difference in training loss between a memorizing and a generalizing model. They theoretically characterize a crossover point where the weighted training loss of a generalizing model exceeds that of a memorizing model at a critical underparameterization, and experimentally show that this crossover predicts a phase transition in gradient-descent-trained diffusion models, enabling analytical prediction of the model size where memorization dominates.
arXivarXiv · · August 25, 2025
0
22
Attention-Only Transformers via Unrolled Subspace Denoising
Peng WangYifu LuYaodong YuDruv PaiQing QuYi Ma
The paper derives a transformer architecture containing only self-attention with skip connections by framing representation learning as denoising noisy token representations toward a mixture of low-dimensional subspaces. The resulting multi-head self-attention matches the natural denoising operation, and unrolling it yields a compact model. Each layer improves the signal-to-noise ratio at a linear rate in the number of layers. Despite its simplicity, this architecture achieves performance close to standard transformers like GPT-2 and CRATE on vision and language tasks.
arXivarXiv · · June 4, 2025
0
6
On the Edge of Memorization in Diffusion Models
Sam BuchananDruv PaiYi MaValentin De Bortoli
This paper proposes a mathematical laboratory for studying memorization versus generalization in diffusion models trained on synthetic or structured natural-image-like data. The authors theoretically identify a crossover point where a fully generalizing model's weighted training loss exceeds that of an underparameterized memorizing model at a critical model size. Carefully designed experiments confirm that this analytically predicted crossover locates a phase transition in gradient-descent-trained diffusion models, enabling prediction of when memorization dominates. The framework offers a tractable setting for future theoretical and empirical study.
OpenReviewOpenReview · · May 12, 2025
0
Simplifying DINO via Coding Rate Regularization
Ziyang WuJingyuan ZhangDruv PaiXuDong WangChandan SinghJianwei YangJianfeng GaoYi Ma
This paper proposes SimDINO and SimDINOv2, simplified variants of DINO/DINOv2 that replace many empirically motivated design choices by adding an explicit coding rate regularization term to the loss function. This modification prevents representation collapse, eliminates complex hyperparameter tuning, and yields more robust training. The resulting models achieve Pareto improvements, producing higher-quality representations for downstream tasks like classification and segmentation compared to the original DINO and DINOv2 models.
arXivarXiv · · February 14, 2025
0
26
Simplifying DINO via Coding Rate Regularization
Ziyang WuJingyuan ZhangDruv PaiXuDong WangChandan SinghJianwei YangJianfeng GaoYi Ma
DINO and DINOv2 pre-training pipelines are complex and unstable, relying on many hand-tuned hyperparameters to avoid representation collapse. This work shows that most such idiosyncrasies can be removed by adding an explicit coding rate term to the loss. The resulting simplified variants, SimDINO and SimDINOv2, are more robust to architecture and hyperparameter choices while achieving a Pareto improvement—higher-quality downstream representations than the originals. This highlights simplifying design principles for improving deep learning practice.
OpenReviewOpenReview · · January 23, 2025
0
Attention-Only Transformers via Unrolled Subspace Denoising
Peng WangYifu LuYaodong YuDruv PaiQing QuYi Ma
The paper derives an interpretable transformer architecture by framing representation learning as compressing noisy token representations toward a mixture of low-dimensional subspaces. The associated denoising is naturally a multi-head subspace self-attention, and unrolling it yields a compact network containing only self-attention with skip connections. Each layer provably improves the signal-to-noise ratio at a linear rate. Despite simplicity, experiments on vision and language tasks show performance close to standard models like GPT-2.
OpenReviewOpenReview · · January 20, 2025
0
Attention-Only Transformers via Unrolled Subspace Denoising
Peng WangYifu LuYaodong YuDruv PaiQing QuYi Ma
This paper presents a compact attention-only transformer architecture derived from an iterative denoising perspective. Treating representation learning as compressing noisy token embeddings toward a mixture of low-dimensional subspaces, the authors unroll the associated multi-subspace self-attention (MSSA) denoising operations into a network of MSSA layers with skip connections, omitting MLPs. They prove each layer improves the token signal-to-noise ratio at a linear rate with depth. Experiments on vision and language tasks show performance close to conventional transformers like GPT-2 and CRATE.
OpenReviewOpenReview · · January 13, 2025
0
Simplifying DINO by Coding Rate Regularization
Ziyang WuJingyuan ZhangDruv PaiYi Ma
The authors simplify DINO and DINOv2 pretraining by replacing many complex, collapse-avoidance design choices with an explicit coding rate term in the loss. The resulting methods, SimDINO and SimDINOv2, are more robust to architecture and hyperparameter choices while achieving even higher downstream task performance, a Pareto improvement over the original families. This highlights how simplifying design principles can improve empirical outcomes.
OpenReviewOpenReview · January 13, 2025
0
0
Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMs
Tianyu GuoDruv PaiYu BaiJiantao JiaoMichael I. JordanSong Mei
This paper demystifies extreme-token phenomena in LLMs—attention sinks, value-state drains, and residual-state peaks—by showing they arise even in one-to-three-layer transformers trained on a toy Bigram-Backcopy task. The authors identify an active-dormant mechanism where attention heads act as sinks for specific input domains only, driven by mutual reinforcement in training dynamics. They propose mitigating strategies (ReLU over softmax, SGD over Adam) and confirm the mechanism transfers to pretrained models like Llama and OLMo, aligning predictions with observed static and dynamic properties.
OpenReviewOpenReview · · January 6, 2025
0
Token Statistics Transformer: Linear-Time Attention via Variational Rate Reduction
Ziyang WuTianjiao DingYifu LuDruv PaiJingyuan ZhangWeida WangYaodong YuYi MaBenjamin D. Haeffele
This paper introduces the Token Statistics Transformer (ToST), which achieves linear-time attention by replacing standard pairwise similarity computation with a novel Token Statistics Self-Attention (TSSA) module. TSSA derives from a variational form of the maximal coding rate reduction (MCR$^2$) objective: unrolling gradient descent on this objective yields an attention mechanism that uses only token statistics instead of pairwise similarities. Experiments on vision, language, and long-sequence tasks show that ToST matches conventional transformer performance while being significantly more efficient and interpretable, challenging the necessity of pairwise attention mechanisms.
arXivarXiv · · December 23, 2024
0
103
Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMs
Tianyu GuoDruv PaiYu BaiJiantao JiaoMichael I. JordanSong Mei
The paper explains extreme-token phenomena (attention sinks, value-state drains, residual-state peaks) in LLMs. Using a toy Bigram-Backcopy task, the authors show that these phenomena originate from a mutual reinforcement mechanism in which attention heads become active sinks for certain input domains but dormant for others. The same active-dormant mechanism is validated in pretrained LLMs such as Llama and OLMo. Mitigation strategies during pretraining, including replacing softmax with ReLU and Adam with SGD, are proposed.
arXivarXiv · · October 17, 2024
0
56
Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMs
Tianyu GuoDruv PaiYu BaiJiantao JiaoMichael JordanSong Mei
This paper studies the mechanisms behind three LLM 'extreme-token phenomena': attention sinks, value-state drains, and residual-state peaks. Using a one-to-three-layer transformer trained on the Bigram-Backcopy toy task, the authors identify an 'active-dormant mechanism' causing heads to act as attention sinks for specific inputs only, and provide a theoretical account showing a 'mutual reinforcement mechanism' drives the training dynamics. Small interventions can avoid these phenomena during pre-training. The same mechanisms are shown to govern many heads in pre-trained LLMs like Llama and OLMo, offering potential mitigation strategies.
OpenReviewOpenReview · · October 2, 2024
0
Token Statistics Transformer: Linear-Time Attention via Variational Rate Reduction
Ziyang WuTianjiao DingYifu LuDruv PaiJingyuan ZhangWeida WangYaodong YuYi MaBenjamin David Haeffele
The paper introduces Token Statistics Self-Attention (TSSA), a novel attention operator with linear computational and memory complexity in the number of tokens. Derived from a variational form of the maximal coding rate reduction (MCR^2) objective via unrolled gradient descent, TSSA replaces pairwise token similarity with token statistics. The resulting Token Statistics Transformer (ToST) matches conventional transformers on vision, language, and long-sequence tasks while being more efficient and interpretable, challenging the necessity of pairwise attention.
OpenReviewOpenReview · · September 26, 2024
0
Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMs
Tianyu GuoDruv PaiYu BaiJiantao JiaoMichael JordanSong Mei
This paper explains three extreme-token phenomena in transformers—attention sinks, value-state drains, and residual-state peaks—via an active-dormant mechanism: attention heads become sinks for some domain-specific inputs but not others. The authors first reproduce the phenomena in one-to-three-layer transformers on the Bigram-Backcopy task, characterize the training dynamics as mutual reinforcement, and show interventions can avoid them. They then find the same mechanism and reinforcement drive these phenomena in pre-trained LLMs like Llama and OLMo, suggesting mitigation strategies.
OpenReviewOpenReview · · September 25, 2024
0
Attention-Only Transformers via Unrolled Subspace Denoising
Peng WangYifu LuYaodong YuDruv PaiQing QuYi Ma
The paper derives a compact, interpretable transformer architecture from a denoising perspective: representation learning is posed as compressing noisy token representations into a mixture of low-dimensional subspaces, naturally leading to a multi-subspace self-attention (MSSA) operator. Unrolling iterative denoising yields a network with only MSSA and skip connections per layer, no MLP. Each layer's denoising improves the signal-to-noise ratio of tokens at a linear rate in the layer count. Despite its simplicity, the attention-only transformer performs comparably to standard models like GPT-2 and CRATE on language and vision tasks.
OpenReviewOpenReview · · September 22, 2024
0
A Global Geometric Analysis of Maximal Coding Rate Reduction
Peng WangHuikang LiuDruv PaiYaodong YuZhihui ZhuQing QuYi Ma
This paper provides a complete geometric analysis of the maximal coding rate reduction (MCR$^2$) objective by characterizing all its critical points. It proves that every local or global maximizer corresponds to a low-dimensional, discriminative, and diverse representation, and crucially, every critical point is either a local maximizer or a strict saddle point. This favorable landscape ensures that first-order optimization methods reliably converge to maximizers, making MCR$^2$ a principled objective for learning structured representations.
arXivarXiv · · June 4, 2024
0
22
Scaling White-Box Transformers for Vision
Jinrui YangXianhang LiDruv PaiYuyin ZhouYi MaYaodong YuCihang Xie
This paper introduces CRATE-$\alpha$, a variant of the white-box transformer CRATE with minimal modifications to its sparse coding block and a light training recipe, improving its scalability. Scaling to larger sizes and datasets, CRATE-$\alpha$-B achieves 83.2% ImageNet classification accuracy (3.7% higher than prior CRATE-B), while CRATE-$\alpha$-L reaches 85.1%. These gains preserve or enhance interpretability, as larger models yield higher-quality unsupervised object segmentation.
arXivarXiv · · May 30, 2024
0
26
Scaling White-Box Transformers for Vision
Jinrui YangXianhang LiDruv PaiYuyin ZhouYi MaYaodong YuCihang Xie
This paper studies the scalability of CRATE, a white-box, mathematically interpretable vision transformer, and proposes CRATE-α, which minimally modifies CRATE's sparse coding block and uses a light training recipe to improve scalability. Experiments show effective scaling with larger models and data: CRATE-α-B reaches 83.2% ImageNet accuracy, beating CRATE-B by 3.7%, and CRATE-α-L reaches 85.1%. Scaling also preserves or enhances interpretability, as larger models yield higher-quality unsupervised object segmentation.
OpenReviewOpenReview · · May 2, 2024
0
Masked Completion via Structured Diffusion with White-Box Transformers
Druv PaiZiyang WuSam BuchananYaodong YuYi Ma
This paper introduces CRATE-MAE, the first white-box transformer that can be applied to large-scale unsupervised representation learning. By connecting diffusion, compression, and masked completion, the authors derive a masked autoencoder where each layer is mathematically interpretable: it transforms the data distribution to and from a structured representation. On large-scale image datasets, CRATE-MAE achieves competitive performance with only about 30% of the parameters of a standard masked autoencoder, and its learned representations are both structured and semantically meaningful.
arXivarXiv · · April 3, 2024
0
22
Congestion Pricing for Efficiency and Equity: Theory and Applications to the San Francisco Bay Area
Chinmay MaheshwariKshitij KulkarniDruv PaiJiarui YangManxi WuShankar Sastry
The paper proposes congestion pricing schemes that minimize total travel time while reducing disparities in travel-cost changes across income groups. Using a congestion game model with heterogeneous travelers, it introduces four schemes that vary by toll differentiation and network coverage. Evaluated on the San Francisco Bay Area freeway network, these schemes improve both efficiency and equity relative to the current pricing. Differentiated tolls based on value-of-time yield more equitable cost distributions than uniform tolls.
arXivarXiv · · January 30, 2024
0
22
A Global Geometric Analysis of Maximal Coding Rate Reduction
Peng WangHuikang LiuDruv PaiYaodong YuZhihui ZhuQing QuYi Ma
This paper provides the first complete global landscape analysis of the maximal coding rate reduction (MCR$^2$) objective for learning structured deep representations. The authors prove that every local or global maximizer corresponds to a low-dimensional, discriminative, and diverse representation, and that every critical point is either a local maximizer or a strict saddle point. This favorable geometry justifies using first-order optimization on MCR$^2$ for learning such representations, and is corroborated by experiments on synthetic and real data.
OpenReviewOpenReview · · January 28, 2024
0
Representation Learning via Manifold Flattening and Reconstruction
Michael PsenkaDruv PaiVishal RamanShankar SastryYi Ma
The paper proposes a geometric-flow-style iterative procedure that explicitly constructs, layer by layer, a pair of neural networks for finite samples of an embedded submanifold: one linearizes (flattens) the manifold and one reconstructs it. The resulting Flattening Networks (FlatNet) are presented as theoretically interpretable, computationally feasible at scale, and generalizing well to test data, a balance the authors say is not typically found in manifold-based learning methods, in contrast to hand-designed compressive autoencoders that do not exploit the data's geometric structure. Empirical results and comparisons with other models are reported on synthetic high-dimensional manifold data and 2D image data.
JMLRJMLR · 2024
0
White-Box Transformers via Sparse Rate Reduction: Compression Is All There Is?
Yaodong YuSam BuchananDruv PaiTianzhe ChuZiyang WuShengbang TongHao BaiYuexiang ZhaiBenjamin D. HaeffeleYi Ma
The authors propose that the goal of representation learning is to compress and transform token distributions toward a low-dimensional Gaussian mixture on incoherent subspaces, measured by "sparse rate reduction," which jointly maximizes intrinsic information gain and extrinsic sparsity. Under this view, transformer blocks arise from alternating optimization on parts of this objective: multi-head self-attention approximately gradient-descent steps on the feature coding rate, and the MLP sparsifies the features. The resulting white-box architectures, CRATE, are fully mathematically interpretable, and a novel denoising–compression connection shows the same class of architectures also inverts this encoding, making them universal encoders and decoders that perform strongly across ViT, MAE, DINO, BERT, and GPT2 settings.
JMLRJMLR · 2024
0
White-Box Transformers via Sparse Rate Reduction: Compression Is All There Is?
Yaodong YuSam BuchananDruv PaiTianzhe ChuZiyang WuShengbang TongHao BaiYuexiang ZhaiBenjamin D. HaeffeleYi Ma
This paper proposes that representation learning aims to compress data into a low-dimensional Gaussian mixture on incoherent subspaces, measured by sparse rate reduction. A transformer block is derived from alternating optimization of this objective: multi-head self-attention performs approximate gradient descent on coding rate, and the MLP sparsifies features. This yields CRATE, a fully interpretable white-box transformer architecture that also serves as a decoder via a denoising–compression duality. CRATE achieves performance close to ViT, MAE, DINO, BERT, and GPT2 on real-world datasets.
arXivarXiv · · November 22, 2023
0
230
Emergence of Segmentation with Minimalistic White-Box Transformers
Yaodong YuTianzhe ChuShengbang TongZiyang WuDruv PaiSam BuchananYi Ma
This paper investigates when segmentation properties emerge in transformer-like vision models. Previous work found such emergence only in self-supervised models like DINO, not in supervised classifiers. The authors show that using a white-box transformer architecture that explicitly pursues low-dimensional data structures, segmentation at whole and part levels emerges even with minimalistic supervised training. Layer-wise analysis confirms the emergent properties match the network's designed mathematical functions, suggesting a path toward white-box foundation models that are both performant and fully interpretable.
OpenReviewOpenReview · · September 30, 2023
0
Masked Completion via Structured Diffusion with White-Box Transformers
Druv PaiSam BuchananZiyang WuYaodong YuYi Ma
This paper introduces CRATE-MAE, the first white-box transformer-like masked autoencoder for large-scale unsupervised representation learning. By exploiting a connection between diffusion, compression, and masked completion, each layer's role is mathematically interpretable, transforming data to and from a structured representation. On large-scale imagery, CRATE-MAE achieves promising performance while using only ~30% of the parameters of a standard masked autoencoder of the same configuration, and its learned representations are explicitly structured and semantically meaningful.
OpenReviewOpenReview · · September 20, 2023
0
Frequent collaborators
Yi Ma (33)
Yaodong Yu (19)
Ziyang Wu (15)
Sam Buchanan (12)
Tianzhe Chu (9)
Shengbang Tong (9)
Peng Wang (7)
Jingyuan Zhang (7)
Yifu Lu (6)
Qing Qu (6)
Tianyu Guo (4)
Yu Bai (4)