Only Institute / Knowledge

Follow your curiosity.

AI sends your question and public excerpts to PrimeSwarm.

Try agent memory, governance, or a project name.

All Publications
whitepaper

Learning Trails: Why Knowledge Equilibrium Beats Completion Percentages

Using Prime Integer Relations to measure structural soundness of understanding

Grigori Korotkikh 2026-08-22 20 min
Learning TrailsPIRKnowledge GraphsMastery TrackingEducation
Only Institute — Learning Trails: Why Knowledge Equilibrium Beats Completion Percentages

Learning Trails: Why Knowledge Equilibrium Beats Completion Percentages

The Problem with "83% Complete"

Every learning platform reduces human understanding to a single number: completion percentage. You've finished 83% of the modules. You're "almost ready." But 83% of what? The number tells you nothing about which concepts are weak, whether the gaps are in critical-path knowledge, or whether the 17% you're missing happens to be the keystone that everything else depends on.

This is the fundamental failure of weighted heuristics in learning systems: they measure quantity of knowledge, not structure. A learner who has mastered 10 easy concepts but not the 2 hard ones that everything downstream requires looks "83% done" — and the system says "looks good!"

It isn't good. The knowledge is structurally unsound.

The Insight: Knowledge as a Graph

Knowledge isn't a list. It's a graph. Concepts have prerequisites. Understanding Ricci flow requires understanding Ricci curvature, which requires graph theory, which requires basic topology. The chain is 5-6 levels deep, and traditional learning platforms flatten it into a checklist.

Learning Trails models knowledge as it actually is: a directed graph where:

  • Nodes are concepts, categorized by depth (foundation, core, advanced, application)
  • Edges are typed relationships: prerequisite (must know A before B), builds-on (B extends A), applies (A is applied in B), related (loose connection)
  • Edge weights capture the strength of the dependency

When you see the graph, you see the structure of knowledge — not just how much someone knows, but whether their knowledge is architecturally sound.

PIR: Measuring Knowledge Equilibrium

Prime Integer Relations (PIR) provide the mathematical foundation. The same framework that detects structural health in TPNN neural networks applies to human knowledge graphs.

Balance Gap

The Thue-Morse sequence produces a signed power-sum that vanishes at equilibrium. Applied to a learner's mastery vector (a 0/1 or continuous value per concept), the balance gap measures whether understanding is balanced across the knowledge graph.

  • Balance gap = 0: The learner's knowledge is in perfect equilibrium — they've mastered concepts evenly across all areas
  • Balance gap > 0: There's structural imbalance — they're strong in some areas, weak in others, and the specific pattern of imbalance reveals where the gaps are

This is fundamentally different from a completion percentage. Two learners with 70% completion can have radically different balance gaps:

  • Learner A: mastered all foundation + core concepts, missing some advanced — low balance gap, structurally sound
  • Learner B: mastered all advanced concepts but missing foundational prerequisites — high balance gap, structurally unsound (they can't actually use what they "know")

Pattern Area

The shoelace area of the signed cumulative mastery path. This measures the "shape" of knowledge:

  • Low pattern area: Well-structured knowledge — mastery follows a clean progression from foundations to applications
  • High pattern area: Scattered knowledge — mastery is random, with gaps in the middle and advanced concepts mastered without their prerequisites

Pattern area catches the learner who "jumped ahead" — they know the advanced material but their path to get there was jagged and incomplete.

Ricci Curvature: Finding Bottlenecks

Not all concepts are equal. Some are bridges — if a learner doesn't master them, everything downstream is blocked. Traditional analytics show drop-off rates per module but can't identify which module is the structural bottleneck causing cascading failure.

Ollivier-Ricci curvature on the knowledge graph identifies these bridges:

  • Negative curvature edges: Single points of failure. The edge from "Graph Theory" to "Ricci Curvature" has negative curvature if there's no alternate path. Students who fail at Graph Theory can't reach anything downstream.
  • Positive curvature edges: Well-connected. Multiple paths exist, so failing one concept doesn't block everything.

For curriculum designers, this is actionable: either strengthen the bottleneck edge (better materials, more practice) or add alternate paths (a "Graph Theory for ML" shortcut that bypasses the full theory course).

For learners, this means the system can say: "This concept is a bridge — if you don't master it, you'll be blocked from 15 downstream concepts. Focus here."

Adaptive Next Steps: Dissonance Minimization

The question "what should I learn next?" is usually answered by:

  • What's next in the curriculum (linear, ignores structure)
  • What's most popular (engagement-optimized, not learning-optimized)
  • What's easiest (friction-minimized, not growth-optimized)

Learning Trails answers it differently: learn the concept that most reduces structural dissonance.

For each unmastered concept whose prerequisites are satisfied, compute what the PIR balance gap would be if that concept were mastered. Recommend the concept with the highest dissonance reduction. This is the concept that, if learned, brings the knowledge graph closest to equilibrium.

This isn't "what's easiest next" or "what's most popular" — it's "what most improves the structural integrity of your knowledge."

Cryptographic Proof of Mastery

In regulated industries — finance, medical, aviation — training records are legal evidence. But "completed module 7" proves attendance, not understanding.

Learning Trails integrates with PrimeSwarm's governance stack to generate cryptographic audit receipts for every mastery demonstration:

  1. A PrimeSwarm agent asks a verification question about the concept
  2. The learner responds
  3. The agent evaluates the response against the concept's mastery criteria
  4. A receipt is generated: hash of (question, answer, concept, timestamp, learner identity)
  5. The receipt is stored in HelixDB as an immutable record

An auditor can trace any capability claim back to specific demonstrations. This isn't a training record — it's cryptographic proof.

The Living Graph

Research organizations and startups operate in a world where knowledge isn't stable. New findings arrive weekly. You can't create a fixed curriculum because the field is moving.

Learning Trails handles this naturally. The knowledge graph is a living data structure:

  • New paper published: Add a concept node with edges to its prerequisites
  • New relationship discovered: Add an edge between existing concepts
  • Concept deprecated: Mark as inactive (edges preserved for historical trails)

The trails recompute automatically. PIR re-evaluates equilibrium in O(n). A new hire's learning trail updates in real-time as the field advances. No curriculum redesign required.

Team-Level Knowledge Analysis

Organizations need to know if their team has balanced knowledge — not just each person. If everyone knows the frontend but nobody knows the database layer, the team has a structural gap even if every individual looks fine.

Learning Trails aggregates mastery scores across the team per concept. PIR balance gap applied to the team's collective mastery vector reveals:

  • High dissonance: The team's knowledge is structurally unbalanced — critical gaps in certain areas
  • Hiring signals: "We need someone who knows concept X" — not because X is popular, but because X's absence creates structural dissonance
  • Cross-training opportunities: "Person A knows X, Person B knows Y — if A learns Y or B learns X, team dissonance drops by 40%"

Business Applications

Enterprise Onboarding

A new hire joins a complex technical team. The knowledge graph maps every concept and its prerequisites. PIR reveals exactly where understanding is unbalanced. Ricci curvature identifies the 2-3 bottleneck concepts that, if not mastered, block everything downstream. The manager sees a graph, not a number.

Regulated Industries

Financial institutions, medical device companies, and aviation operators must prove competence. Cryptographic audit receipts mean every mastery demonstration is verifiable. An auditor can trace a certification back to the exact questions answered and concepts demonstrated.

Technical Sales Enablement

The knowledge graph is the product architecture. When a new product ships, you add nodes and edges. Sales reps see exactly which concepts they need for a specific deal. PIR dissonance reveals when a rep knows features but not the underlying architecture.

Compliance for AI Systems

Every concept in the knowledge graph maps to a capability or failure mode of the AI system. Regulators can see which nodes each operator has mastered, check PIR dissonance for balanced understanding, and trace any mastery claim to its cryptographic receipt.

The Same Math, Two Domains

The profound insight is that PIR doesn't care whether it's measuring neural network weights or human knowledge. It measures structural equilibrium — the property that a system's components are balanced and no single gap creates cascading failure.

In TPNN, PIR detects when a neural network's connection topology has structural weaknesses that adversarial attacks can exploit.

In Learning Trails, PIR detects when a learner's knowledge graph has structural weaknesses that real-world problems will exploit.

Same math. Same O(n) cost. Same mathematical guarantee. Different domain, same insight: structure matters more than quantity.

What We Built

The initial implementation includes:

  • 15 seed concepts drawn from Only Institute research: Thue-Morse Sequence, PIR, Graph Theory, Ricci Curvature, TPNN, PrimeSwarm Governance, Agent Orchestration, Quilt, Cryptographic Audit Receipts, MCP Protocol, and more
  • 21 typed edges mapping prerequisite, builds-on, applies, and related relationships
  • SQLite database with concepts, concept_edges, and learner_progress tables
  • API routes for graph queries, concept details, and trail computation (topological sort)
  • Interactive SVG visualization with layered layout, color-coded categories, styled edges, mastery toggling, and ready-to-learn recommendations
  • Next steps: PIR scoring in TypeScript, PrimeSwarm agent integration for verification questions, persistent mastery state

Visit /trails to explore the knowledge graph.


Back to Publications

Published by Only Institute