LLM Training Demo

What This Demo Shows

This dashboard demonstrates GenesisNode learning language capabilities from scratch -- no gradient descent, no matrix multiplication, no backpropagation. Instead of the dense linear algebra that powers transformers and traditional neural networks, GenesisNode builds a sparse graph of token-based nodes that fire or don't fire based on simple threshold decisions. Intelligence emerges from the topology of this graph and the pattern of binary selections, not from precise numerical computation.

You can watch in real time as the system:

The system has been validated through 10 capability levels, from basic word associations up to common sense reasoning, reading comprehension, and factual knowledge retrieval -- all without a single gradient computation.


How GenesisNode Learns

GenesisNode is not a neural network. It is a self-organizing graph architecture inspired by neuromorphic computing and genetic algorithms.

The Node

The fundamental unit is a Node -- a simple object that stores a token_id (a string like "dog" or "cold"), maintains weighted connections to other nodes, and has a firing threshold. When a signal arrives, the node either fires or stays silent. That binary decision is the only primitive operation. There are no weight matrices, no activation functions, no layers.

Graph Routing

When you query the system with a word, it performs a graph walk: the input token activates its corresponding node, which propagates signal along weighted connections to neighboring nodes. The node at the end of the strongest path becomes the output prediction. Routing is a sequence of dictionary lookups along connection edges -- O(connections) per hop, not O(parameters).

Scoring and Credit Assignment

After each prediction, the system scores the result (correct = 1.0, incorrect = 0.0). Credit flows backward along the firing chain -- the sequence of nodes that fired to produce the output. Nodes closer to the output get the full score; nodes further back get a decayed fraction. Over many iterations, this strengthens correct pathways and weakens incorrect ones.

An emotional scoring system provides higher-level control signals:

Genetic Evolution

Network topology evolves through a genetic algorithm. Each epoch, the system applies mutations: spawning new connections between nodes, adjusting firing thresholds, growing new nodes when progress stalls. After mutation, the system benchmarks against its training data. Improvements are kept; regressions are reverted. Mutation rates are adaptive -- they increase when the system is stuck and decrease when accuracy is improving.

Scaler Nodes and Level Isolation

A key architectural innovation is the scaler node: per-level proxy nodes that absorb all level-specific learning while leaving prior-level token nodes untouched. This solves catastrophic forgetting -- the system can learn Level 10 common sense reasoning without degrading Level 1 word associations. Each level's scaler nodes use isolated context tags (e.g., seq_pos:, rel:, qa:, cs:) to prevent cross-level interference.

Three-Tier Memory

Nodes are organized into three tiers:

Only about 1% of the network is active at any moment. This sparse activation means inference cost scales with problem complexity, not model size.


Using the Dashboard

Training Controls (Top Bar)

The top bar contains all controls for configuring and running a training session:

A status indicator in the top-right corner shows the current state: Idle, Training (with a pulsing green dot and epoch counter), Complete, or Error.

Left Panel

The left panel contains five cards that update in real time during training:

Accuracy Chart

A line chart tracking two metrics over epochs:

Average Score Chart

Tracks the average scoring signal over epochs. A rising score indicates the network is strengthening correct pathways. Plateaus often precede breakthroughs when genetic evolution discovers a new shortcut connection.

Current Stats Table

A live summary of the training state:

Inference Panel

Test the trained model interactively. Type a word into the input field and click "Infer" to see:

Run History

A table of all previous training runs in this session, showing approach, epochs, and final accuracy. Click a run to review its stats.

Right Panel

The right panel displays a live network graph -- a force-directed D3.js visualization of the node topology:

Nodes are colored by role:

Edges show connections (solid lines) and links (dashed lines) between nodes. Edge thickness reflects connection weight.

Interactive controls in the toolbar:

Hover over any node to see a tooltip with its token ID, role, tier, fire count, connection count, threshold, and maturity.

During inference, activated nodes pulse along the firing chain, letting you visually trace the reasoning path through the graph.


Training Approaches

word_assoc (Word Associations -- 75 pairs)

The foundational training approach. Trains on 78 curated word-association pairs spanning semantic categories: animals ("dog" → "cat"), antonyms ("hot" → "cold"), professions ("doctor" → "hospital"), colors ("sky" → "blue"), and more.

This demonstrates the core learning loop: present an input word, get the network's prediction, score the result, strengthen or weaken the firing chain, and evolve the topology. It is the same approach used for Level 1 validation and typically reaches 95%+ accuracy within 200 epochs.

word_assoc_scale (Scaled Associations -- configurable)

An extended version that generates a larger set of association pairs using a semantic hash encoder. The pair count is configurable (default: 372). This approach tests whether the architecture scales beyond a small, hand-curated dataset. The learning dynamics are the same as word_assoc, but with a larger vocabulary and more diverse relationships.

word_chains (Chain Reasoning)

Trains on the same 75 association pairs as word_assoc but additionally evaluates multi-hop chain inference. After learning direct associations (A→B, B→C), the system is tested on transitive chains (A→C). This demonstrates Level 2 capabilities: the ability to compose learned knowledge into novel inferences without explicit training on those chains.


What to Expect

Typical Training Progression

Epochs 1-20 (Seed Phase): The system establishes initial pathways. All pairs are trained every epoch. Accuracy typically reaches 30-50% by epoch 20. The genetic algorithm spawns shortcut connections aggressively during this phase.

Epochs 20-100 (Focused Phase): The system switches to focused training -- only unmastered pairs receive training signal, while mastered pairs are reinforced passively. Accuracy climbs steadily from 50% to 85-95%. You will see the "mastered" count in the stats table rising as individual pairs achieve 5 consecutive correct predictions.

Epochs 100-200 (Refinement): The remaining hard pairs are learned. Accuracy typically plateaus around 95-99%. The network may grow dynamically if progress stalls (triggered by 10 epochs without improvement). Final accuracy for word_assoc is typically 97-99%.

Timing

Testing Inference

After training completes, use the Inference Panel to test individual words. Try:

The firing chain visualization shows you exactly why the model predicted what it did -- which nodes fired, what connections were traversed, and with what weights. This level of interpretability is a structural advantage over black-box neural networks.


Capability Levels

GenesisNode has been validated through 10 capability levels, each introducing a fundamentally new mechanism:

Level Capability Key Result
L1 Word Associations 98.7% exact match, 78 pairs, 18 us/call
L2 Multi-Hop Inference 98.4% 2-hop, 95.0% 3-hop chains
L3 Multi-Token Input (Context Fusion) 100% exact, 100% disambiguation
L4 Sequence Completion 99.7% next-token exact, 100% patterns
L5 Multi-Token Output (Generation) 85.1% exact sequence, 95.2% BLEU-1
L6 Part-of-Speech Tagging 100% POS accuracy, 70.7% BLiMP grammaticality
L7 Factual Knowledge Retrieval 100% triple exact, 260 triples, 18 relations
L8 Coreference Resolution 100% gender, 100% coref exact, 181 pairs
L9 Reading Comprehension 80.7% QA exact, 84.6% F1, 96.0% yes/no
L10 Common Sense Reasoning 99.6% CS exact, 100% PIQA, 90.9% CommonsenseQA

Each level is additive -- Level 10 still passes all Level 1 tests. The scaler node architecture ensures zero cross-level interference: Level 1 accuracy remains 98.7% after training through all 10 levels.

Training is also cumulative -- each level's data includes all prior levels, and the system must learn new capabilities without forgetting old ones. The total system at Level 10 comprises 4,526 nodes handling a vocabulary of thousands of tokens, with inference at 28 microseconds per call.


How It Compares to Transformers

Every capability level includes a corresponding transformer baseline -- a standard PyTorch transformer trained on the exact same data, solving the exact same task. This provides an apples-to-apples comparison.

Where GenesisNode Wins

Where Transformers Win

The Fundamental Difference

Transformers learn by computing gradients over millions of parameters using backpropagation -- calculus-driven optimization. GenesisNode learns by evolving a graph topology through variation and selection -- the same mechanism biology uses. The training process and the inference process are the same operation: graph routing. There is no separate "training algorithm" that differs from the "inference algorithm."

This is not an incremental improvement on transformers. It is a fundamentally different computational paradigm for language understanding.