Query Augmented Generation (QAG) from the Genomic DataCommons for Accurate Variant Statistics
Venkat, A.; Wysocki, W. P.; Lukowski, M.; Song, S.; Subramanyam, A.; Zhang, Z.; Grossman, R. L.
Show abstract
In precision oncology, researchers often use public knowledgebases to check somatic variant frequencies against their cohort data. Large language models (LLMs) can quickly answer questions on somatic variant frequencies, but often hallucinate and give inaccurate results for factual data. Using synthetic queries, we show that somatic variant frequencies in baseline LLM responses are underestimated compared to the Genomic Data Commons (GDC), the worlds largest data commons for cancer research. We present a modular architecture called Query Augmented Generation (QAG) for integrating LLMs with high-quality data from a third party data source such as a data commons, knowledgebase or database. We apply QAG to the GDC to help researchers obtain accurate frequencies for somatic variants, copy number variants, and MSI status--even for complex queries requiring multiple steps in the GDC portal and API. Our software is deployed as a model context protocol (MCP) server on Hugging Face and available on GitHub.
Matching journals
The top 6 journals account for 50% of the predicted probability mass.
Similar papers in this journal
Similar papers in this journal
Similar papers in this journal
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.