← Search

Mathieu Blondel

31 accepted papers

2026

Autoregressive Language Models are Secretly Energy-Based Models: Insights into the Lookahead Capabilities of Next-Token Prediction

ICML 2026poster

Autoregressive models (ARMs) currently constitute the dominant paradigm for large language models (LLMs). Energy-based models (EBMs) represent another class of models, which have historically been less prevalent in LLM development, yet naturally characterize the optimal policy in post-training align…

Cited by 0SourceScholar
2025

Implicit Diffusion: Efficient optimization through stochastic sampling

AISTATS 2025oral

Sampling and automatic differentiation are both ubiquitous in modern machine learning. At its intersection, differentiating through a sampling operation, with respect to the parameters of the sampling process, is a problem that is both challenging and broadly applicable. We introduce a general frame…

Cited by 0SourceScholar
2025

Joint Learning of Energy-based Models and their Partition Function

ICML 2025poster

Energy-based models (EBMs) offer a flexible framework for parameterizing probability distributions using neural networks. However, learning EBMs by exact maximum likelihood estimation (MLE) is generally intractable, due to the need to compute the partition function. In this paper, we propose a novel…

Cited by 2SourcePDFScholar
2025

Loss Functions and Operators Generated by f-Divergences

ICML 2025poster

The logistic loss (a.k.a. cross-entropy loss) is one of the most popular loss functions used for multiclass classification. It is also the loss function of choice for next-token prediction in language modeling. It is associated with the Kullback-Leibler (KL) divergence and the softargmax operator.…

Cited by 0SourcePDFScholar
2025

On Teacher Hacking in Language Model Distillation

ICML 2025poster

Post-training of language models (LMs) increasingly relies on the following two stages: (i) knowledge distillation, where the LM is trained to imitate a larger teacher LM, and (ii) reinforcement learning from human feedback (RLHF), where the LM is aligned by optimizing a reward model. In the second…

Cited by 0SourcePDFScholar
2024

Decoding-time Realignment of Language Models

ICML 2024spotlight

Aligning language models with human preferences is crucial for reducing errors and biases in these models. Alignment techniques, such as reinforcement learning from human feedback (RLHF), are typically cast as optimizing a tradeoff between human preference rewards and a proximity regularization term…

Cited by 33SourcePDFScholar
2024

How do Transformers Perform In-Context Autoregressive Learning ?

ICML 2024poster

Transformers have achieved state-of-the-art performance in language modeling tasks. However, the reasons behind their tremendous success are still unclear. In this paper, towards a better understanding, we train a Transformer model on a simple next token prediction task, where sequences are generate…

Cited by 16SourcePDFScholar
2024

Learning with Fitzpatrick Losses

NeurIPS 2024poster

Fenchel-Young losses are a family of loss functions, encompassing the squared, logistic and sparsemax losses, among others. They are convex w.r.t. the model output and the target, separately. Each Fenchel-Young loss is implicitly associated with a link function, that maps model outputs to prediction…

Cited by 2SourcePDFScholar
2024

Stepping on the Edge: Curvature Aware Learning Rate Tuners

NeurIPS 2024poster

Curvature information -- particularly, the largest eigenvalue of the loss Hessian, known as the sharpness -- often forms the basis for learning rate tuners. However, recent work has shown that the curvature information undergoes complex dynamics during training, going from a phase of increasing shar…

Cited by 1SourcePDFScholar
2023

Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspective

ICML 2023poster

The top-$k$ operator returns a $k$-sparse vector, where the non-zero values correspond to the $k$ largest values of the input. Unfortunately, because it is a discontinuous function, it is difficult to incorporate in neural networks trained end-to-end with backpropagation. Recent works have considere…

Cited by 27SourcePDFScholar
2022

Efficient and Modular Implicit Differentiation

NeurIPS 2022accept

Automatic differentiation (autodiff) has revolutionized machine learning. It allows to express complex computations by composing elementary ones in creative ways and removes the burden of computing their derivatives by hand. More recently, differentiation of optimization problem solutions has attra…

2022

Learning Energy Networks with Generalized Fenchel-Young Losses

NeurIPS 2022accept

Energy-based models, a.k.a. energy networks, perform inference by optimizing an energy function, typically parametrized by a neural network. This allows one to capture potentially complex relationships between inputs and outputs. To learn the parameters of the energy function, the solution to that…

Cited by 12SourcePDFScholar
2022

Sinkformers: Transformers with Doubly Stochastic Attention

AISTATS 2022poster

Attention based models such as Transformers involve pairwise interactions between data points, modeled with a learnable attention matrix. Importantly, this attention matrix is normalized with the SoftMax operator, which makes it row-wise stochastic. In this paper, we propose instead to use Sinkhorn’…

2021

Differentiable Divergences Between Time Series

AISTATS 2021poster

Computing the discrepancy between time series of variable sizes is notoriously challenging. While dynamic time warping (DTW) is popularly used for this purpose, it is not differentiable everywhere and is known to lead to bad local optima when used as a “loss”. Soft-DTW addresses these issues, but it…

2020

Fast Differentiable Sorting and Ranking

ICML 2020poster

The sorting operation is one of the most commonly used building blocks in computer programming. In machine learning, it is often used for robust statistics. However, seen as a function, it is piecewise linear and as a result includes many kinks where it is non-differentiable. More problematic is the…

2020

Implicit differentiation of Lasso-type models for hyperparameter optimization

ICML 2020poster

Setting regularization parameters for Lasso-type estimators is notoriously difficult, though crucial for obtaining the best accuracy. The most popular hyperparameter optimization approach is grid-search on a held-out dataset. However, grid-search requires to choose a predefined grid of parameters an…

2020

Learning with Differentiable Pertubed Optimizers

NeurIPS 2020poster

Machine learning pipelines often rely on optimizers procedures to make discrete decisions (e.g., sorting, picking closest neighbors, or shortest paths). Although these discrete decisions are easily computed in a forward manner, they break the back-propagation of computational graphs. In order to exp…

Cited by 309SourcePDFScholar
2019

Learning Classifiers with Fenchel-Young Losses: Generalized Entropies, Margins, and Algorithms

AISTATS 2019poster

This paper studies Fenchel-Young losses, a generic way to construct convex loss functions from a regularization function. We analyze their properties in depth, showing that they unify many well-known loss functions and allow to create useful new ones easily. Fenchel-Young losses constructed from a…

Cited by 53SourcePDFScholar
2018

Large Scale Optimal Transport and Mapping Estimation

ICLR 2018poster

This paper presents a novel two-step approach for the fundamental problem of learning an optimal map from one distribution to another. First, we learn an optimal transport (OT) plan, which can be thought as a one-to-many map between the two distributions. To that end, we propose a stochastic dual ap…

Cited by 291SourcePDFScholar
2018

SparseMAP: Differentiable Sparse Structured Inference

ICML 2018oral

Structured prediction requires searching over a combinatorial number of structures. To tackle it, we introduce SparseMAP, a new method for sparse structured inference, together with corresponding loss functions. SparseMAP inference is able to automatically select only a few global structures: it is…

2017

Multi-output Polynomial Networks and Factorization Machines

NeurIPS 2017poster

Factorization machines and polynomial networks are supervised polynomial models based on an efficient low-rank decomposition. We extend these models to the multi-output setting, i.e., for learning vector-valued functions, with application to multi-class or multi-task problems. We cast this as the pr…

Cited by 17SourcePDFScholar
2016

Polynomial Networks and Factorization Machines: New Insights and Efficient Training Algorithms

ICML 2016poster

Polynomial networks and factorization machines are two recently-proposed models that can efficiently use feature interactions in classification and regression tasks. In this paper, we revisit both models from a unified perspective. Based on this new view, we study the properties of both models and p…

Cited by 98SourcePDFScholar