Good Papers

It Just Takes Two: Scaling Amortized Inference to Large Sets

A mean-pool DeepSet trained on pairs learns set encoders that generalize to arbitrary sizes, letting inference heads scale to thousands of observations with minimal compute.

Antoine Wehenkel, Michael Kagan, Lukas Heinrich, Chris Pollard

Published 2026Paris Poster Session 3 · Thu, Dec 10, 12:30 PM–2:30 PM local time · Paris Poster HallarXiv ↗OpenReview ↗

86%
OverallMust read
?
OverallMust readVote to see the scoreThe exact score shows once you've voted, so every vote is your own call. The first half of each home page shelf shows its scores.
Readers
–

Only vote on papers you've read. Sign in with GitHub to vote.

AI panel14/20reviewers recommend it
lenient 5/5
medium 6/10
strict 3/5
AI panel?Vote to see what the 20 AI reviewers said

Abstract

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.