paper-with-me

홈 › Papers

SenTest: Evaluating Robustness of Sentence Encoders

2023-11-29 · Tanmay Chavan, Shantanu Patankar, Aditya Kane, Omkar Gokhale, Geetanjali Kale, Raviraj Joshi

Contrastive learning has proven to be an effective method for pre-training models using weakly labeled data in the vision domain. Sentence transformers are the NLP counterparts to this architecture, and have been growing in popularity due to their rich and effective sentence representations. Having effective sentence representations is paramount in multiple tasks, such as information retrieval, retrieval augmented generation (RAG), and sentence comparison. Keeping in mind the deployability factor of transformers, evaluating the robustness of sentence transformers is of utmost importance. This work focuses on evaluating the robustness of the sentence encoders. We employ several adversarial attacks to evaluate its robustness. This system uses character-level attacks in the form of random character substitution, word-level attacks in the form of synonym replacement, and sentence-level attacks in the form of intra-sentence word order shuffling. The results of the experiments strongly undermine the robustness of sentence encoders. The models produce significantly different predictions as well as embeddings on perturbed datasets. The accuracy of the models can fall up to 15 percent on perturbed datasets as compared to unperturbed datasets. Furthermore, the experiments demonstrate that these embeddings does capture the semantic and syntactic structure (sentence order) of sentences. However, existing supervised classification strategies fail to leverage this information, and merely function as n-gram detectors.

📄 PDF Abstract BibTeX arXiv:2311.17722

Code (0)

등록된 구현이 없습니다.

Tasks

Contrastive LearningFormInformation RetrievalRAGRetrievalRetrieval-augmented GenerationSentence

Similar Papers 제목 키워드 기반

SentEval: An Evaluation Toolkit for Universal Sentence Representations

2018-03-14 · LREC 2018 5 · Alexis Conneau, Douwe Kiela

We introduce SentEval, a toolkit for evaluating the quality of universal sentence representations. SentEval encompasses a variety of tasks, including binary and multi-class classification, natural language inference and …

General ClassificationMulti-class ClassificationNatural Language InferenceSentence+1

Evaluating Compositionality of Sentence Representation Models

2020-07-01 · WS 2020 7 · Hanoz Bhathena, Angelica Willis, Nathan Dass

We evaluate the compositionality of general-purpose sentence encoders by proposing two different metrics to quantify compositional understanding capability of sentence encoders. We introduce a novel metric, Polarity Sens…

SensitivitySentence

LEA: Improving Sentence Similarity Robustness to Typos Using Lexical Attention Bias

2023-07-06 · Mario Almagro, Emilio Almazán, Diego Ortego, David Jiménez

Textual noise, such as typos or abbreviations, is a well-known issue that penalizes vanilla Transformers for most downstream tasks. We show that this is also the case for sentence similarity, a fundamental task in multip…

Data AugmentationNatural Language InferenceSentenceSentence Similarity

Neural Language Priors

2019-10-04 · Joseph Enguehard, Dan Busbridge, Vitalii Zhelezniak, Nils Hammerla

The choice of sentence encoder architecture reflects assumptions about how a sentence's meaning is composed from its constituent words. We examine the contribution of these architectures by holding them randomly initiali…

Sentence

Linguistic Analysis of Pretrained Sentence Encoders with Acceptability Judgments

2019-01-11 · Alex Warstadt, Samuel R. Bowman

Recent work on evaluating grammatical knowledge in pretrained sentence encoders gives a fine-grained view of a small number of phenomena. We introduce a new analysis dataset that also has broad coverage of linguistic phe…

CoLAGeneral ClassificationLinguistic AcceptabilitySentence