# Fast algorithms for learning a Gaussian under halfspace truncation with optimal sample complexity

arXiv: https://arxiv.org/abs/2606.27298 · HTML: https://mlsanity.com/paper/2606.27298/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 0 of its 51 references that are in the map.
- First posted on arXiv 25 Jun 2026.

## Abstract (arXiv)

We study the fundamental problem of learning a high-dimensional Gaussian truncated to an unknown halfspace. Lee, Mehrotra and Zampetakis (FOCS'24) recently obtained the first polynomial time algorithm for this problem, but their resulting sample and time complexity bounds are not optimal. Under non-trivial truncation, for any target accuracy varepsilon > 0 and dimension d we give an efficient algorithm that uses n = tildeO(d2/varepsilon2) samples and learns the underlying Gaussian to error varepsilon in total variation distance. Our algorithm is also fast: its runtime is dominated by the cost of computing the empirical covariance matrix. Both our sample and time complexity are optimal in terms of d and varepsilon even without truncation: in this regard, we can learn a Gaussian under halfspace truncation for free. The key ingredient behind our result is a novel reinterpretation of the low-degree moments of the truncated Gaussian in terms of a relative truncation parameter. This relative truncation parameter uniquely determines the parameters of the untruncated Gaussian and enables direct parameter recovery. This reinterpretation allows us to circumvent the time intensive projected stochastic gradient descent procedure that is widely used in learning under truncation.
