Abstract
In this paper, we consider a generic probabilistic discriminative learner from the functional viewpoint and argue that, to make it learn well, it is necessary to constrain its hypothesis space to a set of non-trivial piecewise constant functions. To achieve this goal, we present a scalable unsupervised regularization framework. On the theoretical front, we prove that this framework is conducive to a factually confident and smooth discriminative model and connect it to an adversarial Taboo game, spectral clustering and virtual adversarial training. Experimentally, we take deep neural networks as our learners and demonstrate that, when trained under our framework in the unsupervised setting, they not only achieve state-of-the-art clustering results but also generalize well on both synthetic and real data.
Introduction
In supervised learning, labels serve as a natural constraint that prevents highly expressive models, such as deep neural networks, from overfitting or producing erratic predictions. However, in unsupervised settings, these models often exhibit excessive freedom. Without the grounding of labels, a complex model may become "jittery"—maintaining high confidence in its predictions while flipping categories over insignificant perturbations in the input space.
We argue that an ideal unsupervised learner should approximate a piecewise constant function. This requires the model to satisfy two primary properties:
- Confidence: For any given instance, the model should be certain about its category assignment.
- Smoothness: The model's predictions should remain stable under small input variations, only changing at well-defined cluster boundaries.
Methods: The Dual-Regularization Framework
To enforce these properties without human-provided labels, we propose a dual-regularization strategy optimized via standard gradient-based methods.
Confidence Regularization via the "Taboo Game"
We frame unsupervised clustering as a communication problem involving three players (Ann, Bob, and Cal). In this "Taboo Game," the goal is for Bob to transmit a category label to Cal using only unlabeled images. Successful communication requires the model to partition the data into distinct, non-overlapping groups. By minimizing the failure rate in this game, we force the model to become "factually confident."
Smoothness Regularization and Fisher Information
To prevent confident but erratic behavior, we introduce a smoothness constraint inspired by Virtual Adversarial Training (VAT). To ensure this remains scalable for deep networks, we utilize the Fisher Information matrix. Rather than checking every possible direction for instability, we use Fisher Information to identify the specific directions in high-dimensional space where the model is most vulnerable to change. This reduces computational complexity from $O(kh^2)$ to $O(k|Y|h)$, where $h$ is the input dimension.
As shown in the training evolution above, the model progressively moves from a state of high uncertainty (epoch 1) to one where the conditional probability forms sharp, piecewise constant plateaus separated by high-Fisher-information boundaries (epoch 1200).
Key Results
The framework was evaluated on synthetic data, the MNIST handwritten digit dataset, and the Reuters text corpus. Unlike traditional clustering algorithms like K-Means, our method trains a discriminative model that generalizes to unseen data.
As detailed in the results table, our approach achieves state-of-the-art performance:
- MNIST: Achieved an unsupervised clustering accuracy of 98.38% on the test set, outperforming benchmarks like VaDE (94.46%) and S-Net (97.2%).
- Reuters: Achieved 83.23% accuracy, significantly surpassing IMSAT (71.9%) and S-Net (80.9%).
Discussion and Insights
Our findings suggest that enforcing piecewise constancy leads to several emergent benefits. First, the resulting models demonstrate remarkable unsupervised generalization, predicting categories for new data points with high accuracy. Second, the model becomes naturally more resistant to adversarial attacks; because the gradients (score vectors) become near-zero in confident regions, the model is less sensitive to perturbations.
Future work will focus on extending this framework to handle "noisy" datasets where categories naturally overlap, and exploring manifold modeling to replace the current Euclidean smoothness constraints. The generic nature of this regularization suggests potential applications in semi-supervised learning and outlier detection.
Summary updated