A Vector Symbolic Approach to Multiple Instance Learning

Ehsan Ahmed Dhrubo, Mohammad Mahmudul Alam, Edward Raff, Tim Oates, James HoltarXiv 2025 · DOI

Abstract

Multiple Instance Learning (MIL) is a supervised learning paradigm where labels are assigned to sets of instances (bags) rather than individual items. A fundamental constraint of MIL is that a bag is positive if and only if it contains at least one positive instance. Recent evidence suggests that many deep learning models "cheat" by learning negative indicators, violating this logic. We introduce VSA-MIL, a framework that utilizes Vector Symbolic Architectures (VSAs) to enforce MIL constraints by design. By representing data as high-dimensional hypervectors, VSA-MIL provides a mathematically grounded, interpretable, and high-performing solution for complex tasks, particularly in medical imaging.

Introduction

In Multiple Instance Learning (MIL), the relationship between instance-level features and bag-level labels is governed by a strict logical rule: a bag is positive if at least one of its constituent instances is positive. This is critical in fields like pathology, where a single cancerous cell makes a tissue sample positive.

However, standard deep learning architectures often bypass this logic. By using unconstrained neural layers after instance pooling, models can learn to classify a bag as positive because it lacks a certain feature—a "negative indicator"—which is a logical fallacy in the context of MIL. This leads to models that perform well on specific test sets but fail to generalize to real-world clinical settings. There is a pressing need for deep learning methods that are both powerful and strictly "valid" MIL models.

The VSA-MIL Framework

VSA-MIL addresses the validity problem by constructing a model that is logically constrained from the ground up. The framework relies on Vector Symbolic Architectures, which use high-dimensional, nearly orthogonal vectors (hypervectors) to represent information and perform symbolic logic through algebraic operations.

The VSA-MIL Framework: A multi-stage process involving auto-encoding to VSA space, codebook generation, and final MIL classification.

The pipeline consists of four primary stages:

  1. VSA-Compatible Encoding: A specialized autoencoder $f_\theta(\cdot)$ transforms raw instances into latent representations that satisfy the statistical requirements of VSA operations, specifically the Hadamard-derived Linear Binding (HLB) framework.
  2. Discretization: K-Means clustering is applied to the encoded instances to create a VSA codebook $V$. This step reduces noise and ensures that instances are mapped to precise symbolic concepts.
  3. VSA Mapping: The original dataset is transformed into a new VSA-mapped dataset where instances are represented as hypervectors.
  4. MaxNetwork Classification: The final classifier $g(\cdot)$ uses a bank of $K$ concept vectors. It employs a two-step pooling process—taking the maximum response across instances for each concept and then the minimum across concepts—to ensure the "at least one" logic is strictly followed.

Experimental Results

The authors evaluated VSA-MIL across traditional MIL benchmarks (e.g., MUSK1, Elephant) and high-stakes medical imaging datasets (e.g., CAMELYON16, PANDA, BTMD).

VSA-MIL established a new state-of-the-art for "valid" MIL models. For instance, on the MUSK1 dataset, it achieved an AUROC of 0.965, significantly higher than the 0.807 achieved by CausalMIL. More impressively, VSA-MIL outperformed "invalid" models that are allowed to cheat. On the PANDA prostate cancer dataset, VSA-MIL reached an AUROC of 0.934, surpassing the popular DSMIL model (0.872), which is known to utilize negative indicators.

Interpretability and Robustness

A key advantage of the VSA approach is inherent interpretability. Because the model classifies bags based on the presence of specific "concept vectors," researchers can back-project these activations onto the original input data to see exactly what the model is "looking at."

Interpretability through Concept Vectors: Visualizing specific image patches that activate positive indicators in brain tumor MRI scans.

As shown in Figure 6, the model can pinpoint the exact patches (instances) within a medical image that triggered a positive classification. This transparency is vital for clinical adoption, where "black box" decisions are often unacceptable. Furthermore, VSA-MIL passed rigorous algorithmic unit tests designed to detect the use of negative indicators, confirming its logical integrity.

Conclusion

VSA-MIL demonstrates that enforcing logical constraints does not have to come at the cost of performance. By leveraging the "blessing of dimensionality" inherent in VSAs, the framework provides a robust, interpretable, and logically valid approach to Multiple Instance Learning. Future work will explore extending this framework to more complex MIL scenarios involving temporal data or inter-instance dependencies.

Summary updated

BibTeX
@misc{dhrubo2025vector,
  author = {Ehsan Ahmed Dhrubo and Mohammad Mahmudul Alam and Edward Raff and Tim Oates and James Holt},
  title = {{A Vector Symbolic Approach to Multiple Instance Learning}},
  year = {2025},
  eprint = {2511.16795},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.16795},
}
Figure