paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Efficient sampling of SAT solutions for testing

面向测试的 SAT 解高效采样
ICSE Proceedings of the 40th International Conference on Software Engineering2018匹配度 3/10 · 该论文研究 SAT 解的高效采样及其在测试中的应用,属于约束求解与测试生成方向,与用户关注的静态分析、浮点程序分析、贝叶斯程序分析以及 LLM/Agent 与程序分析的交叉方向缺乏直接关联。引用 106 inbox
Rafael Dutra, Kevin Laeufer, Jonathan Bachrach, Koushik Sen
crossref: 2026-09-12

AI 速览

一句话:提出 QuickSampler,以少量 SAT 求解器调用高效生成大量满足约束的解,用于测试。

软件与硬件测试(如模糊测试和激励生成)常需生成大量满足给定约束的输入,但既要采样高效又要保证样本多样、分布合理十分困难。论文提出 QuickSampler:一种面向 SAT 约束解的采样算法,仅需少量求解器调用即可生成大量满足约束的样本,并以较高概率保证有效性。作者在大型真实基准上评估,结果表明 QuickSampler 生成唯一有效解的速度比现有先进采样工具快若干数量级,且实际分布相当接近均匀分布。

问题
如何在软件与硬件测试中高效生成大量满足给定约束的输入,同时保证样本有效且多样。
方法
提出 QuickSampler,通过少量 SAT 求解器调用采样满足约束的解,并尽量使分布接近均匀。
评估
在大型真实基准上与先进采样工具比较,显示生成唯一有效解的速度快若干数量级,且分布接近均匀。
原文摘要(Abstract)

In software and hardware testing, generating multiple inputs which satisfy a given set of constraints is an important problem with applications in fuzz testing and stimulus generation. However, it is a challenge to perform the sampling efficiently, while generating a diverse set of inputs which satisfy the constraints. We developed a new algorithm QuickSampler which requires a small number of solver calls to produce millions of samples which satisfy the constraints with high probability. We evaluate QuickSampler on large real-world benchmarks and show that it can produce unique valid solutions orders of magnitude faster than other state-of-the-art sampling tools, with a distribution which is reasonably close to uniform in practice.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4517,
  title = {Efficient sampling of SAT solutions for testing},
  author = {Rafael Dutra and Kevin Laeufer and Jonathan Bachrach and Koushik Sen},
  booktitle = {ICSE},
  year = {2018},
  doi = {10.1145/3180155.3180248}
}