Improving Algorithmic Efficiency using Cryptography: Trapdoored Matrices and Applications
Vinod Vaikuntanathan, Or Zamir
Abstract
Cryptographic primitives have been used for various non-cryptographic objectives, such as eliminating or reducing randomness and interaction. We show how to use cryptography to improve the time complexity of solving computational problems. Specifically, we show that under standard cryptographic assumptions, we can design algorithms that are asymptotically faster than existing ones while maintaining correctness.
As a concrete demonstration, we construct a distribution of trapdoored matrices with the following properties: (a) computationally bounded adversaries cannot distinguish a random matrix from one drawn from this distribution (under computational hardness assumptions), and (b) given a trapdoor, we can multiply such an n × n matrix with any vector in near-linear (in n) time. We provide constructions both over finite fields and over the reals. This enables a broad speedup technique: any algorithm relying on a random matrix-such as those that use various notions of dimensionality reduction-can replace it with a matrix from our distribution, achieving computational speedups while preserving correctness.
Using these trapdoored matrices, we present the first uniform reduction from worst-case to approximate and average-case matrix multiplication with optimal parameters (improving on Hirahara-Shimizu STOC 2025, albeit under computational assumptions), the first worst-case to average-case reductions for matrix inversion, solving a linear system, and computing a determinant, as well as a speedup of inference time in classification models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on6
- The Hardness of LPN over Any Integer Ring and Field for PCG ApplicationsHanlin Liu, Xiao Wang, Kang Yang, Yu YuEUROCRYPT 2024 · 21 citations
- Randomized Dimensionality Reduction for Facility Location and Single-Linkage ClusteringShyam Narayanan, Sandeep Silwal, Piotr Indyk, Or ZamirICML 2021 · 16 citations
- The syzygy DistinguisherHugues RandriambololonaEUROCRYPT 2025 · 10 citations
- Worst-case to average-case reductions via additive combinatoricsVahid R. Asadi, Alexander Golovnev, Tom Gur, Igor ShinkarSTOC 2022 · 6 citations
- Error-Correction of Matrix Multiplication AlgorithmsShuichi Hirahara, Nobutaka ShimizuSTOC 2025 · 5 citations
Related papers
- The Division Barrier: Optimal Bounds and Structural Limits in Toom-Cook InterpolationRoy Nissim, Oded Schwartz, Yuval SpiizerSODA 2026 · 2 citations
- Cryptography Meets Worst-case Complexity: Optimal Security and More From iO and Worst-case AssumptionsRahul Ilango, Alex LombardiFOCS 2025 · 1 citation
- Efficient Detection of High Probability Statistical Properties of Cryptosystems via Surrogate DifferentiationItai Dinur, Orr Dunkelman, Nathan Keller, Eyal Ronen et al.EUROCRYPT 2023 · 5 citations
- Quantum Advantage from One-Way FunctionsTomoyuki Morimae, Takashi YamakawaCRYPTO 2024 · 4 citations
- The exact complexity of pseudorandom functions and the black-box natural proof barrier for bootstrapping results in computational complexityZhiyuan Fan, Jiatu Li, Tianqi YangSTOC 2022 · 4 citations
