Research · The science

Prerequisite Knowledge Graphs: Finding the Root of a Gap

A grade says a learner is "weak at math." A prerequisite graph says something far more useful: one foundation is missing — and it's holding up everything above it.

CogniTrace Research
By the CogniTrace team  ·  8 min read  ·  16 Jun 2026

Tell a learner they're "weak at math" and you've described a feeling, not a problem you can solve. Decades of learning science suggest the label is usually wrong anyway. More often, a learner who struggles across many topics is missing one or two foundations that sit beneath all of them — and the way to see that is to stop looking at topics in isolation and start mapping how they depend on one another.

What is a prerequisite knowledge graph?

A prerequisite knowledge graph is a map of order. It records which skills have to be in place before another can be learned — fractions before ratios, ratios before proportional reasoning, and so on. Knowledge isn't a flat list of topics; it has a dependency structure, and that structure decides what a learner can pick up next. The idea was put on a formal footing by Jean-Paul Doignon and Jean-Claude Falmagne in 1985, whose knowledge space theory describes the states a learner can actually be in as constrained by these prerequisite relations.1 The practical upshot is simple but powerful. Learning follows feasible paths, not arbitrary ones. If you know the graph, you know not just what a learner is missing, but what becomes reachable once a particular gap is closed — which turns a flat list of topics into a route through them.

PREREQUISITE GRAPH · ILLUSTRATIVE Ratios Algebra Geometry Fractions — the missing root
One weak root, many capped topics. Fractions sits beneath ratios, algebra and geometry. While it's missing, every topic built on it is capped — so the learner looks "weak at math". Repair the root (it turns teal) and the topics above it unlock.

Why does a learner who "looks weak at math" often have just one missing foundation?

Because math is a network, not a checklist. Skills sit on top of other skills, so a single weak foundation doesn't stay contained — it leaks upward into everything built on it. Take fractions. A learner who never solidified fractions will struggle with ratios, with proportion, with rates, and with parts of algebra and geometry, because each of those quietly depends on fractional reasoning. From the outside, that looks like a learner who is "bad at math" across the board. On the graph, it looks like one thing: a missing root, with a cluster of topics failing downstream of it. The grade flattens all of that into a single word. The graph tells a more accurate — and more hopeful — story: the learner is not globally weak; one foundation is missing, and it is holding up a whole branch above it. That distinction changes what you do next.

How do prerequisite graphs turn scattered mistakes into a pattern?

Looked at one by one, a learner's errors can seem random: a bad day on ratios, a stumble on proportion, a wrong turn in an algebra word problem. Three separate problems, three separate fixes — or so it appears. Place those same topics on a prerequisite graph and something clicks. They share a parent. The scattered failures line up beneath one upstream skill, and the pattern points straight at the root. This isn't only theory. Annalies Vuong and colleagues showed in 2011 that prerequisite relationships can be recovered from learner performance data itself, by comparing how learners who had a skill fared against those who didn't.3 The graph is what converts a pile of individual mistakes into a diagnosis. Instead of a list of weak topics, you get a single, actionable cause — and a clear first thing to fix.

A learner isn't weak at math. One foundation is missing — and it's quietly holding up everything above it.
SCATTERED FAILURES → ONE ROOT Ratios ✗ Proportion ✗ Algebra ✗ Fractions
Three problems, or one? Failing ratios, proportion and algebra looks like three separate gaps. Trace each down the graph and they meet at a single upstream skill — the pattern points to one root.

What does the research say about learning hierarchies?

The pedagogical version of this idea is older still. In 1968, Robert Gagné described what he called learning hierarchies: complex capabilities decompose into subordinate skills arranged in an ordered relationship, where mastering the lower skills produces "positive transfer" to the higher ones.2 Read the other way, the claim is stark. If a subordinate skill is missing, the skills above it cannot transfer — the foundation simply isn't there to build on. That is exactly why one gap can cap an entire branch of a subject rather than a single topic. Gagné's hierarchies and Doignon and Falmagne's knowledge spaces reach the same truth from different directions, one from instructional theory and one from mathematics. Both say learning has an order. And both imply the same practical rule: find the lowest missing skill, because everything above it is waiting on it.

Why does fixing the root change everything?

Here is the part that surprises people. The topics failing above a missing prerequisite usually aren't broken in their own right — they were starved. The learner couldn't get traction on ratios because the fractional reasoning underneath them wasn't there. Repair that root, and the dependent skills don't each need to be re-taught from scratch. Many of them become learnable almost immediately, because the thing that was blocking them is gone. This is why diagnosing to the root matters so much. Re-teaching the whole subject treats every symptom equally and wastes most of the effort. Fixing the one foundation beneath the cluster is a single, targeted intervention that unlocks the rest. The leverage was never spread evenly across the topics a learner failed. It was concentrated in the root — and that is the one place worth spending time first.

RE-TEACH EVERYTHING effort spread thin FIX THE ROOT one move, whole branch unlocks
Spread thin, or one decisive move. Re-teaching every weak topic divides effort across all of them. Repairing the single foundation beneath them lets the whole branch above come unstuck at once.

What does this mean for teaching?

For a teacher, the shift is from treating symptoms to finding the cause. A learner failing several topics doesn't need several separate rescue plans. They need the right first move — the foundational gap that, once closed, lets the rest fall into place. The hard part is seeing it, because the root often sits a layer or two below where the visible failures are. Mapping skills onto their prerequisites is what makes that root visible, turning "weak at math" into "missing fractions, which is why ratios, proportion and parts of algebra aren't landing." This is the principle CogniTrace is built around — not just flagging where a learner struggles, but tracing it to the foundation underneath and prescribing that as the next step. Fix the root, and you change the whole branch above it — with far less effort than re-teaching everything.

Key takeaways

  • Knowledge has an order: a prerequisite graph maps which skills must be in place before others can be learned (Doignon & Falmagne, 1985).
  • A learner who looks "weak at math" is often missing one foundation — like fractions — that caps every topic built on it.
  • On the graph, scattered failures across topics line up beneath a single upstream root, turning a list of weak topics into one diagnosis.
  • Fixing the root unlocks the dependent skills at once — a single targeted intervention beats re-teaching the whole subject.

References

  1. Doignon, J.-P., & Falmagne, J.-C. (1985). Spaces for the assessment of knowledge. International Journal of Man-Machine Studies, 23(2), 175–196. doi:10.1016/S0020-7373(85)80031-6
  2. Gagné, R. M. (1968). Learning hierarchies. Educational Psychologist, 6(1), 1–9.
  3. Vuong, A., Nixon, T., & Towle, B. (2011). A method for finding prerequisites within a curriculum. In Proceedings of the 4th International Conference on Educational Data Mining (EDM 2011) (pp. 211–216).
About CogniTrace
Adaptive learning AI · Saudi Arabia
CogniTrace builds adaptive learning AI that reveals why a learner struggles — not just a score — and prescribes the exact next step. Built for schools and institutes, it is interpretable by design and runs on the devices a classroom already has.