NeFut Logo NeFut
Admin Login

[CS.AI] Machine Learning for Efficient SAT Encoding of Single-Constant Multiplication

Published at: 2026-07-25 22:00 Last updated: 2026-07-26 07:44
#Machine Learning #optimization #C++

Abstract

The Single Constant Multiplication (SCM) problem is a fundamental NP-hard optimization task in hardware design, which seeks to decompose a fixed constant using only additions, subtractions, and bit-shifts. Although dynamic programming methods can produce near-optimal SAT encodings for SCM, their encoding cost remains high for large constants. We propose a neuro-symbolic framework that accelerates SCM SAT encoding by identifying good rules for guiding operator selection during decomposition.

Our approach employs a graph neural network model to predict promising operator types from constant decompositions, and exploits the resulting confidence scores to prune no-good choices in the symbolic search. Experimental results on unseen 17-32 bit constants demonstrate one to two orders of magnitude reductions in encoding time, over 97% reduction in memory usage, and an order-of-magnitude decrease in branching, while preserving near-optimal encoding quality in terms of additions. These results show that learning-guided symbolic strategies can significantly improve the scalability and efficiency of SCM encoding.

Our code and data are publicly available at: GitHub

Blogger's Review: This research effectively enhances the encoding efficiency of the single constant multiplication problem by integrating neural networks with symbolic methods, showcasing the vast potential of machine learning in hardware design, particularly in reducing computational resource consumption for complex optimization tasks.

Original Source: https://arxiv.org/abs/2607.21188

[h] Back to Home