arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04782cs.LOcs.AI
收藏

SMT(LIA) 的高多样性采样

SMT(LIA) Sampling with High Diversity

College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);Key Laboratory of Symbolic Computation and Knowledge Engineering Ministry of Education, Jilin University(吉林大学符号计算与知识工程教育部重点实验室);School of Software, Beihang University(北航软件学院)

Yong Lai, Junjie Li, Chuan Luo

AI总结:

针对软件和硬件测试需要多样化测试输入的问题,提出首个结合局部搜索与 CDCL(T) 技术的 SMT(LIA) 采样框架 HighDiv,通过引入边界感知移动算子和优化预处理机制,生成了比 MeGASampler 多样性更高的解。

摘要:

线性整数算术的可满足性模理论(简称 SMT(LIA))在各个关键领域至关重要。以往的研究主要集中在 SMT 求解技术上。然而,在软件和硬件测试等实际应用中,需要生成一组多样化的解作为测试输入。我们开发了首个将局部搜索与 CDCL(T) 技术相结合的采样框架,名为 HighDiv,能够为线性整数理论下的约束生成高度多样化的解。首先,在局部搜索阶段,我们引入了一种名为边界感知移动的新颖算子。该算子通过考虑当前状态对变量的约束来执行随机移动,从而增强了搜索过程中变量的多样性。此外,我们对框架内的预处理和变量初始化机制进行了深入研究,这显著提高了后续局部搜索的效率。最后,我们将局部搜索采样获得的解作为附加约束,使用随机 CDCL(T) 方法进一步探索解空间。实验结果表明,与最先进的 SMT(LIA) 采样工具 MeGASampler 相比,HighDiv 生成的解具有更大的多样性。

英文摘要:

Satisfiability Modulo Linear Integer Arithmetic, SMT(LIA) for short, is pivotal across various critical domains. Previous research has primarily focused on SMT solving techniques. However, in practical applications such as software and hardware testing, there is a need to generate a diverse set of solutions for use as test inputs. We have developed the first sampling framework that integrates local search with CDCL(T) techniques, named HighDiv, capable of generating a highly diverse set of solutions for constraints under linear integer theory. Initially, in the local search phase, we introduced a novel operator called boundary-aware movement. This operator performs random moves by considering the current state's constraints on variables, thereby enhancing the diversity of variables during the search process. Furthermore, we have conducted an in-depth study of the preprocessing and variable initialization mechanisms within the framework, which significantly enhances the efficiency of subsequent local searches. Lastly, we use the solutions obtained from local search sampling as additional constraints to further explore the solution space using the stochastic CDCL(T) method. Experimental results demonstrate that \HighDiv generates solutions with greater diversity compared to the state-of-the-art SMT(LIA) sampling tool, MeGASampler.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑