Submitted:
27 November 2024
Posted:
28 November 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Work
3. Methodology
3.1. Semantic Embedding
3.2. Organizing Content through Clustering and FAISS Indexing
3.3. FAQ Repository Compilation and Response Generation
3.4. Dissimilarity Measurement and Threshold Establishment
- vA be the embedding vector of the generated answer.
- vC be the embedding vector of the closest cluster centroid (retrieved from the FAISS index).
- vA·vC is the dot product of vectors vA and vC,
- ||vA|| and ||vC|| are the magnitudes (Euclidean norms) of the vectors vA and
- vC, respectively.
- The cosine similarity yields a value between -1 and 1, where:
- A value of 1 indicates maximum similarity,
- A value of 0 indicates no similarity,
- A value of -1 indicates maximum dissimilarity.
- Thus, the Dissimilarity Score is defined as:
- In-Chapter Questions: 0.2 ≤ Dissimilarity Score ≤ 0.4
- Across-Chapter Questions: 0.4 ≤ Dissimilarity Score ≤ 0.5
- Out-of-Context and Application-Based Questions: Dissimilarity Score > 0.5
3.5. Real-Time Query Handling and Response Flow
![]() |
4. Conclusion
References
- Amrita e-Learning Research Lab, “A-VIEW: Real-time Collaborative Multimedia E-Learning,” in Proceedings of the 2011 ACM Multimedia Conference and CoLocated Workshops ACM International Workshop on Multimedia Technologies for Distance Learning, MTDL’11, 2011. [CrossRef]
- Q. Wang and H. L. Woo, “Comparing asynchronous online discussions and face-toface discussions in a classroom setting,” British Journal of Educational Technology, 2007. [CrossRef]
- M. Heilman and N. A. Smith, “Question generation via overgenerating transformations and ranking,” tech. rep., 2009.
- R. Luckin and W. Holmes, “Intelligence unleashed: An argument for ai in education,” 02 2016.
- H. Drachsler and M. Kalz, “The mooc and learning analytics innovation cycle molac: a reflective summary of ongoing research and its challenges,” J. Comp. Assist. Learn., 2016. [CrossRef]
- B. T. McInnes and T. Pedersen, “Evaluating measures of semantic similarity and relatedness to disambiguate terms in biomedical text,” Journal of Biomedical Informatics, 2013. [CrossRef]
- S. Aithal, A. Rao, and S. Singh, “Automatic question-answer pairs generation and question similarity mechanism in question answering system,” Applied Intelligence, 2021. [CrossRef]
- Al-Zahrani and T. Alasmari, “Exploring the impact of artificial intelligence on higher education: The dynamics of ethical, social, and educational implications,” Humanities and Social Sciences Communications, 2024. [CrossRef]
- A. Forouzan, Data Communications and Networking (McGraw-Hill Forouzan Networking). McGraw-Hill Higher Education, 2007.
- N. Reimers and I. Gurevych, “paraphrase-mpnet-base-v2,” 2020.
- M. Douze, A. Guzhva, C. Deng, J. Johnson, G. Szilvasy, P.-E. Mazaré, M. Lomeli.
- L. Hosseini, and H. Jégou, “The faiss library,” 2024.
- S. Kale, G. Khaire, and J. Patankar, “Faq-gen: An automated system to generate domain-specific faqs to aid content comprehension,” 2024. [CrossRef]
- OpenAI, J. Achiam, S. Adler, and S. Agarwal, “Gpt-4 technical report,” 2024.
- F. Lan, “Research on text similarity measurement hybrid algorithm with term semantic information and tf-idf method,” Hindawi, 2022. [CrossRef]
- D. Gunawan et al., “The implementation of cosine similarity to calculate text relevance between two documents,” 2018. [CrossRef]

| Category | Range | Mean | Median | StD | No. of Questions |
| Out of context | 0.893 0.935 | 0.919 | 0.922 | 0.011 | 30 |
| Application Based | 0.881 0.946 | 0.912 | 0.909 | 0.016 | 31 |
| Cross-Chapter | 0.337 0.530 | 0.469 | 0.515 | 0.078 | 9 |
| In-Chapter | 0.318 0.540 | 0.475 | 0.510 | 0.066 | 42 |
| Label | Mean | Median | Mode |
| Out of Context | 0.740000 | 0.7 | 0.7 |
| Application Based Questions | 0.758065 | 0.8 | 0.7 |
| Cross-Chapter | 0.255556 | 0.2 | 0.2 |
| In-Chapter | 0.240476 | 0.2 | 0.2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
