Abstract: This research investigates the relationship between two prominent algorithmic families: matrix factorizations and recursive linear filters. By describing a probabilistic model where approximate inference corresponds to a matrix factorization algorithm, we derive a matrix-variate recursive linear filter capable of efficient inference in high dimensions. We demonstrate that this approach, termed MF-RLF, can be interpreted as a non-trivial stochastic gradient algorithm. The method is validated through an image restoration task, showing competitive performance and superior data efficiency compared to standard batch methods.
Bridging Matrix Factorization and Recursive Filtering
Matrix factorization (MF)—the decomposition of a data matrix into a dictionary and corresponding coefficients—is a cornerstone of modern machine learning. Traditionally, MF is treated as an optimization problem solved via Stochastic Gradient Descent (SGD) or Non-negative Matrix Factorization (NMF). Conversely, recursive linear filters, such as the Kalman filter, have a long history in signal processing for estimating hidden states from streaming data.
The primary obstacle in applying recursive filters to matrix factorization is computational complexity. For a large dictionary matrix, the covariance matrix required by a standard Kalman filter grows quadratically with the number of parameters, making it intractable for high-dimensional data. This paper introduces a probabilistic framework that reconciles these two domains while maintaining computational efficiency.
The MF-RLF Algorithm
The proposed MF-RLF (Matrix Factorisation based on Recursive Linear Filter) algorithm frames MF as a belief-updating process. The core innovation is the use of a Kronecker product structure ($V \otimes I$) for the dictionary's covariance. This mathematical constraint allows the algorithm to update a small $r \times r$ matrix (where $r$ is the approximation rank) instead of a massive $mr \times mr$ matrix, effectively bypassing the dimensionality bottleneck.
The algorithm operates recursively on each new data vector in two primary steps:
- Coefficient Estimation: The optimal coefficients for the current data point are calculated using a pseudoinverse.
- Dictionary Inference: The dictionary and its associated uncertainty are updated using Kalman-derived rules, simplified through Kronecker identities.
This structure reveals that MF-RLF is essentially a version of SGD utilizing a sophisticated, non-scalar step size, providing a formal link to quasi-Newton optimization methods like Broyden’s rule.
Experimental Evaluation
The algorithm was evaluated using the Olivetti face dataset, consisting of 400 images ($64 \times 64$ pixels). To test the robustness of the inference, the images were corrupted by randomly removing 25% of the pixels. The task was to reconstruct the original faces from this partial data.
MF-RLF was compared against two baselines: SGDMF (a standard stochastic gradient approach) and NMF (a traditional batch approach).
Key Results
Experimental results indicate that MF-RLF achieves state-of-the-art performance with significantly higher data efficiency.
- Reconstruction Quality: MF-RLF achieved a Signal-to-Noise Ratio (SNR) of 12.38, slightly outperforming batch NMF (12.35) and significantly exceeding SGDMF (11.75).
- Efficiency: Remarkably, MF-RLF reached these results after only 10 passes over the dataset. In comparison, the batch NMF required 1000 iterations to achieve comparable quality.
Qualitatively, the reconstructions produced by MF-RLF are clear and effectively recover the missing features, matching the visual fidelity of offline benchmarks while processing data in a streaming fashion.
Conclusion and Future Work
By viewing matrix factorization through the lens of recursive filtering, this work provides a principled method for handling high-dimensional streaming data. The use of process noise within the filtering framework also allows the model to adapt to non-stationary data more naturally than traditional optimization methods.
Future research directions include extending the model to incorporate non-negativity constraints—essential for parts-based representations—and exploring non-linear state-space models using techniques like Rao-Blackwellized particle filters to handle more complex data distributions.
Summary updated