NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Instance Specific Distance for Multi-Instance Classification

Hua Wang, Feiping Nie, Heng Huang

Abstract

Multi-Instance Learning (MIL) faces a significant challenge in weak label association, where labeled "bags" of data often contain numerous irrelevant or "noisy" instances. This paper introduces Instance Specific Distance (ISD), a novel framework that shifts the focus from bag-to-bag comparisons to a class-to-bag approach. By aggregating training instances into class-level "super-bags" and learning significance coefficients for each instance via $\ell_{0+}$-norm minimization, ISD effectively identifies the most representative features of a class. Experimental results across drug activity, image categorization, and text classification tasks demonstrate that ISD consistently outperforms existing state-of-the-art MIL algorithms.

Introduction

In traditional Multi-Instance Learning, data is organized into bags, where a bag is assigned a positive label if at least one of its constituent instances is positive. This structure leads to two primary difficulties: the complexity of measuring distances between sets of vectors (bags) rather than individual points, and the presence of outliers—instances within a positive bag that do not actually represent the target class (e.g., sky or grass in a "Person" labeled image).

Standard algorithms often struggle to distinguish between these representative and irrelevant instances. The proposed ISD method addresses this by learning which specific instances within a training set are truly significant for a given classification task.

Methodology: The ISD Framework

The core of the ISD approach is the Class-to-Bag (C2B) distance framework. Instead of comparing a query bag to every individual training bag, the model aggregates all instances from all bags belonging to a specific class into a single "super-bag."

The ISD framework: Training images are aggregated into class-specific super-bags, and significance coefficients are learned to determine the distance to a query image.

Key Innovations

  1. Significance Coefficients (SC): The model assigns a weight ($s_{ikj}$) to every training instance, representing its importance to its class. For instance, in a "Ship" class, a hull instance receives a high weight, while background clouds receive a weight near zero.
  2. $\ell_{0+}$-norm Minimization: To handle outliers aggressively, the authors utilize a robust loss function where the power $p$ approaches 0. This sparsity-inducing approach forces the model to ignore instances that do not fit the core class profile.
  3. Class-Specific Adaptations: The model learns a unique projection vector for each class, allowing it to focus on the most relevant features (e.g., texture for "Elephant" vs. color for "Tiger").

Experimental Evaluation

The researchers evaluated ISD on several benchmarks, including the Musk drug activity datasets and the PASCAL VOC 2010 image categorization task.

Key Results

On classic MIL benchmarks like Musk1 and Tiger, ISD achieved accuracies of 85.3%, outperforming traditional Diversity Density (DD) methods. The framework's robustness was particularly evident in the complex PASCAL VOC 2010 multi-label task, where it achieved the highest Average Precision and lowest Hamming Loss among compared methods.

Performance comparison on the PASCAL VOC 2010 dataset, showing ISD's superior Average Precision and Hamming Loss.

As shown in the results, ISD and its variant ISD-CD (Context-Dependent) consistently lead the field in metrics like Average Precision (0.521) and Hamming Loss (0.129). This indicates that the learned Significance Coefficients provide a more accurate representation of real-world, complex data than "lazy" learning methods that treat all instances as equally important.

Discussion and Conclusion

ISD represents a shift toward more interpretable and robust Multi-Instance Learning. By leveraging super-bags and sparsity-inducing norms, the model effectively performs automatic region-of-interest detection.

While the method shows great promise, the authors note potential computational bottlenecks: the memory usage of super-bags grows with the dataset size, and the reliance on nearest-neighbor searches in high-dimensional spaces can be intensive. Future work may explore utilizing these learned significance coefficients for more granular tasks like localized image search or object detection.

Summary updated

BibTeX
@inproceedings{wang2011learning,
  author = {Hua Wang and Feiping Nie and Heng Huang},
  title = {{Learning Instance Specific Distance for Multi-Instance Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2011},
  doi = {10.1609/aaai.v25i1.7893},
}
Figure