菜单

关于 🐙 GitHub
arXiv 提交日期: 2026-04-21
📄 Abstract - Streamliners for Answer Set Programming

Streamliner constraints reduce the search space of combinatorial problems by ruling out portions of the solution space. We adapt the StreamLLM approach, which uses Large Language Models (LLMs) to generate streamliners for Constraint Programming, to Answer Set Programming (ASP). Given an ASP encoding and a few small training instances, we prompt multiple LLMs to propose candidate constraints. Candidates that cause syntax errors, render satisfiable instances unsatisfiable, or degrade performance on all training instances are discarded. The surviving streamliners are evaluated together with the original encoding, and we report results for a virtual best encoding (VBE) that, for each instance, selects the fastest among the original encoding and its streamlined variants. On three ASP Competition benchmarks (Partner Units Problem, Sokoban, Towers of Hanoi), the VBE achieves speedups of up to 4--5x over the original encoding. Different LLMs produce semantically diverse constraints, not mere syntactic variations, indicating that the approach captures genuine problem structure.

顶级标签: llm systems machine learning
详细标签: answer set programming streamliner constraints constraint programming benchmark speedup 或 搜索:

面向答案集编程的流线型约束生成方法 / Streamliners for Answer Set Programming


1️⃣ 一句话总结

本文提出一种利用大语言模型自动为答案集编程生成高效约束(流线型约束)的方法,通过筛选语法正确且不破坏问题可解性的候选约束,在三个经典基准测试上使求解速度提升4到5倍,并发现不同模型能捕获问题中真实的结构特征而非仅仅产生语法变化。

源自 arXiv: 2604.19251