arXiv:2611.05573cs.CRNov 2026

Manuscript Offprint

arXiv:2611.05573

Optimal Marginal Mixing for Transvection-Based Trapdoored Matrices over Large Fields

Mark Braverman, Aayush Jain, Stephen Newman

Abstract

Trapdoored matrices are pseudorandom matrices admitting a fast matrix-vector multiplication algorithm given the secret key. We study a candidate family of such matrices: matrices generated by short random transvection walks on SLn(Fq)\mathrm{SL}_n(\mathbb{F}_q), whose steps are given by adding a random multiple of a random row of the current state to another.

We show that the worst-case time for any nonempty set S⊆[n]×[n]\mathcal{S} \subseteq [n] \times [n] of matrix entries to come within TV distance ε≤14\varepsilon \leq \frac{1}{4} of its stationary marginal under this walk is Θ(∣S∣+nlog⁡(n/ε))\Theta(|\mathcal{S}| + n \log(n/\varepsilon)), uniformly over all S\mathcal{S} and q≥Qall(n)q \geq Q_{\mathrm{all}}(n). This is asymptotically optimal, and resolves open questions about the mixing times of transvection walks. We derive concrete upper and lower bounds for n≥256n \geq 256. Surprisingly, our bounds also hold conditioned on the row-pair structure of the walk, except on a fraction at most ε\varepsilon of such structures. This implies that these walks may be pseudorandom even after conditioning on the row-pair structure, and therefore that trapdoored matrices built with these walks may be universal.

Assuming the conjectured structure-conditioned pseudorandomness of short walks, we exhibit highly efficient, highly parallelizable, and universal trapdoored matrices over SLn(Fq)\mathrm{SL}_n(\mathbb{F}_q), GLn(Fq)\mathrm{GL}_n(\mathbb{F}_q), and Fqn×n\mathbb{F}_q^{n \times n}. The families over SLn(Fq)\mathrm{SL}_n(\mathbb{F}_q) and GLn(Fq)\mathrm{GL}_n(\mathbb{F}_q) admit equally efficient trapdoors for their inverses, making them the first to do so for finite-field trapdoored matrices. We discuss attacks, analyzing one in detail, and lay out directions for further investigation.

*Corresponding author: stephen.newman@princeton.edu.

1 Introduction

Can a matrix look random while secretly admitting fast multiplication? This question is captured in cryptography by trapdoored matrices: matrices that are computationally indistinguishable from random ones, yet admit fast matrix-vector multiplication given a secret key. The standard algorithm for matrix-vector multiplication requires Θ(n2)\Theta(n^2) field operations, whereas the secret key should reduce this cost to T(n)≪n2T(n) \ll n^2—ideally T(n)=c⋅nT(n) = c \cdot n for a small constant cc, or more generally T(n)=O~(n)T(n) = \tilde{O}(n). Although a weaker form of this primitive appears in the work of Sotiraki [Sot16], this natural notion was only recently formalized and studied independently by Braverman and Newman [BN26] and Vaikuntanathan and Zamir [VZ26]. In the short time since, trapdoored matrices have given rise to applications ranging from private inference and secure delegated linear algebra [BN26, BCH+^+25, MRW+^+26] and private information retrieval [CIMR26] to algorithmic speedups [VZ26] and barriers in complexity theory [Raz26]. The delegated matrix-matrix and matrix-vector multiplication protocols, and their consequences for private inference, are particularly important: unlike protocols involving heavier cryptographic machinery such as homomorphic encryption, these protocols are structure-preserving and carry small overheads, resulting in concrete delegator efficiency improvements for reasonable nn.

This motivates a search for even more efficient trapdoored matrix constructions. The LPN-based constructions of [BN26, BCH+^+25, VZ26] share an undesirable trait: their runtime grows as Ω(n1+o(1)λ)\Omega(n^{1+o(1)}\lambda) for security parameter λ\lambda, causing significant overhead. [BCH+^+25] proposed heuristic constructions from linear-time encodable codes and accumulation, but these call for cryptanalysis, as the history of code-based cryptography shows that added structure often invites attacks [SS92, Wie06, Wie10, FGUO+^+13, CGGU+^+14].

The transvection-walk approach. In this work, we consider an elegant candidate proposed by Sotiraki [Sot16] and built from the simplest invertible linear operations: adding a scalar multiple of one coordinate to another. For distinct i,j∈[n]i,j \in [n] and a∈Fqa \in \mathbb{F}_q for qq a prime power, the update i↦ji \mapsto j is left multiplication by

In+aEji,Eji=ejei⊤.I_n + aE_{ji}, \qquad E_{ji} = e_j e_i^\top.

We form a trapdoored matrix by drawing, for each t∈[T]t \in [T], an independent and uniform pair of distinct indices (It,Jt)∼([n]×[n])∖{(i,i)∣i∈[n]}(I_t, J_t) \sim ([n] \times [n]) \setminus \{(i,i)|i \in [n]\} and a coefficient at∼Fqa_t \sim \mathbb{F}_q. This gives the matrix

XT=(In+aTEJT,IT)⋯(In+a1EJ1,I1).X_T = (I_n + a_T E_{J_T,I_T}) \cdots (I_n + a_1 E_{J_1,I_1}).

We refer to the sequence of pairs as the skeleton, denoted σ=((I1↦J1),…,(IT↦JT))\sigma = ((I_1 \mapsto J_1), \ldots, (I_T \mapsto J_T)). The public matrix is XTX_T (and possibly its skeleton); its secret description is the ordered list of transvections. Given this list, one computes XTvX_T v by replaying the updates vJt←vJt+atvItv_{J_t} \leftarrow v_{J_t} + a_t v_{I_t}, using at most 2T2T field operations. Reversing the list and negating the coefficients computes XT−1vX_T^{-1} v at the same cost.

The construction works over every finite field and requires no special ring or code structure. TT directly controls the arithmetic cost, and increasing it provides a systematic way to increase randomization. The central question for the transvection construction is therefore:

How long must the walk be to render its endpoint computationally indistinguishable from a random element of SLn(Fq)\mathrm{SL}_n(\mathbb{F}_q)?

If the construction is indeed pseudorandom for small TT, its simplicity and efficiency make it a compelling trapdoored matrix, for several reasons. First, it parallelizes: a length-TT instance can be implemented by a circuit of expected depth O~(T/n+1)\tilde{O}(T/n+1) with negligible overhead. Second, multiplication by the matrix and by its inverse are equally fast, a property not shared by the LPN- and code-based candidates [BN26, VZ26, BCH +^{+}25]. Indeed, no finite-field construction yet proposed has this property, though Hhan and Lee [HL26] give a construction achieving it up to a multiplicative dependence on the security parameter. Third, if the matrix remains pseudorandom even when the skeleton σ\sigma is public (Conjecture 1.4), this construction satisfies the stronger notion of a universal trapdoored matrix family — a family whose trapdoor is implemented by a public circuit taking the secret as input [BCH +^{+}25].

A construction with similar intuition, and equally efficient inversion, for trapdoored matrices over the reals was proposed in [VZ26] and analyzed in [PS26b, PSV26].

References (59)