From Imbalance to Evidence: Deep Nonparametric Testing for Complex Data under Severe Sample Imbalance
Not on the map. Why?
Abstract (arXiv)
Comparing distributions under severe sample imbalance requires effectively using abundant majority observations while retaining sensitivity to differences involving the smaller sample. This challenge is particularly relevant for complex, non-Euclidean data, such as graphs, whose structural characteristics call for flexible testing procedures. Classifier two-sample tests (C2STs) provide such flexibility, but existing procedures are primarily designed for balanced or comparably sized samples. In this paper, we study C2STs in a highly imbalanced regime, and show that severe sample imbalance may substantially degrade testing performance. Different from conventional imbalanced learning approaches that treat sample imbalance merely as a nuisance for classifier training, we turn it into a source of repeated testing evidence. Building on this insight, we propose an Enhanced Imbalance-Aware Deep Classifier Two-Sample Test (EIAD-C2ST), a classifier-agnostic framework designed for sample imbalance that accommodates diverse data modalities by tailoring classifiers to data structure. For computationally expensive deep classifiers, we further develop a scalable representation-amortized implementation strategy. Theoretically, we establish rigorous guarantees on asymptotic size and characterize conditions for power consistency, allowing the imbalance ratio to diverge. We demonstrate the empirical gains using simulations and an application to blockchain forensics. The results reveal that the majority-sample surplus, when properly leveraged, can be organized into useful statistical evidence, rather than an obstacle, for distributional comparisons with complex data.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 29 of its 67 references that are in the map. First posted on arXiv 9 Oct 2026.
Builds on
29 of 67 references.
References · 29
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2016Understanding intermediate layers using linear classifier probescited by 1,353
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
- 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
- 2014How transferable are features in deep neural networks?cited by 1,225
- 2019Strategies for Pre-training Graph Neural Networkscited by 971
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
- 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 705
- 2020Benchmarking Graph Neural Networkscited by 680
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
- 2013DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognitioncited by 424
17 more
- 2021Deep Long-Tailed Learning: A Surveycited by 417
- 2016Kernel Mean Embedding of Distributions: A Review and Beyondcited by 364
- 2016Revisiting Classifier Two-Sample Testscited by 268
- 2016Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learningcited by 195
- 2015On Wasserstein Two Sample Testing and Related Families of Nonparametric Testscited by 166
- 2021MMD Aggregated Two-Sample Testcited by 75
- 2019Graph Kernels: A Surveycited by 44
- 2016Classification accuracy as a proxy for two sample testingcited by 42
- 2019Classification Logit Two-sample Testing by Neural Networkscited by 26
- 2019On the Use of Random Forest for Two-Sample Testingcited by 13
- 2016Better-Than-Chance Classification for Signal Detectioncited by 8
- 2024The Shape of Money Laundering: Subgraph Representation Learning on the Blockchain with the Elliptic2 Datasetcited by 8
- 2021Multiple-Splitting Projection Test for High-Dimensional Mean Vectorscited by 5
- 2023Minimax optimal testing by classificationcited by 5
- 2021Power-enhanced simultaneous test of high-dimensional mean vectors and covariance matrices with application to gene-set testingcited by 4
- 2020Fisher's combined probability test for high-dimensional covariance matricescited by 2
- 2026LOTTERY: Learning from Reference-Only Samples in Two-Sample Testing under Size Asymmetrycited by 1
Built on by
Not cited yet.