Identifying Good Rules for Efficient SAT Encodings of Single-Constant Multiplication Using Machine Learning
Abstract
The Single Constant Multiplication 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: https://github.com/Chufeng-Jiang/SCMMLDP
Create a lesson
Metadata
- Journal
- EPTCS 450, 2026, pp. 81-95
- Comments
- In Proceedings ICLP 2026, arXiv:2607.17707
Related papers
SOLO: Towards Sample-Faithful and Detectable LLM Watermarking under Repeated Sampling via Content-Anchored Single-Owner Contexts
Shared title terminologycs.AIZhongliang Guo, Yan Lin, Yifei Qian et al.
Improving Building Energy Efficiency with an Indoor Environmental World Model and Counterfactual Adaptive Learning
Shared title terminologycs.AIXu Yang, Kailai Sun, Dianyu Zhong et al.
Aligned Machine: A Benchmark for Evaluating Multimodal Embedding Similarity via Human Comparative Judgements
Shared title terminologycs.AIJiechen Li, Hannah Groos, Brinnae Bent
Partial Routing: Trace-Tuned Delegation for Resource-Efficient Agentic Workflows
Shared title terminologycs.AISiddharth Arya, Kshitij Jain
Reading Decisions Before Spans: Efficient Generative Verification
Shared title terminologycs.AIYanbin Gong, Lei Chen
CAPTA: Identifying LLMs Behind AI Agents
Shared title terminologycs.AIKailun Yan, Yue Huang, Sisi Duan