Manuscript Offprint
arXiv:2611.02237Nonreciprocal Spherical Attention and Retrieval: Sharp Coarsening Clocks and Certified Score Correction
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study nonreciprocal bilinear interactions as a common structure for spherical coarsening and compressed nearest-neighbor retrieval. For normalized attention, we establish a sharp two-cluster metastability exponent and extend it to growing particle systems under a subexponential block-mass ratio condition, without a particle-count restriction. A one-sided entrance argument determines the second-event exponent in an explicit three-body flow. For finite compression, mass centering cancels the first-order error and yields a sharp second-order attention-output bound, including the correction required by spherical normalization. We formulate skew score calibration as a strictly convex moment problem, derive its unique matrix normal equation, and give residual-based optimization error bounds. A canonical low-rank projection provides bounded, well-conditioned query updates with an explicit index-memory cost. Experiments combine semantic retrieval ablations with one- and ten-million-vector visual descriptor indices, recomputed cosine ground truth, and native FAISS PQ/OPQ search. On SIFT1M, three-seed native-L2 hit@10 rises from 0.8926 to 0.8948 with norm-aware skew margin calibration, while symmetric calibration reaches 0.8996. At ten million vectors, IVF-PQ reaches 0.8827 hit@10 at 0.1794 ms per query in a four-thread batch benchmark; validation selects no skew update. A separate ten-million-key attention-memory experiment evaluates centered aggregation against exact streamed output on 1,024 held-out queries. Matrix-basis solves, automatic differentiation, finite differences, interval arithmetic, and full-flow checks complement nine kernel-checked algebra lemmas. The results support precise clock and approximation guarantees, without establishing universal retrieval superiority from directionality.
1 Introduction
Dense retrieval ranks document embeddings by . Compression replaces those vectors by a smaller index; success requires ranking quality at a stated byte budget, not merely visually separated clusters. This distinction is essential because attention-induced clustering is already well studied [1, 2, 3, 4], and representation collapse can harm useful information [9].
We investigate three questions: whether directionality helps retrieval at a fixed budget, whether it attenuates a specified representation perturbation, and what mathematical guarantees survive nonreciprocity. The initial centroid-only hypothesis fails against competitive quantization. That failure motivates a second, explicit hypothesis: constrained skew score calibration may correct
*Correspondence: alpay@lightcap.ai.
task-relevant quantization errors without the ill-conditioning allowed by a general symmetric metric.
The analysis provides three connected results: a sharp metastability exponent controlled by block mass even under exponential particle growth; a second-order attention compression estimate obtained by mass centering; and a unique skew score-correction equation with a computable optimization residual bound. Experiments evaluate both semantic retrieval and geometric nearest-neighbor search, including a ten-million-vector visual-descriptor index. The scalar probability inequalities and standard convex optimization tools used in the derivations are attributed to their established sources.
Directionality and skew geometry. Symmetry and directionality during transformer training are analyzed in [6]. Routing/filtering separation [7] and orthogonal attention [8] use skew structure for different objectives. The latter exponentiates a token interaction operator; our finite retrieval adapter perturbs query-document scores. These token-space operators differ from the descriptor-space correction optimized here against compressed retrieval scores. Symmetric spectral selection [5] has different assumptions from the directed barrier clocks studied here.
Compression and asymmetric retrieval. Two-level softmax size and dispersion corrections are studied in [36]. Here the aggregation analysis controls a vector-valued attention output with skew bilinear scores and explicitly accounts for spherical normalization, rather than claiming size correction as new. Product quantization [18], anisotropic vector quantization [19], query-aware quantization [20], and reduced-rank score regression [21] are essential comparators. Joint query-encoder and quantizer optimization is studied in [34]. Our correction leaves the descriptor extractor fixed, constrains the score operator to a skew subspace, and solves a convex moment equation before rank compression. Low-rank score approximation and query-aware compression are established components. Asymmetric hashing [16, 17] also shows that asymmetry requires a precise task setting; its presence alone does not establish an advantage. Learned rotations for quantization predate this work [22]. Token merging [15] supplies a practical precedent for mass-aware aggregation, but reducing tokens inside a transformer and compressing an external retrieval index are distinct tasks.
The structural Gram identities and exact duplicate aggregation are supporting lemmas. The analytic contribution concerns shielded directed event selection and a two-cluster metastability exponent under a vanishing-skew restriction. For compressed retrieval, the contribution is a constrained score-correction formulation with explicit conditioning, optimization residual, and attention aggregation error bounds. These results distinguish the scope of the present model from general spherical consensus, generic asymmetric retrieval, and unconstrained low-rank regression.
3 Spherical Interaction Model and Retrieval Formulation
For positive masses , skew , , and , the continuous model is
For and equal masses, (1) is the normalized spherical self-attention flow studied in [1, 3]; general query-key bilinear scores are formulated in [2, Section 2.2]. The exponential dot-product kernel is also related to directional mean shift [10, 11], although the projected continuous dynamics here are distinct from its discrete mode-seeking iteration. Its directed barrier is , with . Appendix A gives closed ordinary/skew Gram dynamics, a shielded first-event theorem, an explicit inversion of nearest-pair order, and rotating triangles that exclude unconditional coarsening. Self-edges are explicitly excluded from the corridor's positive external-barrier condition. Figure 1 fixes the geometric notation and distinguishes the two directed barriers between neighboring caps.

Figure 1: Our geometric notation: caps on the unit circle, with directed interactions and unequal barriers. The cap construction is visually motivated by Figure 1 of [3]; this drawing is original.
The same skew form measures cycle directionality. For , the three-cycle log affinity is . For the planar rotation , it equals times the signed triangle area, as shown in Figure 2. Masses and row normalizers cancel exactly; the full derivation is in Appendix A.

Figure 2: The skew interaction measures the directed signed area of a triangle. The figure represents a two-dimensional linear plane; the vertices may also be constrained to a unit circle.
The first ML pilot uses a finite algorithm: . We take , , and two or four steps selected on validation. This is not an exact ODE solver and does not invoke a recursive-merger theorem. Spherical Lloyd clustering of the final vectors selects a partition with ; prototypes average the original vectors.
Document scores are prototype scores expanded through an assignment array. All documents in a cluster therefore tie, resolved by a fixed lexicographic ID order. The pilot also compares a positive-pair-moment skew learned only from fitting queries, its sign reversal, random skew, reciprocal flow, and ordinary spherical clustering. A supervised symmetric-moment control was added after the initial pilot and is labeled exploratory.
Proposition 3.1 (A centroid-only ranking obstruction). If distinct unit vectors share a reconstructed vector, there is a unit query for which their exact score gap is while their compressed scores tie. No centroid-only representation of that cluster preserves every query's strict pairwise ordering.
Proof. Take . The exact score difference is the stated norm; the reconstructed difference is zero. A fixed tie-break cannot recover both this ordering and its reversal under .
This is a standard distortion obstruction applied to the pilot. Improving the dynamics alone cannot restore discarded within-cluster information.
4 Certified Nonreciprocal Score Correction
Let contain original and compressed document vectors, and let contain fitting queries. Score approximation as multivariate regression is established in LoRANN [21, Sections 3.1–3.2]; score-sensitive quantizer losses are developed in [19, Section 3, Theorem 3.2] and [20]. Here the codebook is fixed and the regression variable is restricted to a skew query-side residual. The resulting retrieval distortion is
Thus the target is the uncompressed score, rather than a geometric reconstruction loss that weights every direction equally. Define
and write . These moments are sufficient to fit the correction without storing a query-by-document score matrix.
Theorem 4.1 (Unique calibrated skew solution and residual certificate). Problem (2) has a unique minimizer , characterized by
On the real skew subspace, is self-adjoint and positive definite, with eigenvalues in , where . For any skew approximation , put . Then
In particular if and only if . The bound certifies the convex problem, not global optimality of a subsequent rank restriction.
Proof. Expanding the squared norm gives
For skew variations , differentiation yields . The orthogonal projection onto admissible variations gives (3). For skew , symmetry of and cyclicity of trace imply . Moreover
The lower bound is and the upper bound is . Thus is coercive and strictly convex on this finite-dimensional subspace and has the unique stationary minimizer stated. Set . Then , so , which proves (4), including . Exact quadratic expansion at the stationary point gives . Diagonalizing the self-adjoint operator on an orthonormal skew basis gives . Finally, the normal equation at zero is equivalent to .
The classical conjugate-gradient method [37] solves (3) using the matrix-vector operation . No inversion of a -by- matrix is required. General structured least squares and Sylvester solvers precede this work [29, 30]; the result above specializes that machinery to quantized score distortion and provides the residual used by the retrieval artifact. This formulation also differs from unrestricted reduced-rank score regression [21] by enforcing a Euclidean skew correction and its associated conditioning bound.
For a deployed rank-2r correction, a real Schur decomposition groups the nonzero skew blocks into . We retain the largest and clip each to a prescribed bound . The best-rank principle is the classical Eckart–Young result [38], applied to paired skew singular values. This is the Frobenius-nearest skew matrix satisfying rank at most and spectral norm at most : the singular values occur in equal pairs, the unitarily invariant best-rank approximation retains the largest pairs, and the scalar nearest point to is clipping. If is an inexact full solution with residual at most and is this projection, then
This follows from (4), the triangle inequality, and the quadratic upper bound. The full solver error and the rank-compression error are therefore reported separately. Symmetric and unrestricted normal-equation controls distinguish the skew constraint from generic regression capacity.
4.1 Native-distance margin calibration
For unit original descriptors, cosine and squared-L2 exact rankings coincide. After quantization, the reconstructed norms vary, so native L2 and inner-product PQ rankings need not coincide. We therefore calibrate the score actually used by the L2 index. For a fitting query , let be its exact nearest neighbor and let be a compressed-search hard negative. Put and
The target includes the reconstructed-norm term; dropping it calibrates a different scoring rule. The finite margin objective is
Define and . Its unique minimizer solves
The proof of Theorem 4.1 applies verbatim after replacing the separable moment Hessian by : its quadratic form is , so existence, uniqueness, and the residual error bound are unchanged. The implementation evaluates this operator by grouped query-negative products without forming a design matrix.
To connect this surrogate to ranking, let and let be the calibrated native-L2 score gap. Expanding and cancelling its query-only term gives
For any , a deterministic finite-sample inequality is
Indeed, a reversed pair with has squared gap error at least ; summing and retaining the nonnegative ridge term proves the display. This bounds errors on the specified pairs and does not turn a training-pair certificate into a test-distribution guarantee.
5 Low-Rank Implementation and Index Budget
Let be a product-quantized reconstruction, with subspaces, float32 codewords per subspace, and one uint8 code per document per subspace, following the product-code representation of [18]. The asymmetric-distance construction in [18, Section III-A] keeps the query unquantized and evaluates it against compressed database vectors. For squared-L2 search its ranking score, up to a query-only constant, is
This standard identity explains why the norm term in Section 4.1 cannot be dropped. Our correction changes the query before the same compressed scorer; it does not replace PQ by a new codec. The deployed scorer stores codebooks, codes, and two factors :
Here is absorbed into , and query and document spaces are treated differently. The rank of is at most , not . In the semantic retrieval ablation, the factors are trained using the marginal log-likelihood of judged relevant documents among all corpus documents, with temperature 20 and a factor penalty . Only fitting queries supply supervision. Adam uses learning rate 0.01 for 40 epochs, batch size at most 64. The operator-norm projection is computed exactly from a -dimensional factor core after each update. Validation nDCG@10 selects a checkpoint, including epoch zero. Float32 norm projection is checked with slack; mathematical bounds apply with the actual norm, including that numerical tolerance.
For fixed , the payload size is
Thus replacing by pays for both float32 factors exactly:
Equation (7) counts the product-code storage of [18] and adds the factors in (6); this storage identity is derived here for the chosen representation. Our fixed-budget comparison is PQ64×64 versus PQ64×48 plus factors. Both use exactly 430,016 bytes on SciFact and 330,816 bytes on NFCorpus. This equality includes the adapter, not just the document codes. Common document IDs, text payloads, and encoder weights are excluded from both sides. No original document embeddings are needed for scoring. The Python reference reconstructs vectors to batch matrix products; this is not an optimized lookup-table search engine.
Symmetric and general adapters use identical parameter counts, training data, norm bounds, and checkpoints. Their maximal ranks differ, which is disclosed rather than called a rank-matched control. Unbounded training and the earlier coarse PQ8 codec are retained in the results so the successful-looking variant cannot conceal failed trials. The semantic ablations are exploratory because their variants followed an inspected pilot; the SIFT experiment uses a separately fixed query partition. The finite calibration mechanism is not asserted to be the long-time limit of (1).
5.1 What skew geometry guarantees
Proposition 5.1 (Conditioning and retrieval-error certificate). For real skew with ,
If and , then
Consequently a pairwise exact calibrated margin larger than preserves that pair's order after quantization. Relative to uncalibrated cosine, the conservative error is instead ; calibration changes the target ranking.
Proof. The cross term vanishes since . Apply the resulting norm identity to arbitrary vectors and use for both singular value bounds. Cauchy-Schwarz gives the score error. Subtract the two score errors to obtain the ranking condition. Finally for unit .
For , the condition number is at most . This is an algebraic guarantee; it does not guarantee improved nDCG or certify top- relevance from unlabeled geometry. Radius certificates for the much coarser centroid pilot certify no top-10 sets in the observed data, a useful failure case rather than a reason to suppress the measurement.
Proposition 5.2 (When a skew direction can improve a smooth loss). Let be differentiable at zero, with Frobenius gradient , and put . Over skew directions with ,
There is a strict first-order skew descent direction exactly when . If the second directional derivative is bounded above by along , then .
Proof. Symmetric matrices are Frobenius-orthogonal to skew matrices, so . Cauchy-Schwarz gives the minimum and its attaining direction. Taylor's integral remainder gives the finite-step bound. The case excludes strict first-order descent only; it says nothing about possible second-order improvements.
This is a standard projected-gradient fact, used as a falsifiable mechanism. It explains why directionality cannot be assumed beneficial for arbitrary data. It does not establish that the factorized nonconvex optimizer reaches the best skew matrix, or that skew is better than an unconstrained adapter.
6 Particle Growth and the Metastable Time Scale
For two narrow blocks, normalized interaction weights depend on total block mass rather than the number of identical or nearby particles. This distinction leads to Theorem L.1: if the block-mass ratio is , the limiting center angle is acute, and the skew pairing of centers vanishes, the first cross-block clock has exponent , without a restriction on particle-count growth. Its proof uses a common weighted projective kernel to obtain subexponential intrablock relaxation, then a uniform nonlinear contraction and a cross-block Gram comparison. The block-mass fractions add to one in the final comparison, eliminating the minimum-individual-mass factor. For exactly collapsed blocks with mass ratio , the exponent changes to . This identifies an explicit boundary of the count-invariant regime.
Figure 3 shows the explicit three-point geometry underlying the two-clock example: , , and . For the planar skew rotation and , the favorable directed pair is , although is initially closest. The corridor theorem and Corollary K.5 establish the first-event selection and second-event exponent, respectively.

Figure 3: Exact three-dimensional point coordinates from (31), shown in an orthographic projection. The blue arc is the shielded great-circle corridor; the dashed line projects onto its plane.
7 Experimental Evaluation
7.1 Data, separation, and metrics
We use BEIR [23] SciFact (5,183 documents) and NFCorpus (3,633 documents), one frozen all-MiniLM-L6-v2 encoder [25], mask-aware mean pooling, maximum 256 wordpieces, and normalized 384-dimensional embeddings. Corpus and model revisions and downloaded-file SHA256 values are recorded. SciFact has 648 fitting, 161 validation, and 300 test queries; NFCorpus has 2,072 fitting, 518 validation, and 323 test queries. A fixed 20% query-ID holdout from the official training queries supplies validation; official test IDs are disjoint. Official development sets are not used. The corpus is transductively available for unsupervised codebook fitting, but test qrels are never used for fitting or checkpoint selection.
We report nDCG@10 with exponential relevance gains and Recall@100, averaging three seeds. Confidence intervals bootstrap whole test queries after averaging initialization seeds, with 5,000 resamples; these intervals do not estimate uncertainty across encoders or data sets. No multiple-comparison adjustment is applied, so the exploratory intervals are descriptive. Encoder pretraining overlap with BEIR cannot be excluded, and the semantic adapter uses labels while plain PQ does not. A separate fresh benchmark is needed for a confirmatory generalization claim. MTEB [24] motivates evaluation across tasks rather than treating clustering quality as retrieval quality.
7.2 Semantic Retrieval and Coarsening Ablations
Table 1: Fixed-byte retrieval comparison. Values are means over three seeds. PQ48 alone uses fewer bytes; all three adapters and PQ64 have identical payload sizes within each dataset.
| Method | SciFact | NFCorpus | ||
|---|---|---|---|---|
| nDCG@10 | R@100 | nDCG@10 | R@100 | |
| PQ64×64 | 0.6124 | 0.9159 | 0.3046 | 0.2925 |
| PQ64×48, no adapter | 0.6127 | 0.9131 | 0.3019 | 0.2958 |
| PQ48 + bounded skew | 0.6210 | 0.9203 | 0.3049 | 0.3000 |
| PQ48 + bounded symmetric | 0.6165 | 0.9196 | 0.3053 | 0.2984 |
| PQ48 + bounded general | 0.6222 | 0.9140 | 0.3057 | 0.2989 |
| Uncompressed float32 | 0.6451 | 0.9250 | 0.3173 | 0.3115 |
On SciFact, the skew-minus-byte-matched-PQ nDCG difference is +0.0086, with a query-bootstrap 95% interval [-0.0038, +0.0207]. On NFCorpus, the skew-minus-byte-matched-PQ nDCG difference is +0.0003, with a query-bootstrap 95% interval [-0.0057, +0.0061]. The SciFact point estimate is positive, but neither fixed-byte confidence interval excludes zero. The general adapter is competitive, and the matched adapter controls do not establish a unique benefit of skew structure in this fine-codec regime. The ancillary records include the coarse PQ8 codec and unbounded-adapter ablations. The float32 document-vector payload is reduced by a factor of 18.51 on SciFact and 16.87 on NFCorpus. These ratios exclude common encoder, IDs, and text storage and do not describe end-to-end system memory.
Table 2: Coarsening ablation on SciFact: nDCG@10 by prototype budget and local perturbation stability.
| Method | Prototype budget K | Noise amplification | Neighbor Jaccard | ||
|---|---|---|---|---|---|
| 128 | 256 | 512 | |||
| Spherical clustering | 0.0774 | 0.1350 | 0.1954 | 1.000 | 0.990 |
| Reciprocal flow | 0.0866 | 0.1338 | 0.1980 | 0.812 | 0.991 |
| Directed flow | 0.0813 | 0.1333 | 0.1950 | 0.811 | 0.991 |
| Coarse PQ8 reference | 0.3713 (no prototype budget) | — | — | ||
7.3 Joint Particle-Count and Temperature Scaling
The growing-system theorem predicts a count-independent exponent for balanced near-collision blocks, even if is exponential in . We integrate the full smooth particle ODE with distinct, noncollapsed initial points and for . The center angle is 0.8, the threshold is 0.3, and the skew operator is nonzero with zero restriction to the center plane. Initial off-plane perturbations have radius . Each block has total mass one; no forced collisions or quotient replacement are used in this experiment. A second regime gives individual log masses a range within each block before normalizing each block to total mass one. It violates the older minimum-individual-mass scaling condition while preserving the block-mass hypothesis of Theorem L.1.
Table 3: Full-flow joint scaling, . Total block masses are balanced. Extreme intrablock weights have logarithmic range .
| Weights | |||||
|---|---|---|---|---|---|
| Uniform | 0.15 | 8 | 4 | 2.3634 | 0.36744 |
| Uniform | 0.15 | 12 | 7 | 4.4670 | 0.33180 |
| Uniform | 0.15 | 16 | 12 | 10.4881 | 0.32018 |
| Uniform | 0.15 | 20 | 21 | 26.3024 | 0.31327 |
| Uniform | 0.15 | 24 | 37 | 68.7424 | 0.30868 |
| Uniform | 0.25 | 8 | 8 | 2.3940 | 0.36905 |
| Uniform | 0.25 | 12 | 21 | 4.7178 | 0.33635 |
| Uniform | 0.25 | 16 | 55 | 10.3133 | 0.31913 |
| Uniform | 0.25 | 20 | 149 | 25.5085 | 0.31174 |
| Uniform | 0.25 | 24 | 404 | 68.7768 | 0.30871 |
| Extreme | 0.25 | 8 | 8 | 2.3905 | 0.36887 |
| Extreme | 0.25 | 12 | 21 | 4.4808 | 0.33206 |
| Extreme | 0.25 | 16 | 55 | 10.0135 | 0.31728 |
| Extreme | 0.25 | 20 | 149 | 23.7073 | 0.30808 |
| Extreme | 0.25 | 24 | 404 | 68.9838 | 0.30883 |
The diagnostic removes the leading logarithmic endpoint factor to expose finite-temperature convergence; the theorem itself concerns . These finite computations support the stated joint-limit regime and do not prove it. The exact-block mass-imbalance check separately distinguishes the limiting rates and when the block-mass ratio grows as .
The Gaussian perturbation test adds noise of expected norm approximately 0.01 to corpus embeddings, renormalizes, and measures output displacement amplification and top-10 neighbor overlap on a deterministic 256-point sample. It is a specified local stress test, not evidence for stability under domain shift, different encoders, or adversarial perturbations. The reciprocal and directed flows show similar attenuation; a small measured attenuation difference does not establish a directionality advantage.
7.4 Million-Vector Visual Retrieval
We use all 1,000,000 SIFT-128 database descriptors from the public ANN-Benchmarks dataset [33]. Each descriptor is normalized to unit length. We recompute exact cosine top-100 ground truth using IndexFlatIP; the dataset's supplied Euclidean neighbors are not reused. The 10,000 queries are split by fixed order into 2,000 fitting, 2,000 validation, and 6,000 test queries. No language model or descriptor fine-tuning is used in this experiment.
Each FAISS [32] index uses 16 eight-bit PQ subspaces, trained on a fixed 65,536-vector corpus sample. OPQ [31] uses 15 outer iterations before a separately trained PQ codebook. Three PQ initialization seeds are evaluated. Calibration uses only fitting queries and the same corpus sample; validation nearest-neighbor hit@10 selects . Corrections have spectral norm at most 0.5 and rank at most 16. The general rank-16 control stores twice as many factor entries as the canonical skew representation; the table includes that actual storage difference.
Table 4: Normalized SIFT1M: exact-nearest-neighbor hit@10/100, top-10 set recall, persistent serialized index plus correction size, and measured query time. Means over three codebook seeds.
| Method | Hit@10 | Hit@100 | Set R@10 | MiB | ms/query |
|---|---|---|---|---|---|
| PQ | 0.4189 | 0.7752 | 0.2258 | 15.384 | 0.729 |
| PQ + skew | 0.4221 | 0.7814 | 0.2283 | 15.392 | 0.730 |
| PQ + symmetric | 0.4246 | 0.7843 | 0.2302 | 15.392 | 0.729 |
| PQ + general | 0.4257 | 0.7838 | 0.2293 | 15.399 | 0.729 |
| OPQ | 0.3477 | 0.7215 | 0.1895 | 15.446 | 0.741 |
| OPQ + skew | 0.3558 | 0.7303 | 0.1935 | 15.454 | 0.737 |
| OPQ + symmetric | 0.3539 | 0.7301 | 0.1934 | 15.454 | 0.735 |
| OPQ + general | 0.3709 | 0.7465 | 0.2012 | 15.462 | 0.729 |
Hit@k is the fraction of test queries whose exact nearest neighbor appears among the first k returned documents. Set recall@10 is the fraction of the exact top-10 set recovered. Search uses exhaustive compressed lookup-table scans, not reconstructed full vectors. Timings include the OPQ query rotation and factored correction, exclude metric evaluation, use four FAISS threads, and take the median of three full-test searches after warm-up. They are amortized batch-query times on the recorded host, not single-request tail latency.
For PQ, the skew-minus-base hit@10 difference is +0.0031, with query-bootstrap 95% interval [+0.0008, +0.0053].
For OPQ, the skew-minus-base hit@10 difference is +0.0081, with query-bootstrap 95% interval [+0.0059, +0.0104].
These intervals average seeds before resampling test queries and do not quantify between-dataset uncertainty. Neither a smaller calibration loss nor a positive point estimate is treated as a universal retrieval advantage. The score-calibration theorem certifies its convex distortion objective; measured neighbor recovery remains a separate empirical quantity.
Native-distance controls. Because the exact descriptors are unit length, squared-L2 and cosine exact rankings agree. Quantized reconstructions have varying norms, so their compressed L2 and inner-product rankings can differ. The following native-distance controls are therefore required before interpreting a calibration gain.
Table 5: Strong native-L2 controls and calibrated hard-negative margins on SIFT1M. Query correction is included in timing; all values average three codebook seeds.
| Method | Hit@10 | Hit@100 | MiB | ms/query |
|---|---|---|---|---|
| PQ-L2 | 0.8926 | 0.9981 | 15.384 | 0.731 |
| PQ-L2 + score skew | 0.8905 | 0.9974 | 15.392 | 0.737 |
| OPQ-L2 | 0.8357 | 0.9941 | 15.446 | 0.758 |
| OPQ-L2 + score skew | 0.8288 | 0.9928 | 15.454 | 0.753 |
| PQ-L2 + margin skew | 0.8948 | 0.9981 | 15.392 | 0.745 |
| PQ-L2 + margin symmetric | 0.8996 | 0.9986 | 15.392 | 0.747 |
| PQ-L2 + margin general | 0.8991 | 0.9987 | 15.399 | 0.733 |
The margin experiment uses 16 compressed-search hard negatives per fitting query and the norm-aware target in Section 4.1. Validation chooses among ridge penalties ; the smaller initial penalty grid failed the solver stopping criterion and was replaced by a diagonally preconditioned solve before this final evaluation. All final residuals and validation grids are retained. Native L2 changes recovery much more than the skew score correction. Margin calibration improves its target alignment, while symmetric and general margin controls remain stronger in this experiment; no unique empirical advantage of skew is inferred.
The margin-skew minus native PQ-L2 hit@10 difference is +0.0022, with query-bootstrap interval [+0.0002, +0.0043].
Table 6: Rank sensitivity of the score-distortion skew correction for native PQ-L2, seed 0. The ridge penalty is fixed to its validation-selected value.
| Rank | Hit@10 | Hit@100 | Correction bytes | Distortion objective |
|---|---|---|---|---|
| 2 | 0.8913 | 0.9978 | 1024 | 2.765e-04 |
| 4 | 0.8910 | 0.9978 | 2048 | 2.755e-04 |
| 8 | 0.8913 | 0.9978 | 4096 | 2.753e-04 |
| 16 | 0.8912 | 0.9978 | 8192 | 2.752e-04 |
| 32 | 0.8917 | 0.9978 | 16384 | 2.751e-04 |
7.5 Ten-Million-Vector Search and Memory Compression
We ingest the first 10,000,000 real BIGANN SIFT descriptors from the public billion-scale benchmark archive, without duplicating the one-million-vector dataset. The source prefix is obtained by an exact HTTP byte range, its length and SHA256 are recorded, and the descriptors are normalized in streaming blocks. Exact cosine top-100 neighbors are recomputed for all 10,000 public queries. The same fixed 2,000/2,000/6,000 fitting/validation/test partition is used. The public BIGANN query file has no exact descriptor overlap with the SIFT1M query file in this run.
The engineered index is native FAISS [32] IVF4096,PQ16x8 with squared-L2 scoring. It is trained on 262,144 sampled corpus descriptors and ingested in blocks of 200,000. Search uses an Apple M4 Pro host with 48 GiB RAM, macOS 26.3, and four CPU threads. We report a single built index and a probe-budget sweep, rather than treating probe settings as independent seeds. Serialized size includes vector IDs, inverted lists, codebooks, and coarse centers; it is a persistent payload measurement, not process peak RAM.
Table 7: BIGANN10M IVF-PQ search: 6,000 held-out queries. Median of three timed batch searches, four CPU threads.
| Probes | Approx. scanned vectors | Hit@10 | Hit@100 | ms/query |
|---|---|---|---|---|
| 4 | 9,766 | 0.6722 | 0.7080 | 0.0233 |
| 16 | 39,062 | 0.8402 | 0.9202 | 0.0568 |
| 64 | 156,250 | 0.8827 | 0.9862 | 0.1794 |
| 256 | 625,000 | 0.8862 | 0.9963 | 0.6159 |
The serialized index occupies 231.04 MiB, compared with 4.77 GiB for raw float32 vectors. Training takes 17.21 seconds and streaming ingestion 66.30 seconds on the recorded host. Ground-truth construction is excluded from both build timings.
The end-to-end skew margin control is also run through IVF routing and candidate scoring. Its validation protocol includes the identity update; validation selects that identity here. Accordingly its test rankings are unchanged and no ten-million-vector calibration gain is claimed. This guards against attributing index-parameter effects to a learned correction.
Mass-centered attention memory. To test the finite-compression theorem directly, we aggregate each of the 4,096 IVF cells by its exact count and the arithmetic mean of its original normalized keys. A streamed pass computes exact attention over all 10 million keys for 1,024 held-out queries at three inverse temperatures, with a fixed rank-two skew interaction of strength 0.3. The comparison retains identical cell masses and contrasts the exact barycenters, normalized barycenters, and the original sample-trained coarse centroids. It therefore isolates centering/normalization effects rather than changing the partition.
Table 8: Ten-million-key attention memory: mean Euclidean output error against exact streamed attention. All three methods retain 4,096 centers and the same cell masses.
| Mass-centered | Normalized centers | Trained coarse centers | |
|---|---|---|---|
| 1 | 0.003735 | 0.095486 | 0.003869 |
| 8 | 0.028480 | 0.096562 | 0.026600 |
| 32 | 0.095027 | 0.117941 | 0.091391 |
The center-and-count payload is 2.031 MiB, versus 5.12 GB of original key vectors. This compresses an attention-memory readout, not document identities or exact nearest-neighbor rankings. The measured error increases at high inverse temperature, consistently with the explicit temperature factors in Theorem 8.1; the small-radius theorem is not interpreted as a uniformly small error bound for arbitrary IVF cells.
7.6 Computational Complexity and Evaluation Scope
The dense coarsening reference requires arithmetic and attention storage. The deployed correction is evaluated through compressed FAISS indices, using query-side work for a rank-2r factorization. Section 7.4 measures complete lookup-table search separately from metric evaluation, with native PQ and optimized product quantization (OPQ) controls. Quality, persistent index size, and measured query time are reported jointly; reconstruction error alone is not used as a retrieval claim.
8 Second-Order Mass-Centered Attention Compression
Exact mass aggregation becomes quantitatively stronger when the compression center cancels the first moment. In a block , put , and , without normalizing . Assume and . Let be the softmax using masses and scores for a unit query . The factor is the mass correction already used for proportional attention in token merging [15, Section 3, Eq. (1)]; for unit item masses it adds to the cluster logit. Size and dispersion corrections in two-level softmax are analyzed in [36, Sections 3–4]. The theorem below controls the vector output and the additional error caused by normalizing the barycenter.
Theorem 8.1 (Centered log-partition and attention error). Write and . The exact block probabilities are obtained from by adding logit corrections with
If is the full attention output and , then
For fixed , this is rather than the uncentered bound. The order cannot be uniformly improved.
Proof. In each block the residuals have weighted mean zero. The scalar lies in and has mean zero. Jensen's inequality gives the lower bound. Hoeffding's bounded-variable log-moment inequality [28], with range length , gives . Factoring the exact block numerator as proves the probability formula. If , normalization multiplies each by a ratio in , so the probability error is at most .
It remains to compare the within-block, tilted mean to . Define
Direct differentiation gives . The covariance is positive semidefinite and
Hence . Sum this estimate with the exact block probabilities and then bound the probability replacement using . This proves (8).
For sharpness take one equal-mass block with , , and . The center is , , and the exact second output coordinate is . For fixed its ratio to tends to , so a uniform output bound is impossible. Also , attaining the second-order log-partition coefficient asymptotically.
If a spherical representative is required, use whenever . The unit-key identity implies . Applying the logit perturbation estimate once more adds at most to (8). This explicitly accounts for normalization rather than treating a Euclidean barycenter as a unit vector. The aggregation estimate controls attention-output error, whereas the calibrated quadratic controls retrieval-score distortion. Their joint use is explicit: a partition first fixes masses and representatives; its centered residuals then enter and in the calibration objective. The residual certificate quantifies the additional optimization error. These quantities can therefore be measured separately instead of treating small cluster radius as an unqualified guarantee of ranking preservation.
9 Verification and Reproducibility
The additional equation audit checks 60 independently assembled skew-basis systems (maximum solution difference 9.76e-13), automatic derivatives and centered finite differences (maximum directional error 5.47e-13), and 240 centered-attention configurations. A directed-rounding interval residual enclosure is included for a small exact-float input system. It bounds the optimization gap for that instance, rather than claiming interval certification of the entire large benchmark. A further 300 heterogeneous-mass configurations test the projective common-kernel diameter inequality used by the growing-block theorem; the maximum projective differential-identity error is 6.66e-16, with no contraction-bound violations. These finite tests complement the analytic argument. The analytic ODE theorems have handwritten proofs and are not fully formalized. The checked file formal/Algebra.v proves nine kernels: finite-sum Gram product algebra; duplicate-mass summation; planar cycle-area algebra; skew-ratio cancellation under
; the transverse-contraction constant inequality; a pairwise ranking-gap inequality; the algebraic relative-clock comparison; cap-minimum positivity; and the projective coordinate cancellation. Rocq 9.1.1 compilation and the independent coqchk library checker both succeed. No project-defined axioms or admitted proofs are used. The assumption log explicitly lists standard classical-real and functional-extensionality dependencies. We do not call these proofs axiom-free.
Lean/mathlib is a viable alternative for a larger analytic development, with axiom auditing via #print axioms [26]; Rocq's small kernel serves the corresponding check here [27]. Neither system automatically certifies a prose theorem by recognizing its displayed equations. The formal statement must faithfully encode the hypotheses and analysis. SymPy cancellation, randomized differential identities, finite differences for the rotating spectrum, a second ODE integration method, and counterexample tests supply complementary evidence but not substitutes for that formalization. The audit runner fails on missing evidence, admitted proofs, broken byte budgets, test-label overlap, or numerical identity failures; unresolved conjectures remain explicitly unresolved.
10 Discussion
The spherical flow and compressed scorer use the same skew bilinear geometry, but their guarantees concern different objects: metastable event times, attention output approximation, and query-document ranking distortion. The second-order aggregation bound and the certified calibration objective provide explicit links between these objects without identifying a finite query update with an infinite-time coarsening limit. The empirical comparisons are interpreted within the tested descriptors, index budgets, and query splits. The full-flow prefactor requires stronger synchronization than its logarithmic exponent and is not inferred from a numerical fit.
A Closed Gram Geometry and Supporting Analysis
Fix integers , masses , a real skew-symmetric , and . Set . For with , define
All solutions exist uniquely for all on the compact manifold .
The directed barrier is
where and . In particular , and
Although both transition probabilities are positive, their scales need not be comparable.
A.1 Simultaneous congruence of two Gram matrices
Write for the matrix with rows . Set
Then exactly. This simple matrix identity leads to a useful invariant geometry.
Theorem A.1 (Closed Gram dynamics and preserved pencil). The pair obeys the closed system
The coefficient matrix is determined by alone through
For every finite there is an invertible with
Consequently rank , rank , and the common row span of are preserved at finite times. If is nonsingular, the eigenvalues of are constant in time.
Proof. Differentiate and , using , to obtain (13). The fundamental solution , is invertible at finite times and satisfies . Hence (15). For invertible , which is a similarity transform. The remaining assertions follow from invertibility of .
Remark A.2. For , is necessarily singular and the statement concerning is unavailable. The simultaneous congruence (15), and hence the algebraic matrix pencil , nevertheless remain meaningful. This invariant is structural, not a general formula for merger order.
A.2 Cyclic affinity equals a directed geometric area
Define the logarithmic affinity of a three-cycle by
All mass and normalization factors cancel:
If and , the last expression is times the signed Euclidean area of the triangle . Thus the instantaneous Kolmogorov cycle criterion becomes an oriented area condition. It concerns reversibility of the instantaneous positive Markov matrix , not time reversibility of the nonlinear ODE.
B A global consensus region without a gradient structure
Despite the lack of reciprocal weights, an acute configuration is globally attracted to consensus. This is a quantitative specialization of prior cone-collapse results, not a new consensus mechanism: the proof of [2, Lemma 4.2] explicitly extends to general query-key matrices. Lemma K.1 gives the standard projective-coordinate extension to a whole open hemisphere.
Theorem B.1 (Acute-cone consensus). If for all , then every pair satisfies as . More precisely, letting
one has and, at almost every ,
In particular, decays exponentially in for each fixed .
Proof. For direct differentiation gives
Choose an active minimizing off-diagonal pair . If , then and , so each term in the first sum is nonnegative; the second sum is handled identically. Retaining only in the first sum and in the second yields . For every configuration, . The finite minimum of smooth functions is absolutely continuous and satisfies the lower differential estimate almost everywhere. Scalar comparison gives (19) and the conclusion.
Remark B.2. The convergence theorem does not give a sharp merger order. It also does not assert consensus for arbitrary non-acute configurations, as the rotating triangle in section F demonstrates.
C The exactly integrable two-body subsystem
For , set and . Writing and , the equations reduce to
Thus the signed ratio
is conserved whenever . The stronger statement with the sign of follows from (21); merely conserving its square would lose the orientation.
For , define and by substituting into
The exact hitting time of is
Proposition C.1 (Two-body exponential clock). For fixed masses, ,
If , the hitting time is exponentially long with rate .
Proof. Uniformly for in the compact interval , the inverse two-sided transition rate has logarithmic exponential rate equal to where . The function is convex and . Hence its maximum on cannot exceed ; if the maximum is attained at , and otherwise the positive part vanishes throughout. Applying the Laplace principle to (24), whose nonexponential factor is bounded above and below, proves (25).
D Directed corridor selection of a first threshold event
A first merger means the first crossing of a prescribed positive angular threshold. Exact collision at finite time cannot occur by uniqueness of the smooth flow.
Definition D.1 (Geometric isolation corridor). Select an ordered pair with initial angle , a threshold , and initial points . Let be the shorter oriented great-circle arc from to . Define as the compact family of configurations in which lie on in their original order, satisfy , and every with is fixed at . The pair has a strictly shielded corridor if, with
there are constants such that throughout :
(i) Every off-diagonal directed edge , with , other than , has .
(ii) Every unordered pair other than has angular separation at least .
The full off-diagonal-edge condition in (i) is deliberately stronger than needed; it makes the proof transparent and includes all possible competitors.
Theorem D.2 (First-merger selection and sharp exponential rate). Under theorem D.1, for all sufficiently large , the pair is the unique first pair to reach angle . If denotes this first hitting time, then
The theorem holds for arbitrary fixed positive masses and any fixed skew-symmetric .
Proof. We provide the bootstrap details, since a bare comparison of initial barriers is insufficient. Write . Each barrier is -Lipschitz in the max norm of configurations. In a fixed sufficiently small tubular neighborhood of , all external barriers exceed and all external angular gaps exceed .
The two moving points on the same oriented great circle have with a fixed signed determined by the plane and its orientation. Thus the favorable internal barrier is
As in theorem C.1, this is a convex function of , equals at the original separation, and equals zero at coincident points. It is therefore bounded above by along the corridor. In a sufficiently small tube, .
Because , uniform positivity of masses yields the estimates
More precisely, in the second bound we sum over edges outside the chosen two directed edges, including edges emanating from external points. This notational convention will be used below. The internal two-body vector field moves toward one another along their common great circle with nonnegative scalar speeds and . The external field has max norm at most .
As long as the solution remains in the tube and , the angular equation obeys
for large . The crossing time is consequently at most . If is the maximal normal deviation, then . On the fixed interval , one has . Hence before threshold crossing, including when is initially negative. Gronwall therefore controls normal amplification uniformly. During this period external points, and the normal deviations of away from the oriented great circle, move by at most . Tangential components of the internal field point into the arc, while the integrated external error is of the same exponentially small order. A first-exit bootstrap closes the tube assumption. All competing angular gaps stay above , proving selection.
To sharpen the clock, the distance of the true solution from is . Hence the favorable internal barrier is at most and for large . The angular comparison improves the bound to .
Conversely, for arbitrary a sufficiently small neighborhood of has every off-diagonal directed barrier at least . Within this neighborhood all particle speeds are at most . A fixed positive displacement is necessary before the angular threshold can be reached, so . Taking logarithms, then and , gives (27).
Remark D.3 (Interpretation and scope). The selection theorem is not the statement that the globally smallest initial barrier always wins. It requires a barrier gap throughout an explicit continuum of geometric configurations. It does not claim permanence of a pair after threshold crossing.
E An analytic three-point inversion of Euclidean proximity
Consider , , and
Angles here and in the figures are measured in radians. The three initial angles are
Thus the closest pair is , not . But the favorable edge of has barrier
By contrast .
For arbitrary moving points on the -arc , the external scores against the fixed satisfy
while . Consequently
All external angular gaps are at least 0.8. With , theorem D.2 applies and guarantees
with .
Along the isolated directed corridor with angular separation , the favorable internal barrier is , and its maximum on is its value at . Its opposite-directed counterpart is . Figure 4 compares these two functions with the uniform external-barrier lower bound in (35).

Figure 4: The entire corridor, rather than the initial ordering alone, certifies the first event. The external barrier stays strictly above the favorable internal barrier's initial maximum.
Theorem E.1 (Two separate exponential clocks in the explicit configuration). For the initial data (31) let be the first crossing of angle 0.3 and
Then for every , and with ,
Thus the first event and any event involving the external third point are separated on the exponential scale. This earlier lower bound is sharpened to the exact exponent by Corollary K.5 below.
Proof. The three initial scalar products are positive, so by theorem B.1. It remains to prove the lower bound. Let denote the entire planar arc of angles in the -plane, and fix any . In a small fixed neighborhood of configurations in which and retains its initial position, every external directed barrier is at least for arbitrarily small fixed . Their total transition force is bounded by .
Here it is essential to control the two internal points for a time much longer than their first event. Write for their coordinates normal to the -plane, and let . The internal portion of their equations is and , where . At any active maximum of , positivity of gives the upper Dini-derivative bound
Meanwhile satisfies , with . As long as ,
Gronwall therefore yields .
The planar angular coordinates of satisfy cooperative equations: at the smaller angle the internal contribution is nonnegative, and at the larger it is nonpositive. The external contributions are while the planar radii stay bounded away from zero. Thus the smaller angle remains above and the larger below . Also . These estimates close a tubular bootstrap for whenever , since . Throughout this interval, stays at angular distance at least from both other points. Consequently for all large . Letting proves the first inequality in (38); the second follows from theorem D.2.
For the isolated internal pair, the boundary Laplace method yields the leading prefactor
The reason is that the maximal favorable barrier occurs uniquely at the initial endpoint and its derivative there is strictly positive. All external effects in the corridor are exponentially smaller, even after multiplication by . A complete relative phase-speed comparison is needed to transfer this isolated endpoint calculation to the full ODE; the logarithmic first-event theorem alone does not imply the prefactor. Equation (41) should therefore be read as an isolated-pair asymptotic and a full-flow prediction pending that comparison.
F Rotating relative equilibria and the absence of universal coarsening
Set , , equal masses, and . At equally spaced angles
the angular ODE induced by (9) gives
For this is a nonconstant periodic orbit, with for all . It is a rotating relative equilibrium, not a merger. In particular no unconditional theorem claiming that all separated configurations coarsen can hold. Nor can the full vector field be the gradient of a time-independent scalar potential for a positive-definite Riemannian metric, because a nontrivial periodic orbit would contradict strict energy monotonicity.
For , the angular velocity obeys
exhibiting a potentially exponentially long rotation time scale, distinct from an exponentially long merger time. Figure 5 depicts the resulting relative equilibrium.

all pairwise angles remain
: rigid rotation rather than collision
Figure 5: A nontrivial periodic orbit in the nonreciprocal three-body flow. Arrows indicate the direction for one sign of ; reversing reverses rotation.
F.1 Exact rotating-triangle spectrum
The angular equation is . The rotating triangular relative equilibrium has an exact spectrum; its neutral mode must not be confused with asymptotic stability.
Theorem F.1 (Strict relative instability of the rotating triangle). For every and , the equilateral relative equilibrium on has one zero angular eigenvalue (common rotation) and two eigenvalues with strictly positive real part. Let
Then and, with
the eigenvalues are
In fact .
Proof. At each equilateral configuration, the two off-diagonal derivatives in the angular Jacobian are . Rotational equivariance makes its diagonal entry and its circulant eigenvalues give (48). A rearrangement yields
Since , , and , we conclude . The asserted strict real-part bound follows.
Remark F.2. On with three points there are precisely three angular eigenvalues: one zero and the conjugate pair. There is no additional independent transverse mode. In the symmetric case , the two nonzero eigenvalues coincide and are positive. Their smallness for large describes a weakly unstable, rather than attracting, triangular orbit.
G What happens after the first event?
The next question is whether the dynamics admits a rigorous recursive reduction. We can prove the exact reduction on a collision manifold, but not yet the requisite shadowing of this manifold by near-collisions.
Proposition G.1 (Exact weighted quotient on collision strata). Let be a partition of . The stratum
is flow-invariant. On this stratum the exact reduced equations for have the form (9), with the combined masses
Proof. If , the th and th rows of the attention kernel have the same denominator and induce the same velocity; uniqueness maintains equality. Terms in the same block of a numerator add as , giving the reduced system.
Proposition G.2 (Uniform transverse linearization at complete consensus). At , with , the linearized flow is
The mean mode has eigenvalue zero and all transverse modes have eigenvalue , independently of .
Proof. At consensus the weighted probabilities are . The derivative of multiplies , which is removed by . The derivative of the projection contributes , while differentiation of the value vectors contributes . This gives (52).
H Partial-collision stability and a boundary-layer prefactor
H.1 What the normal exponent really is
The eigenvalue -1 from theorem G.2 is not the exact normal eigenvalue of a partially collided block. Here is the correct general formula.
Proposition H.1 (Exact normal linearization of a two-point collision stratum). At a configuration with (but other points arbitrary), let
The covariant linearization of the relative perturbation is
If , then
Thus a shield with makes the normal eigenvalues , not identically -1.
Proof. With the key configuration frozen, write , . The difference of the two vector fields is exactly , so key variations cancel to first order in the relative mode. Differentiating the row-wise softmax gives
The tangent projection of is (54). Since the internal key vectors are , we have and . The operator bound follows.
Remark H.2 (Correct Lyapunov scaling). For and an exact normal law , one has , not -V. More importantly, the exact collision stratum is invariant: there is no arbitrary additive external forcing in the relative equation, because identical queries have identical velocities. A robust nonlinear tube bound still requires a uniform estimate of in a neighborhood, as well as control of the quotient dynamics; theorem H.1 alone is not a global shadowing theorem.
H.2 The rotating inner pair produces a nonvanishing exponential bias
Return to the three-point configuration (31) and first suppress its external point. Write and , starting at . The two internal transition probabilities are
Consequently . The final center angle of the isolated pair is exactly
Proposition H.3 (A finite bias left by the inner boundary layer). For fixed and initial ,
Proof. Set in (58). For each fixed , the numerator-to-total ratio converges to . The ratio is bounded by ; since on for , dominated convergence applies. Thus .
The displacement vanishes geometrically, but and hence its influence on a directed exponential weight does not vanish.
H.3 A rigorous prefactor for the exactly collapsed quotient
Let and . Consider an exact two-body quotient initialized at , with masses and the same . Let denote its hitting time of angle 0.3.
Theorem H.4 (Matched prefactor for the exact reduced model). For and the configuration above, set , , . Then
Proof. The initial ordinary and skew scalar products satisfy
Thus the two directed barriers at the initial endpoint are . With masses , their two probabilities obey
The two-body first integral (22) preserves the skew product to relative order in the endpoint layer. In (24), the maximal exponential barrier occurs at its initial endpoint with derivative in the c coordinate. The endpoint Laplace method gives , proving the claim.
Remark H.5 (Crucial scope distinction). This theorem is exact for the constructed reduced two-body dynamics. To identify with the second-event clock of the original three-point flow up to , one must still prove quantitative post-event shadowing and a controlled event crossing. The observed diagnostic approaching 1 from above at the available does not imply a limiting value of 1: the reduced model predicts the different limit 0.95054656.
Table 9: The full three-body numerical diagnostic compared to the exact two-body quotient quadrature; neither finite table implies equality of the asymptotic limits.
| (full ODE) | (quadrature) | relative gap | |
|---|---|---|---|
| 20 | 1.173906 | 1.167887 | |
| 25 | 1.103809 | 1.102014 | |
| 30 | 1.066502 | 1.065996 | |
| 35 | 1.044172 | 1.044034 | |
| 40 | 1.029349 | 1.029312 | |
| 50 | 1.010709 | 1.010707 |
Figure 6 extends the quotient quadrature to larger and displays the distinction between the reduced-model limit and finite full-flow measurements.

Figure 6: The boundary layer produces an order-one skew-weight correction. The numerically calculated exact quotient tends toward its proved limit, while finite- full dynamics closely follow the reduced clock. A proof of uniform full-flow matching remains open.
H.4 The remaining nonlinear shadowing bridge
The first threshold is defined at angle 0.3, so at the event time itself : the trajectory is not yet within of the collision stratum. A separate post-threshold relaxation interval is necessary. Once the directed inner rate is bounded below, reaching a polynomially small transverse scale takes time; reaching an exponentially small one may take time. Thus the fast time variable cannot be asserted universally from the collision eigenvalue, which is of order one under a shield.
A promising route for proving equality between full and quotient prefactors is to use the integrated interaction rate rather than a global Lipschitz estimate. For the exact two-body quotient, gives
(63) when stays away from . Hence the integral of a Jacobian bound of order is only despite the exponential physical time interval. If a transverse discrepancy has already decreased to with sufficiently large , the corresponding variation-of-constants estimate can potentially be closed. This is an approach, not yet a verified full-flow shadowing theorem; the required coupling and event-transversality inequalities must be supplied.
H.5 What the Gram pencil does not prove
When and is invertible, is similar to the fixed matrix . Thus its spectrum, for instance when is the coordinate-plane rotation in three dimensions, is determined by itself and is not a new angular-momentum law or a merger-order selector. For the conserved pencil describes the restriction of to the time-independent row span; for it is singular and requires a reduced pencil. Finite-time congruence preserves rank, but a rank-deficient limit is possible because the congruence transformations can become ill-conditioned as .
Open problem H.6 (Rigorous second-merger shadowing). Suppose a first pair has entered a neighborhood of its collision stratum, while the remaining directed barriers stay separated. Find verifiable geometric and spectral hypotheses that imply, on a time interval of length ,
and that the induced quotient trajectory is sufficiently accurate to preserve the identity and exponent of the second threshold crossing. Can the hypotheses be propagated after a second crossing?
The scale is motivated by the exponential sensitivity to barrier errors: an displacement may induce an order-one multiplicative change in transition rates. Even if (64) holds, a separate transversality condition is needed to ensure that a small perturbation of a trajectory preserves the identity of a near-simultaneous merger.
H.6 Numerical two-event separation
We integrated (9) in the concrete example (31) using a high-accuracy adaptive DOP853 solver with stable row-wise softmax and event detection at angle 0.3. The first event is (1,3). The second event is the first time another pair crosses the same threshold, with no forced collision or merging applied in the ODE. Table 10 and Figure 7 report the measured separation of these two events.
Table 10: Numerical threshold events for (31); these data are not a theorem about the second-event asymptotic.
| first event | second event | ||
|---|---|---|---|
| 12 | 2.0294 | 4.6172 | 2.28 |
| 16 | 1.9790 | 10.2422 | 5.18 |
| 20 | 1.9727 | 25.2915 | 12.82 |
| 25 | 2.0134 | 86.6800 | 43.05 |
| 30 | 2.1017 | 317.9790 | 151.29 |
| 35 | 2.2405 | 1215.7801 | 542.65 |
| 40 | 2.4404 | 4778.0083 | 1957.89 |
| 50 | 3.1102 | 77908.7874 | 25050.07 |

Figure 7: Two distinct numerical clocks. The first clock is covered by theorem D.2; the rapidly growing second clock still lacks a rigorous general geometric selection theorem.
H.7 The sharp second-clock exponent
The exact weighted quotient in theorem G.1 suggests a specific exponent for the second event. If the first pair becomes a stable two-mass block at a point converging to as , then its angle from the remaining point is asymptotically 0.8, and its limiting directed skew product is zero. This motivated the formerly open identity, now proved in Corollary K.5,
The diagnostic takes the values 1.174, 1.067, 1.029 and 1.011 at . The rigorously calculated exact-quotient prefactor in theorem H.4 is 0.95054656, not 1 and not the naive zero-skew quotient value . That numerical match, even at very high relative accuracy, does not yet prove that the full three-body has the same prefactor. The full-flow second exponent is now given by Corollary K.5; the prefactor remains unresolved.
I A proof audit of second-clock preservation
The claim that a small normal distance from a collision stratum automatically preserves the next hitting-time prefactor is false. We separate a proved transverse estimate, a proved conditional scalar comparison, and the still unresolved tangential coupling of the full and quotient dynamics. This distinction is essential when the desired relative error is rather than merely the correct exponential rate.
I.1 A nonlinear contraction bound in a shielded tube
Fix an ordered pair of indices , put , , and let
For a frozen configuration , extend the attention law to query points by
Define the segment shield
Note that this is an assumption on all intermediate queries, stronger than checking the external weights only at and .
Theorem I.1 (Explicit nonlinear transverse contraction under a segment shield). Suppose and, for an interval , the exact solution of (9) obeys
Then
for every . The time may depend on and may be exponentially large; the only long-time assumption is that the segment shield continues to hold.
Proof. Let , and suppress the fixed configuration in the notation. Direct differentiation of (66) using (9) gives the exact identity
For a query , the softmax Jacobian is the covariance operator
On the segment between and , use as a comparison center. Since the covariance is positive semidefinite and its operator norm does not exceed its trace,
By the mean-value formula,
The total weight on the two internal keys is at least , each internal key has inner product at least with its own endpoint query, and external keys have inner product at least . Hence
Combining (71)–(75) and yields
As long as , the hypotheses (69) make the bracket strictly smaller than . The resulting decay preserves the assumed tube bound, closing the first-exit bootstrap. Integrating proves (70).
Remark I.2 (What this theorem does and does not establish). The exact collision stratum is invariant, so the relative equation has no compulsory additive forcing term. Theorem I.1 is a genuine uniform-in-time normal estimate. It does not establish the segment shield for the target three-body trajectory, nor does it compare the motion along the collision stratum with the quotient trajectory. The initial threshold 0.3 in our example has , which for arbitrarily large does not satisfy (69); a separate entrance/relaxation estimate is required. Once inside the tube, an additional of contraction gives ; obtaining from a polynomially small initial distance generally requires an interval, not merely .
I.2 Normal proximity alone cannot determine a prefactor
The next proposition gives a counterexample to inferring second-clock preservation from alone, even when that distance is exactly zero.
Proposition I.3 (Tangential shifts change a metastable clock). Consider the symmetric two-center quotient () with fixed positive masses , initial angular separation , and fixed threshold . Let be its hitting time, and let be fixed. Then
Both initial states may be realized exactly on the same two-block collision stratum. Their normal distances to that stratum vanish identically.
Proof. The angular equation of the symmetric quotient is , with
uniformly in a fixed neighborhood of . Endpoint Laplace asymptotics therefore give, with ,
Since , taking the ratio proves (77). Exact block collisions supply quotient initial conditions lying on the stratum with zero transverse distance.
Figure 8 illustrates the two initial phases in Proposition I.3, both on the exact collision stratum.
: normal displacement

Figure 8: Normal control and tangential clock control are different. Two configurations can lie exactly on the collision stratum yet have different leading hitting-time constants because their quotient phases differ by . Schematic, not a numerical trajectory.
I.3 A correct conditional criterion for relative clock preservation
It is useful to formulate the scalar step that a future full-flow shadowing theorem would actually need to verify. Unlike the desired full-to-quotient reduction, the following is elementary and rigorous.
Lemma I.4 (Phase-velocity comparison and endpoint stability). Fix . Suppose two monotonically decreasing angular phases traverse with autonomous positive speed functions and , and
If both start at , their hitting times satisfy . The same conclusion holds for an initial phase perturbation , provided, on a fixed endpoint neighborhood, , where is uniformly bounded above and below by positive constants on the entire phase interval and locally regular at the upper endpoint, has its unique global maximum on the interval at the upper endpoint, and .
Proof. With common endpoints, and . By (80), for large . With an upper endpoint shift , the additional endpoint interval contributes at most , whereas endpoint Laplace gives . The relative difference is .
Remark I.5 (A phase-coordinate theorem, not an assumption-free full-flow result). The original full three-body system is not an autonomous scalar angular equation. To invoke Lemma I.4, one must first control the tangential quotient coordinates, guarantee monotonicity, and show that the full phase speed at a given phase is close to the quotient speed. Knowing only that does not establish (80). Even if a relative speed error is merely , the lemma yields timing accuracy, not the stronger relative timing error claimed in a proposed proof.
I.4 The remaining quantitative tangential estimate
Let denote the normal error and a properly synchronized tangential separation of the projected full trajectory and the quotient. A natural but not yet verified differential inequality would be
If it were established along the entire phase interval up to the second event, the standard variation-of-constants estimate would give
A sufficient additional requirement for quotient closeness is that the right-hand side be uniformly up to the second event. In an exactly monotone two-body quotient, on an interval bounded away from 0 and , but , not . This observation alone does not verify (81) for the full system or guarantee a sufficiently small prefactor in (82).
One must also distinguish two different barriers in the concrete example. The initial second-clock exponent candidate is , whereas the earlier uniform external shield lower bound in the first corridor is . Neither can be used unchanged as a uniform bound on the entire subsequent trajectory: as the second angle approaches 0.3, its symmetric base barrier becomes . In addition, a tube estimate only through for a fixed ends exponentially earlier than a clock of size . The endpoint derivative controls Laplace asymptotics but does not supply a -uniform lower bound on the physical crossing speed, which itself can be exponentially small.
Open problem I.6 (Full-flow tangential matching and second-event prefactor). For the three-point configuration (31), prove the coupled bounds needed to apply Lemma I.4 up to the second threshold and determine whether
The right-hand side is proved for the exactly collapsed two-body quotient only by Theorem H.4. The full-flow identity remains unproved. A proposed recursive merger theorem must additionally propagate its geometric gap and synchronization assumptions across each stage.
J Collapse-layer estimates and a conditional phase-matching mechanism
We refine the proof checkpoints from section I. Two different claims must be kept apart: estimates for a perturbed two-center normal form, which can be proved under explicit error bounds, and verification that the original three-dimensional flow satisfies those error bounds with a sufficiently accurate moving coordinate chart. Only the former is completed here.
J.1 An almost-conserved skew invariant with an explicit stopping scale
Let and write , , and whenever . Consider the perturbed two-center equations
The coefficient q is nonnegative and may depend on the full configuration. The exact two-center cancellation survives in the following sense.
Lemma J.1 (Skew invariant under external forcing). Assume (84) with , as is automatically true for points on the sphere. Then
In particular, if for and , then
Thus an collapse window stopped at has exponentially small skew-invariant drift, conditional on the stated external shield.
Proof. Differentiate and use . The terms involving cancel identically. Since the restriction of a skew form to the plane spanned by and satisfies , one has . Substituting into the remaining terms yields (85); integration gives (86).
Remark J.2 (Scope of the collapse estimate). For the isolated pair of (31), the favorable barrier is strictly negative on . Hence the favorable transition probability is at least , and the isolated is at least on that interval. A perturbed solution inherits a positive rate only if its external interactions and its angular drift are controlled. Under such a bootstrap one obtains a logarithmic relaxation from the 0.3 threshold to a polynomially small angular scale. This does not itself prove that the requisite shield holds for the full system throughout that window.
J.2 Angular reparameterization removes the physical metastable clock
The next lemma is an elementary but useful mechanism for relative phase matching. It deliberately specifies all the assumptions needed for its scalar application.
Lemma J.3 (Conditional phase-defect estimate). Let and be nonnegative functions on with and . Suppose a perturbed planar pair obeys
while decreases strictly from to , and with . Let solve the unperturbed angular system with the same initial and the same initial . Then at any common angular coordinate,
Proof. By (87), . Subtract and use and . The numerator is bounded by and the denominator below by , yielding the displayed factor 4 as a valid conservative constant. Integrate in the monotone angular coordinate.
Corollary J.4 (Phase bias under two separated error regions). Under the hypotheses of theorem J.3, let and . Suppose, with constants independent of , that
Then the discrepancy from the complete isolated terminal phase obeys
Here the common initial phase is set to zero; the sign convention for is that of (58).
Proof. On the fixed outer interval, is finite. On , . Apply (88) and (89). The residual isolated phase from 0 to is at most because .
Figure 9 displays the sign change of the isolated inner barrier and the limited scope of the initial corridor shield.

Figure 9: The favorable isolated inner barrier becomes negative in the post-threshold interval (shaded). Its rate is no longer exponentially slow there. The horizontal shield is a geometric bound from the initial corridor, not a proved uniform shield until the second event.
J.3 Why this still does not establish the full second prefactor
The two lemmas make the remaining analytical task narrower, not automatic. For the original three-dimensional flow one must construct a moving angular chart and prove that its actual coefficients differ from the isolated in a manner absorbed by with (89). A bound on alone does not control the absolute common phase: a simultaneous rotation leaves unchanged. After collapse, one must also control the tangential drift between the full block center and the exact weighted quotient through the second event. The first-corridor shield cannot be used unchanged over that entire trajectory.
In particular, a tentative center-equation remainder should retain potential contributions from internal nonreciprocal weights, rather than assuming an unverified coefficient-free bound for the relative displacement . A time-integrated, phase-dependent bound on that remainder and the competing event speeds is the next proof checkpoint. Consequently, the full-flow limit in (83) remains a conjectural identification, despite the precise isolated-pair and quotient calculations.
K A sharp second exponent without prefactor shadowing
We establish matching logarithmic upper and lower bounds for two-cluster interaction times using positive interactions and invariant cones. The argument does not infer a prefactor from normal proximity. The cone and projective-coordinate steps below use the positive-interaction mechanism in [2, Lemma 4.2 and its proof] and [14]. The sharp clock conclusion requires the separate barrier estimates proved here; it is not a consequence of consensus alone.
Lemma K.1 (Positive projective coordinates). Consider with continuous and . If a unit vector satisfies , then . For any fixed linear map , the coordinates obey
Consequently their convex hull is nonincreasing in time, and .
Proof. At an active minimum of the , put . Then . The finite-minimum derivative rule gives invariance of . Differentiating
cancels the terms and yields the displayed equation. Every supporting linear functional has nonincreasing maximum and nondecreasing minimum for this cooperative equation, proving convex-hull invariance. This is the standard projective consensus mechanism, related to the cone-collapse argument of [2] and the directed-sphere analysis of [14]; no priority is claimed for the coordinate lemma.
Theorem K.2 (Zero-skew two-cluster clock). Fix a finite number of particles, positive masses, a skew matrix , and . Let satisfy
For each , initialize the smooth normalized interaction flow in two nonempty blocks such that
Let be the first crossing of angle by a pair with one index in each block. Then
No initial error, transverse eigenvalue assumption, or full-to-quotient prefactor identification is required.
Proof. Write . For the lower bound, fix and a sufficiently small . Initially each block lies in the angular -cap about its own center for all sufficiently large . Bootstrap both blocks in their respective -caps. Since , every cross-block barrier in this tube is at least . The self term in each softmax denominator implies that the total external weight in any row is at most . At a minimum of within , every internal term is nonnegative, as long as that minimum is positive; external terms have absolute value at most . Hence
The same estimate holds for the -block. Choose with and . On , the right-hand error tends to zero, so a first-exit argument preserves both -caps. Every cross angle exceeds ; thus . Let .
For the upper bound, let and . At the initial time uniformly for large . Apply Lemma K.1 with . The initial normal coordinates are , hence at all times. The restriction of to vanishes as a bilinear form: its values on the basis are zero by skew symmetry and . Decomposition into and gives
Initially . The active-pair calculation for acute consensus yields . All logits before multiplication by therefore lie between and . Consequently every transition probability is at least
For an active minimizing pair, almost everywhere. Integration to bounds the time by , where is uniform for large . In particular all cross pairs have reached the threshold by that time. Thus . Together with the lower bound this proves the claim.
Remark K.3 (Exactly what is and is not covered). The blocks may have any fixed positive combined masses and need not collide exactly. The zero-skew and acute-angle hypotheses are substantive: the proof does not cover a general directed second barrier, a right or obtuse limiting angle, an unbounded number of particles, or a relative prefactor. In particular the theorem cannot be substituted for the unresolved tangential matching estimate in a full recursive merger tree.
Lemma K.4 (One-sided entrance in the explicit three-point example). Use , , equal masses, and the initial points
For each fixed , let be the first time . Then
where .
Proof. The same off-diagonal corridor shield applies with threshold :
Every competing angular gap is at least 0.8. The corridor bootstrap gives the first clock, a tube error that is in fact exponentially small for fixed , and an exponentially small time integral of the external row weights.
To establish the additional anchoring assertion, write and . Inside that tube, while , for large . After division by the self terms put , and let denote the external contributions to the two row denominators. The shield gives , and
If , then and . Therefore the internal contribution to the displacement of is at most ; its external contribution tends to zero as well. The displacement of is entirely external and tends to zero. The triangle inequality gives the last assertion.
Corollary K.5 (The full-flow second exponent). Let be the first time either (1,2) or (2,3) reaches angle 0.3 in this example, without forced collisions. Then
Proof. The entrance lemma supplies, for each fixed , two blocks in -neighborhoods of at a time of logarithmic exponent . Moreover and . For any , choose sufficiently small and apply the cap argument of Theorem K.2 from the entrance time: the cross barriers are at least , and the two blocks remain separated for a further time. This gives . For the upper bound, the projective argument of that theorem, now with initial normal error , bounds the remaining time by . Adding the entrance time contributes exponent at most . Let to obtain the matching upper bound. There is no earlier cross event before entrance because the corridor keeps the external angles above .
The constant 0.95054656 for remains an unproved full-flow prefactor prediction. The corollary resolves the logarithmic exponent, not that stronger limit. In particular a vanishing angular error can suffice for this exponent while an tangential error can still change the prefactor by an order-one factor.
L Growing Systems Governed by Block Mass
Particle count can be separated from the metastable clock more sharply than a minimum-individual-mass estimate permits. Let be two nonempty blocks, with total masses , and define . The number of particles in each block is arbitrary and finite for each .
Theorem L.1 (Block-mass clock). Fix and positive individual masses. Let be fixed, , , and let unit centers satisfy and . Suppose the maximal initial distance from each particle to its block center is , and
Then the first cross-block angle- event satisfies
No bound on or on individual mass ratios is required. In particular, balanced blocks may contain particles, for any fixed .
Proof. All constants below depend only on a compact neighborhood of the limiting angle, the fixed threshold, and the uniform operator-norm bound; they do not depend on particle count or dimension. Put .
Lower bound using total block mass. Fix and a small fixed . While each block stays in the angular -cap about its center, a row's internal scores differ from 1 by at most , and cross scores differ from by at most . Summing the entire internal block in the denominator gives
and the analogous estimate holds for . At the minimum of the center scalar product within a block, internal terms are nonnegative and the external contribution is bounded below by minus twice this row weight. Choose with and . The integrated external force to time tends to zero, since . The cap first-exit argument then closes, giving .
Subexponential entrance to small block diameter. Set . Bootstrap the two blocks inside -caps. Their external row weights satisfy
For the -block use and . Inside these caps, . Its internal projective coefficients obey
Indeed, all internal score differences are and the external numerator is negligible relative to the full internal denominator. The external projective forcing has norm at most ; the other block's projective coordinates are bounded because .
Let . At an active nonzero diameter, its direction is a supporting direction at both endpoints. Subtract the common positive kernel from each row. Remaining internal coefficients are nonnegative and cannot enlarge that supporting range. This is a common-kernel consensus contraction, consistent with the positive-system approach of [35]. The common kernel contracts the range at rate . Thus, in upper Dini derivatives,
The same estimate holds for . The inverse map is uniformly Lipschitz on , so these projective diameter bounds also control spherical-particle diameters. Take . Then for a fixed . The cap bootstrap is valid to that time: the integrated external force is , much smaller than the cap boundary margin , which is bounded below by a fixed multiple of for large .
Persistence until the cross event. The global bisector projective argument bounds all components normal to span by for all times. The restriction of to this plane vanishes, so all skew pairings are . Before the first cross event, cross scalar products are at most . With the blocks already exponentially narrow, every query on a segment joining two same-block particles consequently has external weight at most .
For within a block let . Freeze the configuration and write and . Direct differentiation gives the two identities
On each segment the covariance trace is bounded by the second moment about any same-block key, giving . At either endpoint, internal keys have scalar product at least , so . The mean-value formula and therefore give, at an active maximum,
At both and tend to zero. A first-exit argument makes the bracket at most up to the cross event, so the block diameters remain exponentially small throughout this interval.
Matching upper clock. The initial global Gram minimum is and remains nondecreasing. Before the first cross event an active global minimum is a cross pair, since internal diameters are exponentially small. For an active pair , retain every in its first Gram sum and every in its second. Internal narrowness yields
The remaining terms are nonnegative by the active-minimum argument. All scores lie between and ; hence
The mass fractions add to one. While , the last factor in the derivative estimate is at least for large . Integration bounds the remaining time by . Adding the subexponential entrance time proves the upper bound and completes the proof.
Corollary L.2 (Count invariance and an exponential-imbalance boundary). Exact replication of any particle, with its mass split among the copies, leaves every distinct trajectory unchanged. More generally, arbitrarily growing balanced near-collision blocks satisfy Theorem L.1. For exactly collapsed zero-skew blocks with , , the exponent instead equals .
Proof. Equal queries have equal velocities, and their numerator weights add to the original mass, proving exact replication invariance by uniqueness. For two exact blocks, the quotient probabilities are
The angular hitting integral has inverse-rate exponent , whose maximum on is its value at . The endpoint Laplace principle gives the displayed rate. This also shows why a bound based on the smallest individual mass confounds particle replication with physical block imbalance.
M Uniformity, Growing Systems, and Verification Details
Theorem M.1 (Dimension-free triangular-array clock). Fix . The zero-skew two-cluster clock theorem remains valid for a family with particles, dimension , and positive masses and skew matrices , provided
and the maximal initial block radius tends to zero. Here is fixed. Its conclusion is .
Proof. Fix and choose a fixed sufficiently small cap radius . The cross-barrier estimate is uniform because the operator norms are bounded. The total external row weight is at most
Its integral to tends to zero by the subexponential mass-ratio assumption. The cap first-exit argument is unchanged and gives the lower bound.
For the upper bound, choose the bisector of the two centers. Its scalar products with all initial particles exceed a common constant , since and the initial block radii tend to zero. The projective normal-coordinate argument bounds every normal component by ; convex-hull invariance and operator-norm estimates have no factors of or . Thus all skew pairings are uniformly. The initial minimum Gram entry is and stays nondecreasing. The row-wise transition lower bound is
The acute comparison integrates explicitly as
when ; the numerator is bounded uniformly for large . Taking logarithms and using the mass-ratio assumption gives the matching upper rate. For each fixed , only a finite minimum is taken, so the standard absolutely continuous minimum rule applies even though the number of coordinates varies with .
The mass condition cannot simply be discarded. For two zero-skew centers with initial angle , let , where . The two-body angular integral has rate
, because the favorable transition contains the exponent . Its maximal positive value on the crossing interval occurs at . Thus exponential mass imbalance changes the clock even though the centers and skew pairing are unchanged.
For completeness, the acute Gram minimum used above satisfies the following direct inequality. At a minimizing off-diagonal pair with ,
Each summand is nonnegative since and . Keeping and gives almost everywhere. This proves both invariance and the integrated bound, with no gradient-flow assumption.
The numerical verification compares the projected normal equation against an explicitly assembled skew-basis linear system, compares its derivative with automatic differentiation and centered finite differences, and tests the second-order attention bound over multiple dimensions, temperatures, skew strengths, masses, and radii. These tests check the implemented equations and constants. The analytic theorems are not claimed to be fully formalized by the finite-dimensional algebra lemmas.
N A reproducible integration specification
For validation, set and evaluate each row softmax as
Integrate with DOP853 using relative tolerance and absolute tolerance . Trigger a crossing when changes from negative to positive, adjusting for floating-point drift by normalizing the dot product in the event function. Continue without modifying the state after the first event; the next previously untriggered pair defines the second event. The numerical observations concern only the specified finite parameter values.
References
[1] B. Geshkovski, C. Letrouit, Y. Polyanskiy, and P. Rigollet. The emergence of clusters in self-attention dynamics. NeurIPS, 2023. https://arxiv.org/abs/2305.05465.
[2] B. Geshkovski, C. Letrouit, Y. Polyanskiy, and P. Rigollet. A mathematical perspective on Transformers. Bulletin of the AMS 62, 427–479, 2025. https://arxiv.org/abs/2312.10794.
[3] B. Geshkovski, H. Koubbi, Y. Polyanskiy, and P. Rigollet. Dynamic metastability in the self-attention model. 2024. https://arxiv.org/abs/2410.06833.
[4] P. Rigollet. The Mean-Field Dynamics of Transformers. 2025; revised 2026. https://arxiv.org/abs/2512.01868.
[5] C. Kuehn and J. Yoon. Spectral Selection in Symmetric Self-Attention Dynamics. 2026. https://arxiv.org/abs/2604.26085.
[6] M. Saponati, P. J. Sager, P. V. Aceituno, T. Stadelmann, and B. F. Grewe. The underlying structures of self-attention: symmetry, directionality, and emergent dynamics in Transformer training. ICML, PMLR 267, 52958–52994, 2025. https://proceedings.mlr.press/v267/saponati25a.html.
[7] S. Jamil and R. Kapadia. The Routing and Filtering Structure of Attention. 2026. https://arxiv.org/abs/2605.18826.
[8] L. Zhang and J. Martens. Orthogonal Self-Attention. 2026. https://arxiv.org/abs/2602.05996.
[9] Y. Dong, J.-B. Cordonnier, and A. Loukas. Attention is not all you need: pure attention loses rank doubly exponentially with depth. ICML, 2021. https://arxiv.org/abs/2103.03404.
[10] Y. Zhang and Y.-C. Chen. Kernel Smoothing, Mean Shift, and Their Learning Theory with Directional Data. JMLR 22(154), 1–92, 2021. https://jmlr.org/papers/v22/20-1194.html.
[11] Y. Zhang and Y.-C. Chen. The EM Perspective of Directional Mean Shift Algorithm. 2021. https://arxiv.org/abs/2101.10058.
[12] G. Huguet et al. Time-inhomogeneous diffusion geometry and topology. SIAM Journal on Mathematics of Data Science, 2023. https://arxiv.org/abs/2203.14860.
[13] J. Markdahl, J. Thunberg, and J. Goncalves. Almost global consensus on the n-sphere. IEEE Transactions on Automatic Control, 2018. https://arxiv.org/abs/1609.04885.
[14] J. Thunberg, J. Markdahl, F. Bernard, and J. Goncalves. A lifting method for analyzing distributed synchronization on the unit sphere. 2018. https://arxiv.org/abs/1805.02528.
[15] D. Bolya et al. Token Merging: Your ViT But Faster. ICLR, 2023. https://arxiv.org/abs/2210.09461.
[16] A. Shrivastava and P. Li. Asymmetric LSH for sublinear time maximum inner product search. NeurIPS, 2014. https://arxiv.org/abs/1405.5869.
[17] B. Neyshabur and N. Srebro. On Symmetric and Asymmetric LSHs for Inner Product Search. ICML, 2015. https://proceedings.mlr.press/v37/neyshabur15.html.
[18] H. Jegou, M. Douze, and C. Schmid. Product quantization for nearest neighbor search. IEEE TPAMI 33(1), 117–128, 2011. https://doi.org/10.1109/TPAMI.2010.57.
[19] R. Guo et al. Accelerating Large-Scale Inference with Anisotropic Vector Quantization. ICML, 2020. https://proceedings.mlr.press/v119/guo20h.html.
[20] J. Zhang, D. Lian, H. Zhang, B. Wang, and E. Chen. Query-Aware Quantization for Maximum Inner Product Search. AAAI 37(4), 4875–4883, 2023. https://doi.org/10.1609/aaai.v37i4.25613.
[21] E. Jaasaari, V. Hyvonen, and T. Roos. LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search. NeurIPS, 2024. https://arxiv.org/abs/2410.18926.
[22] Y. Gong and S. Lazebnik. Iterative Quantization: A Procrustean Approach to Learning Binary Codes. CVPR, 2011. https://doi.org/10.1109/CVPR.2011.5995432.
[23] N. Thakur, N. Reimers, A. Ruckle, A. Srivastava, and I. Gurevych. BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models. 2021. https://arxiv.org/abs/2104.08663.
[24] N. Muennighoff, N. Tazi, L. Magne, and N. Reimers. MTEB: Massive Text Embedding Benchmark. EACL, 2023. https://arxiv.org/abs/2210.07316.
[25] Sentence Transformers. all-MiniLM-L6-v2 model card. Full pinned revision recorded in the dataset manifests. https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2.
[26] Lean reference manual. Axioms and trusted assumptions. https://lean-lang.org/doc/reference/latest/Axioms.
[27] The Rocq Prover. Core language and kernel. https://rocq-prover.org/doc/V9.2.0/refman/language/core/index.html. The executable used here is Rocq 9.1.1.
[28] W. Hoeffding. Probability Inequalities for Sums of Bounded Random Variables. Journal of the American Statistical Association 58(301), 13–30, 1963. https://doi.org/10.1080/01621459.1963.10500830.
[29] Y. Yuan and K. Zuo. Least-squares symmetric and skew-symmetric solutions of the generalized Sylvester matrix equation. Applied Mathematics and Computation 265, 370–379, 2015. https://doi.org/10.1016/j.amc.2015.05.035.
[30] J. Zhang and X. Luo. Optimization methods for solving matrix equations. 2024. https://arxiv.org/abs/2404.06030.
[31] T. Ge, K. He, Q. Ke, and J. Sun. Optimized Product Quantization for Approximate Nearest Neighbor Search. CVPR, 2946–2953, 2013. https://www.cv-foundation.org/openaccess/content_cvpr_2013/html/Ge_Optimized_Product_Quantization_2013_CVPR_paper.html.
[32] M. Douze et al. The Faiss library. 2024; revised 2025. https://arxiv.org/abs/2401.08281.
[33] ANN-Benchmarks contributors. Public SIFT-128 benchmark data and dataset description. https://github.com/erikbern/ann-benchmarks.
[34] J. Zhan, J. Mao, Y. Liu, J. Guo, M. Zhang, and S. Ma. Jointly Optimizing Query Encoder and Product Quantization to Improve Retrieval Performance. 2021. https://arxiv.org/abs/2108.00644.
[35] L. Moreau. Stability of multiagent systems with time-dependent communication links. IEEE Transactions on Automatic Control 50(2), 169–182, 2005. https://doi.org/10.1109/TAC.2004.841888.
[36] W. Bendada and G. Salha-Galvan. Two-Level Softmax Sampling Done Right: Correcting Bias from Size Imbalance and Dispersion. NeurIPS, 2026. https://arxiv.org/abs/2610.10483.
[37] M. R. Hestenes and E. Stiefel. Methods of Conjugate Gradients for Solving Linear Systems. Journal of Research of the National Bureau of Standards 49(6), 409–436, 1952. https://nvlpubs.nist.gov/nistpubs/jres/049/jresv49n6p409_A1b.pdf.
[38] C. Eckart and G. Young. The approximation of one matrix by another of lower rank. Psychometrika 1, 211–218, 1936. https://doi.org/10.1007/BF02288367.