Whole-catalog reference distributions for reading one person's polygenic scores, built by an agent-optimized GPU scorer.
Adam Afyouni, Boyuan Yang, Cong Liu
Key points
From the paper's conclusion- Conclusion: We release ancestry-stratified reference distributions for the whole PGS Catalog, so a new person's score can be read without rescoring the reference panel.
Abstract
OBJECTIVE: A polygenic score (PGS) is interpretable only as a percentile within a reference distribution, so a person who wants their risk across many diseases/traits needs every candidate model calibrated against a reference distribution. A precalculated frozen reference scoring every genome in a reference panel against every PGS model requires extensive computing resources using current software. MATERIALS AND METHODS: We reformulated PGS calculation as a sparse matrix product on a GPU and had an autonomous coding agent optimize it under strict numerical validation against pgsc_calc, once on a frozen synthetic training set and once on a 1000 Genomes (1000G) training set, and reran the synthetic training loop three times to assess the variances. RESULTS: On its synthetic training set the scorer sped up 10.6-fold and ran 71-fold faster than pgsc_calc. On 10 genomes and 10 models from the 1000G validation set, the synthetic-trained scorer was 15.3-fold slower than the 1000G-trained version and diverged from pgsc_calc (maximum absolute difference 3.7×10 -1 vs. 3.1×10 -4 ). Across three reruns, agent trajectory variance explained 91 to 96% of wall-clock variance. A memory-bounded rebuild then scored all 3,202 individuals' genotypes against all 5,385 models in 6.5 h within a 72 GB memory cap. DISCUSSION: Checking an agent's code only on the data it was tuned on cannot catch overfitting, and reruns of the same prompt differ widely. CONCLUSION: We release ancestry-stratified reference distributions for the whole PGS Catalog, so a new person's score can be read without rescoring the reference panel.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Statistical construction of calibrated prediction intervals for polygenic score-based phenotype predictionNature Genetics · 2025
- Scaling genetic discovery through automated post-GWAS interpretationbioRxiv · 2026
- GPBench: A benchmark framework for genomic predictionbioRxiv · 2026
- Quantifying the genetic separability of disease subtypesmedRxiv · 2026
- A family-aware All of Us benchmark for polygenic prediction and genomic machine learningmedRxiv · 2026
- Quantification of Bias-Variance Tradeoffs in Genome-Wide Polygenic Indices: When 'Good' PGIs are Bad and 'Bad' PGIs are GoodmedRxiv · 2026