mlsanityData to 7 Oct 2026

Word-Level Representation From Bytes For Language Modeling

arXiv 2211.12677 ↗First posted 23 Nov 2022cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Modern language models mostly take sub-words as input, a design that balances the trade-off between vocabulary size, number of parameters, and performance. However, sub-word tokenization still has disadvantages like not being robust to noise and difficult to generalize to new languages. Also, the current trend of scaling up models reveals that larger models require larger embeddings but that makes parallelization hard. Previous work on image classification proves splitting raw input into a sequence of chucks is a strong, model-agnostic inductive bias. Based on this observation, we rethink the existing character-aware method that takes character-level inputs but makes word-level sequence modeling and prediction. We overhaul this method by introducing a cross-attention network that builds word-level representation directly from bytes, and a sub-word level prediction based on word-level hidden states to avoid the time and space requirement of word-level prediction. With these two improvements combined, we have a token free model with slim input embeddings for downstream tasks. We name our method Byte2Word and perform evaluations on language modeling and text classification. Experiments show that Byte2Word is on par with the strong sub-word baseline BERT but only takes up 10% of embedding size. We further test our method on synthetic noise and cross-lingual transfer and find it competitive to baseline methods on both settings.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 30 of its 37 references that are in the map. First posted on arXiv 23 Nov 2022.

Builds on

30 of 37 references.

References · 30

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2016Layer Normalizationcited by 5,579
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  9. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  10. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  11. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  12. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
18 more
  1. 2019Cross-lingual Language Model Pretrainingcited by 1,088
  2. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  3. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 913
  4. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 504
  5. 2022Patches Are All You Need?cited by 201
  6. 2016Exploring the Limits of Language Modelingcited by 172
  7. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 158
  8. 2015Character-Aware Neural Language Modelscited by 129
  9. 2020Rethinking embedding coupling in pre-trained language modelscited by 103
  10. 2022What Language Model to Train if You Have One Million GPU Hours?cited by 92
  11. 2020CharacterBERT: Reconciling ELMo and BERT for Word-Level Open-Vocabulary Representations From Characterscited by 87
  12. 2021How to Train BERT with an Academic Budgetcited by 80
  13. 2020CharBERT: Character-aware Pre-trained Language Modelcited by 63
  14. 2020Vocabulary Learning via Optimal Transport for Neural Machine Translationcited by 58
  15. 2017Hash Embeddings for Efficient Word Representationscited by 54
  16. 2018UniMorph 2.0: Universal Morphologycited by 40
  17. 2020Char2Subword: Extending the Subword Embedding Space Using Robust Character Compositionalitycited by 11
  18. 2022Pretraining without Wordpieces: Learning Over a Vocabulary of Millions of Wordscited by 6

Built on by

Not cited yet.