Just Add Functions: A Neural-Symbolic Language Model
Not on the map. Why?
Abstract (arXiv)
Neural network language models (NNLMs) have achieved ever-improving accuracy due to more sophisticated architectures and increasing amounts of training data. However, the inductive bias of these models (formed by the distributional hypothesis of language), while ideally suited to modeling most running text, results in key limitations for today's models. In particular, the models often struggle to learn certain spatial, temporal, or quantitative relationships, which are commonplace in text and are second-nature for human readers. Yet, in many cases, these relationships can be encoded with simple mathematical or logical expressions. How can we augment today's neural models with such encodings? In this paper, we propose a general methodology to enhance the inductive bias of NNLMs by incorporating simple functions into a neural architecture to form a hierarchical neural-symbolic language model (NSLM). These functions explicitly encode symbolic deterministic relationships to form probability distributions over words. We explore the effectiveness of this approach on numbers and geographic locations, and show that NSLMs significantly reduce perplexity in small-corpus language modeling, and that the performance improvement persists for rare tokens even on much larger corpora. The approach is simple and general, and we discuss how it can be applied to other word classes beyond numbers and geography.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 11 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 2; 2024: 1.
8 papers.
- 2022PAL: Program-aided Language Modelscited by 652
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Promptingcited by 102
- 2021Neuro-Symbolic Artificial Intelligence: Current Trendscited by 54
- 2022Is Neuro-Symbolic AI Meeting its Promise in Natural Language Processing? A Structured Reviewcited by 38
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computingcited by 35
- 2024Neuro-Symbolic AI for Military Applicationscited by 7
- 2023A Pipeline For Discourse Circuits From CCGcited by 3
- 2021Understanding in Artificial Intelligencecited by 0
- 2024Neuro-Symbolic AI for Military Applications17 Aug 2024
- 2023A Pipeline For Discourse Circuits From CCG29 Nov 2023
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Prompting16 May 2023
- 2022PAL: Program-aided Language Models18 Nov 2022
- 2022Towards Data-and Knowledge-Driven Artificial Intelligence: A Survey on Neuro-Symbolic Computing28 Oct 2022
- 2022Is Neuro-Symbolic AI Meeting its Promise in Natural Language Processing? A Structured Review24 Feb 2022
- 2021Neuro-Symbolic Artificial Intelligence: Current Trends11 May 2021
- 2021Understanding in Artificial Intelligence17 Jan 2021