paper-with-me

Papers

Enhancing Transformers for Generalizable First-Order Logical Entailment

2025-01-01 · Tianshi Zheng, Jiazheng Wang, ZiHao Wang, Jiaxin Bai, Hang Yin, Zheye Deng, Yangqiu Song, JianXin Li

Transformers, as a fundamental deep learning architecture, have demonstrated remarkable capabilities in reasoning. This paper investigates the generalizable first-order logical reasoning ability of transformers with their parameterized knowledge and explores ways to improve it. The first-order reasoning capability of transformers is assessed through their ability to perform first-order logical entailment, which is quantitatively measured by their performance in answering knowledge graph queries. We establish connections between (1) two types of distribution shifts studied in out-of-distribution generalization and (2) the unseen knowledge and query settings discussed in the task of knowledge graph query answering, enabling a characterization of fine-grained generalizability. Results on our comprehensive dataset show that transformers outperform previous methods specifically designed for this task and provide detailed empirical evidence on the impact of input query syntax, token embedding, and transformer architectures on the reasoning capability of transformers. Interestingly, our findings reveal a mismatch between positional encoding and other design choices in transformer architectures employed in prior practices. This discovery motivates us to propose a more sophisticated, logic-aware architecture, TEGA, to enhance the capability for generalizable first-order logical entailment in transformers.

📄 PDF Abstract BibTeX arXiv:2501.00759

Code (0)

등록된 구현이 없습니다.

Tasks

Logical ReasoningOut-of-Distribution Generalization

Similar Papers 제목 키워드 기반

Toward generalizable learning of all (linear) first-order methods via memory augmented Transformers

2024-10-08 · Sanchayan Dutta, Suvrit Sra

We show that memory-augmented Transformers can implement the entire class of linear first-order methods (LFOMs), a class that contains gradient descent (GD) and more advanced methods such as conjugate gradient descent (C…

AllMixture-of-ExpertsTest-time Adaptation

Enhancing NeRF akin to Enhancing LLMs: Generalizable NeRF Transformer with Mixture-of-View-Experts

2023-08-22 · ICCV 2023 1 · Wenyan Cong, Hanxue Liang, Peihao Wang, Zhiwen Fan 외

Cross-scene generalizable NeRF models, which can directly synthesize novel views of unseen scenes, have become a new spotlight of the NeRF field. Several existing attempts rely on increasingly end-to-end "neuralized" arc…

Mixture-of-ExpertsNeRFNovel View Synthesis

A Logic for Expressing Log-Precision Transformers

2022-10-06 · NeurIPS 2023 11

One way to interpret the reasoning power of transformer-based language models is to describe the types of logical rules they can resolve over some input text. Recently, Chiang et al. (2023) showed that finite-precision t…

Sentence

SAVE: A Generalizable Framework for Multi-Condition Single-Cell Generation with Gene Block Attention

2026-04-18 · Jiahao Li, Jiayi Dong, Peng Ye, Xiaochi Zhou 외 arxiv

Modeling single-cell gene expression across diverse biological and technical conditions is crucial for characterizing cellular states and simulating unseen scenarios. Existing methods often treat genes as independent tok…

RESISTO Project: Automatic detection of operation temperature anomalies for power electric transformers using thermal imaging

2024-10-16 · David López-García, Fermín Segovia, Jacob Rodríguez-Rivero, Javier Ramírez 외

The RESISTO project represents a pioneering initiative in Europe aimed at enhancing the resilience of the power grid through the integration of advanced technologies. This includes artificial intelligence and thermal sur…