Teaching Temporal Logics to Neural Networks
Christopher Hahn, Frederik Schmitt, Jens U. Kreber, Markus Norman Rabe, Bernd Finkbeiner
摘要
We show that a deep neural network can learn the semantics of linear-time temporal logic (LTL). As a challenging task that requires deep understanding of the LTL semantics, we show that our network can solve the trace generation problem for LTL: given a satisfiable LTL formula, find a trace that satisfies the formula. We frame the trace generation problem for LTL as a translation task, i.e., to translate from formulas to satisfying traces, and train an off-the-shelf implementation of the Transformer, a recently introduced deep learning architecture proposed for solving natural language processing tasks. We provide a detailed analysis of our experimental results, comparing multiple hyperparameter settings and formula representations. After training for several hours on a single GPU the results were surprising: the Transformer returns the syntactically equivalent trace in 89% of the cases on a held-out test set. Most of the "mispredictions", however, (and overall more than 99% of the predicted traces) still satisfy the given LTL formula. In other words, the Transformer generalized from imperfect training data to the semantics of LTL.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Proof Artifact Co-Training for Theorem Proving with Language Models 引用了 Mathematical Reasoning via Self-supervised Skip-tree Training
- Proof Artifact Co-Training for Theorem Proving with Language Models 引用了 Graph Representations for Higher-Order Logic and Theorem Proving
- Proof Artifact Co-Training for Theorem Proving with Language Models 引用了 Language Models are Few-Shot Learners
- Proof Artifact Co-Training for Theorem Proving with Language Models 引用了 IsarStep: a Benchmark for High-level Mathematical Reasoning
- Proof Artifact Co-Training for Theorem Proving with Language Models 引用了 Deep Learning For Symbolic Mathematics
- Mathematical Reasoning via Self-supervised Skip-tree Training 引用了 Global Relational Models of Source Code
- Mathematical Reasoning via Self-supervised Skip-tree Training 引用了 Language Models are Few-Shot Learners
- Mathematical Reasoning via Self-supervised Skip-tree Training 引用了 Deep Learning For Symbolic Mathematics
- Memorizing Transformers 引用了 Mathematical Reasoning via Self-supervised Skip-tree Training
- Memorizing Transformers 引用了 Language Models are Few-Shot Learners
- Memorizing Transformers 引用了 IsarStep: a Benchmark for High-level Mathematical Reasoning
- Autoformalization with Large Language Models 引用了 Proof Artifact Co-Training for Theorem Proving with Language Models
- Autoformalization with Large Language Models 引用了 Mathematical Reasoning via Self-supervised Skip-tree Training
- Autoformalization with Large Language Models 引用了 Memorizing Transformers
- Autoformalization with Large Language Models 引用了 Language Models are Few-Shot Learners
- IsarStep: a Benchmark for High-level Mathematical Reasoning 引用了 Mathematical Reasoning via Self-supervised Skip-tree Training
- IsarStep: a Benchmark for High-level Mathematical Reasoning 引用了 Graph Representations for Higher-Order Logic and Theorem Proving
- IsarStep: a Benchmark for High-level Mathematical Reasoning 引用了 Language Models are Few-Shot Learners
- IsarStep: a Benchmark for High-level Mathematical Reasoning 引用了 Deep Learning For Symbolic Mathematics
- End-to-end Symbolic Regression with Transformers 引用了 Deep Learning For Symbolic Mathematics
引用它的顶会 Paper20
- Autoformalization with Large Language ModelsYuhuai Wu, Albert Qiaochu Jiang, Wenda Li, Markus N. Rabe 等NeurIPS 2022 · 364 次引用
- End-to-end Symbolic Regression with TransformersPierre-Alexandre Kamienny, Stéphane d'Ascoli, Guillaume Lample, François ChartonNeurIPS 2022 · 320 次引用
- Memorizing TransformersYuhuai Wu, Markus Norman Rabe, DeLesley Hutchins, Christian SzegedyICLR 2022 · 231 次引用
- Proof Artifact Co-Training for Theorem Proving with Language ModelsJesse Michael Han, Jason Rute, Yuhuai Wu, Edward W. Ayers 等ICLR 2022 · 149 次引用
- IsarStep: a Benchmark for High-level Mathematical ReasoningWenda Li, Lei Yu, Yuhuai Wu, Lawrence C. PaulsonICLR 2021 · 69 次引用
它引用的 Paper7
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Deep Learning For Symbolic MathematicsGuillaume Lample, François ChartonICLR 2020 · 477 次引用
- Global Relational Models of Source CodeVincent J. Hellendoorn, Charles Sutton, Rishabh Singh, Petros Maniatis 等ICLR 2020 · 252 次引用
- Graph Representations for Higher-Order Logic and Theorem ProvingAditya Paliwal, Sarah M. Loos, Markus N. Rabe, Kshitij Bansal 等AAAI 2020 · 110 次引用
- Mathematical Reasoning via Self-supervised Skip-tree TrainingMarkus Norman Rabe, Dennis Lee, Kshitij Bansal, Christian SzegedyICLR 2021 · 65 次引用
相关 Paper
- End-to-End Learning of LTLf Formulae by Faithful LTLf EncodingHai Wan, Pingjia Liang, Jianfeng Du, Weilin Luo 等AAAI 2024 · 8 次引用
- Iterative Circuit Repair Against Formal SpecificationsMatthias Cosler, Frederik Schmitt, Christopher Hahn, Bernd FinkbeinerICLR 2023 · 1 次引用
- Neural Circuit Synthesis from Specification PatternsFrederik Schmitt, Christopher Hahn, Markus N. Rabe, Bernd FinkbeinerNeurIPS 2021 · 25 次引用
- LTL Learning on GPUsMojtaba Valizadeh, Nathanaël Fijalkow, Martin BergerCAV 2024 · 9 次引用
- Learning to Check LTL Satisfiability and to Generate Traces via Differentiable Trace CheckingWeilin Luo, Pingjia Liang, Junming Qiu, Polong Chen 等ISSTA 2024 · 1 次引用
