Predicting Performance and Accuracy of Mixed-Precision Programs for Precision Tuning
Yutong Wang, Cindy Rubio-González
摘要
A mixed-precision program is a floating-point program that utilizes different precisions for different operations, providing the opportunity of balancing the trade-off between accuracy and performance. Precision tuning aims to find a mixed-precision version of a program that improves its performance while maintaining a given accuracy. Unfortunately, existing precision tuning approaches are either limited to small-scale programs, or suffer from efficiency issues. In this paper, we propose FPLearner, a novel approach that addresses these limitations. Our insight is to leverage a Machine Learning based technique, Graph Neural Networks, to learn the representation of mixed-precision programs to predict their performance and accuracy. Such prediction models can then be used to accelerate the process of dynamic precision tuning by reducing the number of program runs. We create a dataset of mixed-precision programs from five diverse HPC applications for training our models, which achieve 96.34% F1 score in performance prediction and 97.03% F1 score in accuracy prediction. FPLearner improves the time efficiency of two dynamic precision tuners, Precimonious and HiFPTuner, by an average of 25.54% and up to 61.07% while achieving precision tuning results of comparable or better quality. CCS CONCEPTS • Computing methodologies → Neural networks; • Software and its engineering → Software performance; Software reliability.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper2
- Cost of Soundness in Mixed-Precision TuningAnastasia Isychev, Debasmita LoharOOPSLA 2025 · 被引用 2 次
- Floating-Point Usage on GitHub: A Large-Scale Study of Statically Typed LanguagesAndrea Gilot, Tobias Wrigstad, Eva DarulovaOOPSLA 2026 · 被引用 1 次
它引用的顶会 Paper13
- Delving into Deep Imbalanced RegressionYuzhe Yang, Kaiwen Zha, Ying-Cong Chen, Hao Wang 等ICML 2021 · 被引用 385 次
- CoCoNuT: combining context-aware neural translation models using ensemble for program repairThibaud Lutellier, Hung Viet Pham, Lawrence Pang, Yitong Li 等ISSTA 2020 · 被引用 325 次
- Hoppity: Learning Graph Transformations to Detect and Fix Bugs in ProgramsElizabeth Dinella, Hanjun Dai, Ziyang Li, Mayur Naik 等ICLR 2020 · 被引用 212 次
- DLFix: context-based code transformation learning for automated program repairYi Li, Shaohua Wang, Tien N. NguyenICSE 2020 · 被引用 201 次
- Functional code clone detection with syntax and semantics fusion learningChunrong Fang, Zixi Liu, Yangyang Shi, Jeff Huang 等ISSTA 2020 · 被引用 125 次
相关 Paper
- High-level synthesis performance prediction using GNNs: benchmarking, modeling, and advancingNan Wu, Hang Yang, Yuan Xie, Pan Li 等DAC 2022 · 被引用 57 次
- A Holistic Approach to Automatic Mixed-Precision Code Generation and Tuning for Affine ProgramsJinchen Xu, Guanghui Song, Bei Zhou, Fei Li 等PPoPP 2024 · 被引用 14 次
- Performance Optimization using Multimodal Modeling and Heterogeneous GNNAkash Dutta, Jordi Alcaraz, Ali TehraniJamsaz, Eduardo César 等HPDC 2023 · 被引用 15 次
- Campo: Cost-Aware Performance Optimization for Mixed-Precision Neural Network TrainingXin He, Jianhua Sun, Hao Chen, Dong LiUSENIX ATC 2022 · 被引用 10 次
- Learning Execution through Neural Code fusionZhan Shi, Kevin Swersky, Daniel Tarlow, Parthasarathy Ranganathan 等ICLR 2020 · 被引用 32 次
