{"title":"Multi-Objective Optimal Threshold Selection for Similarity Functions in Siamese Networks for Semantic Textual Similarity Tasks","authors":"Kriuk Boris, Kriuk Fedor","volume":212,"journal":"International Journal of Computer and Information Engineering","pagesStart":563,"pagesEnd":571,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10013781","abstract":"<p>This paper presents a comparative study of fundamental similarity functions for Siamese networks in semantic textual similarity (STS) tasks. We evaluate various similarity functions using the STS Benchmark dataset, analyzing their performance and stability. Additionally, we present a multi-objective approach for optimal threshold selection. Our findings provide insights into the effectiveness of different similarity functions and offer a straightforward method for threshold selection optimization, contributing to the advancement of Siamese network architectures in STS applications.<\/p>","references":"[1] J. Bromley, I. Guyon, Y. LeCun, E. S\u00a8ackinger, and R. Shah, \u201cSignature\r\nVerification using a \u2018Siamese\u2019 Time Delay Neural Network,\u201d Neural\r\nInformation Processing Systems, 1993.\r\n[2] R. Mihalcea and P. Tarau, \u201cTextRank: Bringing Order into Texts,\u201d 2004.\r\nAvailable: https:\/\/aclanthology.org\/W04-3252.pdf\r\n[3] E. Agirre, D. Cer, M. Diab, and A. Gonzalez-Agirre, \u201cSemEval-2012\r\nTask 6: A Pilot on Semantic Textual Similarity,\u201d ACLWeb, Jul. 08, 2012.\r\nhttps:\/\/aclanthology.org\/S12-1051 (accessed Jun. 28, 2024).\r\n[4] D. B\u00a8ar, T. Zesch, and I. Gurevych, \u201cA Reflective View on Text\r\nSimilarity,\u201d 2011. Accessed: Jun. 28, 2024. Online. Available:\r\nhttps:\/\/aclanthology.org\/R11-1071.pdf\r\n[5] R. Kiros et al., \u201cSkip-Thought Vectors,\u201d Neural Information Processing\r\nSystems, 2015.\r\n[6] W. Yin, H. Sch\u00fctze, B. Xiang, and B. Zhou, \u201cABCNN: Attention-Based\r\nConvolutional Neural Network for Modeling Sentence Pairs,\u201d\r\nTransactions of the Association for Computational Linguistics, vol.\r\n4, pp. 259\u2013272, Dec. 2016.\r\n[7] W. Gomaa and A. Fahmy, \u201cA Survey of Text Similarity Approaches,\u201d\r\nInternational Journal of Computer Applications, vol. 68, no. 13, pp.\r\n975\u20138887, 2013.\r\n[8] D. Chandrasekaran and V. Mago, \u201cEvolution of Semantic Similarity\u2014A\r\nSurvey,\u201d ACM Computing Surveys, vol. 54, no. 2, pp. 1\u201337, Apr. 2021,\r\ndoi: https:\/\/doi.org\/10.1145\/3440755.\r\n[9] A. Conneau, G. Lample, M. Ranzato, L. Denoyer, and H. J\u00b4egou, \u201cMTEB:\r\nA Multilingual Evaluation Benchmark for Cross-Lingual Transfer,\u201d arXiv\r\npreprint arXiv:2009.11467, 2020.\r\n[10] J. Mueller and A. Thyagarajan, \u201cSiamese Recurrent Architectures\r\nfor Learning Sentence Similarity,\u201d Proceedings of the AAAI\r\nConference on Artificial Intelligence, vol. 30, no. 1, Mar. 2016,\r\ndoi: https:\/\/doi.org\/10.1609\/aaai.v30i1.10350.\r\n[11] P. Neculoiu, L. Boroditsky, and M. Vertan, \u201cSiamese networks for\r\nsemantic textual similarity,\u201d EMNLP, 2020.\r\n[12] Z. Wang, P. Ng, X. Ma, R. Nallapati, and B. Xiang, \u201cMulti-passage\r\nBERT: A Globally Normalized BERT Model for Open-domain\r\nQuestion Answering,\u201d arXiv:1908.08167 cs, Oct. 2019, Available:\r\nhttps:\/\/arxiv.org\/abs\/1908.08167\r\n[13] N. Reimers and I. Gurevych, \u201cSentence-BERT: Sentence\r\nEmbeddings using Siamese BERT-Networks,\u201d arXiv.org, 2019.\r\nhttps:\/\/arxiv.org\/abs\/1908.10084\r\n[14] H. Xu, H. Le, and G. Liu, \u201cSmooth inverse frequency: A simple and\r\neffective similarity function for Siamese networks in semantic textual\r\nsimilarity,\u201d ACL, 2021.\r\n[15] X. Jiao, Y. Huang, and C. Hong, \u201cAdaptive margin cosine similarity for\r\nSiamese networks in semantic textual similarity,\u201d EMNLP, 2022.\r\n[16] K. S. Tai, R. Socher, and C. D. Manning, \u201cImproved Semantic\r\nRepresentations From Tree-Structured Long Short-Term Memory\r\nNetworks,\u201d arXiv:1503.00075 cs, May 2015, Available:\r\nhttps:\/\/arxiv.org\/abs\/1503.00075\r\n[17] A. P. Parikh, O. T\u00a8ackstr\u00a8om, D. Das, and J. Uszkoreit, \u201cA Decomposable\r\nAttention Model for Natural Language Inference,\u201d arXiv:1606.01933 [cs],\r\nSep. 2016, Available: https:\/\/arxiv.org\/abs\/1606.01933\r\n[18] Z. Yang, D. Yang, C. Dyer, X. He, A. Smola, and E. Hovy,\r\n\u201cHierarchical Attention Networks for Document Classification,\u201d\r\nAssociation for Computational Linguistics, 2016. Available:\r\nhttps:\/\/aclanthology.org\/N16-1174.pdf\r\n[19] Z. Lin et al., \u201cA Structured Self-attentive Sentence Embedding,\u201d\r\narXiv.org, 2017. https:\/\/arxiv.org\/abs\/1703.03130\r\n[20] M. Peters et al., \u201cDeep Contextualized Word Representations,\u201d\r\nProceedings of the 2018 Conference of the North American\r\nChapter of the Association for Computational Linguistics: Human\r\nLanguage Technologies, Volume 1 (Long Papers), vol. 1, 2018, doi:\r\nhttps:\/\/doi.org\/10.18653\/v1\/n18-1202.\r\n[21] J. Howard and S. Ruder, \u201cUniversal Language Model Fine-tuning for\r\nText Classification,\u201d arXiv.org, 2018. https:\/\/arxiv.org\/abs\/1801.06146\r\n[22] J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, \u201cBERT: Pre-training\r\nof Deep Bidirectional Transformers for Language Understanding,\u201d\r\narXiv.org, May 24, 2019. https:\/\/arxiv.org\/abs\/1810.04805 (accessed Oct.\r\n24, 2023).\r\n[23] Y. Liu et al., \u201cRoBERTa: A Robustly Optimized BERT Pretraining\r\nApproach,\u201d arXiv.org, Jul. 26, 2019. https:\/\/arxiv.org\/abs\/1907.11692\r\n[24] Z. Lan, M. Chen, S. Goodman, K. Gimpel, P. Sharma, and R.\r\nSoricut, \u201cALBERT: A Lite BERT for Self-supervised Learning of\r\nLanguage Representations,\u201d arXiv:1909.11942 cs, Feb. 2020, Available:\r\nhttps:\/\/arxiv.org\/abs\/1909.11942\r\n[25] C. Raffel et al., \u201cExploring the Limits of Transfer Learning\r\nwith a Unified Text-to-Text Transformer,\u201d Journal of Machine\r\nLearning Research, vol. 21, no. 140, pp. 1\u201367, 2020, Available:\r\nhttps:\/\/www.jmlr.org\/papers\/v21\/20-074.html\r\n[26] K. Clark, M.-T. Luong, Q. V. Le, and C. D. Manning,\r\n\u201cELECTRA: Pre-training Text Encoders as Discriminators Rather\r\nThan Generators,\u201d arXiv:2003.10555 cs, Mar. 2020, Available:\r\nhttps:\/\/arxiv.org\/abs\/2003.10555\r\n[27] B. Tom et al., \u201cLanguage Models are Few-Shot Learners,\u201d Advances in\r\nNeural Information Processing Systems, vol. 33, 2020.\r\n[28] Y. Zhang and Q. Yang, \u201cA Survey on Multi-Task Learning,\u201d IEEE\r\nTransactions on Knowledge and Data Engineering, vol. 34, no. 12, pp.\r\n1\u20131, 2021, doi: https:\/\/doi.org\/10.1109\/tkde.2021.3070203.\r\n[29] A. Vaswani et al., \u201cAttention is All you Need,\u201d Advances in Neural\r\nInformation Processing Systems, vol. 30, pp. 5998\u20136008, 2017.\r\n[30] Q. Li et al., \u201cA Survey on Text Classification: From\r\nShallow to Deep Learning,\u201d arxiv.org, Aug. 2020, doi:\r\nhttps:\/\/doi.org\/10.48550\/arXiv.2008.00364","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 212, 2024"}