paper-with-me

Papers

SG-Net: Syntax Guided Transformer for Language Representation

2020-12-27 · Zhuosheng Zhang, Yuwei Wu, Junru Zhou, Sufeng Duan, Hai Zhao, Rui Wang

Understanding human language is one of the key themes of artificial intelligence. For language representation, the capacity of effectively modeling the linguistic knowledge from the detail-riddled and lengthy texts and getting rid 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 mechanisms 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. The proposed SG-Net is applied to typical Transformer encoders. Extensive experiments on popular benchmark tasks, including machine reading comprehension, natural language inference, and neural machine translation show the effectiveness of the proposed SG-Net design.

📄 PDF Abstract BibTeX arXiv:2012.13915

Code (0)

등록된 구현이 없습니다.

Tasks

Machine Reading ComprehensionMachine TranslationNatural Language InferenceReading ComprehensionTranslation

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Adam 설명 없음
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

Syntax-guided Contrastive Learning for Pre-trained Language Model

2022-05-01 · Findings (ACL) 2022 5 · Shuai Zhang, Wang Lijie, Xinyan Xiao, Hua Wu

Syntactic information has been proved to be useful for transformer-based pre-trained language models. Previous studies often rely on additional syntax-guided attention components to enhance the transformer, which require…

Contrastive LearningGrammatical Error DetectionLanguage ModelingLanguage Modelling

SG-Net: Syntax-Guided Machine Reading Comprehension

2019-08-14 · Zhuosheng Zhang, Yuwei Wu, Junru Zhou, Sufeng Duan 외

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. Tradit…

Language ModellingMachine Reading ComprehensionQuestion AnsweringReading Comprehension

Extracting Temporal Event Relation with Syntax-guided Graph Transformer

2021-04-19 · Findings (NAACL) 2022 7 · Shuaicheng Zhang, Lifu Huang, Qiang Ning

Extracting temporal relations (e.g., before, after, and simultaneous) among events is crucial to natural language understanding. One of the key challenges of this problem is that when the events of interest are far away …

Dependency ParsingNatural Language UnderstandingRelationRelation Classification+3

Syntax-guided Neural Module Distillation to Probe Compositionality in Sentence Embeddings

2023-01-21 · Rohan Pandey

Past work probing compositionality in sentence embedding models faces issues determining the causal impact of implicit syntax representations. Given a sentence, we construct a neural module net based on its syntax parse …

Semantic CompositionSentenceSentence EmbeddingSentence-Embedding+1

Source Code Summarization with Structural Relative Position Guided Transformer

2022-02-14 · Zi Gong, Cuiyun Gao, Yasheng Wang, Wenchao Gu 외

Source code summarization aims at generating concise and clear natural language descriptions for programming languages. Well-written code summaries are beneficial for programmers to participate in the software developmen…

Code SummarizationPositionSource Code Summarization