RETVec: Resilient and Efficient Text Vectorizer
Not on the map. Why?
Abstract (arXiv)
This paper describes RETVec, an efficient, resilient, and multilingual text vectorizer designed for neural-based text processing. RETVec combines a novel character encoding with an optional small embedding model to embed words into a 256-dimensional vector space. The RETVec embedding model is pre-trained using pair-wise metric learning to be robust against typos and character-level adversarial attacks. In this paper, we evaluate and compare RETVec to state-of-the-art vectorizers and word embeddings on popular model architectures and datasets. These comparisons demonstrate that RETVec leads to competitive, multilingual models that are significantly more resilient to typos and adversarial text attacks. RETVec is available under the Apache 2 license at https://github.com/google-research/retvec.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 27 of its 43 references that are in the map. First posted on arXiv 18 Feb 2023.
Builds on
27 of 43 references.
References · 27
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2017Neural Discrete Representation Learningcited by 4,712
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2020Exploring Simple Siamese Representation Learningcited by 2,866
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
15 more
- 2016Bag of Tricks for Efficient Text Classificationcited by 876
- 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 723
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2020Circle Loss: A Unified Perspective of Pair Similarity Optimizationcited by 403
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
- 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2018Learning Word Vectors for 157 Languagescited by 280
- 2022Transformer Quality in Linear Timecited by 191
- 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 163
- 2022MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languagescited by 146
- 2018Triplet-Center Loss for Multi-View 3D Object Retrievalcited by 69
- 2015Zero-Shot Learning via Joint Latent Similarity Embeddingcited by 39
- 2020NeuSpell: A Neural Spelling Correction Toolkitcited by 32
- 2021Dealing with Typos for BERT-based Passage Retrieval and Rankingcited by 23
Built on by
Citing papers per year: 2023: 2; 2024: 0; 2025: 1.
3 papers.