[Paper Review] Matrix Multiplication in Quadratic Time and Energy? Towards a Fine-Grained Energy-Centric Church-Turing Thesis
This paper proposes two physically plausible classical algorithms for n×n matrix multiplication that achieve Õ(n²) time and energy complexity under Newtonian mechanics, challenging the conventional assumption that each arithmetic operation consumes one unit of energy. By leveraging controlled parallelism and energy-speed tradeoffs via process slowdown, it demonstrates that quadratic time and energy are simultaneously achievable—offering a foundation for an energy-centric refinement of the Church-Turing thesis.
We describe two algorithms for multiplying n × n matrices using time and energy Õ(n²) under basic models of classical physics. The first algorithm is for multiplying integer-valued matrices, and the second, quite different algorithm, is for Boolean matrix multiplication. We hope this work inspires a deeper consideration of physically plausible/realizable models of computing that might allow for algorithms which improve upon the runtimes and energy usages suggested by the parallel RAM model in which each operation requires one unit of time and one unit of energy.
Motivation & Objective
- To investigate whether fundamental algorithmic primitives like matrix multiplication can achieve polynomial improvements in both time and energy under physically plausible models.
- To challenge the standard assumption that each arithmetic operation consumes one unit of energy, as in the RAM model.
- To explore the feasibility of non-quantum physical systems that enable sub-quadratic energy and time complexity for P-class problems.
- To initiate a theoretical framework for energy-centric computation that complements traditional time-space complexity models.
- To inspire new hardware and algorithmic designs by identifying physical phenomena that can be leveraged for low-energy, high-parallelism computation.
Proposed method
- Models computation using nq parallel processes, each operating at rate ns, with energy usage governed by a slowdown parameter α ∈ [0, 2].
- Uses time-division multiplexing to avoid memory access conflicts: each process accesses distinct matrix entries in a rotating, non-overlapping schedule across time blocks.
- For integer matrix multiplication, employs a physical aggregation mechanism to sum partial products across processes, reducing communication and energy overhead.
- For Boolean matrix multiplication, uses a diffusion-like process to compute logical ORs via physical averaging, enabling parallel evaluation of multiple entries.
- Derives energy and time bounds using the relation: energy per process ≈ 1 + (n / (n^s))^α, where s controls process speed and parallelism.
- Demonstrates that with α = 2 (Newtonian mechanics), using n^(9/5) processes each computing n^(1/5) entries at rate n^(3/5) yields O(n^(9/5)) time and energy.
Experimental results
Research questions
- RQ1Can matrix multiplication be performed in Õ(n²) time and energy using only classical physics, without violating fundamental physical constraints?
- RQ2What physical models of computation allow for simultaneous polynomial improvements in both time and energy complexity compared to the RAM model?
- RQ3How do energy-speed tradeoffs in physical processes affect the design and efficiency of algorithms for fundamental problems?
- RQ4What are the limits of such improvements, and can they be formalized into a fine-grained, energy-centric extension of the Church-Turing thesis?
- RQ5Which physical phenomena—beyond classical mechanics—could further enable low-energy, high-parallelism computation?
Key findings
- The paper constructs an algorithm for integer matrix multiplication that runs in Õ(n²) time and energy using a physical aggregation mechanism to sum partial products across processes.
- For Boolean matrix multiplication, a diffusion-based physical process enables parallel evaluation of logical ORs, achieving Õ(n²) time and energy complexity.
- With α = 2 (Newtonian mechanics), using n^(9/5) processes each computing n^(1/5) entries at rate n^(3/5) yields both time and energy complexity of O(n^(9/5)).
- For α = 1, a tradeoff allows time O(n^(2s)) and energy O(n^(1−s)) for any s ∈ [0,1], with s = 1/3 yielding O(n^(2/3)) for both time and energy.
- The model shows that subquadratic time and energy are simultaneously achievable when α ≥ 1, challenging the assumption that each operation consumes one unit of energy.
- The results suggest that physical systems with controllable energy-speed tradeoffs can yield non-trivial, polynomial improvements in resource usage for fundamental algorithms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.