betaFeedback

WorksPubMed

Whole-catalog reference distributions for reading one person's polygenic scores, built by an agent-optimized GPU scorer.

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.

Paper details

pubmed:43100251
First available
Nov 19, 2026
Read at
PubMed
  • Afyouni, Adam
  • Yang, Boyuan
  • Liu, Cong