Guiding the PLMs with Semantic Anchors as Intermediate Supervision: Towards Interpretable Semantic Parsing

10/04/2022
by   Lunyiu Nie, et al.
0

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.

READ FULL TEXT
research
04/27/2017

Learning Structured Natural Language Representations for Semantic Parsing

We introduce a neural semantic parser that converts natural language utt...
research
07/10/2019

Semantic Parsing with Dual Learning

Semantic parsing converts natural language queries into structured logic...
research
03/05/2022

Unfreeze with Care: Space-Efficient Fine-Tuning of Semantic Parsing Models

Semantic parsing is a key NLP task that maps natural language to structu...
research
01/06/2016

Language to Logical Form with Neural Attention

Semantic parsing aims at mapping natural language to machine interpretab...
research
05/21/2019

Generating Logical Forms from Graph Representations of Text and Entities

Structured information about entities is critical for many semantic pars...
research
06/20/2016

Unanimous Prediction for 100 Semantic Mappings

Can we train a system that, on any new input, either says "don't know" o...
research
12/03/2018

A Survey on Semantic Parsing

A significant amount of information in today's world is stored in struct...

Please sign up or login with your details

Forgot password? Click here to reset