paper-with-me

홈 › Papers

Transformer Encoder Satisfiability: Complexity and Impact on Formal Reasoning

2024-05-28 · Marco Sälzer, Eric Alsmann, Martin Lange

We analyse the complexity of the satisfiability problem, or similarly feasibility problem, (trSAT) for transformer encoders (TE), which naturally occurs in formal verification or interpretation, collectively referred to as formal reasoning. We find that trSAT is undecidable when considering TE as they are commonly studied in the expressiveness community. Furthermore, we identify practical scenarios where trSAT is decidable and establish corresponding complexity bounds. Beyond trivial cases, we find that quantized TE, those restricted by fixed-width arithmetic, lead to the decidability of trSAT due to their limited attention capabilities. However, the problem remains difficult, as we establish scenarios where trSAT is NEXPTIME-hard and others where it is solvable in NEXPTIME for quantized TE. To complement our complexity results, we place our findings and their implications in the broader context of formal reasoning.

📄 PDF Abstract BibTeX arXiv:2405.18548

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Natural Language Satisfiability: Exploring the Problem Distribution and Evaluating Transformer-based Language Models

2025-08-23 · Tharindu Madusanka, Ian Pratt-Hartmann, Riza Batista-Navarro arxiv

Efforts to apply transformer-based language models (TLMs) to the problem of reasoning in natural language have enjoyed ever-increasing success in recent years. The most fundamental task in this area to which nearly all o…

Deciding the Satisfiability of Combined Qualitative Constraint Networks

2026-02-09 · Quentin Cohen-Solal, Alexandre Niveau, Maroua Bouzid arxiv

Among the various forms of reasoning studied in the context of artificial intelligence, qualitative reasoning makes it possible to infer new knowledge in the context of imprecise, incomplete information without numerical…

Temporal Sequences

Pushing the Limits of Rule Reasoning in Transformers through Natural Language Satisfiability

2021-12-16 · Kyle Richardson, Ashish Sabharwal

Investigating the reasoning abilities of transformer models, and discovering new challenging tasks for them, has been a topic of much interest. Recent studies have found these models to be surprisingly strong at performi…

From Probability to Counterfactuals: the Increasing Complexity of Satisfiability in Pearl's Causal Hierarchy

2024-05-12 · Julian Dörfler, Benito van der Zander, Markus Bläser, Maciej Liskiewicz

The framework of Pearl's Causal Hierarchy (PCH) formalizes three types of reasoning: probabilistic (i.e. purely observational), interventional, and counterfactual, that reflect the progressive sophistication of human tho…

Causal InferencecounterfactualCounterfactual Reasoning

The Hardness of Reasoning about Probabilities and Causality

2023-05-16 · Benito van der Zander, Markus Bläser, Maciej Liśkiewicz

We study formal languages which are capable of fully expressing quantitative probabilistic reasoning and do-calculus reasoning for causal effects, from a computational complexity perspective. We focus on satisfiability p…

Causal Inference