← Search

Srinadh Bhojanapalli

26 accepted papers

2025

Arithmetic Transformers Can Length-Generalize in Both Operand Length and Count

ICLR 2025poster

Transformers often struggle with *length generalization*, meaning they fail to generalize to sequences longer than those encountered during training. While arithmetic tasks are commonly used to study length generalization, certain tasks are considered notoriously difficult, e.g., multi-operand addit…

2025

Scalable In-context Ranking with Generative Models

NeurIPS 2025poster

In-context Ranking (ICR) is an emerging paradigm for Information Retrieval (IR), which leverages contextual understanding of LLMs by directly incorporating the task description, candidate documents, and the query into the model's input prompt and tasking the LLM to identify relevant document(s). Whi…

Cited by 0SourceScholar
2025

Spark Transformer: Reactivating Sparsity in Transformer FFN and Attention

NeurIPS 2025poster

The discovery of the *lazy neuron phenomenon* (Li et al., 2022), where fewer than 10% of the feedforward networks (FFN) parameters in trained Transformers are activated per token, has spurred significant interests in *activation sparsity* for enhancing large model efficiency. While notable progress…

Cited by 0SourceScholar
2024

Dual-Encoders for Extreme Multi-label Classification

ICLR 2024poster

Dual-encoder (DE) models are widely used in retrieval tasks, most commonly studied on open QA benchmarks that are often characterized by multi-class and limited training data. In contrast, their performance in multi-label and data-rich retrieval settings like extreme multi-label classification (XMC)…

2024

Functional Interpolation for Relative Positions improves Long Context Transformers

ICLR 2024poster

Preventing the performance decay of Transformers on inputs longer than those used for training has been an important challenge in extending the context length of these models. Though the Transformer architecture has fundamentally no limits on the input sequence lengths it can process, the choice of…

Cited by 47SourcePDFScholar
2024

Position Coupling: Improving Length Generalization of Arithmetic Transformers Using Task Structure

NeurIPS 2024poster

Even for simple arithmetic tasks like integer addition, it is challenging for Transformers to generalize to longer sequences than those encountered during training. To tackle this problem, we propose *position coupling*, a simple yet effective method that directly embeds the structure of the tasks i…

2023

On student-teacher deviations in distillation: does it pay to disobey?

NeurIPS 2023poster

Knowledge distillation (KD) has been widely used to improve the test accuracy of a "student" network, by training it to mimic the soft probabilities of a trained "teacher" network. Yet, it has been shown in recent work that, despite being trained to fit the teacher's probabilities, the student may n…

Cited by 13SourcePDFScholar
2023

The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformers

ICLR 2023poster

This paper studies a curious phenomenon that machine learning model with Transformer architectures have sparse activation maps. By activation map we refer to the intermediate output of the multi-layer perceptrons (MLPs) after a ReLU activation function, and by "sparse" we mean that on average very f…

Cited by 92SourcePDFScholar
2023

Treeformer: Dense Gradient Trees for Efficient Attention Computation

ICLR 2023poster

Standard inference and training with transformer based architectures scale quadratically with input sequence length. This is prohibitively large for a variety of applications especially in web-page translation, query-answering etc. Consequently, several approaches have been developed recently to spe…

Cited by 6SourcePDFScholar
2022

On the Adversarial Robustness of Mixture of Experts

NeurIPS 2022accept

Adversarial robustness is a key desirable property of neural networks. It has been empirically shown to be affected by their sizes, with larger networks being typically more robust. Recently, \citet{bubeck2021universal} proved a lower bound on the Lipschitz constant of functions that fit the trainin…

Cited by 14SourcePDFScholar
2022

Robust Training of Neural Networks Using Scale Invariant Architectures

ICML 2022oral

In contrast to SGD, adaptive gradient methods like Adam allow robust training of modern deep networks, especially large language models. However, the use of adaptivity not only comes at the cost of extra memory but also raises the fundamental question: can non-adaptive methods like SGD enjoy similar…

Cited by 34SourcePDFScholar
2021

A Simple and Effective Positional Encoding for Transformers

EMNLP 2021main

Transformer models are permutation equivariant. To supply the order and type information of the input tokens, position and segment embeddings are usually added to the input. Recent works proposed variations of positional encodings with relative position encodings achieving better performance. Our an…

Cited by 83SourcePDFScholar
2021

Coping with Label Shift via Distributionally Robust Optimisation

ICLR 2021poster

The label shift problem refers to the supervised learning setting where the train and test label distributions do not match. Existing work addressing label shift usually assumes access to an unlabelled test sample. This sample may be used to estimate the test label distribution, and to then train a…

Cited by 91SourcePDFScholar
2021

Understanding Robustness of Transformers for Image Classification

ICCV 2021poster

Deep Convolutional Neural Networks (CNNs) have long been the architecture of choice for computer vision tasks. Recently, Transformer-based architectures like Vision Transformer (ViT) have matched or even surpassed ResNets for image classification. However, details of the Transformer architecture suc…

Cited by 503PDFScholar
2020

An efficient nonconvex reformulation of stagewise convex optimization problems

NeurIPS 2020poster

Convex optimization problems with staged structure appear in several contexts, including optimal control, verification of deep neural networks, and isotonic regression. Off-the-shelf solvers can solve these problems but may scale poorly. We develop a nonconvex reformulation designed to exploit this…

Cited by 20SourcePDFScholar
2020

Are Transformers universal approximators of sequence-to-sequence functions?

ICLR 2020poster

Despite the widespread adoption of Transformer models for NLP tasks, the expressive power of these models is not well-understood. In this paper, we establish that Transformer models are universal approximators of continuous permutation equivariant sequence-to-sequence functions with compact support,…

Cited by 432SourceScholar
2020

Large Batch Optimization for Deep Learning: Training BERT in 76 minutes

ICLR 2020poster

Training large deep neural networks on massive datasets is computationally very challenging. There has been recent surge in interest in using large batch stochastic optimization methods to tackle this issue. The most prominent algorithm in this line of research is LARS, which by employing layerwis…

Cited by 1205SourcecodeScholar
2020

Low-Rank Bottleneck in Multi-head Attention Models

ICML 2020poster

Attention based Transformer architecture has enabled significant advances in the field of natural language processing. In addition to new pre-training techniques, recent improvements crucially rely on working with a relatively larger embedding dimension for tokens. Unfortunately, this leads to model…

2020

O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformers

NeurIPS 2020poster

Recently, Transformer networks have redefined the state of the art in many NLP tasks. However, these models suffer from quadratic computational cost in the input sequence length $n$ to compute pairwise attention in each layer. This has prompted recent research into sparse Transformers that sparsify…

Cited by 94SourcePDFScholar
2019

The role of over-parametrization in generalization of neural networks

ICLR 2019poster

Despite existing work on ensuring generalization of neural networks in terms of scale sensitive complexity measures, such as norms, margin and sharpness, these complexity measures do not offer an explanation of why neural networks generalize better with over-parametrization. In this work we suggest…

2017

Exploring Generalization in Deep Learning

NeurIPS 2017poster

With a goal of understanding what drives generalization in deep networks, we consider several recently suggested explanations, including norm-based control, sharpness and robustness. We study how these measures can ensure generalization, highlighting the importance of scale normalization, and making…

2017

Implicit Regularization in Matrix Factorization

NeurIPS 2017spotlight

We study implicit regularization when optimizing an underdetermined quadratic objective over a matrix $X$ with gradient descent on a factorization of X. We conjecture and provide empirical and theoretical evidence that with small enough step sizes and initialization close enough to the origin, grad…

Cited by 602SourcePDFScholar
2016

Global Optimality of Local Search for Low Rank Matrix Recovery

NeurIPS 2016poster

We show that there are no spurious local minima in the non-convex factorized parametrization of low-rank matrix recovery from incoherent linear measurements. With noisy measurements we show all local minima are very close to a global optimum. Together with a curvature bound at saddle points, this…

Cited by 475SourcePDFScholar
2016

Single Pass PCA of Matrix Products

NeurIPS 2016poster

In this paper we present a new algorithm for computing a low rank approximation of the product $A^TB$ by taking only a single pass of the two matrices $A$ and $B$. The straightforward way to do this is to (a) first sketch $A$ and $B$ individually, and then (b) find the top components using PCA on th…