Research map / Architectures and efficiency / Attention and transformers
Enhancing Transformers for Generalizable First-Order Logical Entailment
Tianshi Zheng, Jiazheng Wang, Zihao Wang, Jiaxin Bai, Hang Yin, Zheye Deng, Yangqiu Song, Jianxin Li
Hong Kong University of Science and Technology · Beihang University · Tsinghua University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add LogiRPE and free-variable pooling (TEGA) | Transformer + Relative PE · FB15k-237, OOD(Q) ID(K) | MRR (%): 37.7 -> 42.6 | Improved |
| add LogiRPE and free-variable pooling (TEGA) | Transformer + Relative PE · FB15k, OOD(Q) ID(K) | MRR (%): 35.4 -> 38.8 | Improved |
| add LogiRPE (ablation) | TEGA on FB15k · FB15k, OOD(Q) ID(K) | MRR (%): 37.0 -> 38.8 | Improved |
| add free-variable pooling (ablation) | TEGA on FB15k · FB15k, OOD(Q) ID(K) | MRR (%): 36.5 -> 38.8 | Improved |
| use relative instead of absolute positional encoding | Transformer · FB15k-237, OOD(Q) ID(K) | MRR (%): 20.8 -> 37.7 | Improved |
| use EFO (parallel) instead of Lisp-like (nested) syntax (ablation) | Transformer + Relative PE · FB15k-237 subset, OOD(Q) ID(K) | MRR (%): 22.1 -> 35.4 | Improved |
| use EFO instead of Lisp-like syntax (ablation) | Transformer + Absolute PE · FB15k-237 subset | MRR (%): OOD(Q) ID(K) 10.0 -> 10.4 | No clear effect |
| reverse query permutation at test time (ablation) | Transformer + Absolute PE · five query types, ID(K) | MRR (%): 54.1 -> 27.8 | Hurt |
| reverse query permutation at test time (ablation) | Transformer + Relative PE · five query types, ID(K) | MRR (%): 54.3 -> 54.5 | No clear effect |
| use frozen pre-trained DistMult/ComplEx embeddings instead of random (ablation) | Transformer + Relative PE · FB15k-237, ID(Q) ID(K) | MRR (%): 54.8 -> 57.2 / 58.6 | Improved |
| use frozen pre-trained TransE embeddings instead of random (ablation) | Transformer + Relative PE · FB15k | MRR (%): ID(Q) ID(K) 48.1 -> 44.3 | Hurt |
| add adjacency matrices masking (ablation) | Transformer + Relative PE · FB15k-237, OOD(Q) ID(K) | MRR (%): 37.7 -> 28.3 | Hurt |
Open problems in Transformer expressivity and learnability
Do theorems about transformer expressivity and learning still hold for deep, softmax, trained models?
- Experiments use small models and synthetic tasks only. · 16 papers state it
- Theory covers one layer, linear attention or fixed matrices, not full transformers. · 12 papers state it
- Theorems and constructions are not shown to match trained transformers. · 6 papers state it
Closest papers by meaning
- Grokking of Implicit Reasoning in Transformers: A Mechanistic Journey to the Edge of Generalization (NeurIPS 2024 · similarity 0.89)
- Grokking in the Wild: Data Augmentation for Real-World Multi-Hop Reasoning with Transformers (ICML 2025 · similarity 0.87)
- Transformers Provably Learn Chain-of-Thought Reasoning with Length Generalization (NeurIPS 2025 · similarity 0.87)
- When can transformers reason with abstract symbols? (ICLR 2024 · similarity 0.86)
- Transformers Provably Solve Parity Efficiently with Chain of Thought (ICLR 2025 · similarity 0.86)
- Training Nonlinear Transformers for Chain-of-Thought Inference: A Theoretical Generalization Analysis (ICLR 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.