Learning Group Importance using the Differentiable Hypergeometric Distribution

Thomas M. Sutter, Laura Manduchi, Alain Ryser, Julia E. Vogt
3/3/2022
cs.LGstat.COstat.ML

Official code: thomassutter/mvhg (8 stars, Python, MIT, last commit 2024-02-13).

Abstract

Partitioning a set of elements into subsets of a priori unknown sizes is essential in many applications. These subset sizes are rarely explicitly learned - be it the cluster sizes in clustering applications or the number of shared versus independent generative latent factors in weakly-supervised learning.

Show full abstract

Probability distributions over correct combinations of subset sizes are non-differentiable due to hard constraints, which prohibit gradient-based optimization. In this work, we propose the differentiable hypergeometric distribution. The hypergeometric distribution models the probability of different group sizes based on their relative importance. We introduce reparameterizable gradients to learn the importance between groups and highlight the advantage of explicitly learning the size of subsets in two typical applications: weakly-supervised learning and clustering. In both applications, we outperform previous approaches, which rely on suboptimal heuristics to model the unknown size of groups.

View on arXivView PDF

Code Implementations(1)

thomassutter/mvhgOfficial100%
MIT

Python library for the differentiable hypergeometric distribution

80PythonFeb 21, 20232 years agoMIT
continuous-relaxationgumbel-softmaxmachine-learningreparameterization

Similar Papers

Cite this paper

@article{sutter2022learning,
  title  = {Learning Group Importance using the Differentiable Hypergeometric Distribution},
  author = {Thomas M. Sutter and Laura Manduchi and Alain Ryser and Julia E. Vogt},
  year   = {2022},
  eprint = {2203.01629},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.01629}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.01629.svg)](https://codeofpaper.com/paper/2203.01629)

Discussion