TL;DR
This paper challenges the long-standing reliance on KL divergence in representation learning by proposing "Beyond I-Con," a framework that explores alternative statistical divergences. By replacing KL divergence with bounded alternatives like Total Variation (TV) and Jensen-Shannon Divergence (JSD), the authors achieve state-of-the-art results in unsupervised clustering and supervised contrastive learning, while also improving dimensionality reduction techniques.
What Problem Does This Paper Address?
Representation learning aims to create meaningful feature representations of data. A key component of many representation learning methods is the optimization objective, which often involves minimizing a divergence measure between distributions. The "Information Contrastive" (I-Con) framework recently unified over 23 methods by showing they implicitly minimize the Kullback-Leibler (KL) divergence. However, KL divergence has known issues: it's asymmetric (meaning $D_{KL}(P||Q) \neq D_{KL}(Q||P)$) and unbounded (it can go to infinity). These properties can lead to optimization challenges and potentially suboptimal representations, particularly in scenarios like dimensionality reduction where "crowding" can occur. This paper addresses the gap in systematically exploring alternative divergence measures beyond KL to find more robust and effective loss functions for representation learning.
Methods
The core contribution is the "Beyond I-Con" framework, which generalizes the I-Con objective. Instead of strictly using KL divergence ($D_{KL}$), it allows for any positive-definite divergence $D$ in the loss function: $L_{\text{Beyond I-Con}} = \mathbb{E}_{i \sim p(i)} [D(p(\cdot|i)||q(\cdot|i))]$. The authors specifically focus on $f$-divergences, which include KL, Total Variation (TV), Jensen-Shannon (JSD), and Hellinger divergence. These divergences are chosen because they offer different properties, with some (like JSD and Hellinger) being bounded, which is hypothesized to mitigate the optimization issues associated with KL's unboundedness. The paper then applies this generalized framework to three distinct representation learning tasks: unsupervised clustering, supervised contrastive learning, and dimensionality reduction.
Datasets
- ImageNet-1K: Used for unsupervised clustering experiments with DINO ViT embeddings.
- CIFAR-10: Used for supervised contrastive learning experiments with ResNet-50 models and for dimensionality reduction visualizations with a CNN backbone.
No new benchmarks were introduced; the paper evaluates performance on established datasets.
Key Insights and Ideas
- KL Divergence is Not the Only Game in Town: The paper convincingly demonstrates that KL divergence is not uniquely suited for effective representation learning. Alternative divergences can achieve comparable or superior results.
- Bounded Divergences Solve the "Crowding" Problem: The unbounded nature of KL divergence can lead to optimization instability and a "crowding" phenomenon in low-dimensional embeddings, where dissimilar points are mapped too close together. Bounded divergences like TV, Hellinger, and JSD appear to resolve this issue, leading to better-separated clusters and more stable training.
- Systematic Exploration Pays Off: By systematically exploring a range of $f$-divergences, the authors uncovered novel loss functions that outperform standard KL-based approaches across multiple tasks.
Key Results
- Unsupervised Clustering: Using the Pointwise Mutual Information (PMI) algorithm with Total Variation (TV) distance achieved state-of-the-art results on ImageNet-1K clustering for ViT-B/14 and ViT-L/14 embeddings, outperforming previous methods.
- Supervised Contrastive Learning: Replacing the standard KL divergence loss with Jensen-Shannon Divergence (JSD) for supervised contrastive learning on CIFAR-10 led to the best downstream classification accuracy, surpassing vanilla supervised contrastive learning (which implicitly uses KL). Hellinger distance also showed improved performance over KL.
- Dimensionality Reduction: Visualizations using t-SNE on CIFAR-10 showed that divergences other than KL (TV, Hellinger, JSD) produced more cleanly separated clusters, addressing the well-known "crowding" problem. Gradient norm plots also indicated more stable training with bounded divergences compared to KL.
Limitations and Future Work
- Gradient Instability with KL: The paper hypothesizes that KL-based losses may be prone to unstable gradients, citing evidence from dimensionality reduction experiments where large gradient spikes were observed with KL. This suggests a potential area for future investigation into the theoretical underpinnings of this instability.
- Broader Exploration of Divergences: While the paper focuses on $f$-divergences, there are many other divergence measures that could be explored. The "Beyond I-Con" framework provides a general roadmap for this.
- Task-Specific Divergence Choice: The optimal divergence might be task-dependent. Future work could involve developing methods to automatically select the best divergence for a given representation learning task.
Summary updated