Fast and Efficient Bit-Level Precision Tuning
Assal\'e Adj\'e, Dorra Ben Khalifa, Matthieu Martel

TL;DR
This paper presents a novel, semantic-based ILP approach for precision tuning that efficiently determines minimal data types at the bit level, outperforming traditional trial-and-error methods.
Contribution
It introduces a new ILP-based technique for precision tuning derived from semantic equations, enabling polynomial-time optimal bit-level data type determination.
Findings
Outperforms state-of-the-art precision tuning tools
Provides optimal bit-level data types efficiently
Uses semantic equations and ILP for precision tuning
Abstract
In this article, we introduce a new technique for precision tuning. This problem consists of finding the least data types for numerical values such that the result of the computation satisfies some accuracy requirement. State of the art techniques for precision tuning use a try and fail approach. They change the data types of some variables of the program and evaluate the accuracy of the result. Depending on what is obtained, they change more or less data types and repeat the process. Our technique is radically different. Based on semantic equations, we generate an Integer Linear Problem (ILP) from the program source code. Basically, this is done by reasoning on the most significant bit and the number of significant bits of the values which are integer quantities. The integer solution to this problem, computed in polynomial time by a (real) linear programming solver, gives the optimal…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
