Query-Adaptive Predictive Inference with Partial Labels

Maxime Cauchois, John C. DuchiarXiv 2022 · DOI

Abstract

In complex structured prediction tasks, obtaining full ground-truth labels is often prohibitively expensive. This paper introduces a framework for generating uncertainty-aware "predictive sets" using partial feedback. By formalizing partial labels through "probe functions" and introducing a novel "False Probe Proportion" (FPP) loss, the authors provide a method for rigorous statistical guarantees on model reliability. The framework includes query-adaptive thresholding, allowing models to adjust their confidence based on the difficulty of specific instances, thereby maintaining high precision in structured domains like document ranking and hierarchical image classification.

Introduction

Traditional supervised learning relies on the availability of complete ground-truth labels. However, in structured prediction—such as ranking thousands of search results or segmenting high-resolution medical scans—collecting perfect labels is often impossible. Instead, practitioners frequently work with "weak" or "partial" feedback, such as a user preference between two items rather than a full list ranking.

This paper addresses the problem of uncertainty quantification in these settings. The goal is to produce predictive sets—outputs that contain the true label with a high, mathematically guaranteed probability—even when the training and calibration data are incomplete. Standard conformal inference techniques often fail here because the output spaces are too large, and the traditional 0-1 loss (where a prediction is either entirely right or entirely wrong) is too restrictive for structured tasks where partial correctness is valuable.

The Framework: Probes and FPP Loss

To bridge the gap between partial feedback and rigorous inference, the authors propose a three-part solution:

1. Probe Functions

Partial labels are formalized as a collection of "probes" ($\phi_i$). In a ranking task, a probe might ask, "Is item $i$ ranked higher than item $j$?" In a hierarchical classification task like ImageNet, a probe might ask, "Does this image belong to the category of 'canines'?" This allows the model to decompose complex labels into manageable, queryable components.

2. False Probe Proportion (FPP) Loss

Rather than using a binary metric, the authors introduce the False Probe Proportion (FPP) loss. This metric measures the proportion of queries the model answered incorrectly among those it felt confident enough to answer. This shift allows the model to "abstain" on difficult queries while still providing useful, guaranteed information on the queries it does answer.

3. Calibration and Adaptivity

The authors adapt "Risk-Controlling Predictive Sets" (RCPS) to the partial-label setting through several algorithmic approaches:

  • Step-down (Alg 1): A conservative approach ensuring strict error rate control.
  • Step-up (Alg 2): A more aggressive approach that yields smaller, more informative sets.
  • Fixed Sequence Testing (Alg 3): Controls the expected loss, which is often more practical for small query sets.
  • Adaptive Thresholding (Alg 4): This novel approach uses a Bernoulli sequence model to adjust confidence thresholds for every individual example. If an instance is "easy," the model uses a tighter threshold; if it is "hard," it widens the uncertainty net.

Experimental Evaluation

The framework was evaluated on two distinct structured tasks:

  • LETOR (Microsoft Learning to Rank): Using a dataset for document ranking, the authors simulated weak supervision by sampling only ~2% of possible pairwise comparisons. The results showed that the algorithms could successfully control the FPP even with extremely sparse feedback.
  • ImageNet Hierarchy: Focusing on the WordNet tree structure, the authors mimicked human feedback by sampling queries related to ancestor nodes. The model demonstrated the ability to answer high-level queries (e.g., "Is this an animal?") with near-perfect accuracy while correctly increasing uncertainty for specific breeds where the underlying scores were less certain.

Key Insights

  • Informative Abstention: By moving beyond 0-1 loss, the model can provide nuanced guarantees. It can effectively say, "I am certain about these five features of the label, but I will remain silent on the others," making predictive sets manageable in massive output spaces.
  • Query-Adaptivity: Not all queries are equally difficult. By using instance-dependent thresholds, the model significantly reduces the frequency of unnecessary abstentions, making the resulting predictions much more useful for end-users.
  • Statistical Validity: Algorithms 1 and 3 successfully controlled the FPP at the desired level ($\delta$) with the prescribed probability ($1-\alpha$) across both experimental datasets.

Limitations and Future Work

While the framework provides a robust path forward for structured inference, it remains dependent on the quality of the underlying "base" score functions. If the base model is poorly trained, the predictive sets will be too large to be informative. Additionally, the current adaptive thresholding model assumes a degree of independence between query mistakes. In structured spaces, errors are often correlated (e.g., misidentifying a specific breed often leads to errors in related hierarchical probes). Future research may focus on refining these models to account for such correlations and optimizing the computational efficiency of sorting through high-dimensional probe spaces in real-time systems.

Summary updated

BibTeX
@misc{cauchois2022query,
  author = {Maxime Cauchois and John C. Duchi},
  title = {{Query-Adaptive Predictive Inference with Partial Labels}},
  year = {2022},
  eprint = {2206.07236},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.07236},
}
Figure