I built a framework-free prototype learner that lets local LLMs learn and correct facts instantly (1.6x–4x faster than backprop)[R]

Reddit r/MachineLearning Tools

Summary

A framework-free prototype learner called Jayce enables local LLMs to learn and correct facts instantly via Adaptive Prototype Memory, achieving 1.6x to 4x faster training updates than standard backpropagation in benchmarks.

Hey everyone, I wanted to share a project I’ve been working on called Jayce. The whole thing started because I was watching a toddler named learn the names of stuff He didn't need to completely rewire his brain or look at ten thousand examples to figure a word out—he just needed a few specific examples and quick corrections from his parents. It got me thinking about local LLMs. Right now, dealing with catastrophic forgetting is a massive pain. If you want a local model to remember a new fact, you're usually stuck spinning up a heavy RAG pipeline or risking its existing weights with slow, tedious fine-tuning. So after watching him, I stumbled into building a lightweight experiment using Adaptive Prototype Memory (APM) to see if a model could learn the same way. Instead of messing with model weights, it grabs the LLM's raw context vectors and drops them into a fixed pool of 4,096 prototype slots. If the model gets something wrong and you correct it, it physically shifts the closest mathematical prototype toward the new data right then and there. Honestly, I just built it as a neat proof of concept, but when I actually ran the benchmarks, I was pretty surprised by how well it held up against backpropagation: It’s fast: The training updates run about 1.6 to 4 times faster than a standard neural network using Adam backprop. It’s incredibly sample-efficient: On sequential tests like MNIST digits, it actually pulled off higher accuracy than backprop when given the exact same number of training examples. It's lightweight: It keeps everything locked under a strict memory ceiling so it doesn't hog your system. I wanted the math to be as readable as possible, so I wrote the whole thing framework-free. No PyTorch or TensorFlow—just pure NumPy (jayce_tokens.py) and native Java (JayceMemory.java). It runs completely offline on consumer hardware with a local Qwen3-4B GGUF. The repo has the full benchmark data, a breakdown of how the vector shifting works, and a terminal script where you can test the learning loop yourself: https://github.com/Loophole-LLC/Jayce I'd love to get some feedback on it. Let me know what you think!
Original Article

Similar Articles

Learning, Fast and Slow: Towards LLMs That Adapt Continually

Hugging Face Daily Papers

A fast-slow learning framework for LLMs combines fixed slow weights with optimized fast context weights, achieving up to 3x better sample efficiency and reduced catastrophic forgetting in continual learning scenarios.

Real Continual Learning Model (Prototype)

Reddit r/ArtificialInteligence

A developer claims to have built a real continual learning model prototype using LoRA to give Qwen4B instant, generalizable memory without retraining, and is inviting independent researchers to validate the mechanism.

LLM-as-a-Tutor: Policy-Aware Prompt Adaptation for Non-Verifiable RL

Hugging Face Daily Papers

LLM-as-a-Tutor introduces a framework that extends LLM's role from judge to tutor by dynamically adjusting prompt difficulty through pairwise comparison and constraint addition, improving instruction-following performance in reinforcement learning.