[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-504654-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-504654-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","a-fast-and-effective-kernel-two-sample-test-for-large-scale-data","A fast and effective kernel two-sample test for large-scale data","","Kernel two-sample tests are widely used, yet efficient methods for high-dimensional, large-scale data remain challenging in the big data era. Existing kernel tests, including maximum mean discrepancy (MMD)-based approaches, can be computationally intensive and/or fail to perform effectively under common high-dimensional alternatives. This work introduces a new test with high power across a broad range of alternatives, improved robustness in high dimensions, and no need for optimization procedures for kernel bandwidth or parameters via data splitting. Experiments show strong performance on both synthetic and real data.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/a-fast-and-effective-kernel-two-sample-test-for-large-scale-data/504654/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/a-fast-and-effective-kernel-two-sample-test-for-large-scale-data/504654.png","ImageObject",300,407,{"name":42,"@type":43},"pixelkiddo","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-10-03",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does the paper address in kernel two-sample testing?","Question",{"text":63,"@type":64},"It targets efficient two-sample testing for high-dimensional, large-scale data, where common kernel methods can be computationally intensive and/or ineffective for certain alternatives.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the proposed test improve over existing kernel-based methods?",{"text":68,"@type":64},"The paper claims the new test has high power across a wide range of alternatives, is more robust to high dimensions, and avoids optimization for choosing kernel bandwidth and other parameters via data splitting.",{"name":70,"@type":61,"acceptedAnswer":71},"What evidence is provided for the performance of the new approach?",{"text":72,"@type":64},"Numerical studies are reported to demonstrate that the method performs well on both synthetic and real-world data.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},504654,1791442456,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},962090883892,"https://ap-avatar.wpscdn.com/avatar/e00115db34f3e0f11b?x-image-process=image/resize,m_fixed,w_180,h_180&k=1790152879550218658","arXiv :2110 .03118v2 [ stat .ME] 2 Oct 2025  \nA fast and effective kernel two-sample test for  \nlarge-scale data  \nHoseung Song 1 and Hao Chen2*  \n1 Department of Industrial and Systems Engineering, KAIST, Daejeon,  \n34141, Republic of Korea.  \n2* Department of Statistics, University of California, Davis, One Shields  \nAvenue, Davis, 95616, CA, USA.  \n*Corresponding author(s). E-mail(s): [hxchen@ucdavis.edu](hxchen@ucdavis.edu) ;  \nContributing authors: [hoseung@kaist.ac.kr](hoseung@kaist.ac.kr) ;  \nAbstract  \nKernel two-sample tests have been widely used, and the development of efficient methods for high-dimensional, large-scale data is receiving increasing attention in the big data era. However, existing methods, such as the maximum mean discrepancy (MMD) and recently proposed kernel-based tests for large-scale data, are computationally intensive and/or ineffective for some common alternativesin high-dimensional data. In this paper, we propose a new test that exhibits high power across a wide range of alternatives. Furthermore, the new test is more robust to high dimensions than existing methods and does not require optimization procedures for choosing kernel bandwidth and other parameters through data splitting. Numerical studies demonstrate that the new approach performs well on both synthetic and real-world data.  \nKeywords: Nonparametrics, Permutation null distribution, High-dimensional data,  \nKernel methods  \n1 Introduction  \nTwo-sample hypothesis testing plays a significant role in a variety of scientific applications, such as bioinformatics, social sciences, and image analysis (Fox and Dimmic, 2006; Osborne et al., 2013; Kohout and Pevn`y, 2017) . As we enter the big data era, high-dimensional and large-scale data is becoming prevalent, particularly in machine  \n1  \nlearning and deep learning applications. Consequently, attention to two-sample testing methods for large-scale data is naturally increasing (Sutherland et al., 2016; Grosse et al., 2017; Carlini and Wagner, 2017; Gao et al., 2020) .  \nFormally, given two samples X1 , X2 , ... , Xm  P and Y1 , Y2 , ... , Yn  Q, where P and Q are distributions in Rd , we consider testing the null hypothesis H0 : P = Q against H1 : P  Q. Classical approaches have focused on univariate data (Kolmogorov, 1933; Wald and Wolfowitz, 1940; Mann and Whitney, 1947) . In the multivariate setting, there are many parametric methods (Bai and Saranadasa, 1996; Schott, 2007; Srivastava and Du, 2008; Srivastava and Yanagihara, 2010), but they are limited by model assumptions. Nonparametric approaches are more flexible, and several tests have been proposed utilizing the rank (Baumgartner et al. , 1998; Hettmansperger et al., 1998; Rousson, 2002; Oja, 2010), interpoint distances (Sz´ekely and Rizzo, 2013; Biswas and Ghosh, 2014), graphs (Friedman and Rafsky, 1979; Schilling, 1986; Rosenbaum, 2005; Chen and Zhang, 2013; Chen and Friedman, 2017; Chen et al., 2018; Zhang and Chen, 2017), ball divergence (Pan et al. , 2018), and classifiers (Lopez-Paz and Oquab, 2016; Hediger et al., 2019; Liu et al., 2020; Kirchler et al., 2020) . In this paper, we focus on kernel two-sample tests, and some of the aforementioned state-of-the-art tests will be included for comparison in numerical studies.  \n1.1 A brief review of kernel two-sample tests  \nAs a nonparametric framework, kernel two-sample tests have been widely used in real data applications (Liu et al., 2020; Wynne and Duncan, 2020) . The most well-known kernel two-sample test was proposed by Gretton et al. (2007) . Given a kernel k (·, ·), the test is based on the maximum mean discrepancy (MMD), which measures the difference between expected features of P and Q in a reproducing kernel Hilbert space (RKHS):  \nMMD2 (P, Q) = EX,X ′ [k(X, X′)] − 2EX,Y [k(X, Y )] + EY,Y ′ [k(Y, Y′)],  \nwhere X and X ′ are independent random variables drawn from P, and Y and Y ′ are independent random variables drawn from Q.  \nAn unbiased estimate of MMD2 was considered","cbCaipirHMp508Ho","https://ap.wps.com/l/cbCaipirHMp508Ho","pdf",1228917,23,"English","# Introduction\n## A brief review of kernel two-sample tests\n## Kernel two-sample tests for large-scale data","[{\"question\":\"What problem does the paper address in kernel two-sample testing?\",\"answer\":\"It targets efficient two-sample testing for high-dimensional, large-scale data, where common kernel methods can be computationally intensive and/or ineffective for certain alternatives.\"},{\"question\":\"How does the proposed test improve over existing kernel-based methods?\",\"answer\":\"The paper claims the new test has high power across a wide range of alternatives, is more robust to high dimensions, and avoids optimization for choosing kernel bandwidth and other parameters via data splitting.\"},{\"question\":\"What evidence is provided for the performance of the new approach?\",\"answer\":\"Numerical studies are reported to demonstrate that the method performs well on both synthetic and real-world data.\"}]","A fast and effective kernel two-sample test for large-scale data | PDF",1791071730,58,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/8e7b4817f8da79b1c249cf8d81e497f8.webp",983,1390,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/5dbd1e518b04ca786f1a09ef8e56b99f.webp",982,1388,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/eea051b2f9b3a051c703767684db42d1.webp",981,1387,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d2911259ef1e369a8d9add667ed27c0d.webp",980,1385]