ACL 2025long0 citations

Unravelling the Logic: Investigating the Generalisation of Transformers in Numerical Satisfiability Problems

Tharindu Madusanka, Marco Valentino, Iqra Zahid, Ian Pratt-Hartmann, Riza Batista-Navarro

Abstract

Transformer models have achieved remarkable performance in many formal reasoning tasks. Nonetheless, the extent of their comprehension pertaining to logical semantics and rules of inference remains somewhat uncertain. Evaluating such understanding necessitates a rigorous examination of these models’ generalisation capacity to out-of-distribution data. In this study, we probe the generalisation prowess of Transformer models with respect to the hitherto unexplored domain of numerical satisfiability problems. Our investigation reveals that Transformers exhibit minimal scale and noise invariance, alongside limited vocabulary and number invariance. However, even when Transformer models experience a notable decline in performance on out-of-distribution test sets, they often still surpass the random baseline by a considerable margin.

BibTeX
@inproceedings{madusanka-etal-2025-unravelling,
    title = "Unravelling the Logic: Investigating the Generalisation of Transformers in Numerical Satisfiability Problems",
    author = "Madusanka, Tharindu  and
      Valentino, Marco  and
      Zahid, Iqra  and
      Pratt-Hartmann, Ian  and
      Batista-Navarro, Riza",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-long.1223/",
    doi = "10.18653/v1/2025.acl-long.1223",
    pages = "25155--25168",
    ISBN = "979-8-89176-251-0"
}
Unravelling the Logic: Investigating the Generalisation of Transformers in Numerical Satisfiability Problems · ACL 2025