Learning from label proportions makes it possible to train a classifier when the only labels available describe the composition of a group. Without individual labels, however, it is difficult to assess how often a prediction set contains the true class. We propose CP-LLP, a method that estimates class-conditional coverage from differences in composition across calibration bags. For each candidate class, we observe the fraction of instances in each bag for which the classifier includes that class in the prediction set. Regressing these frequencies on the known bag proportions gives an estimate of coverage from which we select a threshold for each class. Under the standard LLP assumptions and a full-rank proportion matrix, the resulting sets attain the target coverage simultaneously for all classes with a finite-sample PAC guarantee. The precision of calibration depends on an effective sample size determined by bag composition, and we show that the resulting estimation rate is minimax optimal. In 5{,}760 calibrations on Fashion-MNIST, CIFAR-10, SVHN and EuroSAT, empirical coverage never fell more than two percentage points below target for any class, whereas calibration on pseudo-labels missed the target in almost every run. At effective sample sizes above about 800, our prediction sets were within about 10\% in size of those calibrated with individual labels using the same PAC criterion.
翻译:暂无翻译