paper-with-me

홈 › Papers

Multi-Head Multi-Layer Attention to Deep Language Representations for Grammatical Error Detection

2019-04-15 · Masahiro Kaneko, Mamoru Komachi

It is known that a deep neural network model pre-trained with large-scale data greatly improves the accuracy of various tasks, especially when there are resource constraints. However, the information needed to solve a given task can vary, and simply using the output of the final layer is not necessarily sufficient. Moreover, to our knowledge, exploiting large language representation models to detect grammatical errors has not yet been studied. In this work, we investigate the effect of utilizing information not only from the final layer but also from intermediate layers of a pre-trained language representation model to detect grammatical errors. We propose a multi-head multi-layer attention model that determines the appropriate layers in Bidirectional Encoder Representation from Transformers (BERT). The proposed method achieved the best scores on three datasets for grammatical error detection tasks, outperforming the current state-of-the-art method by 6.0 points on FCE, 8.2 points on CoNLL14, and 12.2 points on JFLEG in terms of F_0.5. We also demonstrate that by using multi-head multi-layer attention, our model can exploit a broader range of information for each token in a sentence than a model that uses only the final layer's information.

📄 PDF Abstract BibTeX arXiv:1904.07334

Code (0)

등록된 구현이 없습니다.

Tasks

Grammatical Error DetectionSentence

Similar Papers 제목 키워드 기반

Multi-Head Attention: Collaborate Instead of Concatenate

2020-06-29 · Jean-Baptiste Cordonnier, Andreas Loukas, Martin Jaggi

Attention layers are widely used in natural language processing (NLP) and are beginning to influence computer vision architectures. Training very large transformer models allowed significant improvement in both fields, b…

Machine TranslationTranslation

PLPHP: Per-Layer Per-Head Vision Token Pruning for Efficient Large Vision-Language Models

2025-02-20 · Yu Meng, Kaiyuan Li, Chenran Huang, Chen Gao 외

Large Vision-Language Models (LVLMs) have demonstrated remarkable capabilities across a range of multimodal tasks. However, their inference efficiency is constrained by the large number of visual tokens processed during …

Decoder

Layer-wise Pruning of Transformer Attention Heads for Efficient Language Modeling

2021-10-07 · 2021 18th International SoC Design Conference (ISOCC) 2021 11 · Kyuhong Shim, Iksoo Choi, Wonyong Sung, Jungwook Choi

While Transformer-based models have shown impressive language modeling performance, the large computation cost is often prohibitive for practical use. Attention head pruning, which removes unnecessary attention heads in …

Language ModelingLanguage Modelling

Multi-head or Single-head? An Empirical Comparison for Transformer Training

2021-06-17 · Liyuan Liu, Jialu Liu, Jiawei Han

Multi-head attention plays a crucial role in the recent success of Transformer models, which leads to consistent performance improvements over conventional attention in various applications. The popular belief is that th…

Leveraging redundancy in attention with Reuse Transformers

2021-10-13 · Srinadh Bhojanapalli, Ayan Chakrabarti, Andreas Veit, Michal Lukasik 외

Pairwise dot product-based attention allows Transformers to exchange information between tokens in an input-dependent way, and is key to their success across diverse applications in language and vision. However, a typica…