Unveiling the Black Box of PLMs with Semantic Anchors: Towards Interpretable Neural Semantic Parsing
Not on the map. Why?
Abstract (arXiv)
The recent prevalence of pretrained language models (PLMs) has dramatically shifted the paradigm of semantic parsing, where the mapping from natural language utterances to structured logical forms is now formulated as a Seq2Seq task. Despite the promising performance, previous PLM-based approaches often suffer from hallucination problems due to their negligence of the structural information contained in the sentence, which essentially constitutes the key semantics of the logical forms. Furthermore, most works treat PLM as a black box in which the generation process of the target logical form is hidden beneath the decoder modules, which greatly hinders the model's intrinsic interpretability. To address these two issues, we propose to incorporate the current PLMs with a hierarchical decoder network. By taking the first-principle structures as the semantic anchors, we propose two novel intermediate supervision tasks, namely Semantic Anchor Extraction and Semantic Anchor Alignment, for training the hierarchical decoders and probing the model intermediate representations in a self-adaptive manner alongside the fine-tuning process. We conduct intensive experiments on several semantic parsing benchmarks and demonstrate that our approach can consistently outperform the baselines. More importantly, by analyzing the intermediate representations of the hierarchical decoders, our approach also makes a huge step toward the intrinsic interpretability of PLMs in the domain of semantic parsing.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 46 of its 63 references that are in the map. First posted on arXiv 4 Oct 2022.
Builds on
46 of 63 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
34 more
- 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
- 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
- 2021Muppet: Massive Multi-task Representations with Pre-Finetuningcited by 192
- 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 181
- 2020GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsingcited by 171
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
- 2020Structure-Grounded Pretraining for Text-to-SQLcited by 126
- 2018Coarse-to-Fine Decoding for Neural Semantic Parsingcited by 110
- 2019A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualizationcited by 88
- 2020KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Basecited by 76
- 2020Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Trainingcited by 65
- 2018A Survey on Semantic Parsingcited by 62
- 2020On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queriescited by 59
- 2018Robust Text-to-SQL Generation with Execution-Guided Decodingcited by 51
- 2021Few-Shot Semantic Parsing with Language Models Trained On Codecited by 50
- 2020SPARQA: Skeleton-based Semantic Parsing for Complex Questions over Knowledge Basescited by 47
- 2019Semantic Parsing with Dual Learningcited by 28
- 2021Awakening Latent Grounding from Pretrained Language Models for Semantic Parsingcited by 28
- 2021SeaD: End-to-end Text-to-SQL Generation with Schema-aware Denoisingcited by 27
- 2021Improving Text-to-SQL with Schema Dependency Learningcited by 25
- 2019Core Semantic First: A Top-down Approach for AMR Parsingcited by 24
- 2016Foundations of Modern Query Languages for Graph Databasescited by 22
- 2018Sequence-to-Action: End-to-End Semantic Graph Generation for Semantic Parsingcited by 21
- 2020Unsupervised Dual Paraphrasing for Two-stage Semantic Parsingcited by 20
- 2017Cross-domain Semantic Parsing via Paraphrasingcited by 19
- 2021Translate & Fill: Improving Zero-Shot Multilingual Semantic Parsing with Synthetic Datacited by 17
- 2021RETRONLU: Retrieval Augmented Task-Oriented Semantic Parsingcited by 15
- 2021Decoupled Dialogue Modeling and Semantic Parsing for Multi-Turn Text-to-SQLcited by 13
- 2021On The Ingredients of an Effective Zero-shot Semantic Parsercited by 13
- 2020On the Sub-Layer Functionalities of Transformer Decodercited by 12
- 2019Zero-shot Text-to-SQL Learning with Auxiliary Taskcited by 10
- 2021A Unified Transferable Model for ML-Enhanced DBMScited by 10
- 2021Learning from Executions for Semantic Parsingcited by 7
- 2020An Investigation of Language Model Interpretability via Sentence Editingcited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 3.
5 papers.
- 2024LLM Hallucinations in Practical Code Generation: Phenomena, Mechanism, and Mitigationcited by 92
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completioncited by 7
- 2026DRAINCODE: Stealthy Energy Consumption Attacks on Retrieval-Augmented Code Generation via Context Poisoningcited by 3
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agentscited by 2
- 2024Semantic Parsing with Candidate Expressions for Knowledge Base Question Answeringcited by 1
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents21 Jul 2026
- 2026DRAINCODE: Stealthy Energy Consumption Attacks on Retrieval-Augmented Code Generation via Context Poisoning28 Jan 2026
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completion27 Jan 2026
- 2024Semantic Parsing with Candidate Expressions for Knowledge Base Question Answering1 Oct 2024
- 2024LLM Hallucinations in Practical Code Generation: Phenomena, Mechanism, and Mitigation30 Sep 2024