Clustering often involves minimizing an energy function over a discrete set of possible partitions—a task that is typically NP-hard. To solve this, researchers usually "relax" the problem, turning discrete choices into continuous variables (as seen in spectral clustering or Non-negative Matrix Factorization). However, most of these relaxations are "loose," meaning the continuous solution doesn't closely resemble the original discrete goal and requires post-processing steps like k-means to finalize the assignments.
While Total Variation (TV) techniques have shown promise in producing "tight" relaxations for two-class bi-partitioning problems, extending them to multiple classes has historically relied on recursive splitting, which accumulates errors and leads to sub-optimal results. This paper introduces Multiclass Total Variation (MTV) clustering, a direct, non-recursive framework that generalizes the "Cheeger cut" to multiple classes. By using a tight continuous relaxation based on total variation, MTV achieves sharp, nearly discrete cluster assignments that significantly outperform previous recursive TV methods and rival state-of-the-art approaches.
The Multiclass Balanced-Cut Model
The authors propose a generalized Multiclass Balanced-Cut model that minimizes the "cut" (the edges between clusters) while balancing cluster sizes. A critical insight in their formulation is setting a parameter $\lambda = R - 1$ (where $R$ is the number of classes) to ensure each class occupies roughly $1/R$ of the total vertices.
To solve the discrete problem, they relax it using the concept of Total Variation on graphs and an asymmetric $L^1$-norm. This involves a "$\lambda$-median" term that encourages the solution to stay near 0 or 1. To handle the resulting non-convex optimization—a sum of ratios of convex functions—the authors developed a novel proximal splitting algorithm. It uses a primal-dual approach with acceleration to efficiently manage the simplex constraints and the non-smooth TV terms.
The "Tightness" of Total Variation
The core advantage of MTV lies in the comparison between TV and spectral relaxations. Because $t^2 < t$ for values between 0 and 1, spectral methods (which use $L^2$-like penalties) inherently "prefer" smooth, fractional assignments to reduce energy. TV, utilizing $L^1$-like penalties, does not have this bias. It promotes "quasi-indicator" functions—assignments that are very sharp and jump suddenly from 0 to 1, closely mimicking discrete partitions.
Furthermore, by optimizing all classes simultaneously rather than splitting the data repeatedly, the non-recursive model avoids the greedy errors that plague recursive bi-partitioning.
Experimental Results
The MTV algorithm was evaluated on six standard, large-scale benchmarks: 4MOONS (a synthetic manifold dataset), WEBKB4, OPTDIGITS, PENDIGITS, 20NEWS, and MNIST.
Unsupervised Performance: MTV significantly outperformed previous recursive TV methods like NCC-TV and 1SPEC. For example, on the 4MOONS dataset, MTV achieved an impressive 99.53% purity, compared to just 88.75% for previous TV methods. It also performed comparably to or better than state-of-the-art NMF methods (LSD and NMFR), reaching 39.40% purity on the challenging 20NEWS dataset.
Transductive Flexibility: The MTV framework easily incorporates a priori knowledge. If a few points are known to belong to specific classes, they can be enforced as hard constraints within the convex simplex. With just one label per class, the algorithm achieved 97.53% accuracy on MNIST in only 98 seconds, demonstrating both its efficiency and the practical power of a tight relaxation in semi-supervised learning scenarios.
Limitations and Future Work
While highly effective, MTV does have a few limitations:
- Local Minima: Like many clustering algorithms, the energy landscape is non-convex. The authors used 30 random trials to find the best solution, indicating that results can be sensitive to initialization.
- Graph Construction: The performance heavily depends on the quality of the initial similarity matrix ($W$).
- Smoothing: MTV excels on manifold data (like MNIST), but the authors note that NMF sometimes performs better on noisy, non-manifold data because NMF inherently uses graph-smoothing techniques. Integrating such smoothing into the TV framework represents a promising path for future research.
Summary updated