On Characterizing and Mitigating Imbalances in Multi-Instance Partial Label Learning

Kaifu Wang, Efthymia Tsamoura, Dan Roth · Submission to ICLR 2025 · Rejected

TL;DR

In Multi-Instance Partial Label Learning (MI-PLL)—a framework spanning neurosymbolic and weakly-supervised learning—models often suffer from severe per-class performance disparities. This paper shows both theoretically and empirically that these learning imbalances are driven not just by raw data skew, but by the symbolic transition function $\sigma$ connecting hidden labels to weak supervisory signals. To fix this, the authors introduce a statistically consistent solver to recover hidden class distributions, paired with optimization algorithms for imbalance mitigation during both training and inference that boost accuracy by up to 14%.

What Problem Does This Paper Address?

In MI-PLL, classifiers are trained on tuples of instances $(x_1, \dots, x_M)$ where individual ground-truth labels $(y_1, \dots, y_M)$ remain unobserved. Instead, the learner only receives a high-level feedback signal $s = \sigma(y_1, \dots, y_M)$ generated by a known transition function (e.g., observing only the maximum of two MNIST digits, $s = \max(y_1, y_2)$).

While conventional long-tail learning attributes disparate class errors (class-specific risks) purely to imbalanced training frequencies, MI-PLL displays severe imbalances even when hidden and partial labels are uniformly distributed. Prior mitigation techniques fail in this regime:

  1. Ground-truth label marginals $r = P(Y)$ are hidden.
  2. Standard approaches operate on single instances, ignoring the joint combinatorial constraints imposed by $\sigma$ across instance tuples.

Methods

The authors provide an end-to-end framework spanning theory, marginal estimation, and algorithmic mitigation:

[Partial Labels s] ──> [Algorithm 1: Polynomial Solver] ──> [Estimated Marginals r̂]
                                                                  │
              ┌───────────────────────────────────────────────────┴──────────────────────────────────┐
              ▼                                                                                      ▼
   [Training-Time Mitigation: LP]                                                         [Testing-Time Mitigation: CAROT]
- Batched Linear Program via Tseytin CNF                                                - Robust Semi-Constrained Optimal Transport
- Enforces validity under σ and bounds deviation from r̂                                  - Sinkhorn-style marginal adjustment of logits
  • Theoretical Risk Bounds: Formulating class-specific risk $R_j(f)$ via a non-linear program reveals that the worst-case risk scales directly with the transition function's geometry ($\Phi_{\sigma, j}$), formally proving that $\sigma$ inherently skews the learning landscape.
  • Hidden Label Marginal Estimation (Algorithm 1): The probability of observing partial label $a_j$ is a polynomial over the hidden label marginals $r$: $p_j = \sum_{\mathbf{y} \in \sigma^{-1}(a_j)} \prod_{i=1}^M r_{y_i}$. The authors frame this as a maximum-likelihood estimation problem parameterized by softmax logits, proven to be statistically consistent as dataset size $m_P \to \infty$.
  • Training-Time Mitigation via LP: To avoid exponential combinatorial explosion, the symbolic constraints $\sigma(\mathbf{y}) = s$ are converted to Conjunctive Normal Form (CNF) via the Tseytin transformation. This enables an efficient batch-level linear program (LP) that assigns pseudo-labels adhering to both symbolic constraints and the estimated marginals $\hat{r}$.
  • Testing-Time Mitigation (CAROT): For inference-time adjustment, the authors formulate a Robust Semi-Constrained Optimal Transport (RSOT) objective solved via an entropic, alternating semi-Sinkhorn algorithm, dynamically nudging batch model predictions toward $\hat{r}$.

Datasets

The authors evaluated their methods across four challenging benchmarks under varying imbalance ratios $\rho$ (where $\rho = 0$ is uniform and $\rho = 50$ represents heavy long-tail skew):

  1. MAX-$M$ (MNIST): Tuples of $M \in \{3, 4, 5\}$ digits where supervision is only the maximum digit value.
  2. Smallest Parent (CIFAR-10): A newly introduced benchmark where instance pairs are supervised only by their most immediate common ancestor in a predefined class hierarchy.
  3. SUM-$M$ (MNIST): Tuples of $M \in \{5, 6, 7\}$ digits supervised solely by the sum of their values.
  4. HWF-$M$ (Handwritten Formulas): Sequences of handwritten digits and mathematical operators supervised by the final scalar evaluation (a non-i.i.d. domain).

Key Insights and Ideas

  • The Transition Function Dictates Difficulty: In $\max(y_1, y_2)$ on uniform digits, observing $s=0$ uniquely isolates $y_1=y_2=0$, whereas $s=9$ spans 19 different valid configurations. Even when data is balanced, supervision strength is drastically asymmetric across classes.
  • Batch Constraints Outperform Instance Tweaks: Applying standard logit adjustments independently per instance fails because it cannot guarantee that the collective predictions respect global class ratios or joint symbolic rules. Batch-level LP and optimal transport formulations resolve this coupling.
  • Exact Marginals Aren't Always Optimal Early On: In noisy, heavily approximated setups (e.g., using top-1 proofs for large pre-images), using empirical running estimates can sometimes outperform the theoretically exact marginals due to early-stage model misclassification noise.

Key Results

  • Superiority over Neurosymbolic and Long-Tail Baselines: Combining LP training with estimated marginals consistently outperformed standard Semantic Loss (SL) and PLL rebalancing baselines (such as RECORDS):
  • In MAX-4 ($\rho = 15$), LP(ALG1) achieved 78.56% accuracy versus 55.48% for standard SL.
  • In Smallest Parent ($\rho = 5$), LP(ALG1) achieved 81.27% versus 67.94% for SL, while the baseline PLL method RECORDS degraded performance down to 48.15%.
  • In SUM-6 ($\rho = 50$), LP(ALG1) pushed accuracy from 67.60% (SL) to 80.10%.
  • CAROT as a Strong Test-Time Tool: When base models were sub-optimally trained (e.g., RECORDS on Smallest Parent at $\rho = 15$), CAROT dramatically salvaged performance, lifting accuracy from 50.14% to 71.70% (where standard Logit Adjustment achieved only 56.83%).

Limitations and Future Work

  • Sensitivity to Marginal Quality: CAROT’s test-time accuracy drops rapidly if the estimated marginal $\hat{r}$ deviates even slightly (in KL divergence) from the true distribution.
  • Class-Conditional Error Assumption: The theoretical risk bounds assume misclassification probabilities depend primarily on the underlying class rather than instance-specific features.
  • Scalability with Many Classes: For domains with large label spaces ($c \gg 10$), solving high-degree polynomial systems in Algorithm 1 and large batch LPs remains computationally demanding. Extending the framework to non-i.i.d. tuple structures in general latent-variable learning is highlighted as a primary avenue for future research.

Summary updated

BibTeX
@misc{wang2024characterizing,
  author = {Kaifu Wang and Efthymia Tsamoura and Dan Roth},
  title = {{On Characterizing and Mitigating Imbalances in Multi-Instance Partial Label Learning}},
  year = {2024},
  eprint = {2407.10000},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.10000},
}

Loading related content...

Figure