Skip to content
Open access

Lightweight Llama Models with Experts’ Curated RAG for Electrical Engineering Education: An Exploratory Comparison

Aug 2026 · Applied Sciences · 1 citation · 45 references

TL;DR

The results show that the proposed RAG agent substantially improves the lightweight base model and produces transparent, syllabus-grounded answers that experts rated as correct and concise, while GPT-4.5 retains an edge on longer, multistep, and topology-intensive tasks.

Abstract

This study investigates the benefits of expanding small and open Large Language Models (Llama 3.x family) with retrieval and explicit referencing (retrieval-augmented generation), configured to refuse to respond when unsure about the answer. Additionally, we compare this augmented system with a cutting-edge commercial model (OpenAI GPT-4.5) in electrical engineering (EE) education questions. We build on an agentic RAG pipeline with retrieval from our team’s human-curated pedagogical reference document and a source-preserving, sectioned prompt that enforces citations. Six very experienced EE professors blindly assessed the answers to three exam-style questions of different types, generated by (i) the baseline model Llama 3.1 8B, (ii) our proposed RAG agent, and (iii) GPT-4.5, according to five dimensions: Correctness, Structure, Completeness, Precision, and Conciseness. The results show that the proposed RAG agent substantially improves the lightweight base model and produces transparent, syllabus-grounded answers that experts rated as correct and concise, while GPT-4.5 retains an edge on longer, multistep, and topology-intensive tasks. The local RAG agentic AI system achieved competitive performance relative to GPT-4.5 on dataset-scoped conceptual, procedural, and direct numerical electrical engineering circuit analysis educational tasks, which support the potential of curriculum-grounded open-weight models for constructing pedagogical applications.

Read PDF

Similar papers

Conference Jul 2026

Designing Reliable LLM Systems for AI-Assisted Engineering Education

Large Language Models (LLMs) are increasingly used in AI-assisted engineering education, enterprise learning, technical knowledge support, and software-development workflows. However, static retrieval-augmented generation (RAG) pipelines retrieve external context for every query, which can increase latency, token cost,...

Ramesh Venkatachalapathy · 0 citations
Open access 2026

A RAG-Enhanced Human-in-the-Loop Framework for Automated Assessment of Engineering Laboratory Reports

The results demonstrate that the integration of Retrieval-Augmented Generation, rubric-based evaluation, and Human-in-the-Loop validation constitutes an effective approach for AI-supported assessment of engineering laboratory reports, maintaining instructor oversight and educational integrity.

Amina Abbi, M. Skouri, M. Raoufi · 0 citations
Open access Aug 2026

GPT-only vs. GPT with RAG: A Study on Accuracy in Handling University-Specific Queries

A Generative Pre-trained Transformers-only model that relies on prompt engineering against a Retrieval-Augmented Generation model that incorporates external university documents, specifically program flyers and a module handbook, integrated using Langchain are evaluated.

Meltem Cakar · 1 citation

Cheating with AI: Are Large Language Models Undermining Academic Integrity?

This article outlines how the transforming landscape has affected academic cheating in higher education through the context of programming education, and reflects on 3 different, easily available cheating methods utilizing large language models.

Juuso Rytilahti, P. Puhtila, E. Kaila · 0 citations
Open access Jul 2026

Domain adaptation of large language models for additive manufacturing using retrieval-augmented generation and fine-tuning

Results indicate that retrieval-augmented approaches provide a more effective pathway for adapting LLMs to specialized engineering domains than naive fine-tuning on unstructured technical data.

Saiful Islam Sagor, Tania Haghighi, Md Rahatuzzaman et al. · 0 citations
Preprint Jul 2026

Knowledge Distillation for Automated AI Tutor Evaluation

FATE (FLC AI Tutor Evaluator), a specialized 8B-parameter language model designed to evaluate AI tutors, is introduced, which assesses pedagogical ability across Mistake Identification, Mistake Location, Guidance, and Actionability.

Tahmid Al Hannan, Diego García, Alex K Njoroge et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.