Formally Certified Approximate Model Counting
Uloženo v:
| Název: | Formally Certified Approximate Model Counting |
|---|---|
| Autoři: | Tan, Yong Kiam, Yang, Jiong, Soos, Mate, Myreen, Magnus, 1983, Meel, Kuldeep S. |
| Zdroj: | De nästa 700 verifierade kompilatorerna 36th International Conference on Computer Aided Verification, CAV 2024, Montreal, Canada Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). 14681 LNCS:153-177 |
| Témata: | randomized algorithms, formal verification, proof certification, approximate model counting |
| Popis: | Approximate model counting is the task of approximating the number of solutions to an input Boolean formula. The state-of-the-art approximate model counter for formulas in conjunctive normal form (CNF), ApproxMC, provides a scalable means of obtaining model counts with probably approximately correct (PAC)-style guarantees. Nevertheless, the validity of ApproxMC’s approximation relies on a careful theoretical analysis of its randomized algorithm and the correctness of its highly optimized implementation, especially the latter’s stateful interactions with an incremental CNF satisfiability solver capable of natively handling parity (XOR) constraints. We present the first certification framework for approximate model counting with formally verified guarantees on the quality of its output approximation. Our approach combines: (i) a static, once-off, formal proof of the algorithm’s PAC guarantee in the Isabelle/HOL proof assistant; and (ii) dynamic, per-run, verification of ApproxMC’s calls to an external CNF-XOR solver using proof certificates. We detail our general approach to establish a rigorous connection between these two parts of the verification, including our blueprint for turning the formalized, randomized algorithm into a verified proof checker, and our design of proof certificates for both ApproxMC and its internal CNF-XOR solving steps. Experimentally, we show that certificate generation adds little overhead to an approximate counter implementation, and that our certificate checker is able to fully certify 84.7% of instances with generated certificates when given the same time and memory limits as the counter. |
| Popis souboru: | electronic |
| Přístupová URL adresa: | https://research.chalmers.se/publication/542381 https://research.chalmers.se/publication/542381/file/542381_Fulltext.pdf |
| Databáze: | SwePub |
| FullText | Text: Availability: 0 CustomLinks: – Url: https://research.chalmers.se/publication/542381# Name: EDS - SwePub (s4221598) Category: fullText Text: View record in SwePub – Url: https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=EBSCO&SrcAuth=EBSCO&DestApp=WOS&ServiceName=TransferToWoS&DestLinkType=GeneralSearchSummary&Func=Links&author=Tan%20YK Name: ISI Category: fullText Text: Nájsť tento článok vo Web of Science Icon: https://imagesrvr.epnet.com/ls/20docs.gif MouseOverText: Nájsť tento článok vo Web of Science |
|---|---|
| Header | DbId: edsswe DbLabel: SwePub An: edsswe.oai.research.chalmers.se.8ca9ab05.a80f.4a0a.847b.29cd98650670 RelevancyScore: 986 AccessLevel: 6 PubType: Conference PubTypeId: conference PreciseRelevancyScore: 986.415405273438 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Formally Certified Approximate Model Counting – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Tan%2C+Yong+Kiam%22">Tan, Yong Kiam</searchLink><br /><searchLink fieldCode="AR" term="%22Yang%2C+Jiong%22">Yang, Jiong</searchLink><br /><searchLink fieldCode="AR" term="%22Soos%2C+Mate%22">Soos, Mate</searchLink><br /><searchLink fieldCode="AR" term="%22Myreen%2C+Magnus%22">Myreen, Magnus</searchLink>, 1983<br /><searchLink fieldCode="AR" term="%22Meel%2C+Kuldeep+S%2E%22">Meel, Kuldeep S.</searchLink> – Name: TitleSource Label: Source Group: Src Data: <i>De nästa 700 verifierade kompilatorerna 36th International Conference on Computer Aided Verification, CAV 2024, Montreal, Canada Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)</i>. 14681 LNCS:153-177 – Name: Subject Label: Subject Terms Group: Su Data: <searchLink fieldCode="DE" term="%22randomized+algorithms%22">randomized algorithms</searchLink><br /><searchLink fieldCode="DE" term="%22formal+verification%22">formal verification</searchLink><br /><searchLink fieldCode="DE" term="%22proof+certification%22">proof certification</searchLink><br /><searchLink fieldCode="DE" term="%22approximate+model+counting%22">approximate model counting</searchLink> – Name: Abstract Label: Description Group: Ab Data: Approximate model counting is the task of approximating the number of solutions to an input Boolean formula. The state-of-the-art approximate model counter for formulas in conjunctive normal form (CNF), ApproxMC, provides a scalable means of obtaining model counts with probably approximately correct (PAC)-style guarantees. Nevertheless, the validity of ApproxMC’s approximation relies on a careful theoretical analysis of its randomized algorithm and the correctness of its highly optimized implementation, especially the latter’s stateful interactions with an incremental CNF satisfiability solver capable of natively handling parity (XOR) constraints. We present the first certification framework for approximate model counting with formally verified guarantees on the quality of its output approximation. Our approach combines: (i) a static, once-off, formal proof of the algorithm’s PAC guarantee in the Isabelle/HOL proof assistant; and (ii) dynamic, per-run, verification of ApproxMC’s calls to an external CNF-XOR solver using proof certificates. We detail our general approach to establish a rigorous connection between these two parts of the verification, including our blueprint for turning the formalized, randomized algorithm into a verified proof checker, and our design of proof certificates for both ApproxMC and its internal CNF-XOR solving steps. Experimentally, we show that certificate generation adds little overhead to an approximate counter implementation, and that our certificate checker is able to fully certify 84.7% of instances with generated certificates when given the same time and memory limits as the counter. – Name: Format Label: File Description Group: SrcInfo Data: electronic – Name: URL Label: Access URL Group: URL Data: <link linkTarget="URL" linkTerm="https://research.chalmers.se/publication/542381" linkWindow="_blank">https://research.chalmers.se/publication/542381</link><br /><link linkTarget="URL" linkTerm="https://research.chalmers.se/publication/542381/file/542381_Fulltext.pdf" linkWindow="_blank">https://research.chalmers.se/publication/542381/file/542381_Fulltext.pdf</link> |
| PLink | https://erproxy.cvtisr.sk/sfx/access?url=https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsswe&AN=edsswe.oai.research.chalmers.se.8ca9ab05.a80f.4a0a.847b.29cd98650670 |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.1007/978-3-031-65627-9_8 Languages: – Text: English PhysicalDescription: Pagination: PageCount: 25 StartPage: 153 Subjects: – SubjectFull: randomized algorithms Type: general – SubjectFull: formal verification Type: general – SubjectFull: proof certification Type: general – SubjectFull: approximate model counting Type: general Titles: – TitleFull: Formally Certified Approximate Model Counting Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Tan, Yong Kiam – PersonEntity: Name: NameFull: Yang, Jiong – PersonEntity: Name: NameFull: Soos, Mate – PersonEntity: Name: NameFull: Myreen, Magnus – PersonEntity: Name: NameFull: Meel, Kuldeep S. IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Type: published Y: 2024 Identifiers: – Type: issn-print Value: 16113349 – Type: issn-print Value: 03029743 – Type: issn-locals Value: SWEPUB_FREE – Type: issn-locals Value: CTH_SWEPUB Numbering: – Type: volume Value: 14681 LNCS Titles: – TitleFull: De nästa 700 verifierade kompilatorerna 36th International Conference on Computer Aided Verification, CAV 2024, Montreal, Canada Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) Type: main |
| ResultId | 1 |
Nájsť tento článok vo Web of Science