Conveyance: A Versatile Framework for Learning in Structured Class Spaces
About
While machine learning (ML) architectures have evolved rapidly to account for complex data, loss functions like cross-entropy remain mostly structure-agnostic in many real-world applications. However, the "class-symmetric" nature of these standard losses fundamentally limits the ability of ML models to exploit structural relationships between classes, particularly when facing structured noise. We propose Conveyance, a new classification approach and associated loss function tailored to structured class spaces. It allows users to encode graph-like relations between classes without having to define complex joint distributions or manually tune utility matrices. Technically, our loss function operates by maximizing two separate margins over distinct class partitions, while preserving formal properties such as monotonicity and partial convexity. We demonstrate the versatility and effectiveness of our method by applying it to hierarchical classification, ordinal regression, and multiple instance learning. Across these tasks, Conveyance either matches or exceeds the performance of specialized baselines, thereby offering a unified solution for structured class spaces.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Whole Slide Image classification | CAMELYON16 (test) | AUC0.977 | 171 | |
| Age Estimation | CACD2000 v1 (test) | MAE4.42 | 9 | |
| Age Estimation | CLAP 2016 v1 (test) | MAE4.63 | 9 | |
| Multi-instance Learning Classification | ELEPHANT classical MIL (10-fold cross-val) | Accuracy94.3 | 9 | |
| Age Estimation | UTKFace v1 (test) | MAE4.46 | 9 | |
| Multi-instance Learning Classification | MUSK1 classical MIL (10-fold cross-validation) | Accuracy95.2 | 9 | |
| Multi-instance Learning Classification | FOX classical MIL (10-fold cross-val) | Accuracy0.738 | 9 | |
| Multi-instance Learning Classification | TIGER classical MIL (10-fold cross-val) | Accuracy90.4 | 9 | |
| Multi-instance Learning Classification | MUSK2 classical MIL (10-fold cross-validation) | Accuracy94 | 9 | |
| Image Classification | CUB-200 OOD (7 withheld species) zero-shot 2011 | OOD Genus Accuracy85.1 | 5 |