Efficient algorithms for the Hadamard decomposition
Samuel Wertz, Arnaud Vandaele, Nicolas Gillis
TL;DR
The paper tackles efficient Hadamard decomposition by approximating X with the Hadamard product of low-rank factors, \tilde{X} = \bigl(W_1H_1\bigr) \circ \bigl(W_2H_2\bigr). It develops a block-coordinate descent solver where each factor update reduces to convex, column-separable Hadamard least-squares subproblems solved via hadLS, and it provides GD-based and exact solution options along with a detailed complexity analysis. It introduces several initialization schemes, notably an SVD-based method that couples a magnitude and sign decomposition, and augments the method with momentum-based acceleration. The framework is extended to more than two factors to increase expressiveness while controlling computational cost, and extensive experiments on synthetic and real data show favorable convergence and reconstruction accuracy relative to gradient-based baselines and, in sparse settings, to SVD with equivalent parameter budgets. Collectively, these contributions deliver a scalable, flexible approach for high-rank Hadamard approximations with practical impact on data compression and analysis tasks.
Abstract
The Hadamard decomposition is a powerful technique for data analysis and matrix compression, which decomposes a given matrix into the element-wise product of two or more low-rank matrices. In this paper, we develop an efficient algorithm to solve this problem, leveraging an alternating optimization approach that decomposes the global non-convex problem into a series of convex sub-problems. To improve performance, we explore advanced initialization strategies inspired by the singular value decomposition (SVD) and incorporate acceleration techniques by introducing momentum-based updates. Beyond optimizing the two-matrix case, we also extend the Hadamard decomposition framework to support more than two low-rank matrices, enabling approximations with higher effective ranks while preserving computational efficiency. Finally, we conduct extensive experiments to compare our method with the existing gradient descent-based approaches for the Hadamard decomposition and with traditional low-rank approximation techniques. The results highlight the effectiveness of our proposed method across diverse datasets.
