Improving atlas-scale single-cell annotation models with hierarchical cross-entropy loss

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.

Authors

Institutions

Publication Details

Journal
Nature Computational Science
Published
2026-01-30
DOI
https://doi.org/10.1038/s43588-025-00945-z
Primary Topic
Single-cell and spatial transcriptomics
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improving atlas-scale single-cell annotation models with hierarchical cross-entropy loss

Peter Winter, Ava P. Amini, Sebastiano Cultrera di Montesano, Lorin Crawford et al.
Nature Computational Science
Single-cell and spatial transcriptomics
article

Improving atlas-scale single-cell annotation models with hierarchical cross-entropy loss

Peter Winter, Ava P. Amini, Sebastiano Cultrera di Montesano, Lorin Crawford, Srivatsan Raghavan, Davide D’Ascenzo
article en

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.

Nature Computational ScienceVol. 6(3)
Broad Institute (US), Brigham and Women's Hospital (US), Microsoft (United States) (US), Harvard University (US), Politecnico di Torino (IT), University of Milan (IT), Dana-Farber Cancer Institute (US), Microsoft Research (United Kingdom) (GB)
Broad Institute, National Cancer Institute
Openalex Percentile: Top 73%
Single-cell and spatial transcriptomics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Improving atlas-scale single-cell annotation models with hierarchical cross-entropy loss — Peter Winter, Ava P. Amini, et al. · Nature Computational Science (2026) | TGRS Research Map | TGRS