TY - CHAP
T1 - Expressing Educational Content with Extensive Language Models
T2 - A Question of Context
AU - Amo-Filva, Daniel
AU - Huerga, Amaia Pikatza
AU - Romero-Yesa, Susana
AU - Gomez, Alvaro Sicilia
AU - Donate-Beby, Belén
AU - Fernandez, Eduard
AU - Fonseca, David
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2025.
PY - 2025
Y1 - 2025
N2 - In the context of Generative Artificial Intelligence and large language models (LLMs) applied to education, this study focuses on the challenge of adequately contextualizing these technologies for their effective application. The central problem lies in the tendency of LLMs to generate decontextualized responses, which compromises their reliability and usefulness. To address this problem, a methodology has been adopted that combines Knowledge Injection (KI) and the Retrieval Augmented Generation (RAG) technique. This methodology involves the integration of relevant texts and vector databases with pre-trained language models, mitigating LLM hallucinations and allowing them to access a richer and more up-to-date context. The results obtained, particularly in the case study of the contents of the subjects Web Projects I and Databases at La Salle Campus Barcelona, Ramon Llull University, allow us to propose ways to structure the text of educational contents according to the specific tasks to be executed by the LLMs. This approach not only improves the relevance and accuracy of the models’ responses, but also facilitates the interaction with the contents of the subjects, adapting to the specific educational needs. This research emphasizes the importance of a contextualized approach to the use of LLMs, proposing a research path for their practical and effective application in education. The application of these techniques opens up new possibilities for the personalization and improvement of the educational experience through the advanced use of generative artificial intelligence.
AB - In the context of Generative Artificial Intelligence and large language models (LLMs) applied to education, this study focuses on the challenge of adequately contextualizing these technologies for their effective application. The central problem lies in the tendency of LLMs to generate decontextualized responses, which compromises their reliability and usefulness. To address this problem, a methodology has been adopted that combines Knowledge Injection (KI) and the Retrieval Augmented Generation (RAG) technique. This methodology involves the integration of relevant texts and vector databases with pre-trained language models, mitigating LLM hallucinations and allowing them to access a richer and more up-to-date context. The results obtained, particularly in the case study of the contents of the subjects Web Projects I and Databases at La Salle Campus Barcelona, Ramon Llull University, allow us to propose ways to structure the text of educational contents according to the specific tasks to be executed by the LLMs. This approach not only improves the relevance and accuracy of the models’ responses, but also facilitates the interaction with the contents of the subjects, adapting to the specific educational needs. This research emphasizes the importance of a contextualized approach to the use of LLMs, proposing a research path for their practical and effective application in education. The application of these techniques opens up new possibilities for the personalization and improvement of the educational experience through the advanced use of generative artificial intelligence.
KW - Contextualization
KW - Generative AI
KW - Knowledge Injection
KW - Large Language Models
KW - Retrieval Augmented Generation
UR - https://www.scopus.com/pages/publications/105011501406
U2 - 10.1007/978-981-96-5658-5_16
DO - 10.1007/978-981-96-5658-5_16
M3 - Chapter
AN - SCOPUS:105011501406
T3 - Lecture Notes in Educational Technology
SP - 155
EP - 166
BT - Lecture Notes in Educational Technology
PB - Springer Science and Business Media Deutschland GmbH
ER -