← Search

Sanae Lotfi

8 accepted papers

2025

Customizing the Inductive Biases of Softmax Attention using Structured Matrices

ICML 2025poster

The core component of attention is the scoring function, which transforms the inputs into low-dimensional queries and keys and takes the dot product of each pair. While the low-dimensional projection improves efficiency, it causes information loss for certain tasks that have intrinsically high-dimen…

Cited by 0SourcePDFScholar
2025

Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation is Wasteful

NeurIPS 2025poster

Conventional wisdom dictates that small batch sizes make language model pretraining and fine-tuning unstable, motivating gradient accumulation, which trades off the number of optimizer steps for a proportional increase in batch size. While it is common to decrease the learning rate for smaller batch…

Cited by 0SourceScholar
2024

Non-Vacuous Generalization Bounds for Large Language Models

ICML 2024poster

Modern language models can contain billions of parameters, raising the question of whether they can generalize beyond the training data or simply parrot their training corpora. We provide the first non-vacuous generalization bounds for pretrained large language models (LLMs), indicating that languag…

2024

Unlocking Tokens as Data Points for Generalization Bounds on Larger Language Models

NeurIPS 2024spotlight

Large language models (LLMs) with billions of parameters excel at predicting the next token in a sequence. Recent work computes non-vacuous compression-based generalization bounds for LLMs, but these bounds are vacuous for large models at the billion-parameter scale. Moreover, these bounds are obtai…

Cited by 7SourcePDFScholar
2022

Bayesian Model Selection, the Marginal Likelihood, and Generalization

ICML 2022oral

How do we compare between hypotheses that are entirely consistent with observations? The marginal likelihood (aka Bayesian evidence), which represents the probability of generating our observations from a prior, provides a distinctive approach to this foundational question, automatically encoding Oc…

2022

PAC-Bayes Compression Bounds So Tight That They Can Explain Generalization

NeurIPS 2022accept

While there has been progress in developing non-vacuous generalization bounds for deep neural networks, these bounds tend to be uninformative about why deep learning works. In this paper, we develop a compression approach based on quantizing neural network parameters in a linear subspace, profoundly…

2021

Dangers of Bayesian Model Averaging under Covariate Shift

NeurIPS 2021poster

Approximate Bayesian inference for neural networks is considered a robust alternative to standard training, often providing good performance on out-of-distribution data. However, Bayesian neural networks (BNNs) with high-fidelity approximate inference via full-batch Hamiltonian Monte Carlo achieve p…

2021

Loss Surface Simplexes for Mode Connecting Volumes and Fast Ensembling

ICML 2021spotlight

With a better understanding of the loss surfaces for multilayer networks, we can build more robust and accurate training procedures. Recently it was discovered that independently trained SGD solutions can be connected along one-dimensional paths of near-constant training loss. In this paper, we in f…