Probing the Symbolic Logical Reasoning Ability of Large Language Models
Open Access
- 15 April 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Intelligent Systems and Technology
Abstract
Large Language Models (LLMs) have achieved significant successes in various research domains by learning the relationship between words. However, while these models are capable of making predictions and inferences based on the learned patterns, they lack logical reasoning abilities, which are crucial for solving problems in both theoretical and practical domains. In addition, traditional logic inference methods are effective in solving problems that are based on logic, but not suitable for general tasks such as recommendations. In response to these challenges, this paper introduces a Logical Large Language Model (L3M) that integrates the strengths of logical reasoning and large language models. The data in L3M is represented in logical expressions and the model uses logical constraints to learn the rules of basic logical operations such as And, Or, and Not. We conduct experiments on both theoretical tasks (solving logical equations) and practical tasks (recommender systems). The results of our theoretical experiments demonstrate that L3M is highly effective in solving logical expressions and variables. Additionally, L3M outperforms the state-of-the-art recommendation models in sequential recommendation tasks.Keywords
This publication has 26 references indexed in Scilit:
- A survey on large language model based autonomous agentsFrontiers of Computer Science, 2024
- Neural Node Matching for Multi-Target Cross Domain Recommendation2023
- Abductive subconcept learningScience China Information Sciences, 2023
- CLIP-Event: Connecting Text and Images with Event Structures2022
- Neural Logic Reasoning2020
- Generative Pre-Training for Speech with Autoregressive Predictive Coding2020
- Hierarchical Gating Networks for Sequential Recommendation2019
- Self-Attentive Sequential Recommendation2018
- Personalized Top-N Sequential Recommendation via Convolutional Sequence Embedding2018
- Parallel Recurrent Neural Network Architectures for Feature-rich Session-based Recommendations2016