LLMs vs Reinforcement Learning for Education Thinking: Duolingo BIRDBRAIN vs MATHia Compared
By Aleksei Zulin
Are you trying to understand which AI approach actually works better for learning - the kind that adapts through feedback loops, or the kind that talks back? Here is the direct answer: reinforcement learning systems like MATHia and Duolingo's BIRDBRAIN demonstrably outperform current LLMs at structured skill acquisition, but LLMs are beginning to close the gap on metacognitive coaching and explanation quality. The comparison is not about which technology is smarter. It is about which cognitive function each one is actually designed to serve.
Both approaches are live experiments on tens of millions of learners right now. BIRDBRAIN governs what Duolingo shows you next and when. MATHia - built on thirty years of cognitive science from Carnegie Mellon - tracks your mathematical reasoning at the level of individual knowledge components. And GPT-4-class LLMs are being layered on top of both. The result is a genuine collision of paradigms. Understanding what each does - and what each cannot do - matters if you are building ed-tech, teaching, or trying to learn something difficult.
BIRDBRAIN: Duolingo's Reinforcement Learning Engine
Duolingo did not start as an RL company. The earliest version of the platform used relatively naive scheduling. BIRDBRAIN, the internal name for Duolingo's adaptive learning algorithm, emerged as a machine learning system trained on over a billion practice sessions to predict which items a learner will forget and when.
The core mechanism is a modified spaced-repetition model. In a 2016 paper, Duolingo researchers Burr Settles and Brendan Meeder introduced Half-Life Regression (HLR), a model that estimates each word's "memory half-life" for each individual learner based on their history. This was a significant departure from simple Leitner box systems: instead of treating all learners identically, HLR personalizes forgetting curves at the item level. Settles and Meeder reported that HLR outperformed both a fixed-interval baseline and a standard Leitner system in predicting recall accuracy on held-out data.
What makes this RL-adjacent rather than purely supervised learning is the feedback loop. Every correct and incorrect answer updates the model's belief about the learner. BIRDBRAIN does not simply respond to your current session - it is making a long-horizon estimate about your future performance. The reward signal is implicit: retention over time, not accuracy in the moment.
The edge case worth noting here is that BIRDBRAIN was optimized for vocabulary retention. Language has a particular structure - words exist semi-independently, and spaced repetition maps onto them cleanly. Apply the same architecture to mathematics, where knowledge components are deeply interdependent, and the model starts to struggle. You cannot space-repeat calculus the way you space-repeat "el gato."
MATHia and the Cognitive Tutoring Tradition
Carnegie Learning's MATHia descends from a lineage that begins with John Anderson's ACT-R cognitive architecture at Carnegie Mellon University in the 1980s. Anderson's central claim was that human problem-solving could be modeled as a production system - a set of if-then rules applied to working memory. From that foundation, researchers including Ken Koedinger built Cognitive Tutor, the predecessor to MATHia, through the CMU PACT (Pittsburgh Advanced Cognitive Tutor) Center.
The 2014 RAND Corporation study, one of the most rigorous field evaluations of an ed-tech product ever conducted, found that students using Carnegie Learning's Cognitive Tutor Algebra I showed statistically significant gains compared to control groups - roughly 8 percentile points after two years, with stronger effects for students who had used the software for a full academic year. This was not a small lab study. It ran across 147 schools.
MATHia's underlying mechanism - knowledge component tracing - is what separates it architecturally from BIRDBRAIN. Rather than tracking items, MATHia tracks skills. Each problem a student solves is mapped to specific knowledge components: understanding slope, applying the distributive property, recognizing equivalent fractions. The system maintains a Bayesian belief state about the student's mastery of each component. When mastery exceeds a threshold, the student moves on. When the system detects a persistent misconception, it intervenes with targeted scaffolding.
This is model-tracing, and it is computationally expensive relative to what LLMs do. The model runs against a deep cognitive map of the subject domain. The trade-off is specificity - MATHia is extraordinarily good at middle and high school mathematics, and considerably less transferable outside it.
Where LLMs Enter the Picture
GPT-4's arrival changed the ed-tech calculus in a specific and limited way. In 2023, Duolingo launched Duolingo Max, integrating GPT-4 for two features - "Explain My Answer" and "Roleplay" - which let learners ask why they were wrong and practice open-ended conversation with an AI character. The company was transparent that BIRDBRAIN still governed scheduling and exercise selection. The LLM was layered on top, handling explanation and generative dialogue.
Khan Academy's Khanmigo, announced the same year, used a similar pattern. The underlying exercise system remains structured. The LLM provides Socratic dialogue around it. Sal Khan and the Khan Academy team have described Khanmigo explicitly as a tutor that asks questions rather than gives answers - an attempt to avoid the known failure mode of LLMs in education, which is that they will just solve the problem for the student if asked.
Here is the thing that does not get said clearly enough: LLMs are excellent at explaining and poor at knowing what you need explained. A language model has no persistent model of you. Every conversation starts fresh (absent explicit memory scaffolding). It cannot track whether you have mastered slope. It can tell you about slope beautifully. That asymmetry - rich explanation, no learner model - is the core limitation, and it is not a prompt engineering problem. It is architectural.
The 2023 meta-analysis by Ngo et al. in Computers & Education reviewed early evidence on LLM-based tutoring and found that while learner satisfaction scores were significantly higher with LLM tutors than traditional ITS interfaces, measurable learning gains were mixed. Learners felt better. Whether they learned better was less clear.
The Bloom's 2 Sigma Problem, Revisited
In 1984, Benjamin Bloom published findings that one-on-one tutoring produced learning outcomes two standard deviations above conventional classroom instruction. He called it the "2 Sigma Problem" - the gap is real, but private tutoring at scale is economically impossible. Intelligent tutoring systems were, from the beginning, an attempt to close that gap without the cost.
Kurt VanLehn's 2011 meta-analysis in Educational Psychologist synthesized decades of ITS research and found that intelligent tutoring systems produced effect sizes of approximately 0.76 standard deviations above classroom instruction - meaningful, but well short of Bloom's 2 sigma. Human tutors, in VanLehn's analysis, still outperformed ITS by roughly 0.4 standard deviations. The interesting finding buried in that paper was that the performance gap between human and machine tutors narrowed substantially when the tutor's subject domain was well-defined and the student's knowledge state could be modeled precisely. Mathematics. Specific grammar rules. Defined procedural skills. The gap widened in open-ended domains.
LLMs arguably shift this calculus - not because they are better learner models, but because they can operate in open-ended domains that ITS systems cannot. Whether that flexibility produces learning gains comparable to structured mastery systems remains genuinely uncertain.
The Hybrid Architecture Question
The interesting design space in 2025 is not "LLM or RL" - it is how to compose them. BIRDBRAIN handles what to show and when. MATHia handles whether mastery has been achieved. LLMs handle why something was wrong and what to do next conversationally. These are actually separable cognitive functions.
One underexplored edge case is the learner who is stuck not on a knowledge component but on motivation. Spaced repetition systems and mastery models are built on the assumption that the learner will keep engaging. They have no real model of affect or motivation. Duolingo's streak mechanic is a blunt behavioral instrument - and famously effective, though detached from any theory of learning. An LLM, by contrast, can detect frustration in language, reframe a problem, tell a story. Whether this is pedagogically meaningful or just engagement theater is a genuinely open question.
The other edge case worth sitting with: advanced learners. ITS systems are designed around a student with measurable knowledge gaps. A learner at the frontier of a domain - where the knowledge component map runs out - gets very little from MATHia-style systems. This is exactly where LLMs become more valuable. The frontier is conversational by nature. It requires debate, exploration, half-formed ideas tested against a thinking partner.
Honest Constraints
The research base here is uneven in ways that should make you skeptical of confident claims - including some in this article. MATHia's strongest evidence comes from structured RCTs in middle school algebra, a narrow domain under controlled conditions. Extrapolating those results to other subjects or age groups requires assumptions the data do not fully support.
BIRDBRAIN's published research is mostly from Duolingo's own team. That is not disqualifying, but independent replication of language retention outcomes at scale is limited.
LLM tutoring research is extremely early. The 2023 and 2024 studies are small, short-duration, and often rely on self-report. Effect sizes may shrink considerably once novelty effects wear off.
Nobody has run a rigorous head-to-head comparison of pure RL-based ITS versus LLM-based tutoring on the same subject, same population, with retention measured at three months or more. That study does not exist yet. The comparison above is the best inference available from parallel research streams.
FAQ
Is Duolingo actually using reinforcement learning in the strict ML sense?
BIRDBRAIN is more accurately described as adaptive machine learning trained on behavioral feedback rather than classical RL with explicit reward signals. The distinction matters technically. Practically, the effect is similar - the system learns which interventions produce retention - but calling it RL is a slight overclaim that Duolingo's own researchers have been careful about.
Can MATHia be used for subjects outside mathematics?
Carnegie Learning has expanded into literacy and language arts, but the cognitive tutoring architecture is most effective in domains where knowledge components are discrete and assessable. Open-ended writing, critical analysis, and creative work resist the kind of component mapping that makes MATHia powerful in algebra.
Do LLMs replace the need for spaced repetition in language learning?
Probably not. Spaced repetition addresses a memory consolidation problem that LLMs are not designed to solve. A conversation with an LLM is not structured to optimize forgetting curves. The two approaches target different cognitive processes - retrieval practice versus comprehension and production - and likely work better in combination than in competition.
What should a teacher or curriculum designer take from this comparison?
Use structured ITS systems where mastery of defined skills is the goal and the domain is well-mapped. Use LLMs where explanation quality, conversation, and open-ended exploration matter. The mistake is treating them as substitutes. They operate on different layers of the learning process.
The deeper question this comparison opens is about what "thinking" actually means in an educational context - whether it is a skill to be traced and measured, or a process to be modeled and joined. That question connects directly to debates about metacognition, the zone of proximal development, and what Vygotsky meant by scaffolding in ways that neither BIRDBRAIN nor MATHia has fully resolved. If you want to understand where the frontier is, the research on AI and metacognitive coaching - and the emerging work on affect-aware tutoring systems - is where the next decade of this argument will be fought.
Related Articles
About the Author
Aleksei Zulin is the author of The Last Skill, a book on how to think with AI as a cognitive partner rather than use it as a tool. Systems engineer turned writer exploring the frontier of human-AI collaboration.
The Last Skill is a book about thinking with AI as a cognitive partner.
Get The Book - $29