Dimension Reduction in Lp: How OpenAI’s Proof Escapes the Quadratic Trap

An exact copy of the distances among a set of points can need quadratically many coordinates, even when the points themselves number only in the dozens. Allow a fixed amount of distortion, however small, and OpenAI’s preprint proves that the worst-case dimension drops below every positive power of the point count. This is dimension reduction in Lp with the geometry kept intact up to a multiplicative factor. The map chooses new coordinates while keeping the same norm exponent. The proof works by matching the moments of random pairwise differences while keeping those differences consistent with a single set of point labels.

01. What Is Dimension Reduction in Lp, and Why Is It Difficult?

Take nn distinct points from a real LpL_p space. In the function-space setting, the distance between two points is the ppth root of the integral of their absolute difference raised to the ppth power. The finite target ℓpd\ell_p^d uses the same rule with a sum over dd coordinates. The source can be infinite-dimensional. The embedding must preserve all (n2)\binom{n}{2} pairwise distances within the same distortion allowance.

Key facts from the preprint
ItemWhat the theorem covers
Source and targetFinite subsets of real LpL_p into ℓpd\ell_p^d with the same exponent
Exponents1<p<∞1<p<\infty with p≠2p\ne2 in Theorem 1.1
Fixed distortion above oneSubpolynomial dimension no(1)n^{o(1)}
Exact distancesQuadratic worst-case dimension for the same non-Euclidean exponents
MapUnrestricted on the finite set and allowed to be nonlinear

A single vector assignment must serve both short and long pairs. A small additive error can overwhelm the distance between two close points, so the guarantee controls relative error for every pair after one global rescaling. A separate question in metric geometry, covered in our Falconer distance explainer, asks what distances a set determines. Here the entire list of distances, with the pairs identified, is the input to preserve.

02. The Johnson–Lindenstrauss Lemma and the Problem Beyond Euclidean Geometry

For p=2p=2, the Johnson–Lindenstrauss lemma gives OD(log⁡n)O_D(\log n) dimensions at any fixed distortion D>1D>1. Euclidean distances come from an inner product, and random linear projections can concentrate the squared norm of each difference vector. Taking a union bound over pairs then gives a simultaneous guarantee.

Asking for a Johnson–Lindenstrauss lemma in Lp raises two choices. One concerns the target, which here must use the original exponent. The other concerns linearity. A linear map must respect relations among the source vectors. Nonlinear Lp embeddings can position the points independently of those relations, subject to the distances. For another kind of metric guarantee, see our coverage of edit distance approximation.

03. The Previous Limitation and What the Earlier Lp Bounds Left Open

Ball’s work established the pair-count upper bound for exact embeddings and showed that quadratic order is necessary when 1≤p<21\le p<2. Below two, Schechtman’s approximate finite-set estimates went from OD(nlog⁡n)O_D(n\log n) to Op,D(n)O_{p,D}(n). Linear subspace discretization addresses a different parameter, the dimension of a subspace whose entire norm structure must be preserved. The span of the translated data can have dimension n−1n-1, so a bound in that parameter alone gives no subpolynomial guarantee in nn.

Selected configurations already force dimension proportional to the number of points when the map must be linear and p≠2p\ne2. The new theorem answers the open question of whether free placement in same-exponent coordinates permits sublinear dimension at fixed distortion.

04. OpenAI’s Subpolynomial Dimension Reduction Theorem Explained

Dimension reduction in Lp has a quadratic exact bound and a subpolynomial upper bound at fixed distortion above one.
Dimension reduction in Lp has a quadratic exact bound and a subpolynomial upper bound at fixed distortion above one.

For Theorem 1.1 in the September 23, 2026 preprint, write dp(n,D)d_p(n,D) as the least dimension that works for every nn-point subset of every real LpL_p space. For a given set, the images yiy_i of the source points xix_i must satisfy the following inequalities for every pair, with one scale s>0s>0.

𝒔‖𝒙𝒊−𝒙𝒋‖𝒑≤‖𝒚𝒊−𝒚𝒋‖𝒑≤𝑫𝒔‖𝒙𝒊−𝒙𝒋‖𝒑\boldsymbol{s\lVert x_i-x_j\rVert_p\le\lVert y_i-y_j\rVert_p\le Ds\lVert x_i-x_j\rVert_p}

In this definition of Lp embedding distortion, the largest target-to-source distance ratio can be at most DD times the smallest. For fixed 1<p<∞1<p<\infty, p≠2p\ne2, and D>1D>1, the theorem gives

log⁡𝒏log⁡(1+2𝑫)≤𝒅𝒑(𝒏,𝑫)≤exp⁡(𝑪𝒑,𝑫(log⁡𝒏)𝜸(𝒑)).\boldsymbol{\frac{\log n}{\log(1+2D)}\le d_p(n,D)\le\exp\!\bigl(C_{p,D}(\log n)^{\gamma(p)}\bigr).}

All unmarked logarithms are natural. The exponent γ(p)\gamma(p) is 2−p2-p below two and 1−2/p1-2/p above two. For p=3/2p=3/2, subtracting 3/23/2 from two gives 1/21/2. For p=4p=4, subtracting 2/42/4 from one also gives 1/21/2. Both upper bounds therefore have a square root of log⁡n\log n in the exponential. The constants can differ and may grow as distortion approaches one.

05. Why Exact Embeddings Face a Quadratic Obstruction

A 3 × 3 grid shows why 13 points force at least nine coordinates in exact dimension reduction in Lp.
A 3 × 3 grid shows why 13 points force at least nine coordinates in exact dimension reduction in Lp.

Each scalar coordinate contributes a vector of powered pairwise distances. Divide each nonzero contribution by the sum of its entries. These normalized vectors lie in an affine hyperplane of dimension at most (n2)−1\binom{n}{2}-1. The normalized total distance vector is a barycenter of this compact set, even when the original distances come from integration. Carathéodory’s theorem represents it with at most (n2)\binom{n}{2} contributions. Rescaling their coordinate labels realizes the original distances exactly.

For the lower bound, take the positive and negative indicators of every row and column of a k×kk\times k grid, plus the origin. In any isometric image fixing the origin, strict convexity forces antipodal points to remain antipodal. This makes the norms of sums and differences recoverable from the distance list. For two real coordinate entries aa and bb, the pp-parallelogram defect is

𝚫𝒑(𝒂,𝒃)=|𝒂+𝒃|𝒑+|𝒂−𝒃|𝒑−2|𝒂|𝒑−2|𝒃|𝒑.\boldsymbol{\Delta_p(a,b)=|a+b|^p+|a-b|^p-2|a|^p-2|b|^p.}

For p≠2p\ne2, it vanishes exactly when ab=0ab=0 and otherwise has the sign of p−2p-2. Across coordinates, nonzero defects cannot cancel. Distinct rows thus retain disjoint supports, as do distinct columns. Each row and column must still overlap, since their defect is 2p−42^p-4. Each target coordinate witnesses at most one row–column intersection, so 4k+14k+1 points require at least k2k^2 coordinates. In the 3×33\times3 case, thirteen points force nine coordinates. For general n≥9n\ge9, take k=⌊(n−1)/4⌋k=\lfloor(n-1)/4\rfloor and pad the configuration with distinct points if needed. Any exact embedding of the padded set must still realize the original intersections. This is a dimension obstruction tied to exact distances, distinct from the covering-based notion in our Urysohn width explainer.

06. The First Proof Step and the Role of Normalized Gradients

Three normalized edge differences come from one set of point labels in dimension reduction in Lp.
Three normalized edge differences come from one set of point labels in dimension reduction in Lp.

View the points as vertices of a complete graph and orient each edge once. For an edge e=ije=ij, let δe=‖xi−xj‖p\delta_e=\lVert x_i-x_j\rVert_p. One output coordinate gives each vertex a scalar label ziz_i. Its normalized increment is (zi−zj)/δe(z_i-z_j)/\delta_e. The subspace VV consists of all edge vectors obtained in this way. Fixing one label at zero makes recovery of the remaining labels unique.

For example, on the real line take input positions zero, two, and five and candidate labels zero, one, and four. The normalized increments along edges 1212, 2323, and 1313 are −1/2-1/2, −1-1, and −4/5-4/5. Multiplying back by the input distances gives −1-1, −3-3, and −4-4, with the first two summing to the third. Changing only the last increment can break that consistency. Sampling vectors in VV gives coordinates that always fit together.

07. How Weighted Moments Control Every Pair

Lemma 3.1 asks for a random gradient FF whose largest absolute entry is at most KK almost surely. For every strictly positive probability weighting λ\lambda of the edges, the proof can choose a distribution with weighted absolute moment error at most ηb\eta b, where bb is the target ppth moment and η\eta is a small tolerance. Both bb and KK must stay fixed across tests. The criterion is

∑𝒆∈𝑬𝝀𝒆|𝔼|𝑭𝒆|𝒑−𝒃|≤𝜼𝒃,\boldsymbol{\sum_{e\in E}\lambda_e\bigl|\mathbb{E}|F_e|^p-b\bigr|\le\eta b,}

where EE is the set of edges and 𝔼\mathbb{E} denotes expectation.

Mixing distributions gives a compact convex set of moment vectors. If it missed the box of vectors within 2ηb2\eta b of bb on every edge, a separating hyperplane would supply a failed weighted test. The proof uses the absolute values of the separating coefficients, with a uniform component to make every weight positive. One law thus meets all edge targets.

Independent draws now supply coordinates, with the recovered labels scaled by d−1/pd^{-1/p}. The powered distance ratios are sample averages of values in [0,Kp][0,K^p]. A bounded-sum estimate and a union bound over the pairs give a sufficient dimension of order max⁡{1,K2p/(η2b2)}log⁡(2n)\max\{1,K^{2p}/(\eta^2b^2)\}\log(2n). The resulting distortion is at most ((1+3η)/(1−3η))1/p((1+3\eta)/(1-3\eta))^{1/p}.

08. Electrical-Flow Localization and the Logarithmic Projection Bound

Clipping edge values individually can break the consistency illustrated above. To restore it, the proof projects onto VV using a weighted least-squares norm. For each test λ\lambda, the paper chooses a probability weighting σ\sigma with σe≥λe/2\sigma_e\ge\lambda_e/2. In the weighted quadratic norm, both the projection PP and its residual I−PI-P are contractions.

With conductances σe/δe2\sigma_e/\delta_e^2, the projection is equivalent by diagonal rescaling to an electrical-flow projection. The localization theorem of Gurel-Gurevich, Nachmias, and Sachdeva bounds the Euclidean operator norm of the entrywise absolute projection matrix. This controls a weighted quadratic average of the absolute row sums of PP. A continuous reweighting allocates more mass to large rows. Brouwer’s fixed-point theorem supplies weights for which every row sum is at most H=4log⁡(2n)H=4\log(2n). The quadratic norm controls average error, while the row bound limits the largest entry after projection. The localization argument uses the graph heat kernel, a continuous-time random walk. Random walks serve a different purpose in the switch-chain mixing proof, where the question is how quickly a sampler approaches equilibrium.

09. Homogeneous Increments and Signed Poisson Sampling

The proof can start with finitely many input coordinates by exact discretization. It divides each coordinate difference by the original pairwise distance and multiplies the resulting gradient by a positive scale rr. On each source coordinate the scale carries intensity pr−p−1drpr^{-p-1}\,dr. Because the powered normalized differences sum to one for each edge, the resulting measure ν\nu satisfies ν(|ve|>a)=a−p\nu(|v_e|>a)=a^{-p} for every edge and every a>0a>0. This is an intensity measure. Its total mass can be infinite.

On a finite-mass region, take a Poisson number of independent jumps with mean equal to that mass and attach independent random signs. Their sum has mean zero and, for bounded jumps, variance equal to the integrated squared jump size. The magnitude density pu−p−1pu^{-p-1} makes that integral finite near zero below two and finite near infinity above two. This common law is marginal. Edges can be dependent because a single jump labels all vertices.

10. The Proof for 1 < p < 2 Using Stable Distributions and Clipping

Below two, the sum of small jumps converges in quadratic mean across dyadic bands. Adding the finite Poisson sum of large jumps gives a gradient YY with common symmetric pp-stable marginals. Their tails have order a−pa^{-p} for a≥1a\ge1, so the full ppth moment diverges logarithmically. Capping the magnitude at aa gives a common finite moment bb that grows on the order of log⁡a\log a.

The paper clips each entry of YY at magnitude TT, projects back to VV, and compares the projected moments at the smaller level a=T/Ha=T/H. The row bound controls the expected clipping error after projection. Weighted quadratic contraction controls the part of the projected ppth moments above the cap. At this choice of aa, the combined weighted error is of order at most H2−pH^{2-p}. Taking log⁡T\log T to be a sufficiently large multiple of H2−pH^{2-p} makes the error small relative to bb. The resulting magnitude bound K=HTK=HT has log⁡K=Op,D((log⁡n)2−p)\log K=O_{p,D}((\log n)^{2-p}).

11. The Proof for p > 2 Using Overlapping Truncations

Above two, the construction sums ℓ\ell overlapping dyadic bands. Band kk keeps magnitudes in (2k,2k+ℓ](2^k,2^{k+\ell}] for 0≤k<ℓ0\le k<\ell. The number of bands covering a magnitude rises from one to ℓ\ell and then falls back to one. Each dyadic bin contributes plog⁡2p\log 2 times its multiplicity to the power pp. The common integrated ppth-power magnitude therefore has order ℓp+1\ell^{p+1}.

Coverage by four overlapping truncation bands Across the seven successive unit bins on the base-two log-magnitude axis from zero to seven, the band counts are one, two, three, four, three, two, and one. Band count 1 2 3 4 3 2 1 0 1 2 3 4 5 6 7 Base-two log magnitude
With four truncation bands, the central bin (8,16](8,16] is covered four times. Its contribution to the integrated ppth power is plog⁡2⋅4pp\log 2\cdot 4^p before projection.

Projection repairs the truncated increments. The paper estimates the repair at each cutoff in two ways. The retained low-magnitude part bounds the maximum size of the repair. Since the original gradient already lies in VV, the repair can also be written using only the discarded high-magnitude part, which has finite quadratic energy. Splitting at the appropriate cutoff gives a tail bound for the total repair. Its error, measured as a weighted integrated ppth power, is at most of order Hp−2(ℓ+1)H^{p-2}(\ell+1). The ratio of the error norm to the input norm is thus at most a constant times H1−2/p/ℓH^{1-2/p}/\ell. Choosing ℓ\ell to be a sufficiently large multiple of H1−2/pH^{1-2/p} makes the relative error small.

Signed Poisson sampling then turns the projected jumps into random gradients. The paper’s nearly additive moment estimate bounds the sampled ppth moment by the integrated ppth power with leading coefficient as close to one as needed, plus a variance term. That leading coefficient matters when the allowed distortion is close to one. The proof discards an entire draw if any entry is too large, preserving consistency. This gives log⁡K=Op,D((log⁡n)1−2/p)\log K=O_{p,D}((\log n)^{1-2/p}).

12. Completing OpenAI’s Proof and Identifying the Open Questions

The moment criterion turns either bound on log⁡K\log K into a bound of the same order on log⁡d\log d. Since 0<γ(p)<10<\gamma(p)<1, dividing by log⁡n\log n gives a quantity tending to zero. That is the meaning of no(1)n^{o(1)} here. Exact discretization covers the finitely many small sizes outside the asymptotic estimates.

For the packing lower bound, start with the equilateral set of coordinate unit vectors. Translate and scale the images so that they are one-separated and lie in a ball of radius DD. The open half-unit balls around them are disjoint and lie inside a ball of radius D+1/2D+1/2. Volume scales as the ddth power of radius, so n≤(1+2D)dn\le(1+2D)^d, giving the theorem’s logarithmic lower bound.

How the guarantee changes with distortion
RegimeWorst-case dimension guarantee
p=2p=2, D>1D>1Logarithmic order for fixed distortion
p≠2p\ne2, D>1D>1Subpolynomial upper bound and logarithmic packing lower bound
p≠2p\ne2, D=1D=1Between ⌊(n−1)/4⌋2\lfloor(n-1)/4\rfloor^2 and (n2)\binom{n}{2} for n≥9n\ge9

At p=1p=1, Brinkman and Charikar give obstructions even for nonlinear maps. Above two, the stronger lower bound of Naor and Ren rules out a universal logarithmic guarantee at fixed distortion. Along arbitrarily large cardinalities it gives at least order (log⁡n/(log⁡log⁡n)2)p/2(\log n/(\log\log n)^2)^{p/2} coordinates. The preprint leaves the optimal growth rate and efficient construction open, so it gives no runtime guarantee for applications such as metric k-median.

OpenAI’s release announcement describes the broader collection. The Lean scope note for family 094 documents the approximate and exact bounds, attainment of the least dimension, and both asymptotic limits. The Lean theorem file is the formal counterpart to those claims. For another formalization in the release, see our weak and strong normalization explainer. Binary Verse AI’s coverage of OpenAI’s mathematical proofs puts this result in the context of the wider release.

Dimension reduction in Lp now has a sharp qualitative dividing line. At exact distortion, support intersections can force quadratic dimension. With any fixed tolerance above one, consistent random coordinates can preserve every pair in subpolynomial dimension. Follow Binary Verse AI for more paper-led explainers on the boundary between geometric constraints and approximation.

What is dimension reduction in Lp?

It represents finitely many points from a real Lp space in fewer ℓp coordinates while approximately preserving every pairwise distance. The exponent p stays the same.

How many dimensions does OpenAI’s proof require?

For each fixed p strictly between one and infinity, excluding two, and each fixed distortion D greater than one, the worst-case dimension is subpolynomial in the number of points. The upper bound is exponential in a constant times the γ(p)th power of the logarithm of n, where γ(p) is 2 minus p below two and 1 minus 2 divided by p above two. The constant depends on p and D.

Why can a small distortion reduce the dimension so dramatically?

Exact distances enforce geometric relationships, including which coordinate supports must intersect. Those relationships can require quadratically many coordinates. Allowing any fixed distortion greater than one lets the proof approximately match the moments of pairwise differences instead.

How does this proof differ from the Johnson–Lindenstrauss lemma?

The Johnson–Lindenstrauss lemma gives logarithmic dimension for Euclidean geometry at fixed distortion. OpenAI’s result covers exponents strictly between one and infinity other than two, allows nonlinear embeddings, and gives a subpolynomial upper bound.

Why does the proof use different methods for p below and above 2?

Below two, the small jumps have finite integrated second moment, and the proof clips symmetric stable marginals before projecting. Above two, the large jumps have finite integrated second moment, and the proof uses overlapping truncations and signed Poisson moment estimates.

Does the theorem also work for L1 spaces?

The theorem applies for p strictly greater than one. At p equal to one, known lower bounds rule out a universal subpolynomial guarantee at fixed distortion, even for nonlinear maps.

Does OpenAI’s proof provide an efficient algorithm or optimal dimension bound?

The paper proves that the embeddings exist. It leaves efficient construction and the optimal dimension bound open.

Leave a Comment