AutoSAT: Automatically Optimize SAT Solvers via Large Language Models

Conflict-Driven Clause Learning (CDCL) is the mainstream framework for solving the Satisfiability problem (SAT), and CDCL solvers typically rely on various heuristics, which have a significant impact on their performance. Modern CDCL solvers, such as MiniSat and Kissat, commonly incorporate several...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sun, Yiwen, Ye, Furong, Zhang, Xianyin, Huang, Shiyu, Zhang, Bingzhen, Wei, Ke, Cai, Shaowei
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Sun, Yiwen
Ye, Furong
Zhang, Xianyin
Huang, Shiyu
Zhang, Bingzhen
Wei, Ke
Cai, Shaowei
description Conflict-Driven Clause Learning (CDCL) is the mainstream framework for solving the Satisfiability problem (SAT), and CDCL solvers typically rely on various heuristics, which have a significant impact on their performance. Modern CDCL solvers, such as MiniSat and Kissat, commonly incorporate several heuristics and select one to use according to simple rules, requiring significant time and expert effort to fine-tune in practice. The pervasion of Large Language Models (LLMs) provides a potential solution to address this issue. However, generating a CDCL solver from scratch is not effective due to the complexity and context volume of SAT solvers. Instead, we propose AutoSAT, a framework that automatically optimizes heuristics in a pre-defined modular search space based on existing CDCL solvers. Unlike existing automated algorithm design approaches focusing on hyperparameter tuning and operator selection, AutoSAT can generate new efficient heuristics. In this first attempt at optimizing SAT solvers using LLMs, several strategies including the greedy hill climber and (1+1) Evolutionary Algorithm are employed to guide LLMs to search for better heuristics. Experimental results demonstrate that LLMs can generally enhance the performance of CDCL solvers. A realization of AutoSAT outperforms MiniSat on 9 out of 12 datasets and even surpasses the state-of-the-art hybrid solver Kissat on 4 datasets.
doi_str_mv 10.48550/arxiv.2402.10705
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2402_10705</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2402_10705</sourcerecordid><originalsourceid>FETCH-LOGICAL-a675-bce385b34826598a61bce481e378698442f8a2b56c8c539ded7997f635cd6b3a3</originalsourceid><addsrcrecordid>eNotj82KwjAcxHPZw6I-wJ7MC7Sb5jveirgfUPFg7-XfNJVAaiWtZfXpt7p7mRlmYOCH0FtGUq6FIO8Qf_yUUk5omhFFxCva5dexP-blBj9CB6O3EMINHy6j7_zd4XnDxz5MLg548oALiCc36_l0hTns-8aFYYleWgiDW_37ApUfu3L7lRSHz-9tXiQglUhq65gWNeOaSmE0yGxuuM4cU1oazTltNdBaSKutYKZxjTJGtZIJ28iaAVug9d_tk6O6RN9BvFUPnurJw34B-x1EdA</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>AutoSAT: Automatically Optimize SAT Solvers via Large Language Models</title><source>arXiv.org</source><creator>Sun, Yiwen ; Ye, Furong ; Zhang, Xianyin ; Huang, Shiyu ; Zhang, Bingzhen ; Wei, Ke ; Cai, Shaowei</creator><creatorcontrib>Sun, Yiwen ; Ye, Furong ; Zhang, Xianyin ; Huang, Shiyu ; Zhang, Bingzhen ; Wei, Ke ; Cai, Shaowei</creatorcontrib><description>Conflict-Driven Clause Learning (CDCL) is the mainstream framework for solving the Satisfiability problem (SAT), and CDCL solvers typically rely on various heuristics, which have a significant impact on their performance. Modern CDCL solvers, such as MiniSat and Kissat, commonly incorporate several heuristics and select one to use according to simple rules, requiring significant time and expert effort to fine-tune in practice. The pervasion of Large Language Models (LLMs) provides a potential solution to address this issue. However, generating a CDCL solver from scratch is not effective due to the complexity and context volume of SAT solvers. Instead, we propose AutoSAT, a framework that automatically optimizes heuristics in a pre-defined modular search space based on existing CDCL solvers. Unlike existing automated algorithm design approaches focusing on hyperparameter tuning and operator selection, AutoSAT can generate new efficient heuristics. In this first attempt at optimizing SAT solvers using LLMs, several strategies including the greedy hill climber and (1+1) Evolutionary Algorithm are employed to guide LLMs to search for better heuristics. Experimental results demonstrate that LLMs can generally enhance the performance of CDCL solvers. A realization of AutoSAT outperforms MiniSat on 9 out of 12 datasets and even surpasses the state-of-the-art hybrid solver Kissat on 4 datasets.</description><identifier>DOI: 10.48550/arxiv.2402.10705</identifier><language>eng</language><subject>Computer Science - Artificial Intelligence</subject><creationdate>2024-02</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,776,881</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2402.10705$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2402.10705$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Sun, Yiwen</creatorcontrib><creatorcontrib>Ye, Furong</creatorcontrib><creatorcontrib>Zhang, Xianyin</creatorcontrib><creatorcontrib>Huang, Shiyu</creatorcontrib><creatorcontrib>Zhang, Bingzhen</creatorcontrib><creatorcontrib>Wei, Ke</creatorcontrib><creatorcontrib>Cai, Shaowei</creatorcontrib><title>AutoSAT: Automatically Optimize SAT Solvers via Large Language Models</title><description>Conflict-Driven Clause Learning (CDCL) is the mainstream framework for solving the Satisfiability problem (SAT), and CDCL solvers typically rely on various heuristics, which have a significant impact on their performance. Modern CDCL solvers, such as MiniSat and Kissat, commonly incorporate several heuristics and select one to use according to simple rules, requiring significant time and expert effort to fine-tune in practice. The pervasion of Large Language Models (LLMs) provides a potential solution to address this issue. However, generating a CDCL solver from scratch is not effective due to the complexity and context volume of SAT solvers. Instead, we propose AutoSAT, a framework that automatically optimizes heuristics in a pre-defined modular search space based on existing CDCL solvers. Unlike existing automated algorithm design approaches focusing on hyperparameter tuning and operator selection, AutoSAT can generate new efficient heuristics. In this first attempt at optimizing SAT solvers using LLMs, several strategies including the greedy hill climber and (1+1) Evolutionary Algorithm are employed to guide LLMs to search for better heuristics. Experimental results demonstrate that LLMs can generally enhance the performance of CDCL solvers. A realization of AutoSAT outperforms MiniSat on 9 out of 12 datasets and even surpasses the state-of-the-art hybrid solver Kissat on 4 datasets.</description><subject>Computer Science - Artificial Intelligence</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj82KwjAcxHPZw6I-wJ7MC7Sb5jveirgfUPFg7-XfNJVAaiWtZfXpt7p7mRlmYOCH0FtGUq6FIO8Qf_yUUk5omhFFxCva5dexP-blBj9CB6O3EMINHy6j7_zd4XnDxz5MLg548oALiCc36_l0hTns-8aFYYleWgiDW_37ApUfu3L7lRSHz-9tXiQglUhq65gWNeOaSmE0yGxuuM4cU1oazTltNdBaSKutYKZxjTJGtZIJ28iaAVug9d_tk6O6RN9BvFUPnurJw34B-x1EdA</recordid><startdate>20240216</startdate><enddate>20240216</enddate><creator>Sun, Yiwen</creator><creator>Ye, Furong</creator><creator>Zhang, Xianyin</creator><creator>Huang, Shiyu</creator><creator>Zhang, Bingzhen</creator><creator>Wei, Ke</creator><creator>Cai, Shaowei</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240216</creationdate><title>AutoSAT: Automatically Optimize SAT Solvers via Large Language Models</title><author>Sun, Yiwen ; Ye, Furong ; Zhang, Xianyin ; Huang, Shiyu ; Zhang, Bingzhen ; Wei, Ke ; Cai, Shaowei</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a675-bce385b34826598a61bce481e378698442f8a2b56c8c539ded7997f635cd6b3a3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Artificial Intelligence</topic><toplevel>online_resources</toplevel><creatorcontrib>Sun, Yiwen</creatorcontrib><creatorcontrib>Ye, Furong</creatorcontrib><creatorcontrib>Zhang, Xianyin</creatorcontrib><creatorcontrib>Huang, Shiyu</creatorcontrib><creatorcontrib>Zhang, Bingzhen</creatorcontrib><creatorcontrib>Wei, Ke</creatorcontrib><creatorcontrib>Cai, Shaowei</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Sun, Yiwen</au><au>Ye, Furong</au><au>Zhang, Xianyin</au><au>Huang, Shiyu</au><au>Zhang, Bingzhen</au><au>Wei, Ke</au><au>Cai, Shaowei</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>AutoSAT: Automatically Optimize SAT Solvers via Large Language Models</atitle><date>2024-02-16</date><risdate>2024</risdate><abstract>Conflict-Driven Clause Learning (CDCL) is the mainstream framework for solving the Satisfiability problem (SAT), and CDCL solvers typically rely on various heuristics, which have a significant impact on their performance. Modern CDCL solvers, such as MiniSat and Kissat, commonly incorporate several heuristics and select one to use according to simple rules, requiring significant time and expert effort to fine-tune in practice. The pervasion of Large Language Models (LLMs) provides a potential solution to address this issue. However, generating a CDCL solver from scratch is not effective due to the complexity and context volume of SAT solvers. Instead, we propose AutoSAT, a framework that automatically optimizes heuristics in a pre-defined modular search space based on existing CDCL solvers. Unlike existing automated algorithm design approaches focusing on hyperparameter tuning and operator selection, AutoSAT can generate new efficient heuristics. In this first attempt at optimizing SAT solvers using LLMs, several strategies including the greedy hill climber and (1+1) Evolutionary Algorithm are employed to guide LLMs to search for better heuristics. Experimental results demonstrate that LLMs can generally enhance the performance of CDCL solvers. A realization of AutoSAT outperforms MiniSat on 9 out of 12 datasets and even surpasses the state-of-the-art hybrid solver Kissat on 4 datasets.</abstract><doi>10.48550/arxiv.2402.10705</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2402.10705
ispartof
issn
language eng
recordid cdi_arxiv_primary_2402_10705
source arXiv.org
subjects Computer Science - Artificial Intelligence
title AutoSAT: Automatically Optimize SAT Solvers via Large Language Models
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-08T03%3A22%3A02IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=AutoSAT:%20Automatically%20Optimize%20SAT%20Solvers%20via%20Large%20Language%20Models&rft.au=Sun,%20Yiwen&rft.date=2024-02-16&rft_id=info:doi/10.48550/arxiv.2402.10705&rft_dat=%3Carxiv_GOX%3E2402_10705%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true