Lune

ACL2021Top-tier venue

Database reasoning over text

James Thorne, Majid Yazdani, Marzieh Saeidi, Fabrizio Silvestri, Sebastian Riedel, Alon Y. Halevy

Abstract

Neural models have shown impressive performance gains in answering queries from natural language text. However, existing works are unable to support database queries, such as "List/Count all female athletes who were born in 20th century", which require reasoning over sets of relevant facts with operations such as join, filtering and aggregation. We show that while state-of-the-art transformer models perform very well for small databases, they exhibit limitations in processing noisy data, numerical operations, and queries that aggregate facts. We propose a modular architecture to answer these database-style queries over multiple spans from text and aggregating these at scale. We evaluate the architecture using WIKINLDB, 1 a novel dataset for exploring such queries. Our architecture scales to databases containing thousands of facts whereas contemporary models are limited by how many facts can be encoded. In direct comparison on small databases, our approach increases overall answer accuracy from 85% to 90%. On larger databases, our approach retains its accuracy whereas transformer baselines could not encode the context.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Relational World Knowledge Representation in Contextual Language Models: A Review cites From Natural Language Processing to Neural Databases
  • Answering Complex Open-Domain Questions with Multi-Hop Dense Retrieval cites Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question Answering
  • Binding Language Models in Symbolic Languages cites Neural Module Networks for Reasoning over Text
  • Binding Language Models in Symbolic Languages cites Turning Tables: Generating Examples from Semi-structured Tables for Endowing Language Models with Reasoning Skills
  • From Natural Language Processing to Neural Databases cites Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question Answering
  • Turning Tables: Generating Examples from Semi-structured Tables for Endowing Language Models with Reasoning Skills cites Neural Module Networks for Reasoning over Text
  • Turning Tables: Generating Examples from Semi-structured Tables for Endowing Language Models with Reasoning Skills cites Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question Answering
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Turning Tables: Generating Examples from Semi-structured Tables for Endowing Language Models with Reasoning SkillsOri Yoran, Alon Talmor, Jonathan BerantACL 2022 · 57 citations
  2. Binding Language Models in Symbolic LanguagesZhoujun Cheng, Tianbao Xie, Peng Shi, Chengzu Li et al.ICLR 2023 · 38 citations
  3. Relational World Knowledge Representation in Contextual Language Models: A ReviewTara Safavi, Danai KoutraEMNLP 2021 · 31 citations
  4. ELEET: Efficient Learned Query Execution over Text and TablesMatthias Urban, Carsten BinnigVLDB 2024 · 15 citations
  5. A Data Source for Reasoning Embodied AgentsJack Lanchantin, Sainbayar Sukhbaatar, Gabriel Synnaeve, Yuxuan Sun et al.AAAI 2023 · 10 citations

Builds on4

  1. Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question AnsweringAkari Asai, Kazuma Hashimoto, Hannaneh Hajishirzi, Richard Socher et al.ICLR 2020 · 322 citations
  2. Answering Complex Open-Domain Questions with Multi-Hop Dense RetrievalWenhan Xiong, Xiang Lorraine Li, Srini Iyer, Jingfei Du et al.ICLR 2021 · 232 citations
  3. Neural Module Networks for Reasoning over TextNitish Gupta, Kevin Lin, Dan Roth, Sameer Singh et al.ICLR 2020 · 134 citations
  4. From Natural Language Processing to Neural DatabasesJames Thorne, Majid Yazdani, Marzieh Saeidi, Fabrizio Silvestri et al.VLDB 2021 · 62 citations

Related papers

  1. Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic ParsingXi Victoria Lin, Richard Socher, Caiming XiongEMNLP Findings 2020 · 186 citations
  2. Weaver: Interweaving SQL and LLM for Table ReasoningRohit Khoja, Devanshu Gupta, Yanjie Fu, Dan Roth et al.EMNLP 2025 · 1 citation
  3. SPARQLing Database Queries from Intermediate Question DecompositionsIrina Saparina, Anton OsokinEMNLP 2021 · 11 citations
  4. KaggleDBQA: Realistic Evaluation of Text-to-SQL ParsersChia-Hsuan Lee, Oleksandr Polozov, Matthew RichardsonACL 2021
  5. RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL ParsersBailin Wang, Richard Shin, Xiaodong Liu, Oleksandr Polozov et al.ACL 2020 · 39 citations
Dusk over the sea between two cliffs drawn in fine vertical lines