Testing Positive Semidefiniteness Using Linear Measurements
Deanna Needell, William Swartworth, David P. Woodruff
Abstract
We study the problem of testing whether a symmetric input matrix A is symmetric positive semidefinite (PSD), or is -far from the PSD cone, meaning that , where is the Schatten-p norm of A. In applications one often needs to quickly tell if an input matrix is PSD, and a small distance from the PSD cone may be tolerable. We consider two well-studied query models for measuring efficiency, namely, the matrix-vector and vector-matrix-vector query models. We first consider one-sided testers, which are testers that correctly classify any PSD input, but may fail on a non-PSD input with a tiny failure probability. Up to logarithmic factors, in the matrix-vector query model we show a tight bound, while in the vector-matrix-vector query model we show a tight bound, for every . We also show a strong separation between one-sided and two-sided testers in the vector-matrix-vector model, where a two-sided tester can fail on both PSD and non-PSD inputs with a tiny failure probability. In particular, for the important case of the Frobenius norm, we show that any one-sided tester requires queries. However we introduce a bilinear sketch for two-sided testing from which we construct a Frobenius norm tester achieving the optimal queries. We also give a number of additional separations between adaptive and non-adaptive testers. Our techniques have implications beyond testing, providing new methods to approximate the spectrum of a matrix with Frobenius norm error using dimensionality reduction in a way that preserves the signs of eigenvalues.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- Low Complexity Homeomorphic Projection to Ensure Neural-Network Solution Feasibility for Optimization over (Non-)Convex SetEnming Liang, Minghua Chen, Steven H. LowICML 2023 · 18 citations
- Krylov Methods are (nearly) Optimal for Low-Rank ApproximationAinesh Bakshi, Shyam NarayananFOCS 2023 · 14 citations
- Optimal Eigenvalue Approximation via SketchingWilliam Swartworth, David P. WoodruffSTOC 2023 · 4 citations
- Improved Spectral Density Estimation via Explicit and Implicit DeflationRajarshi Bhattacharjee, Rajesh Jayaram, Cameron Musco, Christopher Musco et al.SODA 2025 · 1 citation
- Lifting Linear Sketches: Optimal Bounds and Adversarial RobustnessElena Gribelyuk, Honghao Lin, David P. Woodruff, Huacheng Yu et al.STOC 2025 · 1 citation
Builds on2
Related papers
- Optimal Sketching for Residual Error Estimation for Matrix and Vector NormsYi Li, Honghao Lin, David P. WoodruffICLR 2024 · 2 citations
- Robust and Sample Optimal Algorithms for PSD Low Rank ApproximationAinesh Bakshi, Nadiia Chepurko, David P. WoodruffFOCS 2020 · 4 citations
- Lower Bounds for Convexity TestingXi Chen, Anindya De, Shivam Nadimpalli, Rocco A. Servedio et al.SODA 2025
- Tight Sampling Bounds for Eigenvalue ApproximationWilliam Swartworth, David P. WoodruffSODA 2025
- Understanding the Kronecker Matrix-Vector Complexity of Linear AlgebraRaphael A. Meyer, William J. Swartworth, David P. WoodruffICML 2025
