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

Direct Discrete Optimization for Unsupervised Partitioning

This direction is split into other directions: direct discrete optimization (direct discrete label optimization). Its last version stays readable and citable here.

Version 1 of 189 papers119 conceptsfrozen 2026-10-04

In traditional unsupervised learning, researchers often face a mathematical dilemma: the objectives we care about—like partitioning a graph into perfectly distinct groups—are discrete and NP-hard. To solve them, the standard "two-stage" recipe has been to relax the problem into a continuous space (using eigen-decomposition), find a smooth solution, and then "round" that solution back into discrete labels using a heuristic like $k$-means.

However, a growing body of research suggests that this relaxation is not just a convenience; it is a source of error. By bridging the "discretization gap" and optimizing discrete cluster indicators directly, new algorithms are achieving higher accuracy, deterministic stability, and linear scalability.

The Problem with the Two-Stage Approach

The classic spectral clustering pipeline is the primary target of this critique. As noted in A Self-Balanced Min-Cut Algorithm for Image Clustering by Feiping Nie 0001 and colleagues, the standard approach of eigen-decomposition followed by $k$-means often "drifts" away from the original mathematical goal.

There are three main failures in the two-stage model:

  1. The Discretization Gap: The continuous solution that minimizes a relaxed objective is often far from the optimal discrete solution. Hongyuan Zhang 0001 and Xuelong Li 0001 argue in Discretize Relaxed Solution of Spectral Clustering via a Non-Heuristic Algorithm that heuristic post-processing is disconnected from the original graph-cut objective, leading to sub-optimal partitions.
  2. Initialization Sensitivity: Because $k$-means relies on random initialization, the final clusters can change every time the algorithm runs.
  3. Information Loss: Converting high-dimensional continuous embeddings back into categorical labels discards the structural nuances captured during the optimization process.

Direct Discrete Optimization

The alternative is to treat the cluster indicator matrix as a discrete variable from the start. Instead of solving for a continuous matrix $U$ and then clustering it, these methods optimize a discrete matrix $Y$ directly within the objective function.

In Deep clustering with concrete k-means, Boyan Gao and Timothy M. Hospedales use the Gumbel-Softmax reparameterization trick to make discrete assignments differentiable. This allows for true end-to-end gradient-based training. By optimizing the canonical clustering objective directly, the model avoids producing overlapping clusters and maintains the interpretability of hard assignments.

Similarly, for graph-based tasks, Falcon by Xiao Zhang replaces recursive spectral methods with a fast proximal-gradient approach that operates directly on the discrete assignment matrix. This eliminates the approximation gap and achieves significant speedups on image segmentation benchmarks.

Mechanisms for Discrete Refinement

How do you optimize a discrete matrix without the "smoothness" of continuous space? Researchers have converged on several key mechanisms:

  • Coordinate Descent: Algorithms like Fast-CD, introduced by Feiping Nie 0001 in A Novel Normalized-Cut Solver With Nearest Neighbor Hierarchical Initialization, iteratively reassign individual nodes to clusters that maximize the partitioning objective. This greedy refinement stays within the discrete domain, bypassing expensive matrix decompositions.
  • One-Pass Fusion: In multi-view clustering, Xinwang Liu and Siwei Wang proposed OP-LFMVC (One Pass Late Fusion Multi-view Clustering). By decomposing a consensus partition into a product of a discrete label matrix and a centroid matrix, they unify label generation and partition learning into a single optimization step.
  • Greedy Merging: Shenfei Pei and Rong Wang 0001 demonstrate in A Greedy Strategy for Graph Cut that a bottom-up merging process can be monotonic. By ensuring the objective value improves at every step, they reach local optima that are often superior to those found by spectral relaxation.

The Benefits of Staying Discrete

The shift toward direct discrete optimization offers three transformative advantages for machine learning workflows.

1. Determinism and Stability Traditional clustering is notorious for its variance. By eliminating the stochastic $k$-means step, methods like ToRES (Towards Resource-friendly, Extensible and Stable Incomplete Multi-view Clustering) achieve perfectly stable, zero-variance results. As Shengju Yu notes, this makes the algorithms far more reliable for production environments where consistency is as important as accuracy.

2. Linear Scalability Spectral methods typically scale at $O(n^3)$ due to eigen-decomposition. By using anchor graphs and discrete coordinate descent, frameworks like FMDC (Fast Multi-view Discrete Clustering with Anchor Graphs) reduce this complexity to $O(n)$. This allows high-quality graph clustering to be applied to massive datasets that were previously inaccessible.

3. Fidelity to the Objective Whether in matrix completion (Optimal Discrete Matrix Completion) or census data privacy (Differential privacy of hierarchical Census data), enforcing discrete constraints during optimization prevents the degradation of the underlying structure. As Ferdinando Fioretto and Pascal Van Hentenryck show, using exact integer optimization ensures that results are not just "close" to the truth, but are internally consistent and usable without further rounding.

Papers in this version

Showing 60 of 89 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_direct_discrete_optimization_for_unsuper_6ebe7f9e,
  title = {Direct Discrete Optimization for Unsupervised Partitioning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/direct-discrete-optimization-for-unsupervised-partitioning/rdr_6ebe7f9eb52d42d0a9d10310a898c10d},
  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_direct_discrete_optimization_for_unsuper_6ebe7f9e_v1,
  title = {Direct Discrete Optimization for Unsupervised Partitioning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/direct-discrete-optimization-for-unsupervised-partitioning/rdr_6ebe7f9eb52d42d0a9d10310a898c10d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}