arXiv:2506.05925cs.CYcs.AI2025-06被引 5

用小模型本地部署,帮教师生成教学内容并评估作业。

Small Models, Big Support: A Local LLM Framework for Educator-Centric Content Creation and Assessment with RAG and CAG

  • 用3B-7B小模型结合RAG与CAG生成符合教学风格的内容。
  • 在普通服务器上完成物理课教学部署,效果接近大模型。
  • 支持教师实时修改,保障内容准确且符合教学需求。

尽管大语言模型广泛应用于面向学生的教育工具,但其在本地化、可定制化教师支持方面的潜力仍未被充分挖掘。现有方法多依赖昂贵、私有的云服务,引发成本、隐私与控制权问题。为此,我们提出一个端到端开源框架,利用3B-7B参数量的小型本地部署模型,支持教师进行个性化教学材料生成与AI辅助评估。系统融合检索增强生成(RAG)与上下文增强生成(CAG),确保内容事实准确、教学风格恰当。核心是教师参与的迭代优化机制,保障输出精准契合教学意图。通过辅助验证模型对所有生成内容进行审核,提升可靠性与安全性。我们在大学物理课程中成功部署该框架,验证其在标准机构硬件上的可行性。结果表明,经精心设计的自托管系统基于小型模型即可实现高效、低成本、高隐私保护的教师支持,其实际效用可媲美大型模型,适用于特定教学任务。本工作为构建满足教育机构真实需求的主权型AI工具提供了可行方案。

原文摘要 · Abstract (English)

While Large Language Models (LLMs) are increasingly applied in student-facing educational tools, their potential to directly support educators through locally deployable and customizable solutions remains underexplored. Many existing approaches rely on proprietary, cloud-based systems that raise significant cost, privacy, and control concerns for educational institutions. To address these barriers, we introduce an end-to-end, open-source framework that empowers educators using small (3B-7B parameter), locally deployable LLMs. Our system is designed for comprehensive teacher support, including customized teaching material generation and AI-assisted assessment. The framework synergistically combines Retrieval-Augmented Generation (RAG) and Context-Augmented Generation (CAG) to produce factually accurate, pedagogically-styled content. A core feature is an interactive refinement loop, a teacher-in-the-loop mechanism that ensures educator agency and precise alignment of the final output. To enhance reliability and safety, an auxiliary verifier LLM inspects all generated content. We validate our framework through a rigorous evaluation of its content generation capabilities and report on a successful technical deployment in a college physics course, which confirms its feasibility on standard institutional hardware. Our findings demonstrate that carefully engineered, self-hosted systems built on small LLMs can provide robust, affordable, and private support for educators, achieving practical utility comparable to much larger models for targeted instructional tasks. This work presents a practical blueprint for the development of sovereign AI tools tailored to the real-world needs of educational institutions.

教育AI小模型本地部署RAG

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。