Extracting Linear Temporal Logic Formulas from Hard Attention Transformers
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:01 UTC · 210664eb03c8 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "RVyU6VMNEF"- }- ],- "title": "Extracting Linear Temporal Logic Formulas from Hard Attention Transformers",- "authors": [],- "abstract": "There has been an increased interest into finding exact encodings of hard attention transformers (HAT) for binary classification into Linear Temporal Logic (LTL), so that the mature ecosystem of LTL tools can be applied to verify and reason about such models. Although several theoretical encoding approaches have been proposed, to the best of our knowledge, none of them have been implemented. In this work, we propose an exact encoding of a HAT into LTL with past operators amenable to practical implementation. We also propose an encoding of the notion of a sufficient reason w.r.t. an input w, that is, a formula extracted from a HAT with the property that any other input w′ that satisfies it has the same classification as w. We implement both the encoding of a HAT and of a sufficient reason for an input and perform experiments using synthetic data. We also include experiments for the balanced parenthesis problem.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "ec952494-57a9-4e95-b134-ab36817d4642"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Extracting Linear Temporal Logic Formulas from Hard Attention Transformers",+ "authors": [],+ "abstract": "There has been an increased interest into finding exact encodings of hard attention transformers (HAT) for binary classification into Linear Temporal Logic (LTL), so that the mature ecosystem of LTL tools can be applied to verify and reason about such models. Although several theoretical encoding approaches have been proposed, to the best of our knowledge, none of them have been implemented. In this work, we propose an exact encoding of a HAT into LTL with past operators amenable to practical implementation. We also propose an encoding of the notion of a sufficient reason w.r.t. an input w, that is, a formula extracted from a HAT with the property that any other input w′ that satisfies it has the same classification as w. We implement both the encoding of a HAT and of a sufficient reason for an input and perform experiments using synthetic data. We also include experiments for the balanced parenthesis problem.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}