Learning A Task-Specific Deep Architecture For Clustering

Zhangyang Wang, Shiyu Chang, Jiayu Zhou, Meng Wang, Thomas S. Huang

TL;DR

This paper introduces TAGnet, a deep learning architecture designed by "unfolding" the iterative solver of graph-regularized sparse coding into a feed-forward neural network. By training this structured model end-to-end with clustering-specific loss functions, the authors combine the robust feature learning of sparse coding with the speed and scalability of deep learning, significantly outperforming generic deep architectures and traditional shallow methods.

What Problem Does This Paper Address?

Clustering high-dimensional data is a fundamental challenge in machine learning. While sparse coding (representing data as a combination of a few "atoms" from a dictionary) has proven highly effective for finding robust features, it has two major drawbacks:

  1. Efficiency: It relies on iterative optimization algorithms that are computationally expensive and slow to converge.
  2. Scalability: Complexity grows non-linearly with dictionary size, making it difficult to apply to "Big Data."

Conversely, deep learning offers linear scalability and fast inference but often operates as a "black box." Generic architectures (like standard MLPs) ignore problem-specific priors, making them hard to initialize and interpret for unsupervised tasks like clustering. This paper bridges the gap by creating a deep architecture that is mathematically grounded in sparse coding theory.

Methods

The authors propose the Task-specific And Graph-regularized Network (TAGnet). The core innovation lies in Theorem 3.1, which demonstrates that the optimal solution for graph-regularized sparse coding is the fixed point of a specific iterative process.

By "time-unfolding" this iteration and truncating it to a fixed number of stages (typically two), they transform a slow optimization problem into a fast feed-forward network.

Key components include:

  • Structured Layers: The weights ($W, S, \theta$) correspond directly to sparse coding components like the dictionary and shrinkage thresholds.
  • Graph Regularization ($\times L$): A dedicated branch in the network incorporates the Graph Laplacian ($L$), ensuring that the learned features respect the local geometric structure of the data manifold.
  • Clustering Losses: The network is trained end-to-end using either an Entropy-Minimization Loss (EML) or a Maximum-Margin Loss (MML).
  • DTAGnet (Deeply-supervised TAGnet): For complex datasets, the authors add auxiliary clustering tasks to intermediate layers. For example, in face clustering, intermediate layers might be tasked with clustering by "pose" or "expression" before the final layer clusters by "identity."
The TAGnet architecture (a) and its derivation from iterative solvers (b)

Datasets

The model was evaluated on three standard benchmarks:

  • MNIST: 70,000 handwritten digit images (0-9).
  • CMU MultiPIE: A complex dataset of 750,000 face images with labels for identity, pose, illumination, and expression.
  • COIL20: 1,440 images of 20 different objects viewed from different angles.

Key Insights and Ideas

  • Domain Expertise as Architecture: Instead of using a generic stack of layers, the authors show that "unfolding" a known optimization algorithm provides a superior architectural prior. This makes the model easier to initialize and more interpretable.
  • The Power of Auxiliary Tasks: In DTAGnet, enforcing clustering constraints at every hidden representation (as seen in Figure 2 below) acts as a powerful regularizer. It forces the network to learn discriminative features at multiple levels of abstraction (e.g., pose $\rightarrow$ expression $\rightarrow$ identity).
  • Robustness to Noise: The model maintains high performance even when significant Gaussian noise is added to the input, with the EML loss showing slightly better flexibility than MML in noisy environments.
Hierarchical clustering in DTAGnet using MultiPIE

Key Results

  • Superiority over Baselines: TAGnet consistently outperformed generic "Baseline Encoders" (BE) of the same parameter complexity. For instance, on MNIST, TAGnet-MML achieved ~69% accuracy compared to ~65% for the generic baseline.
  • Hierarchical Boost: On the challenging MultiPIE dataset, adding auxiliary tasks (DTAGnet) provided a massive 7% boost in identity clustering accuracy compared to the standard TAGnet.
  • Efficiency: While traditional sparse coding methods are slow, TAGnet provides an extremely efficient inference process, making it suitable for large-scale applications.

Limitations and Future Work

  • Fixed Graph Laplacian: Currently, the graph Laplacian ($L$) is pre-calculated and fixed during training. The authors suggest that learning or refining the graph structure dynamically could further improve performance.
  • Graph Reliability: On highly complex datasets like MultiPIE, the initial similarity graph can be noisy. The authors note that more sophisticated graph construction methods are needed to better estimate underlying manifold geometry in these cases.
  • Task Specificity: While the architecture is "task-specific," the current implementation is tailored for image data; extending this to other modalities (text, audio) remains an open area.

Summary updated

BibTeX
@inproceedings{wang2016learning,
  author = {Zhangyang Wang and Shiyu Chang and Jiayu Zhou and Meng Wang and Thomas S. Huang},
  title = {{Learning A Task-Specific Deep Architecture For Clustering}},
  booktitle = {SDM},
  year = {2016},
  doi = {10.1137/1.9781611974348.42},
}
Figure