A Unified Approach to Count-Based Weakly-Supervised Learning

Vinay Shukla, Zhe Zeng, Kareem Ahmed, Guy Van den Broeck
2/12/2026

No official code found. Best implementation: UCLA-StarAI/CountLoss (4 stars, last commit 2023-12-07).

Abstract

High-quality labels are often very scarce, whereas unlabeled data with inferred weak labels occurs more naturally. In many cases, these weak labels dictate the frequency of each respective class over a set of instances. In this paper, we develop a unified approach to learning from such weakly-labeled data, which we call count-based weakly-supervised learning. At the heart of our approach is the ability to compute the probability of exactly k out of n outputs being set to true. This computation is differentiable, exact, and efficient. Building upon the previous computation, we derive a count loss penalizing the model for deviations in its distribution from an arithmetic constraint defined over label counts. We evaluate our approach on three common weakly-supervised learning paradigms and observe that our proposed approach achieves state-of-the-art or highly competitive results across all three of the paradigms.

View on arXivView PDF

Code Implementations(1)

40PythonOct 26, 20232 years ago

Similar Papers

Cite this paper

@article{shukla2026unified,
  title  = {A Unified Approach to Count-Based Weakly-Supervised Learning},
  author = {Vinay Shukla and Zhe Zeng and Kareem Ahmed and Guy Van den Broeck},
  year   = {2026},
  eprint = {2311.13718},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.13718},
  journal = {NEURIPS 2023 2023}
}

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/2311.13718.svg)](https://codeofpaper.com/paper/2311.13718)

Discussion