SOTAVerified

SG-Net: Syntax-Guided Machine Reading Comprehension

2019-08-14Code Available0· sign in to hype

Zhuosheng Zhang, Yuwei Wu, Junru Zhou, Sufeng Duan, Hai Zhao, Rui Wang

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

For machine reading comprehension, the capacity of effectively modeling the linguistic knowledge from the detail-riddled and lengthy passages and getting ride of the noises is essential to improve its performance. Traditional attentive models attend to all words without explicit constraint, which results in inaccurate concentration on some dispensable words. In this work, we propose using syntax to guide the text modeling by incorporating explicit syntactic constraints into attention mechanism for better linguistically motivated word representations. In detail, for self-attention network (SAN) sponsored Transformer-based encoder, we introduce syntactic dependency of interest (SDOI) design into the SAN to form an SDOI-SAN with syntax-guided self-attention. Syntax-guided network (SG-Net) is then composed of this extra SDOI-SAN and the SAN from the original Transformer encoder through a dual contextual architecture for better linguistics inspired representation. To verify its effectiveness, the proposed SG-Net is applied to typical pre-trained language model BERT which is right based on a Transformer encoder. Extensive experiments on popular benchmarks including SQuAD 2.0 and RACE show that the proposed SG-Net design helps achieve substantial performance improvement over strong baselines.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
SQuAD2.0XLNet + SG-Net Verifier (ensemble)EM88.05Unverified
SQuAD2.0XLNet + SG-Net Verifier (ensemble)EM88.17Unverified
SQuAD2.0XLNet + SG-Net Verifier++ (single model)EM87.24Unverified
SQuAD2.0SG-Net (ensemble)EM86.21Unverified
SQuAD2.0SG-Net (single model)EM85.23Unverified
SQuAD2.0 devSG-NetF187.9Unverified

Reproductions