S. Montesano, Davide D'Ascenzo, Srivatsan Raghavan, A. Amini, Peter S. Winter, L. Crawford
2026.1.30Nature Computational Science
tlooto Summary
This work introduces a hierarchical cross-entropy loss that aligns model objectives with biological structure and suggests that this is likely to yield more generalizable algorithms than would solely increasing model complexity.
Abstract
Accurately annotating cell types is essential for extracting biological insight from single-cell RNA sequencing data. Although cell types are naturally organized into hierarchical ontologies, most computational models do not explicitly incorporate this structure into their training objectives. Here, we introduce a hierarchical cross-entropy loss that aligns model objectives with biological structure. Applied to architectures ranging from linear models to transformers, this simple modification improves out-of-distribution performance by 12−15% without added computational cost. Critically, we underscore the need to focus on new data generation that improves the connectivity among annotated cell types. Our work suggests that this is likely to yield more generalizable algorithms than would solely increasing model complexity.
Citation format
MONTESANO, S., et al. Improving atlas-scale single-cell annotation models with hierarchical cross-entropy loss. Nature Computational Science, 2026, 6(3): 243–249.