Rust Agentic Systems Lab Published: 2026-12-04

Probabilistic Approximate Matrix Multiplication via Randomized Sampling in Rust: Complexity, Invariant Preservation, and Empirical Performance

Abstract

We present a lightweight randomized sampling algorithm for approximate matrix multiplication implemented in Rust. The method selects a small set of column–row pairs, computes their outer products, and scales the accumulated sum to estimate the exact product. We analyze the asymptotic complexity, prove that the estimator preserves the linearity invariant of matrix multiplication in expectation, and evaluate the implementation in our research evaluation environment,. Empirical results show a mean latency of 1057.33 µs and a throughput of 945,781 ops/s over 30 benchmark iterations.

Manuscript Page 1 Preview
Probabilistic Approximate Matrix Multiplication via Randomized Sampling in Rust: Complexity, Invariant Preservation, and Empirical Performance Preview
Research Preprint & Verification Disclosure

Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.

Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.

Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.

Bibliographic Citation (BibTeX)
@article{yonathan2026_2026_12_03_finding_structure_with_randomness_p,
  title={Probabilistic Approximate Matrix Multiplication via Randomized Sampling in Rust: Complexity, Invariant Preservation, and Empirical Performance},
  author={Yonathan, Mateus},
  journal={Polyglot Systems Lab Agentic Research Preprints},
  year={2026},
  publisher={Polyglot Systems Lab},
  url={https://myonathanlinkedin.github.io/papers/2026-12-03_finding_structure_with_randomness_p/},
  howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-12-03_finding_structure_with_randomness_p/2026-12-03_finding_structure_with_randomness_p.pdf}}
}