Elementwise Language Representation
Not on the map. Why?
Abstract (arXiv)
We propose a new technique for computational language representation called elementwise embedding, in which a material (semantic unit) is abstracted into a horizontal concatenation of lower-dimensional element (character) embeddings. While elements are always characters, materials are arbitrary levels of semantic units so it generalizes to any type of tokenization. To focus only on the important letters, the nth spellings of each semantic unit are aligned in nth attention heads, then concatenated back into original forms creating unique embedding representations; they are jointly projected thereby determining own contextual importance. Technically, this framework is achieved by passing a sequence of materials, each consists of v elements, to a transformer having h=v attention heads. As a pure embedding technique, elementwise embedding replaces the w-dimensional embedding table of a transformer model with 256 c-dimensional elements (each corresponding to one of UTF-8 bytes) where c=w/v. Using this novel approach, we show that the standard transformer architecture can be reused for all levels of language representations and be able to process much longer sequences at the same time-complexity without "any" architectural modification and additional overhead. BERT trained with elementwise embedding outperforms its subword equivalence (original implementation) in multilabel patent document classification exhibiting superior robustness to domain-specificity and data imbalance, despite using 0.005% of embedding parameters. Experiments demonstrate the generalizability of the proposed method by successfully transferring these enhancements to differently architected transformers CANINE and ALBERT.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 42 of its 59 references that are in the map. First posted on arXiv 27 Feb 2023.
Builds on
42 of 59 references.
References · 42
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2016Layer Normalizationcited by 5,579
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
30 more
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2020Learning to Simulate Complex Physics with Graph Networkscited by 867
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2022A Generalist Agentcited by 802
- 2022Galactica: A Large Language Model for Sciencecited by 736
- 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 616
- 2013Generating Sequences With Recurrent Neural Networkscited by 549
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
- 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
- 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 229
- 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 215
- 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 189
- 2021Block Pruning For Faster Transformerscited by 176
- 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 158
- 2019Distilling Task-Specific Knowledge from BERT into Simple Neural Networkscited by 152
- 2020CharBERT: Character-aware Pre-trained Language Modelcited by 63
- 2021Multi-view Subword Regularizationcited by 40
- 2020Dynamic Programming Encoding for Subword Segmentation in Neural Machine Translationcited by 38
- 2021Models In a Spelling Bee: Language Models Implicitly Learn the Character Composition of Tokenscited by 26
- 2022ByGPT5: End-to-End Style-conditioned Poetry Generation with Token-free Language Modelscited by 25
- 2021Joint Optimization of Tokenization and Downstream Modelcited by 15
- 2022MANTa: Efficient Gradient-Based Tokenization for Robust End-to-End Language Modelingcited by 2
Built on by
Not cited yet.