加速傅里叶SAT (AFSAT):完全实现基于GPU的对称伪布尔SAT求解器
Accelerated Fourier SAT (AFSAT): Fully Realising a GPU-based Symmetric Pseudo-Boolean SAT Solver
AI总结:
提出AFSAT,一个基于连续局部搜索的GPU加速伪布尔SAT求解器,通过JAX编译器实现大规模并行化,显著提升数值稳定性、运行速度和内存效率。
摘要:
我们提出加速傅里叶SAT (AFSAT),一个基于连续局部搜索 (CLS) 的GPU加速伪布尔可满足性求解器。AFSAT将概念验证方法FastFourierSAT实现为一个完全工程化的求解器,支持单个问题实例中任意异构混合的对称约束类型和长度。利用JAX编译器,AFSAT通过纯函数组合、自动向量化、自动微分和即时编译 (JIT),在候选赋值的批次上执行大规模并行CLS。我们展示了相比概念验证显著改进的数值稳定性、运行时性能和内存效率。这是通过识别和解决由内存延迟和浮点表示引起的各种限制,以及利用自动并行化和紧凑表示来实现的。浮点固有的表示和稳定性限制通过定制的离散傅里叶变换实现得到部分解决。通过JAX数组分片,我们在扩展到多个加速器时实现了接近线性的吞吐量。
英文摘要:
We present Accelerated Fourier SAT (AFSAT), a GPU-accelerated solver for pseudo-Boolean satisfiability based on continuous local search (CLS). AFSAT realises the proof-of-concept approach, FastFourierSAT, into a fully-engineered solver supporting any heterogeneous mixture of symmetric constraint types and lengths within a single problem instance. Using the JAX compiler, AFSAT leverages pure function composition, automatic vectorisation, automatic differentiation, and just-in-time (JIT) compilation to perform massively parallel CLS across batches of candidate assignments. We demonstrate substantially improved numerical stability, runtime performance, and memory efficiency over the proof-of-concept. We achieve this by way of identifying and addressing various limitations that arise from memory latency and floating-point representation, as well as leveraging automatic parallelisation and compact representations. The inherent representational and stability limitations of floating point are partially addressed by a tailored discrete Fourier transform implementation. We achieve near-linear throughput when scaling to multiple accelerators via JAX array sharding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。