Conformal Rule-Based Multi-label Classification

Eyke Hüllermeier, Johannes Fürnkranz, Eneldo Loza Mencía

Abstract

Multi-label classification (MLC) is frequently challenged by extreme label imbalance and the lack of reliable confidence measures for individual predictions. This paper introduces a novel framework that combines the interpretability of lazy rule learning with the statistical rigor of Conformal Prediction (CP). By generating calibrated "plausibility scores" from rule-based evidence, the proposed method addresses label imbalance and provides a statistically sound mechanism for model abstention, significantly improving predictive reliability in complex multi-label domains.

Introduction

In multi-label classification, instances are associated with a set of labels rather than a single category. A primary hurdle in this field is the "needle in a haystack" problem: positive labels are often rare compared to the overwhelming frequency of negative labels. Standard rule-based systems often default to high-frequency negative predictions, achieving high accuracy but failing to capture meaningful positive patterns. Furthermore, most existing MLC models provide binary point predictions without quantifying uncertainty.

To address these issues, we propose a framework for Conformal Rule-Based Multi-label Classification. This approach leverages Conformal Prediction to calibrate the strength of evidence provided by local rules, transforming heuristic scores into statistically valid p-values (plausibility scores).

Methodology: Rules and Calibration

The framework operates through a "mutual benefit" approach between two distinct fields:

  1. Lazy Rule Induction: At prediction time, the system induces specific rules for a query instance. For each potential label, it identifies the "best" rule—typically measured by the lower confidence bound of precision—that covers the instance for both positive and negative outcomes.
  2. Conformal Calibration: These raw rule quality scores (conformity scores) are converted into plausibility scores ($q$-values). This is achieved by comparing the query instance's score against the distribution of scores observed in the training data.
Figure 3: Transformation from raw conformity scores (left) to calibrated plausibility scores (right). Calibration acts as an equalizer, normalizing the evidence across classes with different densities.

As shown in the figure above, the raw conformity scores for negative labels often dominate due to data density. The calibration process acts as an equalizer; it doesn't ask "how good is this rule?" in absolute terms, but rather "how good is this rule relative to other rules for this specific class?"

Decision Making and Abstention

The final classification is determined by comparing the plausibility of a positive label ($q(x, 1)$) against the plausibility of a negative label ($q(x, 0)$) using a calibrated threshold $\theta$. This mechanism allows for partial abstention: if the evidence for both outcomes is low or ambiguous, the model can remain silent on that specific label. This is a critical feature for high-stakes applications where a "don't know" is preferable to an incorrect guess.

Experimental Results

The framework was evaluated on the Emotions dataset (596 examples, 72 attributes, 6 labels) using 50 random splits.

Figure 5: Performance metrics (Hamming loss and F-measure) as a function of the decision threshold. The plots demonstrate that tuning the threshold can optimize model performance.

Key findings include:

  • Optimal Thresholding: Tuning $\theta$ allows for significant optimization of both Hamming loss and the F1-measure. Interestingly, a threshold of $\theta=1$ (treating positive and negative evidence equally) proved near-optimal, validating the effectiveness of the CP calibration out of the box.
  • Reliable Uncertainty: Accuracy-rejection curves indicated that as the threshold for abstention increases, the accuracy on the remaining labels rises sharply. This confirms that the plausibility scores are a reliable proxy for actual predictive certainty.

Conclusion and Future Directions

The integration of rule learning and Conformal Prediction provides a transparent and statistically sound approach to multi-label tasks. While effective, future work is needed to address the computational cost of lazy rule induction on larger datasets and to incorporate label correlations by moving beyond independent binary relevance to multi-label rule heads that predict sets of labels simultaneously.

Summary updated

BibTeX
@inproceedings{hullermeier2020conformal,
  author = {Eyke Hüllermeier and Johannes Fürnkranz and Eneldo Loza Mencía},
  title = {{Conformal Rule-Based Multi-label Classification}},
  booktitle = {KI},
  year = {2020},
  doi = {10.1007/978-3-030-58285-2\_25},
}
Figure