[an error occurred while processing this directive]
Technique and Method

Machine learning-based geographical ancestry inference model for the Han Chinese population

Expand
  • 1 School of Investigation, People’s Public Security University of China, Beijing 100038, China
    2 Institute of Forensic Science, Ministry of Public Security & Beijing Engineering Research Center of Crime Scene Evidence Examination & National Engineering Laboratory for Forensic Science, Beijing 100038, China
    3 Department of Forensic Medicine, Guizhou Medical University, Guiyang 550004, China
    4 School of Forensic Medicine, Shanxi Medical University, Jinzhong 030600, China

Received date: 2025-12-23

  Revised date: 2026-02-18

  Online published: 2026-03-06

Supported by

National Key R&D Program of China(2022YFC3341004);National Natural Science Foundation of China(82171870);Science and Technology Program of the Ministry of Public Security(2023JSZ02);Beijing Nova Program of Science and Technology(20220484149)

Abstract

The Han Chinese population exhibits a complex genetic structure characterized by subtle yet discernible regional differentiation. Elucidating this fine-scale population structure and developing robust models for biogeographical ancestry inference are of great significance for revealing population evolutionary patterns and achieving precise ancestry inference. However, ancestry inference models specifically tailored to the genetic diversity within the domestic Han Chinese population remain scarce. In this study, we analyzed high-density SNP data from 1,229 Han Chinese individuals across eight provinces to investigate the correlation between genetic variation and geographic distribution, and to construct a machine learning-based model for regional ancestry prediction. After stringent quality control (including linkage disequilibrium pruning), we retained 208,193 SNPs for downstream analysis. Principal component analysis (PCA) and ADMIXTURE clustering revealed measurable genetic stratification corresponding to geography, supporting the delineation of seven distinct genetic clusters within the Han population. Leveraging the top principal components as features, we trained and compared multiple classifiers—XGBoost, random forest, and K-nearest neighbors—via five-fold cross-validation on the reference set, with model performance evaluated using both top-rank prediction accuracy and likelihood ratio (LR)-based metrics. The results showed that the PCA-XGBoost model achieved the optimal prediction performance in the reference set, with a first-rank prediction accuracy of 87.66% and an LR-based accuracy of 96.87%. In independent test sets, the PCA-XGBoost model maintained strong performance (first-rank prediction accuracy >85%; LR-based accuracy >95%), demonstrating excellent generalizability and stability. In summary, the PCA-XGBoost predictive model developed in this study demonstrates high efficiency, robustness, and accuracy, offering a reliable methodological tool for research in population genetics and forensic genetics.

Cite this article

Shuaiqi Wang, Chunnian Wang, Deqin Zhang, Linlin Lou, Yiting Ban, Li Jiang, Caixia Li . Machine learning-based geographical ancestry inference model for the Han Chinese population[J]. Hereditas(Beijing), 2026 , 48(7) : 726 -740 . DOI: 10.16288/j.yczz.25-261

References

[1] Alladio E, Poggiali B, Cosenza G, Pilli E, Palamenghi A, Marino A, Staiti N. Multivariate statistical approach and machine learning for the evaluation of biogeographical ancestry inference in the forensic field. Sci Rep, 2022, 12(1): 8974.
[2] Salvo NM, Olsen GH, Berg T, Janssen K. Biogeographical ancestry analyses using the ForenSeqTM DNA signature prep kit and multiple prediction tools. Genes, 2024, 15(4): 510.
[3] Kidd KK, Speed WC, Pakstis AJ, Furtado MR, Fang RX, Madbouly A, Maiers M, Middha M, Friedlaender FR, Kidd JR. Progress toward an efficient panel of SNPs for ancestry inference. Forensic Sci Int Genet, 2014, 10: 23-32.
[4] Wei YL, Wei L, Zhao L, Sun QF, Jiang L, Zhang T, Liu HB, Chen JG, Ye J, Hu L, Li CX. A single-tube 27-plex SNP assay for estimating individual ancestry and admixture from three continents. Int J Legal Med, 2016, 130(1): 27-37.
[5] Pakstis AJ, Kang LL, Liu LJ, Zhang ZY, Jin TB, Grigorenko EL, Wendt FR, Budowle B, Hadi S, Al Qahtani MS, Morling N, Mogensen HS, Themudo GE, Soundararajan U, Rajeevan H, Kidd JR, Kidd KK. Increasing the reference populations for the 55 AISNP panel: the need and benefits. Int J Legal Med, 2017, 131(4): 913-917.
[6] Zhou YS, Jin XY, Wu BL, Zhu BF. Development and performance evaluation of a novel ancestry informative DIP panel for continental origin inference. Front Genet, 2022, 12: 801275.
[7] Li CX, Pakstis AJ, Jiang L, Wei YL, Sun QF, Wu H, Bulbul O, Wang P, Kang LL, Kidd JR, Kidd KK. A panel of 74 AISNPs: improved ancestry inference within eastern Asia. Forensic Sci Int Genet, 2016, 23: 101-110.
[8] Paschou P, Ziv E, Burchard EG, Choudhry S, Rodriguez- Cintron W, Mahoney MW, Drineas P. PCA-correlated SNPs for structure identification in worldwide human populations. PLoS Genet, 2007, 3(9): e160.
[9] Pritchard JK, Stephens M, Donnelly P. Inference of population structure using multilocus genotype data. Genetics, 2000, 155(2): 945-959.
[10] Bianco SD, Parca L, Petrizzelli F, Biagini T, Giovannetti A, Liorni N, Napoli A, Carella M, Procaccio V, Lott MT, Zhang SP, Vescovi AL, Wallace DC, Caputo V, Mazza T. APOGEE 2: multi-layer machine-learning model for the interpretable prediction of mitochondrial missense variants. Nat Commun, 2023, 14(1): 5058.
[11] Yang QX, Luo L, Lin ZP, Wen W, Zeng WB, Deng H. A machine learning-based predictive model of causality in orthopaedic medical malpractice cases in China. PLoS One, 2024, 19(4): e0300662.
[12] Yesilyaprak A, Kumar AK, Agrawal A, Furqan MM, Verma BR, Syed AB, Majid M, Akyuz K, Rayes DL, Chen D, Wang TKM, Cremer PC, Klein AL. Predicting long-term clinical outcomes of patients with recurrent pericarditis. J Am Coll Cardiol, 2024, 84(13): 1193-1204.
[13] Cai MM, Lei FZ, Chen M, Lan Q, Wu XL, Mao C, Shi MS, Zhu BF. Systematic analyses of AISNPs screening and classification algorithms based on genome-wide data for forensic biogeographic ancestry inference. Forensic Sci Int, 2024, 357: 111975.
[14] Wang CN, Wang SQ, Zhao YR, Liu J, Zhang DQ, Wang FY, Fan H, Li CX, Jiang L. A biogeographical ancestry inference pipeline using PCA-XGBoost model and its application in Asian populations. Forensic Sci Int Genet, 2025, 77: 103239.
[15] Yang QX, Chen J, Nie SJ, Liu C, Deng H, He GL. Fine-scale biogeographical ancestry inference in Southeast and East Asians via high-efficiency markers and machine learning approaches. Front Ecol Evol, 2025, 13: 1572596.
[16] Wang MG, Yuan DD, Zou X, Wang Z, Yeh HY, Liu J, Wei LH, Wang CC, Zhu BF, Liu C, He GL. Fine-scale genetic structure and natural selection signatures of southwestern Hans inferred from patterns of genome-wide allele, haplotype, and haplogroup lineages. Front Genet, 2021, 12: 727821.
[17] He GL, Wang Z, Guo JX, Wang MG, Zou X, Tang RK, Liu J, Zhang H, Li YX, Hu R, Wei LH, Chen G, Wang CC, Hou YP. Inferring the population history of Tai-Kadai- speaking people and southernmost Han Chinese on Hainan Island by genome-wide array genotyping. Eur J Hum Genet, 2020, 28(8): 1111-1123.
[18] Yao HB, Wang MG, Zou X, Li YX, Yang XM, Li AL, Yeh HY, Wang PX, Wang Z, Bai JY, Guo JX, Chen JW, Ding X, Zhang Y, Lin BQ, Wang CC, He GL. New insights into the fine-scale history of western-eastern admixture of the northwestern Chinese population in the Hexi Corridor via genome-wide genetic legacy. Mol Genet Genomics, 2021, 296(3): 631-651.
[19] Cong PK, Bai WY, Li JC, Yang MY, Khederzadeh S, Gai SR, Li N, Liu YH, Yu SH, Zhao WW, Liu JQ, Sun Y, Zhu XW, Zhao PP, Xia JW, Guan PL, Qian Y, Tao JG, Xu L, Tian G, Wang PY, Xie SY, Qiu MC, Liu KQ, Tang BS, Zheng HF. Genomic analyses of 10,376 individuals in the Westlake BioBank for Chinese (WBBC) pilot project. Nat Commun, 2022, 13(1): 2939.
[20] Cao YN, Li L, Xu M, Feng ZM, Sun XH, Lu JL, Xu Y, Du PN, Wang TG, Hu RY, Ye Z, Shi LX, Tang XL, Yan L, Gao ZN, Chen G, Zhang YF, Chen LL, Ning G, Bi YF, Wang WQ, The ChinaMAP Consortium. The ChinaMAP analytics of deep whole genome sequences in 10,588 individuals. Cell Res, 2020, 30(9): 717-731.
[21] Gu JQ, Jiang L, Xu JY, Wang H, Wei YL, Li CX. Genetic structure of East Asians based on high-density SNP data. Prog Biochem Biophys, 2023, 50(11): 2739-2752.
  顾佳琪, 江丽, 徐景怡, 王寒, 魏以梁, 李彩霞. 基于高密度SNP数据的东亚人群遗传结构研究. 生物化学与生物物理进展, 2023, 50(11): 2739-2752.
[22] Li CP, Tian DM, Tang BX, Liu XN, Teng XF, Zhao WM, Zhang Z, Song SH. Genome Variation Map: a worldwide collection of genome variations across multiple species. Nucleic Acids Res, 2021, 49(D1): D1186-D1191.
[23] Purcell S, Neale B, Todd-Brown K, Thomas L, Ferreira MAR, Bender D, Maller J, Sklar P, de Bakker PIW, Daly MJ, Sham PC. PLINK: a tool set for whole-genome association and population-based linkage analyses. Am J Hum Genet, 2007, 81(3): 559-575.
[24] 1000 Genomes Project Consortium, Auton A, Brooks LD, Durbin RM, Garrison EP, Kang HM, Korbel JO, Marchini JL, McCarthy S, McVean GA, Abecasis GR. A global reference for human genetic variation. Nature, 2015, 526(7571): 68-74.
[25] Yang J, Lee SH, Goddard ME, Visscher PM. GCTA: a tool for genome-wide complex trait analysis. Am J Hum Genet, 2011, 88(1): 76-82.
[26] Alexander DH, Novembre J, Lange K. Fast model-based estimation of ancestry in unrelated individuals. Genome Res, 2009, 19(9): 1655-1664.
[27] Ito K, Murphy D. Application of ggplot2 to pharmacometric graphics. CPT Pharmacometrics Syst Pharmacol, 2013, 2(10): e79.
[28] Danecek P, Auton A, Abecasis G, Albers CA, Banks E, DePristo MA, Handsaker RE, Lunter G, Marth GT, Sherry ST, McVean G, Durbin R, 1000 Genomes Project Analysis Group. The variant call format and VCFtools. Bioinformatics, 2011, 27(15): 2156-2158.
[29] Kumar S, Stecher G, Li M, Knyaz C, Tamura K. MEGA X: molecular evolutionary genetics analysis across computing platforms. Mol Biol Evol, 2018, 35(6): 1547-1549.
[30] Yao HT, Jiang L, Wang CN, Fan H, Li CX. Research on the intercontinental population biogeographic ancestral inference model based on PCA-XGBoost method. Prog Biochem Biophys, 2024, 51(12): 3292-3309.
  姚昊天, 江丽, 王春年, 范虹, 李彩霞. 基于PCA- XGBoost方法的洲际人群生物地理祖源推断模型研究. 生物化学与生物物理进展, 2024, 51(12): 3292-3309.
[31] Chen TQ, Guestrin C. XGBoost: a scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD'16). Association for Computing Machinery, New York, NY, USA, 2016, 785-794.
[32] Rigatti SJ. Random forest. J Insur Med, 2017, 47(1): 31-39.
[33] Hastie T, Tibshirani R. Discriminant adaptive nearest neighbor classification and regression. In: Proceedings of the 9th International Conference on Neural Information Processing Systems (NIPS'95). MIT Press, Cambridge, MA, USA, 1995, 409-415.
[34] He GL, Li YX, Zou X, Yeh HY, Tang RK, Wang PX, Bai JY, Yang XM, Wang Z, Guo JX, Chen JW, Chen J, Yang MQ, Zhao J, Sun J, Zhu KY, Ma H, Wang R, Yang WJ, Hu R, Wei LH, Hou YP, Wang MG, Chen G, Wang CC. Northern gene flow into southeastern East Asians inferred from genome-wide array genotyping. J Syst Evol, 2023, 61(1): 179-197.
[35] Wen B, Li H, Lu DR, Song XF, Zhang F, He YG, Li F, Gao Y, Mao XY, Zhang L, Qian J, Tan JZ, Jin JZ, Huang W, Deka RJ, Su B, Chakraborty R, Jin L. Genetic evidence supports demic diffusion of Han culture. Nature, 2004, 431(7006): 302-305.
[36] Zhang P, Luo HX, Li YY, Wang Y, Wang JJ, Zheng Y, Niu YW, Shi YR, Zhou HH, Song TR, Kang Q, Han100K Initiative, Xu T, He SM. NyuWa Genome resource: a deep whole-genome sequencing-based variation profile and reference panel for the Chinese population. Cell Rep, 2021, 37(7): 110017.
[37] Chen PY, Wu J, Luo L, Gao HY, Wang MG, Zou X, Li YX, Chen G, Luo HB, Yu LM, Han YY, Jia FQ, He GL. Population genetic analysis of modern and ancient DNA variations yields new insights into the formation, genetic structure, and phylogenetic relationship of Northern Han Chinese. Front Genet, 2019, 10: 1045.
[38] Liu SY, Huang SJ, Chen F, Zhao LJ, Yuan YY, Francis SS, Fang L, Li ZL, Lin L, Liu R, Zhang Y, Xu HX, Li SK, Zhou YW, Davies RW, Liu Q, Walters RG, Lin K, Ju J, Korneliussen T, Yang MA, Fu QM, Wang J, Zhou LJ, Krogh A, Zhang HY, Wang W, Chen ZM, Cai ZM, Yin Y, Yang HM, Mao M, Shendure J, Wang J, Albrechtsen A, Jin X, Nielsen R, Xu X. Genomic analyses from non-invasive prenatal testing reveal genetic associations, patterns of viral infections, and Chinese population history. Cell, 2018, 175(2): 347-359.e14.
[39] Zhou JB, Zhang XP, Li X, Sui J, Zhang S, Zhong H, Zhang QX, Zhang XM, Huang H, Wen YF. Genetic structure and demographic history of Northern Han people in Liaoning Province inferred from genome-wide array data. Front Ecol Evol, 2022, 10: 1014024.
[40] Chiang CWK, Mangul S, Robles C, Sankararaman S. A comprehensive map of genetic variation in the world’s largest ethnic group—Han Chinese. Mol Biol Evol, 2018, 35(11): 2736-2750.
[41] Chen JM, Zheng HF, Bei JX, Sun LD, Jia WH, Li T, Zhang FR, Seielstad M, Zeng YX, Zhang XJ, Liu JJ. Genetic structure of the Han Chinese population revealed by genome-wide SNP variation. Am J Hum Genet, 2009, 85(6): 775-785.
[42] Li W, Yin YB, Quan XW, Zhang H. Gene expression value prediction based on XGBoost algorithm. Front Genet, 2019, 10: 1077.
[43] Deng XS, Li M, Deng SB, Wang L. Hybrid gene selection approach using XGBoost and multi-objective genetic algorithm for cancer classification. Med Biol Eng Comput, 2022, 60(3): 663-681.
[44] Watson DS. Interpretable machine learning for genomics. Hum Genet, 2022, 141(9): 1499-1513.
[45] Musolf AM, Holzinger ER, Malley JD, Bailey-Wilson JE. What makes a good prediction? Feature importance and beginning to open the black box of machine learning in genetics. Hum Genet, 2022, 141(9): 1515-1528.
[46] Gaspar HA, Breen G. Probabilistic ancestry maps: a method to assess and visualize population substructures in genetics. BMC Bioinform, 2019, 20(1): 116.
[47] Ausmees K, Nettelblad C. A deep learning framework for characterization of genotype data. G3 (Bethesda), 2022, 12(3): jkac020.
[48] Montserrat DM, Bustamante C, Ioannidis A. Lai-net: local-ancestry inference with neural networks. ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2020, 1314-1318.
[49] Karim MR, Cochez M, Zappa A, Sahay R, Rebholz- Schuhmann D, Beyan O, Decker S. Convolutional embedded networks for population scale clustering and bio-ancestry inferencing. IEEE/ACM Trans Comput Biol Bioinform, 2020, 19(1): 369-382.
[50] Battey CJ, Ralph PL, Kern AD. Predicting geographic location from genetic variation with deep neural networks. eLife, 2020, 9: e54507.
[51] Soumare H, Rezgui S, Gmati N, Benkahla A. New neural network classification method for individuals ancestry prediction from SNPs data. BioData Min, 2021, 14(1): 30.
[52] Prugnolle F, Manica A, Balloux F. Geography predicts neutral genetic diversity of human populations. Curr Biol, 2005, 15(5): R159-R160.
[53] Battey CJ, Ralph PL, Kern AD. Space is the place: effects of continuous spatial structure on analysis of population genetic data. Genetics, 2020, 215(1): 193-214.
[54] Li YC, Ye WJ, Jiang CG, Zeng Z, Tian JY, Yang LQ, Liu KJ, Kong QP. River valleys shaped the maternal genetic landscape of Han Chinese. Mol Biol Evol, 2019, 36(8): 1643-1652.
[55] Gao Y, Zhang C, Yuan LY, Ling YC, Wang XJ, Liu C, Pan YW, Zhang XX, Ma XX, Wang YC, Lu Y, Yuan K, Ye W, Qian JQ, Chang HD, Cao RF, Yang X, Ma L, Ju YH, Dai L, Tang YY, The Han100K Initiative, Zhang GQ, Xu SH. PGG. Han: the Han Chinese genome database and analysis platform. Nucleic Acids Res, 2020, 48(D1): D971-D976.
[56] Li ZC, Jiang XS, Fang MY, Bai Y, Liu SY, Huang SJ, Jin X. CMDB: the comprehensive population genome variation database of China. Nucleic Acids Res, 2023, 51(D1): D890-D895.
[57] Wang CC, Li H. Inferring human history in East Asia from Y chromosomes. Investig Genet, 2013, 4(1): 11.
[58] Moutsouri I, Manoli P, Christofi V, Bashiardes E, Keravnou A, Xenophontos S, Cariolou MA. Deciphering the maternal ancestral lineage of Greek Cypriots, Armenian Cypriots and Maronite Cypriots. PLoS One, 2024, 19(2): e0292790.
[59] Yu HX, Zhang XP, Wei LH. The 30-100 patrilineal nomenclature system for eastern Eurasian populations. Hereditas(Beijing), 2025, 47(6): 660-671.
  于会新, 张咸鹏, 韦兰海. 欧亚大陆东部人群父系30-100分类体系. 遗传, 2025, 47(6): 660-671.
[60] Yang T, Liu YH, Zou S, Li XP, Wang ZY, Luo LT, Tang RK, Liu C, Hu LP, He GL, Nie SJ, Wang MG. Patrilineages of ethnolinguistically diverse populations reveal multifactorial influences on Chinese paternal population stratification. BMC Biol, 2025, 23(1): 341.
[61] Lee J, Yang S, Baik JY, Liu XX, Tan Z, Li DW, Wen ZX, Hou BJ, Duong-Tran D, Chen TL, Shen L. Knowledge- driven feature selection and engineering for genotype data with large language models. AMIA Jt Summits Transl Sci Proc, 2025, 2025: 250-259.
[62] Ali S, Qadri YA, Ahmad K, Lin ZZ, Leung MF, Kim SW, Vasilakos AV, Zhou T. Large language models in genomics—a perspective on personalized medicine. Bioengineering (Basel), 2025, 12(5): 440.
Outlines

/