Here is our paper: Conveyance: A Versatile Framework for Learning in Structured Class Spaces
Standard loss functions like cross-entropy treat all classes symmetrically — ignoring any structural relationships between them. This is a fundamental limitation when class spaces carry meaningful structure (e.g., hierarchies, ordinal relationships) or when label noise is structured rather than random.
Conveyance is a classification loss that encodes graph-like relations between classes directly, without requiring joint distribution modeling or manual utility matrix design. It maximizes two separate margins over distinct class partitions while preserving formal properties such as monotonicity and partial convexity.
Figure 1: Overview of Conveyance for learning in structured class spaces. Problem knowledge is encoded through a boolean matrix Q connecting each label to a set of plausible classes. The approach covers label asymmetry, ordinal regression, and hierarchical classification (left to right).
where
This repository provides code for two experimental settings from the paper:
Conveyance/
├── Annotation-Bias/ # Robustness under structured annotation bias (CIFAR-10/100)
└── MIL/ # Multiple instance learning (MIL benchmarks + Camelyon16)
The core loss implementation is in Annotation-Bias/loss.py.
Evaluates Conveyance against noise-robust baselines under structured label noise on CIFAR-10 and CIFAR-100. See Annotation-Bias/README.md for setup and usage.
Applies Conveyance as an instance-level loss within an attention-based MIL framework (ABMIL). Supports classic MIL benchmarks (Musk1/2, Fox, Tiger, Elephant) and Camelyon16 whole-slide images. See MIL/README.md for setup and usage.
If you use this code, please cite our paper:
@article{conveyance2026,
title = {Conveyance: A Versatile Framework for Learning in Structured Class Spaces},
year = {2026},
url = {https://arxiv.org/abs/2605.28420}
}