← Latest papers
🤖 machine learning

Query Efficient Structured Matrix Learning

This paper demonstrates that learning a near-optimal structured matrix approximation from a finite family can be achieved with O~(logF)\tilde{O}(\sqrt{\log|\mathcal{F}|}) matrix-vector product queries, representing a nearly quadratic improvement over the standard O(logF)O(\log|\mathcal{F}|) bound and extending to infinite families with a O~(q)\tilde{O}(\sqrt{q}) complexity for dimension qq.

Original authors: Noah Amsel, Pratyush Avi, Tyler Chen, Feyza Duman Keles, Chinmay Hegde, Cameron Musco, Christopher Musco, David Persson

Published 2026-07-17
📖 1 min read☕ Coffee break read

Original authors: Noah Amsel, Pratyush Avi, Tyler Chen, Feyza Duman Keles, Chinmay Hegde, Cameron Musco, Christopher Musco, David Persson

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Technical Summary: Query Efficient Structured Matrix Learning

Problem Statement

The paper addresses the problem of learning a structured approximation to an unknown n×nn \times n matrix AA given access only to matrix-vector product (matvec) queries. The learner can issue queries of the form xAxx \to Ax and xATxx \to A^Tx, where the query vectors xx can be chosen adaptively based on previous responses.

The goal is defined as Problem 1: Given a hypothesis class (matrix family) FRn×n\mathcal{F} \subset \mathbb{R}^{n \times n}, find a matrix B~F\tilde{B} \in \mathcal{F} such that:
AB~FγinfBFABF \|A - \tilde{B}\|_F \leq \gamma \cdot \inf_{B \in \mathcal{F}} \|A - B\|_F
for some approximation factor γ1\gamma \geq 1, using the minimum number of matvec queries. This setting is "agnostic," meaning AA is not assumed to belong to F\mathcal{F} nor generated from a specific distribution within it.

Prior work has largely focused on specific structured families (e.g., rank-kk, sparse, hierarchical matrices) and established query complexity bounds, often showing that O(logF)O(\log |\mathcal{F}|) queries suffice using standard sketching techniques or vector-matrix-vector (xTAyx^T A y) queries. The paper seeks to generalize this to arbitrary finite families and determine if the multidimensional nature of matvec outputs ($Ax$ is a vector, not a scalar) allows for improved query complexity compared to the vector-matrix-vector model.

Methodology

1. One-Sided Baseline (Iterative Refinement)

The authors first analyze a one-sided algorithm (using only xAxx \to Ax) that serves as a baseline. This algorithm iteratively refines a candidate set CF\mathcal{C} \subseteq \mathcal{F}:

  1. Draw a random sketching matrix Π\Pi with =O(loglogF)\ell = O(\log \log |\mathcal{F}|) columns.
  2. Compute Z=AΠZ = A\Pi.
  3. Eliminate all BCB \in \mathcal{C} where ZBΠF\|Z - B\Pi\|_F is significantly larger than the optimal error bound.
  4. Repeat for T=O(logF/loglogF)T = O(\log |\mathcal{F}| / \log \log |\mathcal{F}|) iterations.

This approach achieves O(logF)O(\log |\mathcal{F}|) query complexity, matching the bounds known for vector-matrix-vector queries.

2. Two-Sided Simulation (The Core Innovation)

The main contribution is an algorithm that utilizes both AA and ATA^T to achieve a nearly quadratic improvement in query complexity, reducing the dependence on F|\mathcal{F}| from O(logF)O(\log |\mathcal{F}|) to O~(logF)\tilde{O}(\sqrt{\log |\mathcal{F}|}).

The algorithm simulates the one-sided iterative refinement but avoids computing AΠA\Pi directly in every step. Instead, it precomputes a left sketch W=ΨTAW = \Psi^T A using O~(logF)\tilde{O}(\sqrt{\log |\mathcal{F}|}) queries to ATA^T. In each iteration, it draws a right sketch Π\Pi and attempts to determine if Π\Pi is "productive" (i.e., eliminates a large fraction of bad candidates) without querying AA again.

The simulation relies on a dichotomy:

  • Case 1 (Productive Sketch): If the random sketch Π\Pi eliminates a large fraction of candidates, the algorithm issues the right queries AΠA\Pi to filter the set.
  • Case 2 (Unproductive Sketch): If Π\Pi would eliminate few candidates, the algorithm uses the precomputed left sketch WW to find a "representative" matrix RCR \in \mathcal{C} such that AΠRΠF\|A\Pi - R\Pi\|_F is small. This is done by sampling candidates and checking WΠΨTBΠF\|W\Pi - \Psi^T B \Pi\|_F. If a representative is found, the algorithm can filter the candidate set using the proxy rule RΠBΠF\|R\Pi - B\Pi\|_F without ever computing AΠA\Pi.

To handle the dependency between the candidate set and the left sketch Ψ\Psi, the algorithm draws r=O(logF)r = O(\log |\mathcal{F}|) right sketches per iteration and uses a union bound over all possible candidate sets that could arise, ensuring the left sketch remains accurate for all potential representatives.

3. Handling Unknown Optimal Error

The algorithms initially require an upper bound MM on the optimal error OPT=minBFABF\text{OPT} = \min_{B \in \mathcal{F}} \|A - B\|_F. The authors provide a binary search procedure (Algorithm 4) that:

  1. Computes a coarse initial bound MinitM_{init} using a simple sketching algorithm.
  2. Refines this bound via binary search, using the main two-sided algorithm as a subroutine to test candidate bounds.
  3. Achieves a (3+ϵ)(3+\epsilon)-approximation with high probability.

4. Extension to Infinite Families

Using covering number arguments, the results for finite families are extended to infinite families. For a family with covering number Γα\Gamma_\alpha, the query complexity becomes O~(logΓα)\tilde{O}(\sqrt{\log \Gamma_\alpha}). Specifically, for linearly parameterized families of dimension qq (e.g., banded, Toeplitz, Hankel matrices), the covering number scales with qq, leading to a query complexity of O~(q)\tilde{O}(\sqrt{q}).

Key Results

Theoretical Bounds

  • Theorem 1 (Finite Family Upper Bound): For any finite family F\mathcal{F}, there exists an algorithm using O~(logF/ϵ2)\tilde{O}(\sqrt{\log |\mathcal{F}|}/\epsilon^2) matvec queries to find B~F\tilde{B} \in \mathcal{F} satisfying AB~F(3+ϵ)minBFABF\|A - \tilde{B}\|_F \leq (3+\epsilon) \min_{B \in \mathcal{F}} \|A - B\|_F with high probability.
  • Theorem 2 (Lower Bound): Any algorithm solving Problem 1 for general finite families with constant approximation factor γ\gamma requires Ω(logF/logγ)\Omega(\sqrt{\log |\mathcal{F}|}/\log \gamma) matvec queries. This establishes that the logF\sqrt{\log |\mathcal{F}|} dependence in the upper bound is tight up to log-log factors.
  • Corollary 1 (Linear Families): For linearly parameterized families of dimension qq, a near-optimal approximation can be learned with O~(q)\tilde{O}(\sqrt{q}) queries. This improves upon the O(q)O(q) bound achievable via one-sided sketching or vector-matrix-vector queries.

Specific Improvements

  • Quadratic Improvement: The work demonstrates that matvec queries (xAxx \to Ax) offer a nearly quadratic advantage over vector-matrix-vector queries (xTAyx^T A y) for structured matrix learning. While vector-matrix-vector queries require O(logF)O(\log |\mathcal{F}|) queries, matvec queries require only O~(logF)\tilde{O}(\sqrt{\log |\mathcal{F}|}).
  • Butterfly Matrices: The lower bound implies that for constant-rank butterfly matrices (which have O~(n)\tilde{O}(n) parameters), O~(n)\tilde{O}(\sqrt{n}) queries are necessary and sufficient, matching the best-known upper bounds up to logarithmic factors.

Significance and Claims

The paper claims to initiate the study of structured matrix approximation in greater generality, moving beyond specific matrix families to arbitrary finite and infinite families. Its primary significance lies in:

  1. Establishing a General Theory: Providing a framework to characterize query complexity based on the size (or covering number) of the hypothesis class, analogous to VC dimension in supervised learning but adapted for the matvec model.
  2. Demonstrating the Power of Multidimensional Output: Proving that the ability to query AA and ATA^T and observe vector outputs allows for a fundamental reduction in query complexity compared to scalar-output models (vector-matrix-vector).
  3. Tightness of Bounds: Showing that the O~(logF)\tilde{O}(\sqrt{\log |\mathcal{F}|}) bound is essentially optimal for finite families, closing the gap between upper and lower bounds for this general setting.

The authors note that their current results achieve a constant factor approximation (γ=3+ϵ\gamma = 3+\epsilon) and that achieving a (1+ϵ)(1+\epsilon) approximation with the same query complexity remains an open problem. They also highlight that their algorithm relies on adaptivity for the right-side queries, and the necessity of adaptivity for achieving the logF\sqrt{\log |\mathcal{F}|} bound is not yet proven.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →