Memory Sample Tradeoff: Why Perfect Gaussian Measurements Still Demand More Samples

A stack of exact Gaussian equations can pin down an unknown vector after just as many measurements as it has coordinates. Put those same equations through a learner that can read each pair only once and retain at most a fixed multiple of the dimension squared in bits, and the precision changes what it needs. OpenAI’s September 2026 preprint proves a memory sample tradeoff for noiseless Gaussian regression. In sufficiently high dimension, achieving angular error at most ϵ\epsilon with probability at least two thirds requires a sample horizon of at least a constant times dlog(1/ϵ)d\log(1/\epsilon), where dd is the dimension. Each label can carry arbitrarily fine information. The proof measures how much of that information can influence the estimate after repeated finite-state updates.

1. What Is the Memory Sample Tradeoff in Noiseless Gaussian Regression?

Key Facts
ItemStudy Setup
SignalUniform random unit vector in dimension dd
ObservationsIndependent Gaussian rows and exact inner products
Persistent MemoryAt most Ad2Ad^2 bits for fixed finite A>0A>0
AccuracyAngular error at most ϵ\epsilon, with probability at least two thirds
Sample HorizonAt least cAdlog(1/ϵ)c_A d\log(1/\epsilon) in sufficiently high dimension

An exact label supplies a linear constraint on the signal. After the learner reads that constraint, any influence it has on later computation must pass through the persistent state or the decision to stop. Success means recovering the direction of the signal on the unit sphere to a prescribed angular tolerance.

The theorem concerns the deterministic deadline by which the learner must stop. A learner may end some runs earlier. This matters when reading the result as a statement about Gaussian regression sample complexity. The lower bound applies to the allowed horizon of any learner meeting the success guarantee.

2. Why dd Exact Gaussian Measurements Normally Determine the Signal

Two exact equations intersect at one unit signal, illustrating the full-storage case of the memory sample tradeoff.
Two exact equations intersect at one unit signal, illustrating the full-storage case of the memory sample tradeoff.

Let ss be the unknown unit vector. Each independent standard Gaussian row xtx_t has covariance IdI_d, the identity matrix. The observation model is

𝒙𝒕∼𝒩(0,𝑰𝒅),𝒚𝒕=⟨𝒙𝒕,𝒔⟩.\boldsymbol{x_t\sim\mathcal{N}(0,I_d),\qquad y_t=\langle x_t,s\rangle}.

Stack dd rows into a square matrix XX and the labels into a vector yy. Each new row avoids the span of the preceding rows with probability one, because a proper linear subspace has Gaussian measure zero. Thus XX is invertible almost surely, and the retained system Xs=yXs=y has the unique solution s=X−1ys=X^{-1}y.

For a small example, take rows (1,1)(1,1) and (1,−1)(1,-1) with labels 7/57/5 and −1/5-1/5. Adding and subtracting the two equations recovers the unit vector (3/5,4/5)(3/5,4/5). These are illustrative rows. In the Gaussian experiment, the independence of the row directions needed to solve the full system holds almost surely. The example shows what a solver needs from both observations. It must preserve enough information to combine their constraints. An exact real entry can require arbitrarily many bits to retain.

3. The Finite-Memory Learner and What It Can Remember

A learner with MM bits has at most 2M2^M persistent states at each index. Its rules may depend on dimension, accuracy and sample index. It can examine the entire current pair, use fresh randomness and compute without a time bound before retaining its next state. The initial state and any shared seed that selects the rules are jointly independent of the signal and all Gaussian rows.

The learner reads the stream in order, can stop at index zero, and must stop by a prescribed finite horizon TT. Given the shared seed, the output rule uses the terminal state, the stopping index and fresh randomness to produce a unit vector. The stopping index can itself carry information, so the proof counts distinct stopping times alongside memory states.

The paper also imposes joint measurability on the experiment and requires Borel or reference-measure-completed transition and stopping probabilities at fixed seeds, states and indices. The proof handles completed-measurable rules by replacing them with Borel versions for almost every shared seed, preserving success averaged over the sphere. The model isolates persistent storage as a resource in streaming linear regression and memory-bounded learning.

4. The Main Theorem on Precision and Ω(dlog(1/ϵ))\Omega(d\log(1/\epsilon)) Samples

Memory sample tradeoff chart showing the lower-bound expression doubling as angular tolerance tightens 100-fold.
Memory sample tradeoff chart showing the lower-bound expression doubling as angular tolerance tightens 100-fold.

Theorem 1.2 fixes any finite A>0A>0. There are constants cA>0c_A>0 and dAd_A such that for d≥dAd\ge d_A, integer 0≤M≤Ad20\le M\le Ad^2, and 0<ϵ≤1/100<\epsilon\le 1/10, the following implication holds. Draw SS uniformly from the unit sphere, independently of the rows and the learner’s data-independent randomness. If the unit output ŝ\hat{s} meets the guarantee below, the horizon obeys the stated lower bound.

Pr⁡{arccos⁡⟨𝒔^,𝑺⟩≤𝝐}≥23⟹𝑻≥𝒄𝑨𝒅log⁡(1/𝝐).\boldsymbol{\Pr\{\arccos\langle\hat{s},S\rangle\le\epsilon\}\ge\frac{2}{3}\quad\Longrightarrow\quad T\ge c_A d\log(1/\epsilon)}.

The angle is in radians. The probability averages over the signal, rows and learner randomness. A guarantee of at least two thirds for every fixed signal implies the average guarantee. For M=o(d2)M=o(d^2), the constant can be absolute once the dimension is sufficiently large for the given memory sequence.

For example, tightening the tolerance from 10−210^{-2} to 10−410^{-4} changes the natural logarithm from 2log102\log 10 to 4log104\log 10. At fixed dimension and memory cap, that doubles the theorem’s lower-bound expression. The bound leaves the optimal horizon unspecified.

5. What Earlier Noisy Regression Lower Bounds Could Not Establish

In 2019, Vatsal Sharan, Aaron Sidford and Gregory Valiant studied memory-constrained linear regression with the same isotropic Gaussian covariates and independent uniform additive noise of half-width 2−d/52^{-d/5}. Their lower bound was Ω(dlogk)\Omega(d\log k) at Euclidean tolerance d−kd^{-k}, for memory at most d2/4d^2/4 bits and kk from a sufficiently large constant up to order d/logdd/\log d.

An exact-data learner can generate independent noise inside its current transition and simulate a noisy-data learner with the same state budget. A lower bound for the noisy task leaves open whether a learner could exploit exact labels to use fewer samples. A lower bound for the exact task can carry over to that noisy experiment under the appropriate model and accuracy conversion.

6. Why Exact Observations Break the Usual Posterior-Density Argument

After seeing a raw pair (x,y)(x,y), the compatible signals lie where the unit sphere intersects the hyperplane ⟨x,s⟩=y\langle x,s\rangle=y. This section has zero mass under the original sphere prior, even though it contains the conditional signal almost surely. The raw-data posterior is therefore singular relative to the original spherical measure.

The proof instead fixes a state and index and asks a different question. For each signal ss, what is the chance of success if the learner starts in that state and receives fresh future rows? Call this probability h(s)h(s). Integrating hh against the original sphere prior weights signals by their future success. This includes states the learner never visits. Defining the continuation this way lets the proof work backward from the output rule without conditioning the prior on past observations.

7. Step One: Measure Successful Signals Using Local Spherical Mass

Let σd\sigma_d denote uniform probability on the sphere and B(z,r)B(z,r) the closed Euclidean ball of radius rr centered at a sphere point zz. The ball cuts out a spherical cap of mass at most rd−1r^{d-1}. For r≤1r\le1, one can see this by projecting the cap onto the coordinate plane perpendicular to zz. Its projected radius is at most rr and its surface-area factor is at most two. For larger radii, the total mass bound of one suffices.

For a fixed terminal output, successful signals have chord distance at most ϵ\epsilon from that output, because chord distance is at most angular distance. Averaging over the terminal output distribution preserves the resulting global mass bound ϵd−1\epsilon^{d-1}. Inside any B(z,r)B(z,r), the successful mass is also at most rd−1r^{d-1} since h≤1h\le1. The smaller bound is at most their geometric mean. This initializes the invariant

∫𝑩(𝒛,𝒓)𝒉d𝝈𝒅≤(𝑹𝒓)𝒂,𝒂=(𝒅−1)/2,\boldsymbol{\int_{B(z,r)}h\,\mathrm{d}\sigma_d\le(Rr)^a,\qquad a=(d-1)/2,}

at R=ϵR=\epsilon. Here RR controls how concentrated successful mass may be, through an upper bound on the mass inside every test ball. The inequality must hold at every radius so the next step can restrict the measure to any ball and still control its mass on smaller balls.

8. Step Two: Control Exact Gaussian Projections Using Gram Determinants

Fix a destination and restrict its success-weighted measure to B(z,r)B(z,r). Denote the resulting finite measure by μ\mu. Write GG for the Gaussian matrix of a block of mm rows, reserving AA for the memory-cap constant. The exact data map is s↦(G,Gs)s\mapsto(G,Gs). The proof bounds the density of the joint image measure relative to Gaussian matrix probability times Lebesgue measure on the labels.

The density calculation starts by smoothing the labels with a Gaussian of variance δ2\delta^2 in each coordinate. This is a proof device that is removed in the limit. To bound the qqth moment of the smoothed density, expand it using qq copies s1,…,sqs_1,\ldots,s_q integrated against μ\mu. For V=[s2−s1,…,sq−s1]V=[s_2-s_1,\ldots,s_q-s_1], the zero-density calculation for the Gaussian label differences is controlled by det(V𝖳V)−m/2\det(V^{\mathsf T}V)^{-m/2}. Gram–Schmidt writes the determinant as a product of squared distances from each new point to the affine span of the preceding points.

Small distances could make those inverse powers large. The local mass bound controls how much measure can lie in a thin tube around each affine span. For a tube of width ρ\rho around a jj-dimensional affine span, covering the relevant portion of the tube takes order (r/ρ)j(r/\rho)^j balls of radius proportional to ρ\rho, with dimension-dependent constants. The resulting mass bound decays like ρa−j\rho^{a-j}. This decay makes the inverse mmth moment finite when a−j>ma-j>m, which holds for the block lengths and moment order used in the proof. The resulting bounds are uniform as δ\delta tends to zero. Testing against continuous functions of compact support then gives an LqL^q density for the exact data.

9. Step Three: Why Projected Ellipsoid Volume Cancels the Density Loss

Memory sample tradeoff proof diagram showing how ellipsoid volume cancels the density loss in each block.
Memory sample tradeoff proof diagram showing how ellipsoid volume cancels the density loss in each block.

Each destination density has an LqL^q bound with a factor Rara−m(1−1/q)R^a r^{a-m(1-1/q)}. All these densities are supported in the same set of matrix–label pairs. For fixed GG, the label region is the ellipsoid Gz+GB(0,r)Gz+GB(0,r). Almost surely, its semiaxes are rr times the mm singular values of GG, so the label volume scales as rmr^m. After averaging over GG, the joint reference measure of the support is at most CEdrmC_E^d r^m for an absolute constant CEC_E.

Radius cancellation under Hölder’s inequality The density contributes r to the power a minus m times one minus one over q. The volume after Hölder contributes r to the power m times one minus one over q. Their product is r to the power a. Density bound Support after Hölder ra−m(1−1/q) rm(1−1/q) Radius power restored ra
Radius cancellation in one backward block. The factors shown isolate the dependence on the test-ball radius.

Hölder’s inequality pairs each density with its routing probability. A second application across destinations collects the routing terms. Their sum of conjugate powers is at most one at any data point, since raising numbers in the unit interval to a power greater than one can only decrease them and the probabilities sum to at most one. The resulting support-volume factor is raised to 1−1/q1-1/q. Multiplying the radius factors gives

𝒓𝒂−𝒎(1−1/𝒒)(𝒓𝒎)1−1/𝒒=𝒓𝒂.\boldsymbol{r^{a-m(1-1/q)}(r^m)^{1-1/q}=r^a}.

The same radius power returns in the bound before the block, so it can be used again at the preceding boundary. Density control alone would leave the wrong power of rr.

10. Step Four: How Finite Memory Forces the Backward Sample Bound

A block of mm observations has at most m+1m+1 local stopping indices, including its entrance. Each stopping index contributes up to 2M2^M terminal states. Continuing past the block contributes at most another 2M2^M states. Thus the number of destinations is N≤(m+2)2MN\le(m+2)2^M, even though the block may route using its entire real-valued data.

Hölder across destinations costs a factor N1/qN^{1/q} in the local mass bound. Taking the aath root to update RR changes this to N1/(aq)N^{1/(aq)}. With q=⌊(d−1)/8⌋q=\lfloor(d-1)/8\rfloor, both aa and qq grow proportionally to dd. Consequently the logarithm of the scale multiplier per block is at most C(1+M/d2)C(1+M/d^2) for an absolute constant CC. The finite state contributes through its logarithmic size, which explains the quadratic memory scale in this argument.

Starting at the last block with R=ϵR=\epsilon, each backward step can multiply the scale by at most a constant for fixed AA. A ball of radius two centered at any sphere point covers the whole sphere. Average success of at least two thirds forces the initial scale to reach a positive constant. If KAK_A bounds the scale multiplier and B=⌈T/q⌉B=\lceil T/q\rceil is the block count, then the initial scale is bounded by ϵKAB\epsilon K_A^B. To reach constant success, that upper bound must itself be at least a positive constant. Taking logarithms forces BB to grow at least proportionally to log(1/ϵ)\log(1/\epsilon) at fine precision. Since all blocks except possibly the last have length qq, this gives the factor of dd in the sample bound.

11. Completing the Proof With Constant Accuracy, Kaczmarz, and Limitations

For constant accuracy the proof uses a separate argument. Give the learner every row and label up to the deadline. Reflect the signal across the row span by negating its perpendicular component. The uniform prior is unchanged, and both signals give identical data. If the perpendicular component has norm greater than ϵ\epsilon, the two signals are more than 2ϵ2\epsilon apart. A single estimate cannot be within chord distance ϵ\epsilon of both. The expected squared length in the row span is at most T/dT/d. A Markov bound on that length and the reflected-pair argument give success below two thirds for T≤d/4T\le d/4 throughout the stated tolerance range. This supplies the linear floor where the backward estimate alone can be too weak.

The paper uses Kaczmarz as a real-register benchmark. Start from z0=0z_0=0 and project the current estimate onto each new measurement hyperplane. For a nonzero row the update is

𝒛𝒕=𝒛𝒕−1+𝒚𝒕−⟨𝒙𝒕,𝒛𝒕−1⟩‖𝒙𝒕‖2𝒙𝒕.\boldsymbol{z_t=z_{t-1}+\frac{y_t-\langle x_t,z_{t-1}\rangle}{\lVert x_t\rVert^2}x_t}.

The correction changes the estimate along the current row by the amount needed to satisfy the new equation. This removes the error component parallel to the fresh row. By isotropy this removes 1/d1/d of the squared error in expectation, conditional on the current estimate. After tt steps, the expected squared error is (1−1/d)t(1-1/d)^t. Since this is at most e−t/de^{-t/d}, reducing the expected squared error to order ϵ2\epsilon^2 takes order dlog(1/ϵ)d\log(1/\epsilon) steps.

OpenAI’s release announcement describes the broader project. For this manuscript, the Family 140 scope document identifies the main memory–precision theorem and supporting inverse Gram moment, exact projection, regularization and block estimates in Lean. The linked Lean comparator records the selected formal statements. The theorem concerns fresh isotropic Gaussian rows and finite-state, one-pass estimation. Its hypotheses fix the row law and the access pattern, leaving adaptive measurement design and repeated passes outside the result. It leaves open a matching finite-bit algorithm and gives no uniform constant for a memory multiplier that grows with dimension.

The memory sample tradeoff distinguishes the information in an exact observation from what a streaming learner can carry forward. Here the cost of recovering a more precise direction shows up in how many fresh measurements the learner must be allowed to read. Follow Binary Verse AI for more research explainers on time–space tradeoffs, dimension reduction and machine-checked mathematical proofs.

What is a memory-sample tradeoff in machine learning?

A memory-sample tradeoff describes how restrictions on retained information affect the number of observations required for learning. This paper proves such a lower bound for one-pass noiseless Gaussian regression.

Why are d noiseless measurements not always sufficient for linear regression?

With the complete measurement system retained, d independent Gaussian equations determine a d-dimensional signal almost surely. A finite-state streaming learner cannot necessarily preserve all the information needed for this reconstruction.

How does limited memory affect the sample complexity of Gaussian regression?

For every fixed A > 0, memory at most Ad² bits requires a sample horizon of at least cAd log(1/ε) to achieve angular error at most ε with probability at least two thirds in sufficiently high dimension, for 0 < ε ≤ 1/10.

Why does the memory bound involve d² bits?

The proof groups observations into blocks of length proportional to d. Its local-success argument charges memory through a factor governed by M/d². This gives the quadratic scale in the proof and leaves the location of any sharp threshold open.

How is noiseless Gaussian regression different from noisy linear regression?

Noiseless regression uses exact inner-product labels. Earlier bounds for labels with additive noise leave open what can be achieved when the learner receives exact observations.

Does the proof show that the Kaczmarz algorithm achieves the bound with finite memory?

The paper analyzes Kaczmarz with real-valued registers to explain the d log(1/ε) precision scale. A matching algorithm under the finite-bit model remains open in the paper.

Is the memory–sample lower bound formally verified in Lean?

OpenAI’s Family 140 scope document identifies the main lower bound and supporting projection estimates as formalized in Lean. The repository links the comparator statements so readers can examine the scope directly.

Leave a Comment