Kannan

Democratizing Personalized Learning using Open Source AI

The question of how to provide every student with the quality of instruction that only a private tutor can offer has occupied educational researchers since at least 1984, when Benjamin Bloom published what has since become known as the 2 Sigma Problem. Bloom demonstrated that average students taught one-to-one using mastery learning techniques performed two standard deviations better than students in conventional one-to-thirty classroom settings. For forty years, the gap was acknowledged and then quietly accepted as structural. Artificial Intelligence has finally provided the bridge — but there is a meaningful question about whether the industry is building it correctly.


The Evidence for AI in Education

Before addressing architecture, it is worth establishing that the case for AI in education is no longer speculative. Recent research provides a clear picture on two fronts. Kestin et al. (Scientific Reports, 2025) found that students taught via AI tutoring definitively outperformed peers in traditional active learning settings. On the teacher side, Belloula (IJRES, 2025) found that AI integration reduced weekly planning hours by 40% — from ten hours to six — while simultaneously increasing satisfaction with lesson quality by 40.6%. The benefits are no longer a matter of debate. The real question is how AI is deployed, and whether the current dominant approach is getting that right.


The False Promise of Closed-Source AI

The EdTech industry's default position — integrating proprietary, closed-source models like GPT-4 or Gemini — introduces three structural problems that compound as systems scale.

The first is privacy. Closed-source models are black boxes. Stanford's 2025 report exposed the privacy risks inherent in AI chatbot conversations, and trusting minor students' cognitive data to third-party proprietary APIs creates regulatory liability that most school systems are not equipped to manage.

The second is vendor lock-in. Building educational infrastructure on a closed API creates a dependency that deepens with integration. Schools cannot afford to be hostage to a single vendor's pricing decisions.

The third is cost volatility. Token-based billing is structurally incompatible with fixed public education budgets. Anomalous usage has generated five-figure cloud bills within days for developers building on these APIs — a risk that simply cannot be transferred to institutions operating on annual budget cycles.


Fine-Tuned Open-Source Models

The objection that open-source models are not capable enough for educational use is statistically false for domain-specific tasks. Research by Zhao et al. (LoRA Land, arXiv, 2024) found that the best fine-tuned 7B parameter open-source models now outperform GPT-4 by an average of 9.5 points across 31 distinct tasks. Using Low-Rank Adaptation (LoRA), it is possible to deploy locally-hosted models specifically trained on educational pedagogy — guaranteeing data privacy, reducing inference costs to a fraction of a cent per query, and eliminating vendor dependency entirely.


The Shift to Socratic Tutoring

Even a correctly chosen model will produce poor educational outcomes if its interaction model is wrong. The current default — what might be called Direct Instruction mode, where a student asks a question and the AI provides the answer and method — creates cognitive atrophy. Students receive solutions without the effort that consolidates learning.

The alternative is Socratic tutoring: responding to questions with targeted questions that force the student to take the cognitive leap themselves. When a student asks how to solve 2x + 3 = 11, a Socratic AI does not provide the steps. It asks: "What operation happens last to 2x?" The distinction is not cosmetic — it is the difference between building dependency and building autonomy. The three core principles are: ask rather than tell, prioritise the why over the what, and teach students how to think rather than what to think.


A Glass-Box Learning Architecture

Deploying this correctly at scale requires a transparent, auditable pipeline — what I call a Glass-Box Architecture, in deliberate contrast to the black-box nature of proprietary systems. The pipeline has five stages:

  1. Student Query — the student inputs a question or problem
  2. Verified Retrieval — RAG pulls only from a verified, curriculum-aligned database; the system cannot hallucinate facts from the open web
  3. Socratic Tutor LLM — a fine-tuned open-source model processes the query and retrieved context, formulated strictly to respond with a Socratic prompt
  4. Guardrail Check — a secondary lightweight classifier intercepts the generated response to verify it meets safety, tone, and pedagogical standards before it reaches the student
  5. Final Response + Teacher Insights — the student receives the Socratic prompt; interaction metadata (where the student struggled, how long it took) routes to a teacher dashboard

The Path Forward

The 2 Sigma Problem does not require larger black-box models controlled by three companies. It requires transparent, fine-tuned, open-source systems that empower both the student's autonomy and the teacher's insight — built on infrastructure that schools can own, audit, and afford. The technology now exists to do this. What remains is the decision to build it that way.

These concepts were presented at the FOSSASIA Summit 2026. Slides available at eventyay.com/e/88882f3e/session/10203.