Prefix Data Augmentation for Contrastive Learning of Unsupervised Sentence Embedding
Source abstract
Abstract
This paper presents prefix data augmentation (Prd) as an innovative method for enhancing sentence embedding learning through unsupervised contrastive learning. The framework, dubbed PrdSimCSE, uses Prd to create both positive and negative sample pairs. By appending positive and negative prefixes to a sentence, the basis for contrastive learning is formed, outperforming the baseline unsupervised SimCSE. PrdSimCSE is positioned within a probabilistic framework that expands the semantic similarity event space and generates superior negative samples, contributing to more accurate semantic similarity estimations. The model’s efficacy is validated on standard semantic similarity tasks, showing a notable improvement over that of existing unsupervised models, specifically a 1.08% enhancement in performance on BERTbase. Through detailed experiments, the effectiveness of positive and negative prefixes in data augmentation and their impact on the learning model are explored, and the broader implications of prefix data augmentation are discussed for unsupervised sentence embedding learning.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Topic Modeling · Sentiment Analysis and Opinion Mining · Natural Language Processing Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Mathematical Sciences, University of Electronic Science and Technology of China, Chengdu 611731, China
References (47)
Show source-provided references
1. Skip-thought vectors
2. Hill, F., Cho, K., and Korhonen, A. (2016). Learning distributed representations of sentences from unlabelled data. arXiv.10.18653/v1/N16-1162 ↗
3. Conneau, A., Kiela, D., Schwenk, H., Barrault, L., and Bordes, A. (2017). Supervised learning of universal sentence representations from natural language inference data. arXiv.10.18653/v1/D17-1070 ↗
4. Logeswaran, L., and Lee, H. (2018). An efficient framework for learning sentence representations. arXiv.
5. Cer, D., Yang, Y., Kong, S.Y., Hua, N., Limtiaco, N., John, R.S., Constant, N., Guajardo-Cespedes, M., Yuan, S., and Tar, C. (November, January 31). Universal sentence encoder for English. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, Brussels, Belgium.10.18653/v1/D18-2029 ↗
6. Reimers, N., and Gurevych, I. (2019). Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv.10.18653/v1/D19-1410 ↗
7. Gao, J., He, D., Tan, X., Qin, T., Wang, L., and Liu, T.Y. (2019). Representation degeneration problem in training natural language generation models. arXiv.
8. Ethayarajh, K. (2019). How contextual are contextualized word representations? Comparing the geometry of BERT, ELMo, and GPT-2 embeddings. arXiv.10.18653/v1/D19-1006 ↗
9. Li, B., Zhou, H., He, J., Wang, M., Yang, Y., and Li, L. (2020). On the sentence embeddings from pre-trained language models. arXiv.10.18653/v1/2020.emnlp-main.733 ↗
10. Su, J., Cao, J., Liu, W., and Ou, Y. (2021). Whitening sentence representations for better semantics and faster retrieval. arXiv.
11. Zhang, Y., He, R., Liu, Z., Lim, K.H., and Bing, L. (2020). An unsupervised sentence embedding method by mutual information maximization. arXiv.10.18653/v1/2020.emnlp-main.124 ↗
12. Carlsson, F., Gyllensten, A.C., Gogoulou, E., Hellqvist, E.Y., and Sahlgren, M. (2020, January 26–30). Semantic re-tuning with contrastive tension. Proceedings of the International Conference on Learning Representations, Addis Ababa, Ethiopia.
13. Gao, T., Yao, X., and Chen, D. (2021). Simcse: Simple contrastive learning of sentence embeddings. arXiv.10.18653/v1/2021.emnlp-main.552 ↗
14. Chuang, Y.S., Dangovski, R., Luo, H., Zhang, Y., Chang, S., Soljačić, M., Li, S.W., Yih, W.T., Kim, Y., and Glass, J. (2022). DiffCSE: Difference-based contrastive learning for sentence embeddings. arXiv.10.18653/v1/2022.naacl-main.311 ↗
15. Wu, Z., Wang, S., Gu, J., Khabsa, M., Sun, F., and Ma, H. (2020). Clear: Contrastive learning for sentence representation. arXiv.
16. Wang, T., and Isola, P. (2020, January 13–18). Understanding contrastive representation learning through alignment and uniformity on the hypersphere. Proceedings of the International Conference on Machine Learning (PMLR), Virtual.
17. Dropout: A simple way to prevent neural networks from overfitting
18. Wang, H., and Dou, Y. (2023, January 10–13). Sncse: Contrastive learning for unsupervised sentence embedding with soft negative samples. Proceedings of the International Conference on Intelligent Computing, Zhengzhou, China.10.1007/978-981-99-4752-2_35 ↗
19. Nishikawa, S., Ri, R., Yamada, I., Tsuruoka, Y., and Echizen, I. (2022). EASE: Entity-aware contrastive learning of sentence embedding. arXiv.10.18653/v1/2022.naacl-main.284 ↗
20. Edunov, S., Ott, M., Auli, M., and Grangier, D. (2018). Understanding back-translation at scale. arXiv.10.18653/v1/D18-1045 ↗
21. Wang, X., Pham, H., Dai, Z., and Neubig, G. (2018). SwitchOut: An efficient data augmentation algorithm for neural machine translation. arXiv.10.18653/v1/D18-1100 ↗
22. Wei, J., and Zou, K. (2019). Eda: Easy data augmentation techniques for boosting performance on text classification tasks. arXiv.10.18653/v1/D19-1670 ↗
23. Unsupervised data augmentation for consistency training
24. Mikolov, T., Chen, K., Corrado, G., and Dean, J. (2013). Efficient estimation of word representations in vector space. arXiv.
25. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
26. Wang, S., Fang, Y., Sun, S., Gan, Z., Cheng, Y., Jiang, J., and Liu, J. (2020). Cross-thought for sentence encoder pre-training. arXiv.10.18653/v1/2020.emnlp-main.30 ↗
27. Yang, Z., Yang, Y., Cer, D., Law, J., and Darve, E. (2020). Universal sentence representation learning with conditional masked language model. arXiv.10.18653/v1/2021.emnlp-main.502 ↗
28. He, K., Fan, H., Wu, Y., Xie, S., and Girshick, R. (2020, January 13–19). Momentum contrast for unsupervised visual representation learning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.00975 ↗
29. Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., and Stoyanov, V. (2019). Roberta: A robustly optimized bert pretraining approach. arXiv.
30. Chen, T., Kornblith, S., Norouzi, M., and Hinton, G. (2020, January 26–30). Simclr: A simple framework for contrastive learning of visual representations. Proceedings of the International Conference on Learning Representations, Addis Ababa, Ethiopia.
31. Agirre, E., Cer, D., Diab, M., and Gonzalez-Agirre, A. (2012, January 7–8). Semeval-2012 task 6: A pilot on semantic textual similarity. Proceedings of the * SEM 2012: The First Joint Conference on Lexical and Computational Semantics–Volume 1: Proceedings of the Main Conference and the Shared Task, and Volume 2: Proceedings of the Sixth International Workshop on Semantic Evaluation (SemEval 2012), Montréal, QC, Canada.
32. Agirre, E., Cer, D., Diab, M., Gonzalez-Agirre, A., and Guo, W. (2013, January 13–14). * SEM 2013 shared task: Semantic textual similarity. Proceedings of the Second Joint Conference on Lexical and Computational Semantics (* SEM), Volume 1: Proceedings of the Main Conference and the Shared Task: Semantic Textual Similarity, Atlanta, GA, USA.
33. Agirre, E., Banea, C., Cardie, C., Cer, D., Diab, M., Gonzalez-Agirre, A., Guo, W., Mihalcea, R., Rigau, G., and Wiebe, J. (2014, January 23–24). Semeval-2014 task 10: Multilingual semantic textual similarity. Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014), Dublin, Ireland.10.3115/v1/S14-2010 ↗
34. Agirre, E., Banea, C., Cardie, C., Cer, D., Diab, M., Gonzalez-Agirre, A., Guo, W., Lopez-Gazpio, I., Maritxalar, M., and Mihalcea, R. (2015, January 4–5). Semeval-2015 task 2: Semantic textual similarity, english, spanish and pilot on interpretability. Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015), Denver, CO, USA.10.18653/v1/S15-2045 ↗
35. Agirre, E., Banea, C., Cer, D., Diab, M., Gonzalez Agirre, A., Mihalcea, R., Rigau Claramunt, G., and Wiebe, J. (2016, January 16–17). Semeval-2016 task 1: Semantic textual similarity, monolingual and cross-lingual evaluation. Proceedings of the SemEval-2016: 10th International Workshop on Semantic Evaluation, San Diego, CA, USA.10.18653/v1/S16-1081 ↗
36. SICK through the SemEval glasses. Lesson learned from the evaluation of compositional distributional semantic models on full sentences through semantic relatedness and textual entailment10.1007/s10579-015-9332-5 ↗
37. Cer, D., Diab, M., Agirre, E., Lopez-Gazpio, I., and Specia, L. (2017). Semeval-2017 task 1: Semantic textual similarity-multilingual and cross-lingual focused evaluation. arXiv.10.18653/v1/S17-2001 ↗
38. Pang, B., and Lee, L. (2005). Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. arXiv.10.3115/1219840.1219855 ↗
39. Hu, M., and Liu, B. (2004, January 22–25). Mining and summarizing customer reviews. Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Seattle, WA, USA.10.1145/1014052.1014073 ↗
40. Pang, B., and Lee, L. (2004). A sentimental education: Sentiment analysis using subjectivity summarization based on minimum cuts. arXiv.10.3115/1218955.1218990 ↗
41. Annotating expressions of opinions and emotions in language10.1007/s10579-005-7880-9 ↗
42. Socher, R., Perelygin, A., Wu, J., Chuang, J., Manning, C.D., Ng, A.Y., and Potts, C. (2013, January 18–21). Recursive deep models for semantic compositionality over a sentiment treebank. Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, Seattle, CA, USA.
43. Voorhees, E.M., and Tice, D.M. (2000, January 24–28). Building a question answering test collection. Proceedings of the 23rd Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, Athens, Greece.10.1145/345508.345577 ↗
44. Dolan, B., and Brockett, C. (2005, January 14). Automatically constructing a corpus of sentential paraphrases. Proceedings of the Third International Workshop on Paraphrasing (IWP2005), Jeju Island, Republic of Korea.
45. Chen, J., Chen, Q., Liu, X., Yang, H., Lu, D., and Tang, B. (November, January 31). The bq corpus: A large-scale domain-specific chinese corpus for sentence semantic equivalence identification. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium.10.18653/v1/D18-1536 ↗
46. Liu, X., Chen, Q., Deng, C., Zeng, H., Chen, J., Li, D., and Tang, B. (2018, January 21–25). Lcqmc: A large-scale chinese question matching corpus. Proceedings of the 27th International Conference on Computational Linguistics, Santa Fe, NM, USA.
47. Pennington, J., Socher, R., and Manning, C.D. (2014, January 25–29). Glove: Global vectors for word representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1162 ↗