Skip to main content
QUICK REVIEW

[Paper Review] Determinantal Point Processes for Mini-Batch Diversification

Cheng Zhang, Hedvig Kjellström|arXiv (Cornell University)|May 1, 2017
Stochastic Gradient Optimization TechniquesComputer Science41 references13 citations
TL;DR

This paper proposes Deterministic Mini-Batch SGD (DM-SGD), a non-uniform mini-batch sampling method using Determinantal Point Processes (DPPs) to improve training diversity and reduce gradient variance. By leveraging a similarity kernel between data points, DM-SGD favors diverse mini-batches, outperforming uniform sampling in convergence speed and classification accuracy, especially in imbalanced datasets.

ABSTRACT

We study a mini-batch diversification scheme for stochastic gradient descent (SGD). While classical SGD relies on uniformly sampling data points to form a mini-batch, we propose a non-uniform sampling scheme based on the Determinantal Point Process (DPP). The DPP relies on a similarity measure between data points and gives low probabilities to mini-batches which contain redundant data, and higher probabilities to mini-batches with more diverse data. This simultaneously balances the data and leads to stochastic gradients with lower variance. We term this approach Diversified Mini-Batch SGD (DM-SGD). We show that regular SGD and a biased version of stratified sampling emerge as special cases. Furthermore, DM-SGD generalizes stratified sampling to cases where no discrete features exist to bin the data into groups. We show experimentally that our method results more interpretable and diverse features in unsupervised setups, and in better classification accuracies in supervised setups.

Motivation & Objective

  • To address data imbalance in stochastic gradient descent by improving mini-batch diversity.
  • To reduce stochastic gradient variance through non-uniform sampling based on data similarity.
  • To generalize stratified sampling to cases without discrete features or predefined strata.
  • To enable reusable, precomputed diversified mini-batches for multiple learning tasks.

Proposed method

  • Uses a Determinantal Point Process (DPP) to sample mini-batches with low probability of redundancy.
  • Constructs a similarity kernel $ L = FF^T $, where $ F = [(1-w)X_{fc1} \quad wH] $, combining deep features and class labels.
  • Employs a weighted linear kernel to balance diversity within and across classes via hyperparameter $ w $.
  • Derives conditions under which DM-SGD reduces gradient variance, ensuring faster convergence.
  • Generalizes i.i.d. sampling and biased stratified sampling as special cases when $ w=0 $ and $ w=1 $, respectively.
  • Precomputes diversified mini-batches independently of the learning objective, enabling reuse across models.

Experimental results

Research questions

  • RQ1Can DPP-based sampling reduce gradient variance in stochastic optimization without requiring discrete strata?
  • RQ2How does DM-SGD compare to standard SGD and stratified sampling in terms of convergence and accuracy?
  • RQ3To what extent does mini-batch diversity improve feature interpretability in unsupervised models?
  • RQ4Can DM-SGD generalize stratified sampling to continuous or non-discrete data structures?
  • RQ5Does DM-SGD maintain convergence guarantees despite introducing bias in sampling?

Key findings

  • DM-SGD achieves faster convergence and higher test accuracy than random sampling in supervised learning, particularly with small mini-batch sizes.
  • On CIFAR-10, DM-SGD with $ w=0.9 $ and $ w=0.7 $ achieved better classification performance than baseline random sampling.
  • For topic modeling, DM-SGD produced more interpretable and discriminative document features compared to i.i.d. sampling.
  • Even on the balanced MNIST dataset, DM-SGD outperformed random sampling due to variance reduction, demonstrating its robustness.
  • When $ w=1 $, DM-SGD reduces to biased stratified sampling, validating its theoretical generalization.
  • The method generalizes both i.i.d. sampling and stratified sampling as special cases, depending on the kernel parameter $ w $.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.