paper-with-me

Papers

From Characters to Words: Hierarchical Pre-trained Language Model for Open-vocabulary Language Understanding

2023-05-23 · Li Sun, Florian Luisier, Kayhan Batmanghelich, Dinei Florencio, Cha Zhang

Current state-of-the-art models for natural language understanding require a preprocessing step to convert raw text into discrete tokens. This process known as tokenization relies on a pre-built vocabulary of words or sub-word morphemes. This fixed vocabulary limits the model's robustness to spelling errors and its capacity to adapt to new domains. In this work, we introduce a novel open-vocabulary language model that adopts a hierarchical two-level approach: one at the word level and another at the sequence level. Concretely, we design an intra-word module that uses a shallow Transformer architecture to learn word representations from their characters, and a deep inter-word Transformer module that contextualizes each word representation by attending to the entire word sequence. Our model thus directly operates on character sequences with explicit awareness of word boundaries, but without biased sub-word or word-level vocabulary. Experiments on various downstream tasks show that our method outperforms strong baselines. We also demonstrate that our hierarchical model is robust to textual corruption and domain shift.

📄 PDF Abstract BibTeX arXiv:2305.14571

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingNatural Language Understanding

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
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$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
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…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

Neural Machine Translation with Characters and Hierarchical Encoding

2016-10-20 · Alexander Rosenberg Johansen, Jonas Meinertz Hansen, Elias Khazen Obeid, Casper Kaae Sønderby 외

Most existing Neural Machine Translation models use groups of characters or whole words as their unit of input and output. We propose a model with a hierarchical char2word encoder, that takes individual characters both a…

DecoderMachine TranslationTranslation

On the Importance of Word Boundaries in Character-level Neural Machine Translation

2019-10-15 · WS 2019 11 · Duygu Ataman, Orhan Firat, Mattia A. Di Gangi, Marcello Federico 외

Neural Machine Translation (NMT) models generally perform translation using a fixed-size lexical vocabulary, which is an important bottleneck on their generalization capability and overall translation quality. The standa…

Machine TranslationNMTTranslation

Hierarchical Text Spotter for Joint Text Spotting and Layout Analysis

2023-10-25 · Shangbang Long, Siyang Qin, Yasuhisa Fujii, Alessandro Bissacco 외

We propose Hierarchical Text Spotter (HTS), a novel method for the joint task of word-level text spotting and geometric layout analysis. HTS can recognize text in an image and identify its 4-level hierarchical structure:…

Text Spotting

CLOWER: A Pre-trained Language Model with Contrastive Learning over Word and Character Representations

2022-08-23 · COLING 2022 10 · Borun Chen, Hongyin Tang, Jiahao Bu, Kai Zhang 외

Pre-trained Language Models (PLMs) have achieved remarkable performance gains across numerous downstream tasks in natural language understanding. Various Chinese PLMs have been successively proposed for learning better C…

Contrastive LearningLanguage ModelingLanguage ModellingNatural Language Understanding

A Latent Morphology Model for Open-Vocabulary Neural Machine Translation

2019-10-30 · ICLR 2020 1 · Duygu Ataman, Wilker Aziz, Alexandra Birch

Translation into morphologically-rich languages challenges neural machine translation (NMT) models with extremely sparse vocabularies where atomic treatment of surface forms is unrealistic. This problem is typically addr…

Machine TranslationMorphological InflectionNMTTranslation