Semi-Supervised Dictionary Learning via Structural Sparse Preserving

Di Wang, Xiaoqin Zhang, Mingyu Fan, Xiuzi YeAAAI 2016

Introduction

Dictionary Learning (DL) is a cornerstone of modern data representation, aiming to find a set of "atoms" (a dictionary) that can reconstruct data points through sparse linear combinations. While Supervised Dictionary Learning (SDL) has shown great success in classification tasks, its reliance on large volumes of labeled data presents a significant bottleneck. Semi-supervised methods attempt to bridge this gap by utilizing unlabeled data, but often fail to fully exploit the fine-grained structural relationships between labeled and unlabeled samples.

This paper introduces Structural Sparse Preserving Dictionary Learning (SSP-DL), a semi-supervised approach designed to enhance classification performance when labeled data is scarce. By leveraging the structural relationships between samples—essentially forcing similar samples to share the same dictionary atoms—the model learns a more discriminative and compact representation than traditional methods.

Methodology

The core innovation of SSP-DL is the Structural Sparse Preserving (SSP) mechanism, which leverages the inherent relationships between samples to guide the dictionary learning process.

Conceptual Framework

The process begins by capturing the sparse relationships between all training samples (both labeled and unlabeled). As illustrated in the framework below, an unlabeled sample is represented as a sparse combination of other training samples. If an unlabeled sample is primarily reconstructed by labeled samples from a specific class, it is highly likely to belong to that class.

Conceptual framework of SSP-DL showing relationships between samples and shared dictionary atoms.

Structural Sparse Preserving

The authors formalize this by first solving for a matrix $G$ where $X = XG$. This matrix acts as a map of neighborhood relationships. The objective function then incorporates a Structural Preserving Term, which ensures that the learned sparse codes ($A$) preserve the relationships found in $G$. Specifically, if a sample $x_i$ is a linear combination of $x_j$ and $x_k$ in the original space, its sparse code $\alpha_i$ should be a similar linear combination of $\alpha_j$ and $\alpha_k$.

Illustration of the structural sparse preserving mechanism (b) and the resulting sparse matrix G (a).

The objective function also utilizes mixed norms, specifically the $\ell_{2,p}$ norm (where $0 < p < 1$), to promote group sparsity. This encourages "all-or-nothing" atom selection for a class, leading to clearer class boundaries and automatic pruning of redundant dictionary atoms. If a row in the sparse code matrix is near-zero, that dictionary atom is deleted, allowing the model to learn the optimal dictionary size automatically.

Optimization

The resulting non-convex and non-smooth objective function is optimized using a Block Coordinate Descent (BCD) algorithm. This approach iteratively updates the sparse codes and the dictionary, providing a mathematical guarantee of convergence. Experimental results show the cost function typically stabilizes within roughly 20 iterations.

Experimental Evaluation

The performance of SSP-DL was evaluated on five benchmark datasets: MNIST and USPS (handwritten digits), UMIST (faces), SBData (objects), and COIL-20 (objects).

Key Results

SSP-DL consistently outperformed state-of-the-art supervised and semi-supervised methods across all benchmarks:

  • Superior Accuracy: On the MNIST dataset, SSP-DL achieved 85.75% accuracy, surpassing SSR-D (83.83%) and traditional supervised methods like FDDL (82.52%).
  • Robustness with Few Labels: On the COIL-20 dataset, when only 2 labels per class were provided, SSP-DL maintained a high accuracy of 74.47%, while the nearest competitor trailed at 71.99%.

Discussion and Conclusion

SSP-DL effectively bridges the gap between supervised and unsupervised learning by treating unlabeled data not as a monolithic block, but as a structured set of samples that "inherit" discriminative properties from their labeled neighbors.

While highly effective, the model currently assumes Gaussian noise due to its use of the Frobenius norm for reconstruction error, making it sensitive to outliers. Future work may involve adopting more robust norms, such as the $\ell_{2,p}$ norm, for the reconstruction term to handle "dirty" data or occlusions. Additionally, scaling the initial computation of the $G$ matrix for extremely large-scale datasets remains a challenge for future optimization.

Summary updated

BibTeX
@inproceedings{wang2016semi,
  author = {Di Wang and Xiaoqin Zhang and Mingyu Fan and Xiuzi Ye},
  title = {{Semi-Supervised Dictionary Learning via Structural Sparse Preserving}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10225},
}
Figure