Multi-Vector Representations and Embedding-Based Nearest Neighbor Search (Rajesh Jayaram)

Abstract:
Neural embedding models have become a fundamental component of modern information retrieval (IR) pipelines. These models produce a single embedding per data-point, allowing for fast retrieval via highly optimized maximum inner product search (MIPS) algorithms. Recently, beginning with the landmark ColBERT paper, multi-vector models, which produce a set of embedding per data point, have achieved markedly superior performance for IR tasks. Unfortunately, using these models for IR is computationally expensive due to the increased complexity of multi-vector retrieval and scoring. In this paper, we introduce MUVERA (MUlti-VEctor Retrieval Algorithm), a retrieval mechanism which reduces multi-vector similarity search to single-vector similarity search. This enables the usage of off-the-shelf MIPS solvers for multi-vector retrieval. MUVERA asymmetrically generates Fixed Dimensional Encodings (FDEs) of queries and documents, which are vectors whose inner product approximates multi-vector similarity. We prove that FDEs give high-quality -approximations, thus providing the first single-vector proxy for multi-vector similarity with theoretical guarantees. Empirically, we find that FDEs achieve the same recall as prior state-of-the-art heuristics while retrieving 2-5 fewer candidates. Compared to prior state of the art implementations, MUVERA achieves consistently good end-to-end recall and latency across a diverse set of the BEIR retrieval datasets, achieving an average of 10 improved recall with lower latency.

Mathematical Details:
This work provides a theoretical framework for reducing complex multi-vector nearest neighbor search to standard single-vector search. The key idea is constructing an FDE (Fixed Dimensional Encoding) for each query and document. Given a document represented by multiple embeddings (one per token, as in late-interaction models like ColBERT) and a query with multiple embeddings, MUVERA learns a transformation that produces a single -dimensional vector for the query and document such that their inner product approximates the original multi-vector similarity (often defined by a max-sim or Chamfer similarity over token embeddings). The authors prove that for any desired accuracy , one can choose the FDE mapping so that the single-vector inner product is an -approximation of the true multi-vector similarity. In particular, they show that if is the exact multi-vector similarity between query and document , then there exist FDE vectors such that with high probability. This guarantee relies on concentration of measure in random feature projections and ensures that nearest neighbor rankings by the FDE inner product closely match those by the full multi-vector model. The construction effectively linearizes the late-interaction operation, enabling the use of fast MIPS algorithms. Furthermore, analysis of the retrieval complexity shows that using FDEs reduces the candidate set size by a factor of 2–5× for a given recall level. Thus, MUVERA achieves theoretical runtime improvements: searching in a single -dimensional space instead of a combinatorial multi-embedding space. Overall, the mathematical contribution is a reduction from a nonlinear similarity search problem to a linear inner-product search, backed by provable approximation bounds. This theoretical result underpins the empirical finding that one can retain high recall and precision with far fewer candidate comparisons, thereby significantly accelerating embedding-based nearest neighbor search. The guarantees ensure that as the number of dimensions grows (and as more random features are used in constructing FDEs), the approximation error can be made arbitrarily small, cementing the approach’s reliability in the limit of high-dimensional representations.


An Arithmetic Circuit Lens on Deep Learning Architectures (Atri Rudra)

Abstract:
This survey presents a necessarily incomplete (and biased) overview of results at the intersection of arithmetic circuit complexity, structured matrices and deep learning. Recently there has been some research activity in replacing unstructured weight matrices in neural networks by structured ones (with the aim of reducing the size of the corresponding deep learning models). Most of this work has been experimental and in this survey, we formalize the research question and show how a recent work that combines arithmetic circuit complexity, structured matrices and deep learning essentially answers this question. This survey is targeted at complexity theorists who might enjoy reading about how tools developed in arithmetic circuit complexity helped design (to the best of our knowledge) a new family of structured matrices, which in turn seem well-suited for applications in deep learning. However, we hope that folks primarily interested in deep learning would also appreciate the connections to complexity theory.

Mathematical Details:
This talk explores how arithmetic circuit complexity theory provides a principled way to design efficient neural network architectures. The core theoretical insight is that the polynomial computations performed by certain neural network layers can be represented and analyzed as arithmetic circuits. Arithmetic circuits are algebraic models of computation where nodes perform additions or multiplications on inputs; their complexity is measured by size and depth. By viewing neural network transformations (like dense weight matrices or convolution kernels) as computing multivariate polynomials on input features, one can leverage circuit complexity results to impose structural constraints that reduce parameters without sacrificing expressive power. In particular, Rudra highlights a recent result where a new family of structured random matrices was derived from arithmetic circuit constructions. These matrices have a rich algebraic structure (often low-rank or sparse plus low-rank decompositions) that dramatically lowers the number of independent parameters compared to a fully dense matrix. The survey formalizes the problem as follows: given an weight matrix representing a linear layer, can we find a family of structured matrices (with far fewer than parameters ) such that for any desired linear transformation , there is a choice of so that approximates or represents ? Using arithmetic circuit lower bounds and constructions, it is shown that a certain structured matrix family arising from sum-of-products formulas can approximate a large class of linear transforms. The survey discusses how a depth- arithmetic circuit (a bilinear map) can correspond to a two-layer neural network, and how enforcing circuit constraints (like sparsity patterns or Kronecker structure) leads to matrices with provably lower parameter count. One highlighted theoretical result is that these structured matrices achieve near-optimal trade-offs between representation power and number of parameters: they can express polynomials of a given total degree using exponentially fewer parameters than an unstructured matrix requires. This directly translates to deep learning: replacing dense weight layers by these circuit-inspired structured layers preserves the network’s ability to fit complex functions (as guaranteed by the arithmetic circuit expressiveness) while controlling model size. Furthermore, complexity-theoretic tools (e.g. homomorphic secret sharing of polynomials, depth-reduction formulas) are used to prove that any polynomial function computable by a moderately-sized arithmetic circuit can be embedded as a subnetwork in a deep model with structured weights. In summary, the mathematical contribution lies in formalizing neural network weight matrices as objects of algebraic complexity and demonstrating, with rigorous proofs, that structured matrix families derived from arithmetic circuits can achieve the same function approximation power as dense matrices. This bridges complexity theory and practice by showing that ideas like Valiant’s complexity of computing permanents or Raz’s depth-hierarchy theorems inform the design of new neural architectures that are both lightweight and expressive.


Using Algorithms to Understand Transformers (and Using Transformers to Understand Algorithms) (Vatsal Saran)

Abstract:
Transformers excel at in-context learning (ICL) — learning from demonstrations without parameter updates — but how they do so remains a mystery. Recent work suggests that Transformers may internally run Gradient Descent (GD), a first-order optimization method, to perform ICL. In this paper, we instead demonstrate that Transformers learn to approximate second-order optimization methods for ICL. For in-context linear regression, Transformers share a similar convergence rate as Iterative Newton’s Method, both exponentially faster than GD. Empirically, predictions from successive Transformer layers closely match different iterations of Newton’s Method, with each middle layer roughly computing 3 iterations; thus, Transformers and Newton’s method converge at roughly the same rate. In contrast, Gradient Descent converges exponentially more slowly. We also show that Transformers can learn in-context on ill-conditioned data, a setting where Gradient Descent struggles but Iterative Newton succeeds. Finally, to corroborate our empirical findings, we prove that Transformers can implement iterations of Newton’s method with layers.

Mathematical Details:
This talk illustrates a deep interplay between algorithmic optimization procedures and Transformer architectures through a theoretical lens. On one hand, using algorithms to understand Transformers, the authors analyze the layer-by-layer computations of a Transformer performing in-context linear regression and find that it effectively implements Iterative Newton’s Method – a second-order optimization algorithm. Formally, consider a simple linear regression problem where a sequence of pairs are provided in the prompt and the Transformer must predict the label for a new . The optimal solution (least-squares fit) can be obtained by Newton’s method iterations: , where is the Hessian of the loss. The authors prove that a sufficiently large Transformer can simulate steps of Newton’s method using self-attention layers. Each Transformer layer uses its self-attention heads to compute combinations of input tokens that correspond to matrix-vector products needed for the Newton update (for example, computing the Hessian and gradient in context). They rigorously construct attention weight patterns and MLP coefficients that allow the Transformer’s hidden state after layers to encode the current estimate , and show the update from layer to aligns with the Newton step. This theoretical construction demonstrates that Transformers are Turing-complete enough to embed iterative algorithms and in particular achieve the second-order convergence rate (which is geometric) in in-context learning tasks. This explains the empirical observation that Transformers converge to the correct answer in exponentially fewer steps than a gradient-descent-like simulation would. Conversely, using Transformers to understand algorithms, the work suggests that Transformers can serve as analytical tools to verify algorithmic behavior. By inspecting the transformation each layer performs, one can reverse-engineer the algorithm the model has learned. In their experiments, they show that the sequence of Transformer activations closely matches the trajectory of Newton’s method updates: for instance, if is the true solution, the error decays at a rate comparable to , matching second-order convergence. This is in stark contrast to gradient descent’s linear convergence. Additionally, the theory extends to ill-conditioned problems: they prove Transformers can implicitly estimate the Hessian’s inverse (in effect, solving linear systems) even when the data covariance is nearly singular, a regime where naive gradient descent would take prohibitively many steps. These findings highlight a rigorous example of Transformers internally executing advanced algorithms. They not only provide convergence rate theorems (showing that after layers a Transformer achieves -accuracy on linear regression, akin to Newton’s iteration complexity), but also emphasize that algorithmic techniques can guide the design of Transformer architectures for improved in-context learning. In summary, the theoretical contribution is a constructive proof that Transformers can implement higher-order optimization algorithms and an analysis showing how this yields exponentially faster error reduction, thereby demystifying how Transformers might “learn to learn” algorithmic tasks in context.


Implicit Geometry of Next-token Prediction (Christos Thrumpoulidis)

Abstract:
Next-token prediction (NTP) over large text corpora has become the go-to paradigm to train large language models. Yet, it remains unclear how NTP influences the mapping of linguistic patterns to geometric properties of the resulting model representations. We frame training of large language models as soft-label classification over sparse probabilistic label vectors, coupled with an analytical approximation that allows unrestricted generation of context embeddings. This approach links NTP training to rank-constrained, nuclear-norm regularized optimization in the logit domain, offering a framework for analyzing the geometry of word and context embeddings. In large embedding spaces, we find that NTP implicitly favors learning logits with a sparse plus low-rank structure. While the sparse component captures the co-occurrence frequency of context-word pairs, the orthogonal low-rank component, which becomes dominant as training progresses, depends solely on the sparsity pattern of the co-occurrence matrix. Consequently, when projected onto an appropriate subspace, representations of contexts that are followed by the same set of next-tokens collapse, a phenomenon we term subspace-collapse. We validate our findings on synthetic and small-scale real language datasets. Finally, we outline potential research directions aimed at deepening the understanding of NTP’s influence on the learning of linguistic patterns and regularities.

Mathematical Details:
The theoretical analysis treats next-token prediction training as an optimization problem with a particular structural bias. Specifically, for a given context , the true next-word distribution can be represented as a very sparse one-hot or few-hot vector (since in training, one observed next token is “correct” and all others are zero reward). The authors consider a relaxation where the model’s output logits (for vocabulary size ) are trained to fit these sparse target vectors under a soft-label cross-entropy loss. They show this is equivalent to a nuclear-norm regularized regression problem in the logit space. In effect, the learning dynamics implicitly decompose the logit matrix (whose rows correspond to contexts and columns to tokens) into a sum of a sparse matrix and a low-rank matrix . Formally, they argue that the empirical risk minimization for NTP can be written as minimizing , where is the (sparse) context-token co-occurrence indicator matrix and is the nuclear norm (convex surrogate for rank). Solving this yields an optimum , where captures the direct (sparse) co-occurrence information (essentially, is large if word frequently follows context ), and is a low-rank correction that accounts for higher-order correlations and emerges from the regularization. The authors prove that as training proceeds (or equivalently as regularization is annealed), the low-rank component dominates, and crucially, depends only on the support (the zero/non-zero pattern) of the co-occurrence matrix , not the exact frequencies. This leads to a striking geometric consequence: consider two different contexts and . Suppose the set of possible next tokens after (i.e. support of row ) is identical to that of . Then the theory predicts that the learned logit representations and become indistinguishable after projecting out the sparse part, essentially collapsing onto the same point in the model’s embedding space spanned by the low-rank component. They term this phenomenon subspace-collapse: contexts that lead to the same set of next-word possibilities are mapped to the same vector in an appropriate latent subspace. Mathematically, if denotes the support of context ’s next-token distribution, and , then for the learned decomposition , one can show . In other words, the orthogonal projection of and onto the column space of is identical. This result reveals an implicit clustering induced by language sparsity: the model’s hidden representations cluster contexts purely by next-token equivalence classes. The analysis relies on tools from convex optimization (KKT conditions for the nuclear norm problem) and matrix perturbation theory to handle the approximate nature of finite networks. It also connects to the concept of rank minimization with block-sparse structure – showing NTP encourages a “sparse + low-rank” inductive bias. This theoretical insight explains empirical observations of representation collapse: the authors validate on synthetic data that contexts sharing next-token supports indeed have nearly identical last-layer embeddings. Thus, the implicit geometry shaped by NTP training is one where model representations emphasize the combinatorial support of continuation sets (a combinatorial, high-level linguistic feature) over raw co-occurrence counts. This provides a principled explanation for how large language models might internally organize knowledge: by compressing contexts with similar predictive futures into the same direction in embedding space, thereby achieving a form of generalization about “what can happen next” irrespective of superficial differences in context phrasing.


Graph Transformers Dream of Electric Flow (Xiang Cheng)

Abstract:
We show theoretically and empirically that the linear Transformer, when applied to graph data, can implement algorithms that solve canonical problems such as electric flow and eigenvector decomposition. The input to the Transformer is simply the graph incidence matrix; no other explicit positional encoding information is provided. We present explicit weight configurations for implementing each such graph algorithm, and we bound the errors of the constructed Transformers by the errors of the underlying algorithms. Our theoretical findings are corroborated by experiments on synthetic data. Additionally, on a real-world molecular regression task, we observe that the linear Transformer is capable of learning a more effective positional encoding than the default one based on Laplacian eigenvectors. Our work is an initial step towards elucidating the inner-workings of the Transformer for graph data.

Mathematical Details:
This work provides a rigorous demonstration that a Transformer with linear attention can simulate classical graph algorithms, effectively acting as a computation engine over graphs. Formally, given a graph with nodes and edges, they feed the graph’s incidence matrix (which encodes edges as vectors of node differences) as token embeddings into a Transformer. They then construct a specific setting of the transformer’s weights (queries, keys, values, and feed-forward matrices) such that the transformer’s layers perform the iterative computations of known algorithms:

  • Electric Flow: They show a Transformer can solve for electric potentials in a resistive network (which corresponds to solving a Laplacian linear system ). The authors provide an explicit mapping of one step of the Richardson iteration or Jacobi method for solving to a single Transformer layer. Each head in the attention mechanism computes partial updates for node voltages by combining information from neighboring nodes (accessible via the incidence matrix tokens). Stacking layers allows the Transformer to perform iterations of the solver. They prove that the output after layers, , satisfies , where x^_ is the true solution and is the result of iterations of the chosen electric flow algorithm. In other words, the transformer’s error is bounded by a constant factor times the algorithm’s error, ensuring no significant loss of accuracy from the emulation.
  • Eigenvector Decomposition (Positional Encoding): They also configure the Transformer to perform power iteration to find the principal eigenvector of the graph’s adjacency or Laplacian matrix. By appropriate attention across the sequence of node features, a single layer can compute one multiplication by the adjacency matrix, and layer normalization or gating can simulate the normalization step. After layers, the output embedding of each node token converges to a scalar proportional to the principal eigenvector entry for that node. They prove that if the graph has a spectral gap, the Transformer’s outputs satisfy for some , mimicking the convergence rate of power iteration to the leading eigenvector . This explains how the model can learn its own positional encodings: by internally computing spectral coordinates of nodes.

Importantly, the authors provide explicit weight matrices for each layer to carry out these computations. For example, to implement one step of solving , the query and key weights are set such that attention coefficients correspond to Green’s function weights (related to effective resistance), and value weights propagate voltage corrections along edges. They then show these weight configurations yield a transformer whose forward pass equations exactly match the update equations of the target algorithm (up to negligible approximation error from using a finite number of heads and finite precision). They formally bound the approximation error introduced by the transformer’s finite depth and linear attention (which uses kernel feature maps to approximate softmax attention). The result is a theorem stating that for any graph of bounded degree, a Transformer with layers and heads per layer can produce an -accurate solution to the electric flow problem on that graph.

This theoretical guarantee has two major implications: (1) Universality: even a relatively simple Transformer variant (linear attention, no extra positional encodings) can simulate non-trivial graph algorithms, indicating that Transformers are in principle powerful enough to encode complex computations on relational data; (2) Efficiency: the constructed Transformer runs in time linear in the number of edges (each attention head performs work per layer) matching the algorithm’s complexity, and the number of layers needed grows slowly with error tolerance . Thus, from a complexity-theoretic perspective, Transformers incur at most polylogarithmic overhead when executing these graph algorithms. Empirically, they verify that when training a linear Transformer on synthetic data for these tasks, it discovers behavior aligned with the analytical weight settings, further validating the theory. In summary, the mathematics shows that graph Transformers can implement iterative solvers for linear systems and eigenproblems, and it provides error bounds ensuring the Transformer’s solution quality is on par with the well-established numerical algorithms it mimics.


Fine-Grained Complexity and the Pursuit of Fast Attention (Josh Alman)

Abstract:
*In modern machine learning, inner product attention computation is a fundamental task for training large language models such as Transformer, GPT-1, BERT, GPT-2, GPT-3 and ChatGPT. Formally, in this problem, one is given as input three matrices , and the goal is to construct the matrix , where is the “attention matrix”, and is applied entry-wise. Straightforward methods for this problem explicitly compute the attention matrix , and hence require time even when is small. In this paper, we investigate whether faster algorithms are possible by implicitly making use of the matrix . We present two results, showing that there is a sharp transition at .

  • If and , there is an time algorithm to approximate up to additive error.
  • If and , assuming the Strong Exponential Time Hypothesis from fine-grained complexity theory, it is impossible to approximate up to additive error in truly subquadratic time .
    This gives a theoretical explanation for the phenomenon observed in practice that attention computation is much more efficient when the input matrices have smaller entries.*

Mathematical Details:
This result leverages fine-grained complexity theory to pinpoint when and why the attention operation can (or cannot) be computed faster than the naive time. The attention function is , where and is the all-ones vector. Computing explicitly is due to its size. The authors ask: can we avoid explicitly forming and still compute the result faster? They identify the parameter , which bounds the magnitude of entries in and , as crucial. Their first result provides an algorithmic improvement in the regime of small : if , one can exploit the fact that attention weights will be extremely skewed (because will be small) and use techniques from approximate matrix multiplication or kernel density estimation to approximate ’s effect. In particular, when entries are very small, (a low-order Taylor expansion), so one can approximate attention by a low-rank update plus minor corrections. By rigorously bounding truncation errors and using fast rectangular matrix multiplication for the remaining terms, they achieve an algorithm running in time (essentially ) that produces with for some large constant (high-accuracy additive error).

The second result is a conditional lower bound using a reduction from the All-Pairs Shortest Paths (APSP) or Orthogonal Vectors problems via the Strong Exponential Time Hypothesis (SETH). Intuitively, they encode a difficult problem instance into the attention matrices such that solving attention faster than would violate known complexity assumptions. The sharp threshold arises because if entries are just a bit larger (on the order of ), the function can produce moderate-sized weights that encode enough combinatorial structure to simulate hard problems. Concretely, they prove that for any , a truly subquadratic algorithm for attention with (for a suitable constant ) could be used to detect, say, if two sets of Boolean vectors have an orthogonal pair in significantly less than time, which is believed impossible under SETH. The proof involves constructing and whose exponential inner products essentially act like indicator functions distinguishing matching vs. non-matching patterns of bits. If is large enough (on the order of ), these exponentials can vary over polynomial ranges, allowing a fine encoding of the hard problem’s solution. The analysis shows a phase transition: below the threshold, the attention matrix is near-uniform and “algorithm-friendly”; at or above the threshold, it can encode arbitrary hardness similar to general matrix multiplication (which has conjectured complexity in the truly subquadratic regime).

Thus, in formal terms, they establish: For , if , then an algorithm with time achieving error ; but if , then -approximation algorithms running in time, SETH would be falsified. This constitutes a fine-grained complexity dichotomy for attention. The significance is both practical and theoretical. Practically, it rationalizes why techniques like low-precision or capped-softmax attention (which effectively bound ) yield speed-ups: they place the problem in the easier regime. Theoretically, it identifies attention as an algorithmically hard primitive in the worst case, linking it to core problems in computer science. It’s notable that the proofs require careful handling of floating-point exponentials and the normalization by (which couples all rows), showing that even approximate normalization does not break the reduction. In summary, the authors provide a tight conditional lower bound matching an almost-tight upper bound up to the critical point , thereby charting the landscape of possibility for fast attention computation with unprecedented precision.


STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Proving (Tengyu Ma)

Abstract:
A fundamental challenge in formal theorem proving by LLMs is the lack of high-quality training data. Although reinforcement learning or expert iteration partially mitigates this issue by alternating between LLM generating proofs and finetuning them on correctly generated ones, performance quickly plateaus due to the scarcity of correct proofs (sparse rewards). To keep improving the models with limited data, we draw inspiration from mathematicians, who continuously develop new results, partly by proposing novel conjectures or exercises (which are often variants of known results) and attempting to solve them. We design the Self-play Theorem Prover (STP) that simultaneously takes on two roles, conjecturer and prover, each providing training signals to the other. The conjecturer is trained iteratively on previously generated conjectures that are barely provable by the current prover, which incentivizes it to generate increasingly challenging conjectures over time. The prover attempts to prove the conjectures with standard expert iteration. We evaluate STP with both Lean and Isabelle formal versifiers. With 19.8 billion tokens generated during the training in Lean, STP proves 26.3% of the statements in the LeanWorkbook dataset, doubling the previous best result of 13.2% achieved through expert iteration. The final model achieves state-of-the-art performance among whole-proof generation methods on miniF2F-test (61.7%, pass@3200), Proofnet-test (23.1%, pass@3200) and PutnamBench (8/644, pass@3200).

Mathematical Details:
While this contribution is primarily algorithmic, it is underpinned by a rigorous iterative training scheme reminiscent of curriculum learning and game theory. In mathematical terms, one can model the interaction between the conjecturer and prover as a two-player game on the space of formal statements and proofs. The conjecturer selects a statement (conjecture) from a distribution , and the prover selects a proof attempt based on its policy . The prover “wins” if is a valid proof of (verified by the proof assistant), otherwise the conjecturer “wins” by posing a statement that the prover cannot solve. STP sets up a self-play dynamic where both players improve over time: the conjecturer is trained to maximize the prover’s failure (subject to being just beyond the prover’s reach but not trivial or impossible), and the prover is trained (via expert iteration, akin to reinforcement learning where the reward is successfully proving) to prove as many conjectures as possible. In practice, the authors implement this via alternating optimization. For the conjecturer: they maintain a curriculum of conjectures of increasing difficulty. Formally, at round , they generate new conjectures conditioned on the event that the current prover fails on but perhaps succeeds if slightly improved. This is achieved by sampling conjectures that are at the boundary of provability given the prover’s capability. One can think of a conjecture’s difficulty , and the prover’s strength at time ; STP tries to sample conjectures with . This is realized by filtering conjectures—only those that the prover almost proves (e.g., reaches a certain proof state but cannot complete) are kept to fine-tune the conjecturer (so-called “barely provable” conjectures). For the prover: given a set of conjectures (from the conjecturer and possibly human-provided ones), it uses expert iteration, which alternates between proof search (where the LLM generates proof steps and if a correct proof is found, it’s added to a training buffer) and supervised fine-tuning on the verified proof steps. The theoretical intuition is that this self-play will drive both policies towards a Nash equilibrium: an optimal conjecturer that generates the hardest statements the prover can eventually crack, and an optimal prover that can solve those statements. By analogy to game-theoretic self-play in Go or Chess, the space of theorem proving is exponentially large, and naive exploration is ineffective (very sparse reward of a complete proof). STP’s iterative conjecturing provides a denser reward signal: each new conjecture proven is a reward for the prover, and each conjecture not proven (but almost) is a signal for the conjecturer to adjust difficulty. Although a formal convergence proof is elusive (as common in training large LMs), one can analyze a simplified model: e.g., consider a monotonic “learning curve” function for prover strength based on training, and a monotonic “curriculum curve” for conjecture difficulty based on prover strength. Under reasonable assumptions (e.g., and are continuous and increases with while increases with ), one can argue the existence of a fixed point where matches prover strength, which corresponds to a stable training regime. Empirically, STP demonstrates quantitative leaps: doubling success rate on a challenging benchmark indicates that the self-play loop overcame the stagnation from sparse rewards. Mathematically, this suggests that STP’s training strategy is performing a form of boosting: the conjecturer is boosting the prover’s capabilities by presenting increasingly demanding tasks, while the prover’s improvements allow it to solve those tasks, thus boosting the conjecturer’s baseline for generating even harder ones. In summary, the mathematical underpinning is an interactive learning algorithm in the space of formal proofs, inspired by minimax optimization. The success on multiple benchmarks (Lean’s miniF2F, Isabelle’s ProofNet, etc.) demonstrates that the iterative process did not overfit to a single system but tapped into a general mechanism for gradually expanding the space of provable theorems. In essence, STP formalizes a closed-loop training procedure where the space of theorems itself is explored and expanded as part of training, a departure from treating the set of problems as fixed. This yields a new theoretical paradigm: treating theorem-proving as a self-play game where the curriculum is adaptively learned.