Abstract
Sparse dictionary learning is a cornerstone of high-dimensional data analysis, typically optimized using the squared Euclidean distance ($L_2$ loss). However, the $L_2$ loss is highly sensitive to outliers and assumes a Gaussian noise model that rarely holds in real-world applications. This paper introduces a flexible framework that replaces $L_2$ with the broad class of Piecewise Linear Quadratic (PLQ) penalties. This family includes robust losses like Huber and $L_1$, as well as asymmetric quantile losses. We provide a block-coordinate descent algorithm with convergence guarantees and demonstrate its utility in robust image recovery, multi-modal tag refinement, and sensitivity analysis in subspace clustering.
Introduction
In machine learning, sparse models aim to represent high-dimensional data using a small number of basis elements or "atoms." Traditionally, the fidelity of this representation is measured by the $L_2$ norm. While computationally efficient, $L_2$ over-penalizes large errors, causing models to be skewed by outliers or "salt-and-pepper" noise. To address this, we propose generalizing sparse learning to convex PLQ cost functions, which offer the robustness and flexibility needed for complex, real-world datasets.
The PLQ Framework and the Smoothing Trick
The PLQ family encompasses a variety of loss functions tailored to specific noise profiles. For instance, the Huber penalty acts like $L_2$ for small errors but $L_1$ for large ones, providing resilience against impulsive noise. Quantile losses allow for asymmetric error weighting, which is crucial for discovering structures representative of specific data quantiles.
A significant challenge in optimizing non-smooth PLQ penalties (like $L_1$) within a block-coordinate descent framework is ensuring convergence. We resolve this by applying Moreau-Yosida smoothing, which is closely related to the proximal operator. A key theoretical insight of this work is that the PLQ class is closed under this smoothing operation—smoothing a PLQ penalty results in another PLQ penalty. This allows us to handle non-smooth objectives while maintaining strict convergence guarantees.
Algorithm and Convergence
Our algorithm alternates between updating sparse codes and the dictionary. The code update utilizes an interior point method designed for PLQ penalties, while the dictionary update employs an efficient L-BFGS optimization with Barzilai-Borwein step-length selection. As shown in the convergence plots below, the objective value decreases monotonically and stabilizes across various loss functions, validating the robustness of our optimization strategy.
Case Studies and Results
We evaluated the framework on three distinct tasks:
- Robust Image Modeling: On images corrupted with 15% salt-and-pepper noise, the Huber penalty achieved a Peak Signal-to-Noise Ratio (PSNR) of 22.94 dB, vastly outperforming the $L_2$ penalty's 13.35 dB. Visually, the Huber model ignored the noise, whereas the $L_2$ model blurred it into the learned dictionary.
- Tag Refinement: Using the Corel-5K dataset, we applied a "block-assignable" strategy: $L_2$ loss for visual features and Huber loss for noisy text tags. This heterogeneous approach consistently outperformed standard $L_2$ in recovering accurate image annotations across varying levels of synthetic tag noise.
- Subspace Clustering: By employing a Quantile Huber penalty on UCI datasets, we generated empirical confidence limits. This revealed that while some datasets (like Wine) have high median clustering accuracy, they are highly sensitive to perturbations at extreme quantiles.
Conclusion and Future Work
By moving beyond the Gaussian assumptions of $L_2$ loss, the PLQ framework provides a robust and theoretically grounded approach to sparse dictionary learning. While the current interior point method for code updates does not easily allow for "warm-starts," future work will focus on incorporating proximal methods to enable faster online dictionary inference and scaling to massive datasets.
Summary updated