Abstract
We propose a new fast randomized algorithm for interpolative decomposition (ID) of matrices utilizing CountSketch. This approach is extended to the tensor interpolative decomposition problem, providing theoretical performance guarantees for both settings. Numerical experiments on synthetic and real-world data demonstrate that our algorithms maintain the accuracy of competing methods while achieving at least an order of magnitude speed-up on large-scale datasets.
Introduction
In modern data science, compressing massive datasets while maintaining interpretability is a critical challenge. While Singular Value Decomposition (SVD) provides optimal low-rank approximations, it often produces "synthetic" features that lack physical meaning. Interpolative Decomposition (ID) offers a compelling alternative by approximating a matrix or tensor using a subset of its original columns or components. This preserves essential properties like sparsity and non-negativity. However, traditional ID algorithms are computationally expensive, often failing to scale to the millions of rows or high-dimensional tensors common in big data applications.
Methodology: Accelerating ID with CountSketch
To address the computational bottleneck, we leverage sketching techniques to reduce the dimensionality of the problem before performing the decomposition.
Matrix Interpolative Decomposition
The core of our proposal is the use of the CountSketch operator. Unlike Gaussian or Fourier-based sketches, CountSketch is extremely sparse. It works by randomly hashing rows into a smaller number of bins and randomly flipping their signs. This sparsity allows the sketch to be applied significantly faster than dense projections.
As shown in Algorithm 2, instead of decomposing the full matrix $A \in \mathbb{R}^{I \times R}$, we compute a sketch $Y = SA \in \mathbb{R}^{L \times R}$ where $L \ll I$. The ID is then performed on the much smaller matrix $Y$.
Tensor Interpolative Decomposition
For multi-dimensional data, we extend this to TensorSketch. This variant exploits the Kronecker product structure of tensor unfoldings, allowing us to compute sketches without ever explicitly forming the massive underlying matrices. This approach provides the first theoretical performance guarantees for randomized tensor ID, ensuring that the approximation error remains within predictable bounds.
Experimental Results
We evaluated the proposed algorithms against standard Gaussian and Fourier-based randomized ID methods using synthetic data, the SuiteSparse Matrix Collection, and the Enron Email Dataset.
Computational Efficiency
The CountSketch-based approach demonstrated significant performance gains:
- Matrix Speedup: On large synthetic matrices, our method was 18x faster than Gaussian-based ID and 12x faster than Fourier-based ID.
- Tensor Speedup: On synthetic tensors, it achieved a 46x speedup over the standard Gram matrix approach.
- Memory Scalability: While standard ID methods failed due to memory constraints on matrices exceeding 50,000 rows, the CountSketch method successfully processed matrices with 1,000,000 rows.
Accuracy and Robustness
Despite the speed increase, accuracy remained competitive. In a benchmark of 60 real-world scenarios from the SuiteSparse collection, the proposed method was the most accurate in 34 cases. This indicates that the sparse nature of CountSketch does not inherently sacrifice the quality of the decomposition for most practical datasets.
Discussion and Limitations
While highly effective, CountSketch is sensitive to semi-coherent matrices—structures where information is concentrated in a way that random hashing might miss. In these adversarial cases, the approximation error can increase.
Conclusion
The integration of CountSketch into Interpolative Decomposition provides a powerful tool for large-scale data compression. By maintaining the original data structure and offering order-of-magnitude speedups, this method enables the analysis of datasets previously considered "untouchable" due to computational or memory limits. Future research will focus on developing sketching operators robust to semi-coherent structures and extending these techniques to other tensor formats like Tucker or Tensor Train decompositions.
Summary updated