RETVec: Resilient and Efficient Text Vectorizer
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.
Code (1)
Tasks
Adversarial TextMetric LearningWord EmbeddingsSimilar Papers 제목 키워드 기반
Sparse Victory -- A Large Scale Systematic Comparison of count-based and prediction-based vectorizers for text classification
In this paper we study the performance of several text vectorization algorithms on a diverse collection of 73 publicly available datasets. Traditional sparse vectorizers like Tf-Idf and Feature Hashing have been systemat…
General Classificationtext-classificationText ClassificationWord EmbeddingsSentiment Analysis of Code-Mixed Social Media Text (Hinglish)
This paper discusses the results obtained for different techniques applied for performing the sentiment analysis of social media (Twitter) code-mixed text written in Hinglish. The various stages involved in performing th…
Sentiment AnalysisLib-SibGMU -- A University Library Circulation Dataset for Recommender Systems Developmen
We opensource under CC BY 4.0 license Lib-SibGMU - a university library circulation dataset - for a wide research community, and benchmark major algorithms for recommender systems on this dataset. For a recommender archi…
Recommendation SystemsDetection of Bangla Fake News using MNB and SVM Classifier
Fake news has been coming into sight in significant numbers for numerous business and political reasons and has become frequent in the online world. People can get contaminated easily by these fake news for its fabricate…
Automatic Detection of Borrowings in Low-Resource Languages of the Caucasus: Andic branch
Linguistic borrowings occur in all languages. Andic languages of the Caucasus have borrowings from different donor-languages like Russian, Arabic, Persian. To automatically detect these borrowings, we propose a logistic …
Language ModelingLanguage Modelling