Run the model normally.
+ BACKPROP / GLOBAL +Replay the network backward.
- Tokens pass through distinct, standard Transformer blocks. This is both the free - equilibrium and the deployment-time inference path. -
-From c29d686be44e4660c314eb1883f80cb0a0023224 Mon Sep 17 00:00:00 2001 From: Yuren Hao <97327730+YurenHao0426@users.noreply.github.com> Date: Thu, 30 Jul 2026 15:05:21 +0700 Subject: Make the EP explanation intuitive (#7) --- index.html | 125 +++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 80 insertions(+), 45 deletions(-) diff --git a/index.html b/index.html index 05e8408..09140fd 100644 --- a/index.html +++ b/index.html @@ -392,6 +392,12 @@ font-weight: 520; } + .state p { + margin: 5px 0 0; + color: rgba(255, 255, 255, 0.58); + font-size: 11px; + } + .difference { align-self: center; color: var(--signal); @@ -573,6 +579,32 @@ line-height: 1.65; } + .method-grid.comparison-grid { + grid-template-columns: repeat(2, 1fr); + } + + .comparison-grid .method-step { + min-height: 340px; + } + + .method-sequence { + display: flex; + align-items: center; + gap: 8px; + margin-top: 28px; + color: var(--aqua); + font-family: var(--mono); + font-size: 10px; + letter-spacing: 0.05em; + text-transform: uppercase; + } + + .method-sequence i { + width: 18px; + height: 1px; + background: currentColor; + } + .method-note { display: grid; grid-template-columns: auto 1fr; @@ -949,6 +981,10 @@ grid-template-columns: 1fr; } + .method-grid.comparison-grid { + grid-template-columns: 1fr; + } + .method-step, .method-step:last-child { min-height: auto; @@ -1030,7 +1066,6 @@ } .difference { - transform: rotate(90deg); text-align: center; } @@ -1137,8 +1172,8 @@
EPT-LM is a practical route to train standard Transformer language models without a - global backward pass. During training, a small physical nudge turns local state - differences into weight updates. At inference, the model is an ordinary Transformer. + global backward pass. We gently tug the output toward the correct next token; each + layer learns from its own response. At inference, the model is an ordinary Transformer.
One global activation tape
One local response per layer
- No backward activation tape through the stack. No separate inference architecture. - The same bidirectional operations map naturally onto analog matrix hardware. + Backprop reconstructs a global chain of derivatives in software. EPT-LM asks each + layer a local question: how did you move when the answer was nudged?
- Equilibrium Propagation offers a different interface. The hardware runs twice, - once freely and once with a weak target signal. The difference between those settled - states supplies a local learning signal. The device that performs inference can also - participate directly in training. + Equilibrium Propagation offers a different interface. Run the model, then tug its + answer slightly toward the target. Every layer moves in response, and that local + before-and-after change supplies its learning signal. The device that performs + inference can participate directly in training.
Until now, the evidence stopped at vision-scale demonstrations. EPT-LM brings the
@@ -1256,45 +1293,43 @@
The approach
- The free state is exactly the model’s forward activations. Training adds a weak loss
- signal at the output, lets the layer states re-equilibrate, and reads each block locally.
- Three operations make up the full step.
+ Backpropagation sends one instruction backward through the entire network. EPT-LM
+ perturbs the answer and lets every layer observe its own response. The inference graph,
+ model architecture, and output stay the same.
- Tokens pass through distinct, standard Transformer blocks. This is both the free
- equilibrium and the deployment-time inference path.
-
- A small output nudge propagates through the bidirectional training dynamics. A few
- local relaxation sweeps produce the perturbed state.
+ The forward pass stores the activations of every block. Training then revisits the
+ whole stack in reverse to assemble one coordinated gradient.
- Every weight update comes from the block’s own free-to-nudged difference. The
- training rule does not store or traverse a global backward tape.
+ Pull the next-token output slightly toward the correct answer. Each block measures
+ how its own activity changed and converts that response into a local weight update.
A local update for a standard Transformer.
+ Two ways to train the same model.
Run the model normally.
+ BACKPROP / GLOBAL
+ Replay the network backward.
Apply the target once.
- Update each block locally.
+ EPT-LM / LOCAL
+ Give the answer a small tug.