Solving Empirical Bayes via Transformers
Anzo Teh, Mark Jabbour, Yury Polyanskiy

TL;DR
This paper introduces a transformer-based approach to solving the classical empirical Bayes problem for Poisson means, demonstrating both theoretical guarantees and practical advantages over traditional methods.
Contribution
It applies transformers to empirical Bayes, providing theoretical analysis and showing small models outperform classical algorithms in real-world and synthetic data.
Findings
Transformers achieve vanishing regret as dimension increases.
Small models outperform classical algorithms like NPMLE.
Transformers internally work differently from traditional estimators.
Abstract
This work applies modern AI tools (transformers) to solving one of the oldest statistical problems: Poisson means under empirical Bayes (Poisson-EB) setting. In Poisson-EB a high-dimensional mean vector (with iid coordinates sampled from an unknown prior ) is estimated on the basis of . A transformer model is pre-trained on a set of synthetically generated pairs and learns to do in-context learning (ICL) by adapting to unknown . Theoretically, we show that a sufficiently wide transformer can achieve vanishing regret with respect to an oracle estimator who knows as dimension grows to infinity. Practically, we discover that already very small models (100k parameters) are able to outperform the best classical algorithm (non-parametric maximum likelihood, or NPMLE) both in runtime and validation loss, which we compute on…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications
MethodsSparse Evolutionary Training
