A Nonparametric Statistics Approach to Feature Selection in Deep Neural Networks with Theoretical Guarantees
This repository implements the feature selection methodology proposed in the paper "A Nonparametric Statistics Approach to Feature Selection in Deep Neural Networks with Theoretical Guarantees".
Authors: Junye Du†, Zhenghao Li†, Zhutong Gu, Long Feng*
Affiliation: Department of Statistics and Actuarial Science, University of Hong Kong
Contact: [email protected]
† Equal contribution
- Python 3.8+
- NumPy
- PyTorch
- SciPy
- lassonet
pip install -r requirements.txtcd Sec7_1_low_dimension_experiments
python sample_compare.py
python dimension_compare.pycd Sec7_2_high_dimension_experiments
python dimension_compare.py
python rho_compare.py
python sample_compare.pycd Sec7_3_prediction_experiments
python sample_compare.py
python dimension_compare.pycd Sec7_3_time_comparison
python time_comparison_sample_size.pycd Sec7_4_high_dimension_t_experiments
python dimension_compare_t.pyOur method demonstrates superior performance in the following scenarios:
- Low-Dimensional Setting (Section 7.1)
- High-Dimensional Setting (Section 7.2)
- Prediction Performance (Section 7.3)
- Non-Gaussian Distributions (Section 7.4)
For visualization results, please refer to our paper.
If you use this code in your research, please cite our paper:
@article{du2025nonparametric,
title={A Nonparametric Statistics Approach to Feature Selection in Deep Neural Networks with Theoretical Guarantees},
author={Du, Junye and Li, Zhenghao and Gu, Zhutong and Feng, Long},
journal={arXiv preprint arXiv:2512.13565},
year={2025}
}For any questions regarding the code, please contact:
- Junye Du: [email protected]
- Department of Statistics and Actuarial Science, University of Hong Kong
This project is licensed under the MIT License - see the LICENSE file for details.
Keywords: Feature Selection, Deep Neural Networks, Stein's Formula, Index Model, Nonparametric Statistics, High-Dimensional Statistics

