Yapay Zeka Hızlı Bakış & Çıkarımlar
AI InsightDeneysel bulgular, RAG mimarisinin Mistral modelindeki halüsinasyon oranını %60'tan %35'e düşürerek güvenilirliği anlamlı derecede artırdığını göstermektedir.
📌 3 Maddede Bu Makale
Özet
Bu çalışma, Türkçe ilkokul matematik eğitiminde karşılaşılan güncellik ve halüsinasyon (uydurma) sorunlarını gidermek amacıyla, tamamen yerel donanım üzerinde çalışan optimize edilmiş bir RAG mimarisini incelemektedir. Araştırma kapsamında; Llama3, Mistral, Gemma ve Phi3 dil modelleri; MiniLM ve BERTurk gömme modelleriyle birlikte uçtan uca test edilmiştir. Çalışmanın temel verisi, toplamda yaklaşık 20 saatlik içerik sunan 25 eğitim videosundan elde edilen ve iki alan uzmanı tarafından oluşturulan 1.270 satırlık bir "Soru-Cevap-Bağlam" altın standart veri setidir. Veri setinin güvenilirliği, 0.85 Cohen’s Kappa katsayısı ile doğrulanmıştır. Değerlendirme sürecinde, üretilen yanıtların ilgi düzeyi ve sadakatini ölçmek için 1–5 Likert ölçeği üzerinden yapılandırılmış bir "LLM-as-a-Judge" yaklaşımıyla Google Gemini kullanılmıştır. Deneysel bulgular, RAG mimarisinin Mistral modelindeki halüsinasyon oranını %60'tan %35'e düşürerek güvenilirliği anlamlı derecede artırdığını göstermektedir. Gemma-7B modeli; ~2.4 saniyelik yanıt süresi ve 0.28 F1 skoru ile en başarılı sistem olarak öne çıkmıştır.
Abstract
This study investigates an optimized Retrieval-Augmented Generation (RAG) architecture running entirely on local hardware to address the issues of recency and hallucination encountered in Turkish primary school mathematics education. Within the scope of the research, Llama3, Mistral, Gemma, and Phi3 language models were tested end-to-end using fixed and semantic chunking strategies alongside multilingual MiniLM and Turkish-specific BERTurk embedding models. The primary dataset comprises texts extracted from 25 educational videos, totaling approximately 20 hours of content, which were curated into a 1,270-row "Question-Answer-Context" ground truth set by two domain experts. The reliability of the dataset was validated with a Cohen’s Kappa coefficient of 0.85. Evaluation was conducted using Google Gemini as an LLM-as-a-Judge on a structured 1–5 Likert scale to measure relevance and faithfulness. Experimental findings indicate that the RAG architecture significantly improves reliability by reducing the hallucination rate in the Mistral model from 60% to 35%. The Gemma-7B model emerged as the most successful system, achieving a response time of ~2.4 seconds and an F1 score of 0.28. In conclusion, optimized local RAG architectures provide a robust, privacy-preserving alternative for Turkish educational technologies.