ONNXPruner: ONNX-Based General Model Pruning Adapter
Recent advancements in model pruning have focused on developing new algorithms and improving upon benchmarks. However, the practical application of these algorithms across various models and platforms remains a significant challenge. To address this challenge, we propose ONNXPruner, a versatile pruning adapter designed for the ONNX format models. ONNXPruner streamlines the adaptation process across diverse deep learning frameworks and hardware platforms. A novel aspect of ONNXPruner is its use of node association trees, which automatically adapt to various model architectures. These trees clarify the structural relationships between nodes, guiding the pruning process, particularly highlighting the impact on interconnected nodes. Furthermore, we introduce a tree-level evaluation method. By leveraging node association trees, this method allows for a comprehensive analysis beyond traditional single-node evaluations, enhancing pruning performance without the need for extra operations. Experiments across multiple models and datasets confirm ONNXPruner's strong adaptability and increased efficacy. Our work aims to advance the practical application of model pruning.
Authors
- Hongbing Pan (ORCID: https://orcid.org/0000-0002-7181-8278)
- Jing Huo (ORCID: https://orcid.org/0000-0002-8504-455X)
- Yang Gao (ORCID: https://orcid.org/0000-0002-2488-1813)
- Lei Wang (ORCID: https://orcid.org/0000-0002-0961-0441)
- Wenbin Li (ORCID: https://orcid.org/0000-0002-0935-7124)
- Dongdong Ren (ORCID: https://orcid.org/0000-0002-8360-4947)
- Qi Fan (ORCID: https://orcid.org/0000-0002-2644-4457)
- Tianyu Ding (ORCID: https://orcid.org/0000-0001-8445-4330)
Institutions
- Microsoft (United States) (US)
- University of Wollongong (AU)
- Suzhou University of Science and Technology (CN)
- Nanjing University (CN)
Publication Details
- Journal
- IEEE Transactions on Pattern Analysis and Machine Intelligence
- Published
- 2025-03-26
- DOI
- https://doi.org/10.1109/tpami.2025.3554560
- Citations
- 3
- Primary Topic
- Simulation Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 6.32
Funders
- National Natural Science Foundation of China