Symb-xMIL: Symbolic Explanations for Multiple Instance Learning in Digital Pathology
Yanqing Luo, Julius Hense, Niklas Prenißl, Andreas Mock, Klaus Robert Muller, Thomas Schnake, Mina Jamshidi Idaji
NeurIPS 2026
Abstract. Explanations of multiple instance learning (MIL) models are widely used for validation and discovery in digital histopathology. Existing methods primarily rely on heatmaps that highlight influential regions but do not explain how evidence from different tissue regions is combined to produce a prediction. This limits interpretability, especially when decisions depend on interactions between tissue features. We introduce Symbolic explainable MIL (Symb-xMIL), a post-hoc explanation framework that quantifies how a MIL model’s behavior aligns with human-readable decision rules, expressed as logical relationships (e.g., AND, OR, NOT) between input features. These alignment scores reveal semantic patterns underlying the model’s predictions. We evaluate Symb-xMIL on synthetic and real-world histopathology datasets. On synthetic MIL data, Symb-xMIL reliably recovers ground-truth logical rules. In a clinical tumor detection task, the best-aligned rules uncover heterogeneous decision patterns and expose hidden model errors. On an HPV-prediction task on TCGA-HNSCC, a cohort of head and neck cancer, our framework refines patient survival stratification beyond HPV status with potential clinical relevance. Overall, Symb-xMIL extends MIL explainability beyond visual attribution toward structured, rule-based reasoning, enabling more transparent and semantically grounded interpretation of model predictions. Code is available at https://github.com/bifold-pathomics/Symb-xMIL.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The authors introduce a novel symbolic multi-instance learning approach for validating the alignment of the model’s behaviour against human-readable decision rules. The work was generally well received by the reviewers as both being interesting, well motivated, novel, and meeting an unmet need in the clinical domain. The focus of their work is on interpretability and, to some extent, alignment, with methodological implications outside of the paper’s specific scope. The technical details and experimental protocols were deemed to be largely well thought out and complete, with the paper being easy to follow and well written. The concerns raised by reviewers cluster along a few issues. First, the semantic mapping required by the method is load-bearing, but the robustness of the result in the face of an incomplete or corrupted map is not evaluated. In addition, reviewers caution the authors not to overstate claims regarding causality: the method measures alignment between the predictions and human concepts, not that the model is verifiably right for the right reasons. The reviewers request more comparisons with similar MIL methods, and request that the authors investigate how much the performance of their method is driven by the quality of the semantic labelling quality, versus the symbolic alignment framework. Details regarding the scalability of the method with respect to the size of the set of concepts and queries would help future users evaluate the practicality of this method for their domain. Addressing these concerns and questions in particular would greatly strengthen the paper.
Final justification
I would like to thank the reviewers for engaging substantially with the authors, and for the author's rebuttal. The revised work is substantially stronger in its tempered form.
Read meta-review
Meta-review
The authors introduce a novel symbolic multi-instance learning approach for validating the alignment of the model’s behaviour against human-readable decision rules. The work was generally well received by the reviewers as both being interesting, well motivated, novel, and meeting an unmet need in the clinical domain. The focus of their work is on interpretability and, to some extent, alignment, with methodological implications outside of the paper’s specific scope. The technical details and experimental protocols were deemed to be largely well thought out and complete, with the paper being easy to follow and well written. The concerns raised by reviewers cluster along a few issues. First, the semantic mapping required by the method is load-bearing, but the robustness of the result in the face of an incomplete or corrupted map is not evaluated. In addition, reviewers caution the authors not to overstate claims regarding causality: the method measures alignment between the predictions and human concepts, not that the model is verifiably right for the right reasons. The reviewers request more comparisons with similar MIL methods, and request that the authors investigate how much the performance of their method is driven by the quality of the semantic labelling quality, versus the symbolic alignment framework. Details regarding the scalability of the method with respect to the size of the set of concepts and queries would help future users evaluate the practicality of this method for their domain. Addressing these concerns and questions in particular would greatly strengthen the paper.
Final justification
I would like to thank the reviewers for engaging substantially with the authors, and for the author's rebuttal. The revised work is substantially stronger in its tempered form.
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This is the first study to introduce symbolic explanations into digital pathology classification based on Multiple Instance Learning (MIL). The proposed framework represents a unique and novel contribution, enabling not only improved interpretability of MIL models but also the discovery of new insights into the interactions among morphological features. This is an important study that opens new opportunities for knowledge discovery in medical image analysis.
Strengths and weaknesses
Strengths
- To the best of my knowledge, this is the first work to introduce symbolic explanations into the MIL domain. The proposed framework is highly novel, with the potential to make an impact on the field while also offering practical utility.
- The ability to provide interpretable explanations for arbitrary MIL models without requiring any complex architectural modifications is highly appreciated.
- Rather than focusing solely on improving classification performance, this work addresses the increasingly important goals of model interpretability and knowledge discovery. In particular, it represents a pioneering effort toward generating clinically meaningful hypotheses and uncovering previously unknown relationships in digital pathology.
- Although the approach depends on the quality of the semantic map, the overall framework is reasonable and well-motivated. The generation of concept-based sub-bags through semantic-map-guided sampling, followed by the computation of alignment scores, is a natural extension tailored to the MIL setting.
Weakness
-
Since TransMIL explicitly models spatial relationships among instances, I wonder whether the sub-bag construction process may affect the model's predictions and consequently influence the computed alignment scores. There are several parts of the manuscript that remain unclear.
-
I was unable to fully understand the rationale behind the following statement:
- “We argue that, for our purposes, the Harsanyi dividends of the model’s prediction are not directly comparable to the non-transformed set function λq of a query q.” I would recommend providing additional explanation or intuition to help readers understand the motivation for this design choice.
- A considerable amount of important experimental details is deferred to the appendix. Since there appears to be sufficient space available in the main paper, I would encourage the authors to include key experimental settings and implementation details in the main text to improve readability and reproducibility.
Questions
- Has TransMIL been modified in any way to make it robust to the sub-bag extraction process?
- Why are Harsanyi dividends unsuitable for the proposed framework, and why is the proposed alignment formulation preferable?
Limitations
Although I do not consider this analysis necessary for the current submission, it would be valuable future work to evaluate the robustness of the proposed framework under a substantially larger set of logical rules. This could provide further evidence of its scalability and practical applicability in more complex settings.
Final justification
My concerns have been satisfactorily addressed. After considering the responses to the other reviewers' comments as well, I have decided to maintain my current rating.
Formatting concerns
None
3 comments
Rebuttal
We thank the reviewer for their feedback and address each concern below.
1: Does the sub-bag construction process affect the model's predictions and consequently influence the computed alignment scores?
Semantic sub-bag construction is intended to change the model input and thereby probe how its predictions respond to the presented semantic concepts. These response changes are precisely the signal summarized by the alignment scores. The relevant concern is therefore whether the observed responses are dominated by out-of-distribution effects introduced by the sub-bag construction. To assess this, we conducted an additional analysis in the model's representation space on Camelyon16.
For every sub-bag , we extracted the slide-level representation from the final hidden layer of the MIL model, and measured its mean Euclidean distance to the nearest representations of unperturbed slides. We built the baseline distribution for this distance using all the WSIs and computed the mean distance of each slide's bag embedding to its 5 nearest neighbors among the remaining slides. We then defined the central 5th--95th percentile range of this distribution as the empirical reference interval, providing an empirical baseline for assessing whether sub-bag representations remain comparable to those of unperturbed WSIs. A sub-bag representation falling within this interval has a nearest-neighbor distance comparable to that among whole slide images.
Across all evaluated sub-bags, 71.7% fall within the empirical reference interval. In Table 2, we additionally report, for each concept subset, the mean sub-bag size, the mean distance to the 5 nearest neighbors in the reference set, and the within-interval proportion of sub-bags.
Sub-bags from which the Normal concept is removed exhibit larger representation shifts. However, this shift does not lead to unstable prediction directions: all evaluated sub-bags without Normal patches retain positive model outputs. These results indicate that some concept-removal interventions move the representation away from the region typically occupied by real slides, but the observed prediction behavior is not explained solely by this representation shift.
Table 2. Overview of sub-bags and their distances to the reference set. For each semantic concept subset, mean bag size denotes the average number of patches across all corresponding sub-bags. Mean distance denotes the average Euclidean distance from each sub-bag representation to its five nearest real, unperturbed slide representations in the reference set. The final column reports the proportion of sub-bags whose distances fall within the central 5th--95th percentile range of the leave-one-out distances observed within the reference set.
| Concept subset | Mean bag size | Mean distance | Within reference interval (%) |
|---|---|---|---|
| Normal tissue retained | — | — | — |
(Normal, Mix) |
9019 | 1.93 | 78.4% |
(Normal, Tumor) |
9464 | 2.36 | 81.9% |
(Normal) |
8758 | 3.27 | 76.9% |
| Normal tissue removed | — | — | — |
(Mix, Tumor) |
992 | 3.62 | 66.9% |
(Mix) |
286 | 3.57 | 66.2% |
(Tumor) |
974 | 4.01 | 57.8% |
2. TransMIL's modifications: Has TransMIL been modified in any way to make it robust to the sub-bag extraction process?
We took two measures to improve robustness to sub-bag perturbations: (1) we disabled positional encoding in TransMIL, so spatial relationships are not explicitly modeled (see line 536); (2) during training, we randomly sampled patches from each slide using varying bag sizes, improving robustness to changes in both bag size and composition (line 551).
3. Harsanyi dividends: Why are Harsanyi dividends unsuitable for the proposed framework, and why is the proposed alignment formulation preferable?
In previous work [44], the authors compared, for each feature subset , the Harsanyi dividend of the ML model's prediction with the untransformed output of the synthetic query model. These are different types of quantities: the Harsanyi dividend isolates the interaction contribution attributable to alone (subtracting all subset contributions), while is the full set function value on . A meaningful alignment test must compare like with like. Therefore, we resorted to comparing the untransformed output of the ML model directly with . We will add this clarification in the manuscript.
4. More technical details in the main text: A considerable amount of important experimental details is deferred to the appendix. Since there appears to be sufficient space available in the main paper, I would encourage the authors to include key experimental settings and implementation details in the main text to improve readability and reproducibility.
After adding the revisions resulting from the rebuttal discussions, if the page limitations permit, we will move some more details into the main text to help the flow of the paper.
5. Substantially larger set of logical rules: it would be valuable future work to evaluate the robustness of the proposed framework under a substantially larger set of logical rules. This could provide further evidence of its scalability and practical applicability in more complex settings.
The computational load required for computing symbolic explanations in our framework scales exponentially with the number of features. Specifically, the number of forward passes in the MIL model required to compute is . Therefore, although using more than 5 features is certainly feasible, the number of features used cannot be scaled arbitrarily. If the semantic mapping includes a large number of features, the computational load can be mitigated by merging features into coarse-grained feature groups (e.g., macrophages and lymphocytes could be merged into inflammatory cells). A user could then experiment with different feature groupings to analyze symbolic explanation outcomes from different perspectives. In practice, however, we anticipate that higher-order interactions between a well-curated set of a few semantic concepts (e.g., cell types of interest) can already yield important insights.
The number of potential unique queries scales double-exponentially (). However, computing the alignment score for any query requires no additional model forward passes and includes only a correlation. In practice, the evaluated query set can easily be restricted to the user's requirements. For example, it may be sensible to exclude queries containing more than 3-4 feature atoms, as those may be hard to interpret. In this case, the number of queries to be evaluated can be reduced to in our setting (Appendix A).
Such compact concept sets are likely to be sufficient for many practical medical applications, where the analysis typically focuses on a small number of biologically meaningful components. For more complex tasks, the query space can be adapted to the user’s objectives and domain expertise. Investigating how users with different backgrounds define and interpret the query space would therefore be an interesting direction for future work.
We will add a discussion of the above-mentioned aspects to the conclusion.
Response to author
Thank you for your detailed response. My concerns have been satisfactorily addressed. After considering the responses to the other reviewers' comments as well, I have decided to maintain my current rating.
Thank you for taking the time to carefully review our work and for your constructive feedback. We appreciate your confirmation that our rebuttal has addressed your concerns.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper focusses on explaining MIL models in digital pathology. The paper proposes Symb-xMIL, a post-hoc explanation framework that maps an MIL model’s behavior onto human-readable symbolic rules over semantic patch groups. For each WSI, the method constructs semantic sub-bags, evaluates the MIL model on these sub-bags, and computes alignment scores between the model’s outputs and logical query patterns such as AND, OR, and NOT. These alignment scores form a symbolic representation space that can be used both for local explanations, via the best-aligned rule for a slide, and for global cohort-level analyses.
The authors validate the method on synthetic MNIST-based MIL tasks with known logical rules, where Symb-xMIL recovers the ground-truth rules. They then apply the method to Camelyon16 tumor detection and TCGA-HNSCC HPV prediction. In Camelyon16, the method identifies heterogeneous decision regimes and a potential Clever Hans strategy involving normal regions. In TCGA-HNSCC, clustering in the symbolic representation space yields HPV-like and HPV-unlike groups with exploratory survival relevance.
Strengths and weaknesses
Strengths
- The paper targets an important problem of MIL explainability in digital pathology. MIL attention heatmaps show where a model attends, but do not explain how evidence from multiple tissue regions is combined. Symb-xMIL directly addresses this gap by describing model behavior in terms of logical relationships among semantic tissue concepts.
- The method is conceptually simple and interpretable. The core alignment score is easy to understand: compare the model’s response over semantic subsets with the reference pattern induced by a logical rule. This makes the resulting explanations more structured and comparable than standard patch-level attribution maps.
- The synthetic validation is useful and well matched to the method. The authors construct MIL tasks with known rules such as 4 AND 7, 4 OR 7, and 4 implies 7, and show that Symb-xMIL recovers the correct symbolic rule. This provides a clean sanity check that the method can recover higher-order decision logic when the ground truth is known.
- The Camelyon16 experiment is compelling. The method does more than produce plausible explanations; it identifies a suspicious cluster in which normal patches appear to support tumor-positive predictions. The counterfactual patch-transfer experiment, where inserted normal patches from this cluster flip many normal slides to tumor-positive, provides stronger evidence that the symbolic explanation reveals a real model failure mode rather than just a post-hoc narrative. The TCGA-HNSCC survival analysis is interesting as well.
- The paper is generally well organized and includes useful implementation details, including query generation, dataset construction, model training, semantic mapping, and compute resources.
Weaknesses
- The method relies heavily on the existence of a semantic map and it being of good quality. In Camelyon16, the semantic labels come from pixel-level tumor annotations, and in TCGA-HNSCC they come from a multi-stage pipeline involving CellViT++ and tumor boundary estimation. If the semantic map is incomplete, noisy, or biased, the symbolic explanations are muddied. For many problems in pathology, getting a semantic map is very hard unless another ML model is used to predict them.
- The perturbation setup may put the MIL model out of distribution. Symb-xMIL evaluates the model on sub-bags containing only selected semantic groups. But MIL models are usually trained on full bags with natural tissue compositions. Removing semantic groups changes bag size, patch composition, and tissue context. The paper acknowledges this instability in the synthetic setting and addresses it through variable bag-size training, but the robustness of real WSI explanations to these sub-bag perturbations is not fully established.
- The logical rules aren't necessarily causal explanations of model reasoning. They are mostly reflecting alignment. A high correlation between a query-induced reference vector and model outputs over sub-bags indicates that the model behaves similarly to that rule under the chosen perturbations. It does not prove that the model internally implements that rule, nor that the identified concepts are causally sufficient in the original unperturbed slide.
- The comparison to prior explanation methods is very limited. The paper compares against the original Symbolic XAI formulation in the synthetic setting, but there is little quantitative comparison to existing MIL explanation methods on the real pathology tasks. The Camelyon16 Clever Hans result is interesting, but it would be helpful to know if other methods like inherently interpretable MIL [1], prototype-based MIL [2], feature-based self-interpretable models [3] or simpler baselines like attention heatmaps etc could also identify the same failure mode.
- The paper does not sufficiently compare Symb-xMIL against simpler semantic-map-based baselines, such as overlaying relevance heatmaps on semantic labels, computing concept-level relevance enrichment, or performing leave-one-concept-out semantic ablations. Since semantic maps are already available, much of the interpretability may come from the semantic labeling itself rather than from the symbolic alignment framework. It is unclear whether the symbolic query space adds substantial information beyond simple concept-level aggregation.
[1] Javed, Syed Ashar, et al. "Additive mil: Intrinsically interpretable multiple instance learning for pathology." Advances in Neural Information Processing Systems 35 (2022): 20689-20702. [2] Song, Andrew H., et al. "Morphological prototyping for unsupervised slide representation learning in computational pathology." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2024. [3] Kapse, Saarthak, et al. "Si-mil: Taming deep mil for self-interpretability in gigapixel histopathology." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2024.
Questions
- How does Symb-xMIL compare to simple semantic-map baselines, such as relevance-per-concept, relevance enrichment over area fraction, leave-one-concept-out ablation, or semantic concept composition?
- If slides are clustered using the raw vector of sub-bag predictions f(X_S), without symbolic query alignment, do the same Camelyon16 and TCGA-HNSCC groups emerge?
- How stable are the best-aligned symbolic rules under perturbations of the semantic map, changes in the query space, and changes in clustering hyperparameters?
- For the TCGA-HNSCC analysis, does the HPV-like/unlike survival association remain after controlling for age and other available clinical covariates, and does it replicate under alternative clustering choices
Limitations
Yes, limitations are discussed
Formatting concerns
None
1 comment
Rebuttal
We thank the reviewer for their feedback and address each concern below. We will add these discussions/results to the revised paper. Due to character limitations, we refer to the results presented in other reviewers' responses if needed.
1. Dependency on semantic-map accuracy:
We agree that semantic-map quality is important for Symb-xMIL, as acknowledged in lines 317-319. Semantic mapping is an external, user-defined input rather than a direct component of the method itself. This design allows Symb-xMIL to operate on any semantic representation of interest, including spatial phenotypes. With increasingly available multimodal data and advances in foundation models, the quality and availability of ML-generated semantic maps are expected to improve significantly [1–3].
Furthermore, to quantify sensitivity to annotation errors, we performed additional experiments on TCGA-HNSCC, detailed in our response 2 of Reviewer YHmw02.
2. The perturbation setup may put the MIL model out of distribution:
During training on the real-world datasets, we randomly sampled patches from each slide using varying bag sizes to improve robustness to changes in both bag size and bag composition (line 551). To further assess whether the concept-removal perturbations influence the model prediction, we conducted an additional analysis in the model's representation space for the Camelyon16 dataset.
For every sub-bag , we extracted the slide-level representation from the final hidden layer of the MIL model, and measured its mean Euclidean distance to the nearest representations of unperturbed slides. We built the baseline distribution for this distance using the WSIs and computed the mean distance of each slide's bag embedding to its 5 nearest neighbors among the remaining slides. We then defined the central 5th--95th percentile range of this distribution as the empirical reference interval, providing an empirical baseline for assessing whether sub-bag representations remain comparable to those of unperturbed WSIs.
Across all evaluated sub-bags, 71.7% fall within the empirical reference interval. In Table 2 of our response 1 to Reviewer BX8d, we additionally report the mean sub-bag size, mean distance to the reference set, and proportion within the reference interval for each concept subset.
At the concept-subset level, sub-bags from which the Normal concept is removed exhibit larger representation shifts. However, this shift does not lead to unstable prediction directions: all evaluated sub-bags without Normal patches retain positive model outputs.
3. Causality:
We agree with this point and will insert the following text in the discussion section: Symb-xMIL characterizes the model's decision function with respect to the chosen semantic concepts. If the complete logical query space was evaluated, the model's behavior in this concept space could be fully characterized by logical relationships. This concerns the model's observable decision behavior—not whether its internal computations explicitly implement those rules. In practice, the alignment score quantifies the extent to which the evaluated behavior is captured by each rule.
4. Comparison to other MIL methods:
The cited approaches provide important points of comparison, but they address a conceptually different interpretability setting than Symb-xMIL.
Symb-xMIL is designed as a post-hoc, plug-and-play framework for analyzing the behavior of a frozen, already-trained MIL model. Given a trained checkpoint and predefined semantic concepts, it characterizes how a given trained model responds to different combinations of semantic concepts without modifying or retraining the model.
In contrast, the cited approaches obtain interpretability by learning an intrinsically interpretable model or representation. Applying them would require retraining from scratch. A direct empirical comparison might conflate differences in the explanation approach with differences in the learned model.
5. Concept-level relevance baselines:
To test whether simple concept-level baselines recover the failure mode in the Camelyon16 experiment, we first summed LRP relevance by semantic class. Among the 21 slides whose Normal patches induced prediction flips in the patch-transfer experiment, only 10 showed positive aggregate LRP relevance for Normal.
We also computed area-normalized absolute-relevance enrichment for the 25 slides in cluster C3 (Fig. 2), since summed relevance may increase simply because more patches are assigned to a concept. This metric compares the fraction of total absolute relevance assigned to a concept with the fraction of patches belonging to that concept: . Where is the absolute LRP relevance of patch , is the number of patches in concept , and is the total number of patches. The Normal enrichment score was below one in all slides (median 0.14), whereas Mix(median 91.6) was consistently enriched.
Thus, both the raw concept-level relevance and enrichment analysis do not consistently recover the experimentally validated dependence on Normal tissue. We do not interpret this as a limitation of LRP: first-order attribution and our higher-order formulation capture different aspects of the model’s decision.
6. Added value of symbolic query space over concept-level aggregation:
Semantic maps alone describe tissue composition, not how a black-box model uses these concepts. An XAI method is therefore required to connect semantic information to the model’s predictions. Symb-xMIL goes beyond concept-level aggregation by capturing how combinations of concepts jointly relate to the model’s behavior. We empirically evaluate this added value against semantic-map-based attribution, see point 5.
7. Clustering using raw vector of sub-bag predictions :
The raw sub-bag prediction space and symbolic representation space encode slides differently; the latter organizes model responses by their alignment with interpretable logical rules. We repeated the clustering analyses in the Camelyon16 and TCGA-HNSCC based on the sub-bag predictions . We kept the remaining analysis pipeline unchanged in the whole experiment.
-
Camelyon16: In the symbolic space (Fig. 2), slides with similar best-aligned rules clustered together; notably, cluster C3 was dominated by (
NormalMix), revealing a potential failure mode. This structure was not recovered in the raw sub-bag prediction space. For example, one cluster contained slides with several distinct best-aligned rules:NormalMix,NormalTumor,Normal, andMixTumor(figure will be inserted in the revised paper). Furthermore, 10 slides from the failure-mode group were assigned to other clusters; eight of these produced prediction flips in the patch-transfer experiment. -
TCGA-HNSCC: Clustering using the raw sub-bag prediction vectors assigned 19 HPV+ slides to the HPV-unlike group and 17 HPV- slides to the HPV-like group. This partition yielded weaker survival stratification than the original symbolic-space partition: (one-sided ) and a log-rank , compared with (one-sided ), and a log-rank for the symbolic representation space partition, respectively. Moreover, similar or larger z-values occurred in 19% of permutations for the raw-space partition, compared with 9% for the symbolic-space partition. These results suggest that symbolic alignment captures richer biologically relevant structure than raw sub-bag predictions. Validation in a larger cohort is needed to substantiate this proof-of-concept.
8. Best-aligned symbolic rule stability under changes in the query space:
Query-space design reflects a user-controlled trade-off between interpretability and descriptive fidelity. Each query’s alignment score is independent of the other queries, but the best query is selected from the available set: adding queries may yield a better-fitting yet more complex explanation, whereas removing them may favor simpler but less accurate ones.
9. Stability under changes in clustering hyperparameters:
Symb-xMIL supports two types of analysis: identifying the best-aligned rule per sample and clustering samples in the symbolic representation space. Clustering choices affect only the latter. In TCGA-HNSCC, we used agglomerative clustering with default hyperparameters and chose the cluster number from the dendrogram to capture HPV-like and HPV-unlike patterns. Repeating the analysis. Using two alternative cluster numbers did not change these assignments (lines 637–641).
10. Controlling for clinical covariates in HNSCC-HPV experiment:
As stated in Lines 298–303 and 659–663, this analysis is an exploratory proof-of-concept and does not aim to establish an independently prognostic or clinically actionable biomarker. Rather, it demonstrates that Symb-xMIL representations can reveal survival-relevant stratification beyond clinical HPV status alone. Establishing independence from additional clinical covariates would require a dedicated, adequately powered study with internal and external validation and is therefore beyond the scope of this methodological work.
Ref. DOI: [1] 10.48550/arXiv.2606.12346 [2] 10.48550/arXiv.2506.03373 [3] 10.48550/arXiv.2509.20279
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces Symb-xMIL, a post-hoc explanation framework, that seeks to describe how evidence from different crops of a tissue may be combined to produce a prediction for whether or the tissue sample comprises of tumour cells. It embeds samples in the symbolic representation space based on their alignment to a set of logical rules. Empirical validation on synthetic and real data shows it recovers ground truth rules and meaningful model behaviour, respectively.
Strengths and weaknesses
Strengths
- The problem is well-motivated. Spatial heatmaps are useful but sufficient for explaining model behavior. This is also quite useful in applications such as computational pathology.
- I like the extension to the MIL setting that seeks to operate on sub-bags defined via semantic concepts. This is choice is also validated on synthetic datasets for ground-truth rule discovery.
- The Camelyon case study showcases how the method can be used to discover a Clever Hans strategy validated via a counterfactual patch-transfer experiment.
Weaknesses
- Its unclear to me how the method scales to subsets of more than 3-5 semantic concepts and where the number of non-redundant queries grows quickly. What happens when higher order interactions are required?
- A key assumption is that instances can be mapped to semantic concepts like tumour, normal, mix, etc. but the error analysis here is quite weak. This is acknowledged as a limitation, but without quantitative measurements, it is harder to assess reliability of the method.
- Translational relevance to clinical applications is weak. The improvement in survival stratification in the HPV case is small. In Camelyon16, age and other prognostic factors are significant confounders that have not been appropriately accounted for.
- Computational efficiency in terms of time and memory usage does not provide concrete numbers. Discussion on how cost scales with concepts and queries is also missing.
Questions
- How do interaction-attribution approaches (listed in related works) compare empirically to symbolic XAI approaches?
- Could you please expand the caption for Figure 1 for clarity and intuition?
Limitations
Please see weaknesses.
Final justification
The authors have sufficiently addressed my concerns and queries.
Formatting concerns
Not applicable.
3 comments
Rebuttal
We thank the reviewer for their feedback and address each concern below.
1. Scalability: How does the method scale beyond 3–5 semantic concepts and when higher-order interactions are required?
The computational cost for computing Symb-xMIL explanations scales exponentially with the number of features. Computing the subset-response vector requires forward passes in the MIL model. Thus, although using more than 5 features remains feasible, the number of features cannot scale arbitrarily. If the semantic mapping includes a large number of features, the computational load can be mitigated by merging features into coarse-grained feature groups (e.g. macrophages and lymphocytes could be merged into inflammatory cells). A user could then experiment with different feature groupings to analyze symbolic explanation outcomes from different perspectives. In practice, however, we anticipate that higher-order interactions between a well-curated set of a few semantic concepts (e.g., cell types of interest) can already yield important insights.
The number of potential unique queries scales double-exponentially (). However, computing the alignment score for any query requires no additional model forward passes and includes only a correlation. In practice, the evaluated query set can easily be restricted to the user's requirements. For example, it may be sensible to exclude queries containing more than 3-4 feature atoms, as those may be hard to interpret. In this case, the number of queries to be evaluated can be reduced to in our setting (Appendix A).
We will add a discussion of the above-mentioned aspects to the conclusion.
2.Dependency on semantic-map accuracy: How robust is the method to errors in mapping instances to semantic concepts, and can this be assessed quantitatively?
We agree that semantic-map quality is important for Symb-xMIL, as acknowledged in lines 317-319. Semantic mapping is an external, user-defined input rather than a direct component of the method itself. This design allows Symb-xMIL to operate on any semantic representation of interest, including spatial phenotypes such as cell niches [1]. Nevertheless, we agree that it is crucial to conduct further experiments to understand the influence of false semantic annotations. We therefore performed an additional experiment on the TCGA-HNSCC dataset.
The semantic map of the TCGA-HNSCC dataset is defined using three cell types: Neoplastic, Inflammatory, and Connective (see line 261). These cell labels are combined with tumor-region information to form the five semantic concepts used by Symb-xMIL. To simulate semantic-annotation errors, we randomly selected 5–100% of cells belonging to the three considered cell types in each WSI, uniformly reassigned their cell-type labels to one of the other two cell types, and regenerated the patch-level semantic maps using the original pipeline. We measured the resulting patch-label change rate, the cosine similarity between the original and symbolic representation vectors of noisy data, and the change rate of the best query. The results below show that the representations remain robust to substantial cell-level noise, partly because patch-level aggregation mitigates individual annotation errors. The exact best query is more sensitive than the overall symbolic representation. This is expected since the symbolic space has richer information among queries and multiple queries may be correlated. We will insert these results in the revised manuscript.
Table 1. Robustness to increasing cell-level semantic-map noise on TCGA-HNSCC dataset. For each noise level, the first row reports the mean percentage (standard deviation [SD] across slides) of patches assigned different semantic labels in the corrupted vs. original semantic maps. The second row reports the mean cosine similarity (SD across slides) between the original and corrupted symbolic representations. The final row reports the cohort-level proportion of slides whose best-aligned query changes after corruption, using the same query space.
| Cell-level noise rate (% of cells in a WSI) | 5% | 10% | 20% | 30% | 40% | 50% | 60% | 70% | 80% | 90% | 100% |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Patch labels changed, mean (SD) (%) | 1.45 (0.73) | 2.40 (1.17) | 4.28 (2.03) | 6.67 (3.06) | 10.49 (4.55) | 18.22 (7.08) | 36.70 (11.96) | 66.59 (20.62) | 80.76 (25.03) | 84.64 (26.10) | 85.94 (26.44) |
| Symb-xMIL cosine similarity, mean (SD) | 1.00 (0.01) | 1.00 (0.02) | 0.99 (0.03) | 0.99 (0.03) | 0.98 (0.05) | 0.96 (0.07) | 0.88 (0.09) | 0.45 (0.38) | 0.23 (0.44) | 0.17 (0.44) | 0.15 (0.43) |
| Best-aligned queries changed (%) | 3.66 | 6.18 | 9.41 | 10.57 | 14.27 | 20.51 | 43.22 | 95.60 | 97.90 | 97.67 | 97.91 |
3. Translational relevance to clinical applications: How meaningful is the HPV survival stratification, and how are potential confounders such as age accounted for in Camelyon16?
Our HNSCC HPV application is an exploratory proof-of-concept to show what types of insights our framework enables (see lines 298-303). Although our HPV-like grouping yields a statistically significant improvement over splitting patients into HPV+ and HPV- subgroups on the given data, a robust proof of clinical relevance would require much more data and various levels of internal and external validation. This would arguably require a separate paper, so we consider further validations out of scope here.
For Camelyon16, no demographic or clinical metadata are available to the best of our knowledge. We would further like to highlight that the task of tumor detection is purely diagnostic; therefore, it is unclear if demographic factors correlate with the label distribution in the realm of this cohort.
Generally speaking, we agree that the model can learn confounding factors instead of biological connections, e.g., technical, demographic, or biological confounders [2, 3]. Our framework may help to identify such confounders in diagnostic settings. However, in discovery settings, controlling for potential confounders is crucial in the training data. This is not the focus here; in this paper, we focus on introducing and exploring the symbolic explanation framework assuming one can train a model that has learned meaningful connections.
4. Computational efficiency: What are the concrete time and memory costs, and how do they scale with the number of concepts and queries?
We used 8 CPU cores for all experiments. Symb-xMIL required a mean wall-clock time of 1.62 min per fold on Camelyon16 and 6.55 min per fold on TCGA-HNSCC. Camelyon16 contains 399 slides and uses 3 concepts, corresponding to 7 subsets and 39 queries per slide. The mean total CPU time was 6 min 44 s, with a peak memory usage of 5.70 GiB. TCGA-HNSCC contains 432 slides and uses 5 concepts, corresponding to 31 subsets and 200 queries per slide. Its mean total CPU time was 34 min 55 s, with a peak memory usage of 7.01 GiB.
This provides concrete computational costs for the two experiment settings. Since the datasets also differ in the numbers and composition of slides and bags, we do not interpret their runtime difference as a controlled empirical scaling comparison. As discussed in Q1, the model evaluation requires forward passes per slide, whereas additional queries only require correlation computation. We will add this information to the revised manuscript.
5. comparison to interaction-attribution approaches: How do interaction-attribution approaches compare empirically to symbolic XAI approaches?
As discussed in [44], attribution-based methods and our alignment-based approach operate at different levels of explanation. Attribution methods assign relevance scores to features, feature interactions, or composite structures such as logical queries, always with respect to a single model's prediction. Our approach instead quantifies the agreement between the ML model and a rule-based reference model. The two outputs are therefore not commensurable and cannot be directly compared. We will clarify this distinction in the revised Related Work section.
6. Caption of Fig. 1:
To improve clarity and provide more intuition, we will expand the caption as follows: Figure 1: Overview of the Symb-xMIL pipeline. Input & Pre-processing: Patches are extracted from a whole-slide image (WSI), and a predefined semantic map assigns each patch a semantic concept label. Semantic features, queries & subsets: Patches sharing the same semantic concept are grouped, and sub-bags are constructed for different subsets of the semantic feature set. In parallel, a query space is generated by combining the semantic concepts using predefined logic operators. Model evaluation on subsets and reference vector generation: The MIL model is evaluated on each sub-bag . Each logical query defines a corresponding reference vector over the same subsets. Similarity to logical queries: For each query, the model-response is compared with the query-induced reference vector using Pearson correlation, yielding an alignment score. Symbolic representation space: The alignment scores across all queries form the symbolic representation , with each dimension corresponding to one logical query. This representation supports (A) local analysis, in which the best-aligned query provides a logical description of the model behavior for an individual sample, and (B) global analysis, in which symbolic representations across the dataset support cohort-level analyses such as clustering.
Ref. DOI: [1] 10.1038/s41467-025-65783-z; [2] 10.1038/s41467-026-73923-2; [3] 10.1038/s41551-026-01616-8
I thank the authors for their detailed responses and clarifications. My queries have been sufficiently addressed. Having read through the other reviews and responses, I am convinced of the merits of the paper. So I am raising my score to Accept.
Thank you for taking the time to carefully review our work and for your constructive feedback. We greatly appreciate your consideration of our rebuttal and your updated assessment.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the AC and reviewers for reviewing our work and for their constructive feedback. We have addressed their questions and concerns by conducting additional experiments and providing further clarifications. The following summarizes the rebuttal and how we envision revising the original manuscript:
Robustness to semantic-map errors: We performed a sensitivity analysis on TCGA-HNSCC to assess the dependence of the symbolic representations and the best recovered logical rule to injected noise in the semantic maps (details in our response Nr. 2 to Reviewer YHmw02). The symbolic representations remained robust to substantial cell-level noise. We will add this experiment to the ablation section.
Clustering using sub-bag predictions instead of symbolic representations: We repeated the Camelyon16 clustering and TCGA-HNSCC survival analyses using the raw sub-bag prediction vectors (f(XS))S⊆N while keeping the remaining pipeline unchanged (details in our response Nr. 7 to Reviewer 2JAK). The results suggest that symbolic alignment captures richer biologically relevant structure than raw sub-bag predictions and provides clearer cohort-level structure. We will add this part to the ablation section.
Robustness to sub-bag perturbations: We analyzed the bag embeddings of the MIL model on Camelyon16 sub-bags relative to all unperturbed slides (detailed in our response Nr. 1 to Reviewer BX8d). The results indicate that the observed explanation patterns are not solely attributable to out-of-distribution representation shifts. We will add this analysis to the ablation section and clarify in the Appendix how varying bag sizes during sampling during training may improve robustness to these perturbations.
Comparison to first-order heatmaps and other MIL methods: We tested whether overlaying LRP heatmaps on the semantic map recovers the identified failure mode in Camelyon16 experiment and showed that this approach does not reveal the failure mode (details in our responses 5-6 to Reviewer 2JAK). We will include this analysis in the Appendix. We will also clarify in Related Work why a comparison with intrinsically interpretable MIL methods is not straightforward (see the responses to Reviewer 2JAK-Nr. 4, and Reviewer YHmw02-Nr. 5).
Clarification of causal interpretation: We agree with the raised point and will clarify this scope in the Discussion (see our response Nr. 3 to Reviewer 2JAK).
Scalability and computational requirements: We will report these details in the Appendix (detailed in our response Nr. 4 to Reviewer YHmw02). We will also add a discussion of scaling with the number of semantic concepts and queries to the Conclusion (see our response Nr. 1 to Reviewer YHmw02).
Clinical relevance: We will further clarify this in the conclusion (details in our response Nr. 3 to Reviewer YHmw02 and Nr. 10 to Reviewer 2JAK).
Stability under query-space and clustering choices: We will clarify this further in the Appendix (see our responses 8-9 to Reviewer 2JAK).