Skip to content

Does Adding Coordinates Make a MIL Model Use Tissue Neighborhoods?

THE ARGUMENT

Spatial blindness is less an architecture defect than an optimization-order problem: freezing a composition reference before training a graph residual makes the predictor actually depend on tissue neighborhoods.

On this page

Nine whole-slide image benchmarks sit in this paper, but the number that matters first is 0.987 versus 0.684. You have a batch of WSIs already tiled into patches with features, and a vendor says adding a coordinate table will teach the model to read tumor–stroma interfaces. Should you buy that upgrade? The paper's answer is conditional: the same graph architecture improved from 0.684 AUC under joint training to 0.987 under staged training on a controlled spatial task. The difference was not the network—it was when the composition pathway was frozen. The rest of this article unpacks why coordinates do not equal spatial learning, and where the fix stops working.

The Default Belief: Feed Coordinates, Get Space

The usual advice is simple: give the model coordinates or an adjacency graph, and spatial relations will be learned. The paper disagrees. In multiple instance learning (MIL, where a slide is cut into patches and only a slide-level label is given), attention pooling—a weighted average over patches—is invariant to patch order. Shuffling the patches leaves the output unchanged. That is not a bug, but it shows that supplying coordinates and using them are different things.

The diagnostic is coordinate reassignment: keep every patch feature fixed and only permute the coordinates. If the model truly reads neighborhoods, predictions should move; if they barely move, the model is mostly counting tissue composition. This differs from jointly permuting features and coordinates, which preserves the paired bag and therefore cannot test spatial dependence.

How the Paper Defines Spatial Blindness

Spatial blindness means weak behavioral response to neighborhood destruction on a task where neighborhoods matter. The paper separates it from permutation symmetry. Proposition 1 states that a graph model can be perfectly invariant to node relabeling yet still depend on its adjacency matrix, because changing adjacency can change predictions [1]. Order invariance alone therefore does not prove spatial blindness.

The analysis splits into three questions: what a model can represent, what spatial information is available, and whether optimization encourages learning it. Proposition 1 covers only the first. Information analysis covers the second: coordinates may carry extra label information given the appearance multiset (conditional mutual information is non-negative), but that does not guarantee a finite-data network learns it. The third is the paper's optimization hypothesis.

ResTopoMIL: Freeze Composition, Then Learn a Residual

The method is ResTopoMIL. First, a prototype histogram (a set of representative vectors summarizing the appearance distribution) predicts from the patch-feature multiset alone. Second, that composition predictor is frozen. Third, a graph branch (patches as nodes, adjacency as edges) learns residual logits, an additive correction on top of the anchor. A margin loss pushes intact and coordinate-reassigned graph representations apart.

Why freeze? Proposition 2 gives a gradient identity: for binary cross-entropy, the graph update equals the prediction residual times the graph Jacobian. If composition reduces error early, the graph gradient is gated down—a conditional route to weak spatial supervision [1]. Freezing the composition reference stops it from competing for gradient. The paper is explicit that this identity motivates the intervention but does not prove composition always learns first, nor does it compare staged and joint gradient magnitudes.

The Numbers: Controlled Tasks and Nine Benchmarks

The cleanest evidence comes from a controlled spatial task: the same architecture reaches 0.987 AUC under staged training versus 0.684 under joint training. On a composition-only task, performance stays high, so freezing does not sacrifice appearance capacity. The larger evaluation spans four WSI classification benchmarks and five survival benchmarks—nine tasks in total. ResTopoMIL improves mean primary performance on eight of them, and four improvements remain significant after Holm-adjusted patient-cluster tests (Holm correction controls false positives across multiple comparisons).

CheckNumber reported in the paper
Controlled spatial task AUC (staged vs joint)0.987 vs 0.684
WSI classification benchmarks4
Survival benchmarks5
Tasks with improved mean primary performance8
Significant after Holm adjustment4

Testing Dependence: What Happens When Neighborhoods Break

Gains alone are not enough; the paper must show the model actually uses neighborhoods. A coordinate-free residual control recovers some of the gain, which means part of the benefit comes from extra appearance capacity rather than spatial information. Neighborhood destruction drops performance close to the composition anchor, supporting genuine spatial dependence. Neighborhood-preserving transformations and anatomy-stratified perturbations further characterize that dependence, and the paper also reports patch scoring, localization, anchor convergence, and patch-scale robustness diagnostics [1].

  • Coordinate-free residual control: recovers part of the gain, so appearance capacity also contributes
  • Neighborhood destruction: performance falls close to the composition anchor, supporting spatial dependence
  • Neighborhood-preserving and anatomy-stratified perturbations: test stability of the dependence
  • Localization and patch-scale experiments: link behavioral evidence to representation

When the Method Does Not Apply

The method fails when coordinate reassignment is used as a universal probe. If a model rebuilds positional encodings from coordinates, reassignment changes its input; if encodings sit on a padded fixed grid, reassignment may change nothing. The paper calls the latter an input-preserving control, not evidence that positional modules failed to learn [1].

It also does not apply when stochastic dropout is active, because the symmetry arguments assume deterministic evaluation. The conditional-optimization account is out of scope for proving that composition always learns first, and the paper does not compare staged and joint gradient magnitudes. Freezing cuts total capacity, so extra appearance capacity remains a contributing explanation. Finally, the benchmark scope is four classification plus five survival tasks, with only four significant after Holm correction—cross-task generalization still needs more data.

References

  1. Mitigating Spatial Blindness in Multiple Instance Learning for Whole-Slide Image Analysis

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…