Semantic Similarity Analysis for Exam Questions Using Sentence Transformer Model

The aim is to explore the effectiveness of using the SBERT model and vector database for performing question similarity analysis. This involves building a vector database by training a sentence transformer model on a large corpus of text data. The vector dataset is then used to analyse question similarity by retrieving similar questions and similarity scores to a given search query. The model is trained on a large corpus of ALLNLI datasets, other paraphrase datasets such as MRPC and PAWS, and the semantic similarity of datasets such as STS, and finally adapted on 9,282 custom-prepared engineering datasets. The sentence transformer model is trained using the datasets mentioned above with MNR Loss as the loss function. The effectiveness of the model is evaluated by using the STS test dataset and test set of the MRPC. The results demonstrate that using a sentence transformer model and vector database for question similarity analysis outperforms the baseline method of keyword matching. The approach achieved a Spearman correlation value of 0.863 on the STS benchmark and an accuracy of 88.7% on the MRPC test. The Spearman correlation value in the SBERT paper for the NLI-large dataset was below 0.80. These values show that continuous training of the model on other datasets besides NLI helps to increase the performance and performs better for downstream tasks. This suggests that the use of the sentence transformer model and vector database is a promising approach for performing question similarity analysis, which could have significant implications for information retrieval systems.

Authors

Institutions

Publication Details

Journal
International Journal on Engineering Technology
Published
2025-05-19
DOI
https://doi.org/10.3126/injet.v2i2.78597
Primary Topic
Technology and Data Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Semantic Similarity Analysis for Exam Questions Using Sentence Transformer Model

Milan Shrestha, Sharad Kumar Ghimire, Roshan Subedi, Nischal Shakya et al.
International Journal on Engineering Technology
Technology and Data Analysis
article

Semantic Similarity Analysis for Exam Questions Using Sentence Transformer Model

Milan Shrestha, Sharad Kumar Ghimire, Roshan Subedi, Nischal Shakya, Nitesh Swarnakar, Upendra Prasad Neupane
article en

Abstract

The aim is to explore the effectiveness of using the SBERT model and vector database for performing question similarity analysis. This involves building a vector database by training a sentence transformer model on a large corpus of text data. The vector dataset is then used to analyse question similarity by retrieving similar questions and similarity scores to a given search query. The model is trained on a large corpus of ALLNLI datasets, other paraphrase datasets such as MRPC and PAWS, and the semantic similarity of datasets such as STS, and finally adapted on 9,282 custom-prepared engineering datasets. The sentence transformer model is trained using the datasets mentioned above with MNR Loss as the loss function. The effectiveness of the model is evaluated by using the STS test dataset and test set of the MRPC. The results demonstrate that using a sentence transformer model and vector database for question similarity analysis outperforms the baseline method of keyword matching. The approach achieved a Spearman correlation value of 0.863 on the STS benchmark and an accuracy of 88.7% on the MRPC test. The Spearman correlation value in the SBERT paper for the NLI-large dataset was below 0.80. These values show that continuous training of the model on other datasets besides NLI helps to increase the performance and performs better for downstream tasks. This suggests that the use of the sentence transformer model and vector database is a promising approach for performing question similarity analysis, which could have significant implications for information retrieval systems.

International Journal on Engineering TechnologyVol. 2(2)
Tribhuvan University (NP)
Openalex Percentile: Top 85%
Technology and Data Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.