paper-with-me

Papers

Syntax-Enhanced Pre-trained Model

2020-12-28 · ACL 2021 5 · Zenan Xu, Daya Guo, Duyu Tang, Qinliang Su, Linjun Shou, Ming Gong, Wanjun Zhong, Xiaojun Quan, Nan Duan, Daxin Jiang

We study the problem of leveraging the syntactic structure of text to enhance pre-trained models such as BERT and RoBERTa. Existing methods utilize syntax of text either in the pre-training stage or in the fine-tuning stage, so that they suffer from discrepancy between the two stages. Such a problem would lead to the necessity of having human-annotated syntactic information, which limits the application of existing methods to broader scenarios. To address this, we present a model that utilizes the syntax of text in both pre-training and fine-tuning stages. Our model is based on Transformer with a syntax-aware attention layer that considers the dependency tree of the text. We further introduce a new pre-training task of predicting the syntactic distance among tokens in the dependency tree. We evaluate the model on three downstream tasks, including relation classification, entity typing, and question answering. Results show that our model achieves state-of-the-art performance on six public benchmark datasets. We have two major findings. First, we demonstrate that infusing automatically produced syntax of text improves pre-trained models. Second, global syntactic distances among tokens bring larger performance gains compared to local head relations between contiguous tokens.

📄 PDF Abstract BibTeX arXiv:2012.14116

Code (1)

Hi-ZenanXu/Syntax-Enhanced_Pre-trained_Model 공식 구현

Tasks

Entity TypingmodelQuestion AnsweringRelation Classification

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 설명 없음
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 설명 없음
WordPiece 설명 없음

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

Syntax-Enhanced Neural Machine Translation with Syntax-Aware Word Representations

2019-05-08 · NAACL 2019 6 · Meishan Zhang, Zhenghua Li, Guohong Fu, Min Zhang

Syntax has been demonstrated highly effective in neural machine translation (NMT). Previous NMT models integrate syntax by representing 1-best tree outputs from a well-trained parsing system, e.g., the representative Tre…

Machine TranslationNMTTranslationWord Embeddings

Spatial Attention and Syntax Rule Enhanced Tree Decoder for Offine Handwritten Mathematical Expression Recognition

2023-03-13 · Zihao Lin, Jinrong Li, Fan Yang, Shuangping Huang 외

Offline Handwritten Mathematical Expression Recognition (HMER) has been dramatically advanced recently by employing tree decoders as part of the encoder-decoder method. Despite the tree decoder-based methods regard the e…

Decoder

Syntax-aware Multilingual Semantic Role Labeling

2019-09-01 · IJCNLP 2019 11 · Shexia He, Zuchao Li, Hai Zhao

Recently, semantic role labeling (SRL) has earned a series of success with even higher performance improvements, which can be mainly attributed to syntactic integration and enhanced word representation. However, most of …

Semantic Role Labeling

SHE-Net: Syntax-Hierarchy-Enhanced Text-Video Retrieval

2024-04-22 · Xuzheng Yu, Chen Jiang, Xingning Dong, Tian Gan 외

The user base of short video apps has experienced unprecedented growth in recent years, resulting in a significant demand for video content analysis. In particular, text-video retrieval, which aims to find the top matchi…

RetrievalVideo Retrieval