# Least-Squares to the Rescue for Exploding Variance in Log-Sum-Exp Estimation

Original title: Exploding variance of means of exponentials: least-squares to the rescue

> Hacker News story 49850991 · language: en · submitted 2026-09-25
> Web version: https://zeli.app/story/49850991
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 64 · by [matt_d](<https://news.ycombinator.com/user?id=matt_d>) · 💬 0
[original](<https://francisbach.com/spectral_log_density_estimation/>) · [HN discussion](<https://news.ycombinator.com/item?id=49850991>)

## Summary

Estimating log-sum-exp functions is plagued by variance that explodes exponentially with the scale of the potential. Francis Bach shows that a weighted chi-square variational formulation turns the problem into a continuum of least-squares problems solved in parallel, yielding closed-form spectral estimators for relative density and KL divergence. The key is an integral representation that connects f-divergences to operator convex functions, sidestepping the instability of empirical averages.

## Key quote

> Can we keep the advantages of optimizing log-sum-exp functions while being less exposed to their computational / statistical disadvantages?

---

## Cite

- Page: https://zeli.app/story/49850991
- Date: 2026-09-25
- Source: francisbach.com (https://francisbach.com/spectral_log_density_estimation/)
- Hacker News: https://news.ycombinator.com/item?id=49850991

## Other languages

- zh: https://zeli.app/zh/story/49850991 · markdown: https://zeli.app/zh/story/49850991.md
- ja: https://zeli.app/ja/story/49850991 · markdown: https://zeli.app/ja/story/49850991.md
- ko: https://zeli.app/ko/story/49850991 · markdown: https://zeli.app/ko/story/49850991.md
- de: https://zeli.app/de/story/49850991 · markdown: https://zeli.app/de/story/49850991.md
- es: https://zeli.app/es/story/49850991 · markdown: https://zeli.app/es/story/49850991.md
- ru: https://zeli.app/ru/story/49850991 · markdown: https://zeli.app/ru/story/49850991.md
