Lune

EMNLP2022Top-tier venue

Uni-Parser: Unified Semantic Parser for Question Answering on Knowledge Base and Database

Ye Liu, Semih Yavuz, Rui Meng, Dragomir Radev, Caiming Xiong, Yingbo Zhou

Abstract

Parsing natural language questions into executable logical forms is a useful and interpretable way to perform question answering on structured data such as knowledge bases (KB) or databases (DB). However, existing approaches on semantic parsing cannot adapt to both modalities, as they suffer from the exponential growth of the logical form candidates and can hardly generalize to unseen data.In this work, we propose Uni-Parser, a unified semantic parser for question answering (QA) on both KB and DB. We define the primitive (relation and entity in KB, and table name, column name and cell value in DB) as the essential element in our framework. The number of primitives grows only at a linear rate to the number of retrieved relations in KB and DB, preventing us from exponential logic form candidates. We leverage the generator to predict final logical forms by altering and composing top-ranked primitives with different operations (e.g. select, where, count). With sufficiently pruned search space by a contrastive primitive ranker, the generator is empowered to capture the composition of primitives enhancing its generalization ability. We achieve competitive results on multiple KB and DB QA benchmarks with more efficiency, especially in the compositional and zero-shot settings.

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.

5 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

  • UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models cites Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
  • UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models cites TAPEX: Table Pre-training via Learning a Neural SQL Executor
  • Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph cites UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
  • Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph cites DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Bases
  • Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph cites Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
  • Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph cites Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environments
  • Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites Pre-training Tasks for Embedding-based Large-scale Retrieval
  • DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Bases cites UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
  • DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Bases cites Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
  • Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environments cites UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
  • Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environments cites DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Bases
  • Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environments cites Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge GraphJiashuo Sun, Chengjin Xu, Lumingyuan Tang, Saizhuo Wang et al.ICLR 2024 · 247 citations
  2. Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World EnvironmentsYu Gu, Xiang Deng, Yu SuACL 2023 · 36 citations
  3. DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge BasesDonghan Yu, Sheng Zhang, Patrick Ng, Henghui Zhu et al.ICLR 2023 · 18 citations
  4. RLCoder: Reinforcement Learning for Repository-Level Code CompletionYanlin Wang, Yanli Wang, Daya Guo, Jiachi Chen et al.ICSE 2025 · 13 citations
  5. CARE: A Clue-guided Assistant for CSRs to Read User ManualsWeihong Du, Jia Liu, Zujie Wen, Dingnan Jin et al.ACL 2024

Builds on12

  1. Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang et al.ICLR 2021 · 1,547 citations
  2. TAPEX: Table Pre-training via Learning a Neural SQL ExecutorQian Liu, Bei Chen, Jiaqi Guo, Morteza Ziyadi et al.ICLR 2022 · 347 citations
  3. Pre-training Tasks for Embedding-based Large-scale RetrievalWei-Cheng Chang, Felix X. Yu, Yin-Wen Chang, Yiming Yang et al.ICLR 2020 · 325 citations
  4. Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge BasesYu Gu, Sue Kase, Michelle Vanni, Brian M. Sadler et al.WWW 2021 · 304 citations
  5. UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language ModelsTianbao Xie, Chen Henry Wu, Peng Shi, Ruiqi Zhong et al.EMNLP 2022 · 222 citations

Related papers

  1. AutoQA: From Databases To QA Semantic Parsers With Only Synthetic Training DataSilei Xu, Sina J. Semnani, Giovanni Campagna, Monica S. LamEMNLP 2020 · 33 citations
  2. KaggleDBQA: Realistic Evaluation of Text-to-SQL ParsersChia-Hsuan Lee, Oleksandr Polozov, Matthew RichardsonACL 2021
  3. Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic ParsingMaxwell Crouse, Pavan Kapanipathi, Subhajit Chaudhury, Tahira Naseem et al.ACL 2023 · 1 citation
  4. A Two-Stage Approach towards Generalization in Knowledge Base Question AnsweringSrinivas Ravishankar, Dung Thai, Ibrahim Abdelaziz, Nandana Mihindukulasooriya et al.EMNLP Findings 2022 · 22 citations
  5. Grounded Adaptation for Zero-shot Executable Semantic ParsingVictor Zhong, Mike Lewis, Sida I. Wang, Luke ZettlemoyerEMNLP 2020 · 85 citations
Dusk over the sea between two cliffs drawn in fine vertical lines