It Just Takes Two: Scaling Amortized Inference to Large Sets

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wehenkel, Antoine, Kagan, Michael, Heinrich, Lukas, Pollard, Chris
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909027107078144
author Wehenkel, Antoine
Kagan, Michael
Heinrich, Lukas
Pollard, Chris
author_facet Wehenkel, Antoine
Kagan, Michael
Heinrich, Lukas
Pollard, Chris
contents Neural posterior estimation has emerged as a powerful tool for amortized inference, with growing adoption across scientific and applied domains. In many of these applications, the conditioning variable is a set of observations whose elements depend not only on the target but also on unknown factors shared across the set. Optimal inference therefore requires treating the set jointly, which in turn requires training the estimator at the deployment set size -- a regime where memory and compute quickly become prohibitive. We introduce a simple, theoretically grounded strategy that decouples representation learning from posterior modeling. Our method trains a mean-pool Deep Set on sets of size at most two, producing an encoder that generalizes to arbitrary set sizes. The inference head is then finetuned on pre-aggregated embeddings, making training cost essentially independent of the deployment set size N. Across scalar, image, multi-view 3D, molecular, and high-dimensional conditional generation benchmarks with N in the thousands, our approach matches or outperforms standard baselines at a fraction of the compute.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07972
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle It Just Takes Two: Scaling Amortized Inference to Large Sets
Wehenkel, Antoine
Kagan, Michael
Heinrich, Lukas
Pollard, Chris
Machine Learning
Artificial Intelligence
Neural posterior estimation has emerged as a powerful tool for amortized inference, with growing adoption across scientific and applied domains. In many of these applications, the conditioning variable is a set of observations whose elements depend not only on the target but also on unknown factors shared across the set. Optimal inference therefore requires treating the set jointly, which in turn requires training the estimator at the deployment set size -- a regime where memory and compute quickly become prohibitive. We introduce a simple, theoretically grounded strategy that decouples representation learning from posterior modeling. Our method trains a mean-pool Deep Set on sets of size at most two, producing an encoder that generalizes to arbitrary set sizes. The inference head is then finetuned on pre-aggregated embeddings, making training cost essentially independent of the deployment set size N. Across scalar, image, multi-view 3D, molecular, and high-dimensional conditional generation benchmarks with N in the thousands, our approach matches or outperforms standard baselines at a fraction of the compute.
title It Just Takes Two: Scaling Amortized Inference to Large Sets
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.07972