← Search

Aditya Varre

3 accepted papers

2025

Learning In-context $n$-grams with Transformers: Sub-$n$-grams Are Near-Stationary Points

ICML 2025poster

In this article, we explore the loss landscape of next-token prediction with transformers. Specifically, we focus on learning in-context n-gram language models with cross-entropy loss using a simplified two-layer transformer. We design a series of transformers that represent $k$-grams (for $k \leq n…

Cited by 0SourcePDFScholar
2024

Why Do We Need Weight Decay in Modern Deep Learning?

NeurIPS 2024poster

Weight decay is a broadly used technique for training state-of-the-art deep networks from image classification to large language models. Despite its widespread usage and being extensively studied in the classical literature, its role remains poorly understood for deep learning. In this work, we high…