Explaining Cross-Label Decision Structure in Multi-Output Tree Ensembles

Sylvio Barbon Junior, Hiago F. F. Oliveira, Rafael Figueira Gonçalves, Jessica Fernandes Lopes, Ricardo CerriarXiv 2026 · arXiv

TL;DR

This paper introduces multi-sink Decision Predicate Graphs (ms-DPGs) and the Shared Predicate Flow (SPF) metric to reveal how multi-output tree ensembles reuse decision logic across different labels. It demonstrates that native multi-output forests share significantly more internal decision structure than independent models, even when their predictive accuracy is identical.

What Problem Does This Paper Address?

In multi-label learning, we often want to predict several related outcomes at once (e.g., tagging an image with both "sunset" and "beach"). We typically use two approaches: Binary Relevance (BR), which trains a separate model for every label, or native multi-output forests, which use a single tree structure to predict all labels simultaneously.

While these models might achieve similar accuracy, their internal "reasoning" is fundamentally different. Native forests are designed to find splits that are useful for all labels at once. However, standard explainability (XAI) tools like TreeSHAP or Mean Decrease in Impurity (MDI) treat each label in isolation. They can tell you which features are important for a label, but they can't tell you if the model is reusing the exact same decision conditions (e.g., "Is feature $X > 0.5$?") across different labels.

The authors argue that we need a global, structural view to understand this cross-label decision reuse.

Table 1: Global explanation methods for tree ensembles: unit explained, outputs handled, and whether shared decision conditions between outputs are repre- sented.

Methods

The authors propose a new framework based on Decision Predicate Graphs (DPGs), which represent a forest as a graph of directional predicates (conditions like $x_j > t$).

1. Multi-sink Decision Predicate Graphs (ms-DPGs)

The core innovation is the label sink. In an ms-DPG, every unique decision path (trace) in the forest is aggregated. At the end of these paths, the model adds one "sink" node per label. Each leaf in the forest contributes "decision mass" to every label sink based on the number of positive training samples for that label that reached that leaf.

Fig. 3: Construction of an ms-DPG. Executed traces are aggregated across trees into shared predicates and transitions; each leaf ri sends mass wipiℓto the sink Sℓof label ℓ; the contributions of one leaf to different sinks are computed label by label and need not sum to wi. Here r1 and r2 are two example leaves, wi and piℓabbreviate wri and priℓ, and A and B are two labels.

2. Shared Predicate Flow (SPF)

To quantify sharing, the authors define SPF. For a pair of labels $(A, B)$, SPF is the fraction of label $B$’s decision mass that passes through predicates that are also "active" (highly influential) for label $A$.

3. Label-Specific Lifts

To make the graph readable, they use lift: the rate of a label in a specific decision region relative to its overall rate in the forest. This allows them to distinguish between:

  • Co-enriching conditions: A split that raises the probability of both labels.
  • Separating conditions: A split that raises the probability of one label while lowering the other.

Datasets

The authors evaluated their method using:

  • 5 Synthetic Scenarios (D1–D5): Designed to isolate specific behaviors like feature correlation, hierarchical dependence, and disjoint decision regions.
  • 9 Real-World Benchmarks: Sourced from OpenML, covering domains like music (emotions), images (scene, image), biology (yeast, genbase), and text (enron, slashdot, langlog).
  • Qualitative Case Study: The flags dataset (predicting colors on national flags) was used to demonstrate how the explanations align with intuitive domain knowledge.

Key Insights and Ideas

  • Direction Matters: Unlike feature-attribution methods (SHAP/MDI), SPF is sensitive to the direction of a split. If two labels use the same feature but in opposite directions (e.g., Label A likes $x > 0$ and Label B likes $x < 0$), SPF correctly identifies that they share no decision structure, whereas SHAP would show 100% feature overlap.
  • Architecture vs. Data: SPF describes the fitted model, not necessarily the underlying data. Interestingly, when the signal between features and labels is removed (replaced with noise), SPF actually increases in native forests because the model is forced to route all labels through the same arbitrary noise-based splits.
  • Structural Parity $\neq$ Predictive Parity: Even when Binary Relevance and Native Forests have the same F1-score, the Native Forest reuses significantly more logic. This suggests that native multi-output models are more "structurally efficient."

Key Results

  • Native vs. BR: On 8 out of 9 real-world benchmarks, native forests shared substantially more decision structure than Binary Relevance. The median SPF excess (Native - BR) reached as high as 0.448 on the slashdot dataset.
  • Robustness: Controlled experiments showed that SPF accurately captures shared conditions even in the presence of correlated proxies (features that act as stand-ins for each other).
  • Case Study (Emotions): In the emotions dataset, the model grouped labels like "sad.lonely" and "quiet.still" through shared conditions involving low spectral rolloff and centroid (indicating "darker" timbre), with an SPF of 0.92.

Limitations and Future Work

  • Scalability: The method has a quadratic cost relative to the number of label pairs, making it difficult to apply to datasets with thousands of labels.
  • In-Bag Focus: Currently, all metrics are computed using the in-bag training samples. An "out-of-sample" variant using held-out data would be needed to see if the shared structure persists on unseen instances.
  • Interpretability of Features: On datasets with anonymized or highly abstract features (like langlog), the predicate-level explanation is technically accurate but difficult for a human to interpret semantically.
  • Future Directions: The authors suggest extending ms-DPG to other multi-output learners like Gradient Boosted Trees or Predictive Clustering Trees.

Summary updated

Abstract

A multi-output tree ensemble predicts several binary labels through decision paths that it largely shares across those labels, yet the attribution methods commonly used to explain such models treat each output in isolation. We propose multi-sink Decision Predicate Graphs (ms-DPGs), which extend decision predicate graphs with one sink per label: each leaf contributes to the sink of every label its in-bag positive count for that label. On this representation we define Shared Predicate Flow (SPF), the share of a label's decision mass that passes through conditions active for both labels of a pair, and a contracted view of the graph in which label-specific lifts indicate whether a shared condition raises the probability of both labels or of one at the expense of the other. Controlled experiments show that SPF captures shared decision conditions rather than mere feature overlap. On nine multi-label benchmarks, native multi-output forests share substantially more decision structure than Binary Relevance on eight, including five of the six on which the two are at predictive parity, even at equal hyperparameters, whereas per-label TreeSHAP rankings register the change of architecture without showing whether more is shared. Because a native forest routes every label through the same splits, SPF describes the fitted model rather than the data, and on eight of the nine benchmarks it rises when the feature-label signal is removed; a high SPF is therefore not evidence of shared predictive information. ms-DPG offers a global, predicate-level account of how a multi-output ensemble reuses decision conditions across its labels.
BibTeX
@misc{junior2026explaining,
  author = {Sylvio Barbon Junior and Hiago F. F. Oliveira and Rafael Figueira Gonçalves and Jessica Fernandes Lopes and Ricardo Cerri},
  title = {{Explaining Cross-Label Decision Structure in Multi-Output Tree Ensembles}},
  year = {2026},
  eprint = {2611.20996},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20996},
}
Figure