Discrete Continuous Optimization Framework for Simultaneous Clustering and Training in Mixture Models

Parth Vipul Sangani, Arjun Shashank Kashettiwar, Pritish Chakraborty, Bhuvan Reddy Gangula, Durga Sivasubramanian, Ganesh Ramakrishnan, Rishabh K. Iyer, Abir DeICML 2023

Abstract / TL;DR The researchers introduce PRESTO, a novel framework that jointly optimizes data partitioning and model training without assuming a specific data-generation process. By treating the problem as a discrete-continuous optimization task, PRESTO enables the use of multiple lightweight "expert" models that outperform massive single models and traditional Mixture of Experts (MoE) while using up to 78% less GPU memory.

The Challenge of Heterogeneous Data

In machine learning, datasets are frequently "heterogeneous"—meaning different groups of data points follow distinct underlying patterns. Traditionally, this is handled using Mixture Models, which assume the data was generated by a specific set of underlying distributions (such as Gaussian distributions).

However, this "realizable" assumption creates a major bottleneck. If the data does not perfectly fit a Gaussian or linear trend, these models struggle. Furthermore, modern deep learning models are becoming increasingly over-parameterized. Their massive size makes them difficult or impossible to deploy on resource-constrained devices like smartphones or IoT sensors.

This presents a critical gap: How can we simultaneously cluster data and train models on those clusters for complex, non-linear tasks (like image classification) without making rigid assumptions about the data's origin?

Introducing PRESTO

To address this, the authors propose PRESTO, a Discrete-Continuous Optimization Framework. Its core innovation lies in resolving a classic "chicken-and-egg" problem: a good data partition is required to train a specialized model, but a well-trained model is needed to know how to optimally partition the data.

Instead of alternating between clustering and training as a heuristic, PRESTO defines a joint objective function that minimizes the sum of losses across $K$ subsets.

Mathematical Foundations

The authors prove that this complex training problem can be reduced to a constrained set function minimization problem. Specifically, they demonstrate that the objective is both monotone and $\alpha$-submodular. This theoretical grounding is significant because it allows the use of a Majorization-Minimization (MM) algorithm, providing approximation guarantees that most deep learning heuristics lack.

The "Expert" Architecture and Inference

Instead of relying on one giant neural network, PRESTO utilizes $K$ smaller "component" models. During training, only one component and its corresponding data slice need to be in memory at any given time.

Because the optimal partition is unknown for new, unseen data, PRESTO trains a separate, lightweight multiclass classifier ($\pi_\phi$) to act as a "gate." This gate predicts which expert model should handle a given input during inference.

Key Insights

  • Hard vs. Soft Assignment: Unlike standard Mixture of Experts (MoE), which uses "soft" probabilistic assignments (averaging the output of experts), PRESTO uses "hard" combinatorial assignments. The authors prove via Jensen’s Inequality that this hard assignment minimizes error more aggressively.
  • Memory as a First-Class Citizen: By partitioning the data, PRESTO allows for "local" models that only need to capture the non-linearity of a specific region of the data space. This makes the models significantly smaller and more memory-efficient.
  • Non-Realizable Flexibility: Because PRESTO does not assume a generative model (like a Gaussian Mixture), it is much more robust when the hidden mechanism of the data is unknown or highly complex.

Empirical Results

The framework was rigorously evaluated on synthetic data (to test ground-truth partition recovery) as well as standard image benchmarks like CIFAR10, CIFAR100 (modified with rotations to introduce artificial heterogeneity), and STL.

  • Superior Accuracy: On CIFAR10, PRESTO achieved 95.49% accuracy, significantly outperforming MoE (90.02%) and other clustering baselines like K-means++ (87.31%).
  • Massive Memory Savings: In resource-constrained tests, PRESTO consumed 78% less GPU memory during training than Knowledge Distillation (KD) methods, and 56% less during inference, all while maintaining comparable or superior accuracy.
  • True Partition Recovery: In synthetic experiments, the algorithm almost perfectly recovered the original hidden data clusters by the 50th epoch, demonstrating that the optimization successfully "finds" the natural structure of the data.

Limitations and Future Directions

While highly effective, PRESTO has a few limitations. The current implementation trains models sequentially across bins. While this saves memory, it can be slower than parallel training; parallelizing the bin-wise training is a clear next step. Additionally, final performance relies heavily on the accuracy of the gating classifier at test time—if the gate routes an image to the wrong expert, accuracy drops.

Looking forward, the authors suggest extending this framework to Federated Learning (where data remains on local devices) and multi-class learning setups where different clusters might align with specific sub-tasks.

Summary updated

BibTeX
@inproceedings{sangani2023discrete,
  author = {Parth Vipul Sangani and Arjun Shashank Kashettiwar and Pritish Chakraborty and Bhuvan Reddy Gangula and Durga Sivasubramanian and Ganesh Ramakrishnan and Rishabh K. Iyer and Abir De},
  title = {{Discrete Continuous Optimization Framework for Simultaneous Clustering and Training in Mixture Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=3MlWDiBcpr},
}
Figure