Machine learning predicts cancer outcomes across genetic ancestry continuum

Beyond Discrete Ancestry Groups: Distribution-Aware In-Context Learning for Cancer Outcome Prediction Across the Genetic Ancestry Continuum

Artificial IntelligenceMachine Learning

Summary

Machine learning models often predict cancer outcomes without fully considering genetic ancestry or by grouping people into broad ancestry categories. The authors found that prediction accuracy drops as a person's genetics differ more from those in the training data, even within the same ancestry group. They propose a new method called distribution-aware in-context learning that models genetic ancestry as a continuum rather than fixed groups. This approach better captures how genetic differences influence cancer outcome predictions and improves accuracy. They provide theoretical reasoning and experimental evidence supporting their method.

What this means in practice

  • For hospital data teams: Improve cancer outcome prediction models by integrating genetic ancestry as a continuum to enhance accuracy across diverse patient populations.
  • For biomedical software developers: Create software tools that incorporate distribution-aware in-context learning to provide personalized cancer risk assessments accounting for genetic diversity.

Authors

Weizhi Li, Yan Cui

Abstract

Machine learning models for omics-based prediction of cancer outcomes are commonly built on aggregated data without distinguishing ancestry groups, or under an ancestry-discrete design, which partitions samples into ancestry groups and fits a separate model within each group. Recent evidence shows that this approach is inherently limited: predictive accuracy declines with genetic distance from the training samples, even within a single ancestry group, because the data distribution shifts continuously rather than only between predefined categories. In this paper, we propose distribution-aware in-context learning (DA-ICL) for ancestry-continuum modeling. Our method extends conventional ancestry-discrete modeling to ancestry-continuum modeling, capturing the nonstationary omics-endpoint relationship across the genetic continuum while enabling efficient modeling through an in-context learning foundation model. We provide theoretical analysis demonstrating the superiority of the ancestry-continuum over ancestry-discrete modeling, along with empirical results supporting the proposed framework. Source code is available at https://github.com/ai4pm/DA-ICL-Continuum.