NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Joint Optimization of Representation Learning and Clustering

22 concepts23 papers1 proposal

In unsupervised learning, data grouping has traditionally been treated as a two-stage pipeline. First, a feature extractor maps high-dimensional data (such as images, text, or graphs) into a compact latent space. Second, a downstream clustering algorithm, such as $k$-means or spectral clustering, partitions these latent vectors into distinct groups.

While intuitive, this decoupled approach suffers from a fundamental flaw: the representation learner is entirely blind to the clustering objective. If an encoder is trained solely to maximize data reconstruction or instance-level discrimination, it may preserve variance that is irrelevant to semantic grouping while discarding subtle boundaries crucial for cluster separation. The downstream clustering algorithm is then forced to operate on a suboptimal feature space, leading to accumulated errors and poor group cohesion.

To resolve this misalignment, a powerful paradigm has emerged: jointly optimizing representation learning and clustering within a unified, end-to-end framework. By transforming the sequential pipeline into a simultaneous optimization problem, the clustering mechanism directly informs the feature learning phase, creating a cooperative feedback loop.


The Core Intuition: The Virtuous Cycle

The fundamental reason why joint optimization works can be conceptualized as a "virtuous cycle." In a decoupled framework, errors propagate forward. In a unified framework, the representation and the cluster assignments iteratively refine one another.

┌────────────────────────────────────────────────────────┐
│                                                        │
▼                                                        │
Better Representations ──► Clearer Cluster Boundaries    │
▲                                  │                     │ (End-to-End Loop)
│                                  ▼                     │
└─────────────────────── Refined Supervisory Signals ────┘

As argued by Jianwei Yang et al. in their seminal work on Joint Unsupervised Learning of Deep Representations and Image Clusters, treating cluster assignment as a forward pass and representation learning as a backward pass allows the model to use cluster structures as a form of pseudo-supervision. Better features yield cleaner clusters, and cleaner clusters provide more accurate supervisory targets to update the network weights.

Without this integration, models across various domains face severe performance bottlenecks. For instance, in natural language processing, Jiaming Xu et al. demonstrated in Short Text Clustering via Convolutional Neural Networks that traditional sparse text representations fail to capture deep semantics unless the feature extraction phase is explicitly aligned with the grouping objective. Similarly, in biological applications like metagenomic binning, Mads Albertsen et al. noted in Graph Neural Networks for Metagenomic Binning that separating the graph embeddings of DNA fragments from the final binning step yields fragmented and inaccurate microbial genomes.


Methodological Paradigms of Joint Learning

Researchers have developed several distinct mathematical mechanisms to achieve this unified optimization, spanning probabilistic models, contrastive learning, and matrix factorization.

1. Probabilistic and Generative Mixture Models

One elegant way to unify these steps is to embed the clustering assumption directly into the latent space of a generative model. Instead of mapping data to a standard isotropic Gaussian distribution (as in a traditional Variational Autoencoder), the latent space is modeled as a mixture of distributions.

In Variational Deep Embedding: An Unsupervised and Generative Approach to Clustering, Zhuxi Jiang et al. replaced the single-Gaussian prior of a VAE with a Gaussian Mixture Model (GMM). The network must simultaneously learn to reconstruct the data and maximize the probability that the latent embeddings originate from one of the GMM components. This forces the network to shape cluster boundaries directly during the embedding process.

Expanding on this probabilistic view using contrastive learning, Chongxuan Li et al. proposed MiCE: Mixture of Contrastive Experts for Unsupervised Image Clustering. MiCE utilizes a scalable Expectation-Maximization (EM) algorithm where latent "experts" specialize in semantic subsets of the data, directly merging contrastive representation learning with conditional cluster assignment.

2. Dual-Level Contrastive Learning

Contrastive learning typically operates at the instance level, pushing views of the same image together and pulling different images apart. Joint optimization frameworks extend this by introducing a simultaneous cluster-level contrastive loss.

A clear implementation of this geometry is found in Twin Contrastive Learning for Online Clustering. In this work, Yunfan Li et al. exploited a matrix duality: the rows of a feature matrix represent instance embeddings, while the columns represent cluster assignments. By performing contrastive learning along both dimensions simultaneously, the model ensures that instance representations remain distinct while cluster representations remain orthogonal and non-degenerate.

Instance-level Contrastive (Rows)    ──► Pulls positive pairs together
Cluster-level Contrastive  (Columns) ──► Ensures distinct, orthogonal groups

This dual-level strategy is highly adaptable. For example, Wei Ju et al. applied it to graph structures in GLCC: A General Framework for Graph-Level Clustering, breaking the isolation between independent graphs to construct a unified affinity space optimized specifically for partitioning.

3. One-Step Matrix Factorization and Spectral Alignment

For structural and multi-view data, joint optimization often manifests as the mathematical integration of subspace learning and partition constraints into a single objective function.

Traditional spectral clustering requires computing an affinity matrix, extracting its eigenvectors, and then running $k$-means on those eigenvectors. This multi-stage process is highly susceptible to noise. To bypass this, Xiaofeng Zhu 0001 et al. introduced One-Step Spectral Clustering via Dynamically Learning Affinity Matrix and Subspace. By imposing a graph-theoretic constraint that forces the learned affinity matrix to have exactly $k$ connected components, the cluster assignments are solved directly during the subspace learning phase, eliminating the error-prone second step entirely.

In the context of multi-view and federated learning, this integration is achieved by merging Non-negative Matrix Factorization (NMF) with clustering objectives. In Efficient Federated Multi-View Clustering with Integrated Matrix Factorization and K-Means, Wei Feng et al. formulated a single objective function that unifies feature extraction via NMF and discrete partitioning via $k$-means. This ensures that the local geometric structures across distributed clients directly inform the global cluster boundaries without compromising data privacy.


Why Joint Optimization Succeeds

The superior performance of joint optimization across domains—ranging from video segmentation (Elena Belén Bueno-Benito et al. in Leveraging triplet loss for unsupervised action segmentation) to cross-view gait recognition (Shaoxiong Zhang 0001 et al. in Cross-View Gait Recognition With Deep Universal Linear Embeddings)—stems from three core properties:

  1. Information Preservation: Traditional dimensionality reduction acts as an information bottleneck that discards data based on global variance or reconstruction error. Joint optimization ensures that the bottleneck specifically preserves discretizing information—the features that help draw clean boundaries between groups.
  2. Dynamic Error Correction: If a representation initially groups two distinct classes together, a joint framework uses cluster-level losses (such as the dynamic pseudo-labeling thresholds used by Hua Xu et al. in Constrained Self-Supervised Clustering for Discovering New Intents) to penalize the encoder, forcing it to separate those instances in the next iteration.
  3. Cross-View and Cross-Modal Synergy: In multi-view settings, optimizing representations independently across views often leads to conflicting partition structures. Frameworks like the one proposed by Jiyuan Liu 0003 et al. in One-Step Multi-View Clustering With Diverse Representation or the Mixture of Experts framework by Jinyu Cai et al. in Mixture of Experts as Representation Learner for Deep Multi-View Clustering leverage a unified objective to force diverse data streams to collapse onto a shared, semantically consistent partition space.

By treating representation learning and clustering as two sides of the same coin, these unified architectures ensure that the geometry of the learned latent space is inherently tailored for categorization, fundamentally altering how we approach unsupervised structure discovery.

Key Foundational Work

Short Text Clustering via Convolutional Neural Networks (2015) — contributed 1 concept elements to this direction.
Joint Unsupervised Learning of Deep Representations and Image Clusters (2016) — contributed 1 concept elements to this direction.
Learning A Task-Specific Deep Architecture For Clustering (2015) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_decoupled_representation_and_clustering_bb3e909f,
  title = {decoupled representation and clustering},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/decoupled-representation-and-clustering/rdr_bb3e909f859c4c1f831b0af20980f5da},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_decoupled_representation_and_clustering_bb3e909f_v1,
  title = {decoupled representation and clustering},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/decoupled-representation-and-clustering/rdr_bb3e909f859c4c1f831b0af20980f5da/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake