Read time: 9 min
đ Browse past editions here.
( I publish this newletter daily. Noise-free, actionable, applied-AI developments only).
âĄIn todayâs Edition (26-July-2025):
đ§ New Brain-inspired AI Model Boosts Reasoning With 27 Million Parameters
đď¸ How Grok 4 Learns While You Sleep with Continual Reinforcement Learning
đ§ New Brain-inspired AI Model Boosts Reasoning With 27 Million Parameters
Human Brainâstyle loops beats traditional Chainâofâthought for reasoning. Hereâs the full Paper: "Hierarchical Reasoning Model" And the Github
SapientâŻIntelligence shows that a 27Mâparameter HierarchicalâŻReasoningâŻModel (HRM) solves complex logic puzzles with only 1âŻ000 training examples and answers. The work tackles the slowdown and data waste that come from forcing models to write every reasoning step as text.
It scores 5% on the ARC-AGI-2 benchmark, outperforming much larger models, while hitting near-perfect results on challenging tasks like extreme Sudoku and large 30x30 mazesâtasks that typically overwhelm bigger AI systems.
HRMâs architecture mimics human cognition with two recurrent modules working at different timescales: a slow, abstract planning system and a fast, reactive system. This allows dynamic, human-like reasoning in a single pass without heavy compute, large datasets, or backpropagation through time.
In the above image, on the left, it shows crossâfrequency coupling in the brain. Slow theta waves around 4â8Hz carry a bigâpicture map, while fast gamma waves near 40Hz handle detailed information down in the cortex.
On the right, HRM copies that trick. A highâlevel loop moves slowly and plans, and a lowâlevel loop cycles quickly to work out the fine steps. They pass messages back and forth, so the fast loop never gets stuck and the slow loop keeps steering.
This twoâspeed setup lets the model think deeply without writing out every step, making it both dataâefficient and quick.
đ§ Why chainâofâthought hits a wall
Large language models usually break a hard problem into tokenâbyâtoken âthought bubblesâ. One typo or wrong branch can ruin the chain, and the model still has to print thousands of tokens before reaching a conclusion. Sapientâs researchers argue in their news brief that this habit is âa crutchâ because the real reasoning happens inside the network, not in the printed text.
đ§ Borrowing a trick from cortex
Neuroscience shows slow planning circuits guide fast detail circuits. HRM copies that idea: a highâlevel planner updates every few steps, while a lowâlevel worker races inside each planner step, then resets when the planner nudges it forward. The result is deep computation without stacking hundreds of layers.
đď¸ How HRM is built
HRM copies an idea from neuroscience. It runs two small recurrent networks side by side: a slow âHâmoduleâ that plans and a fast âLâmoduleâ that executes microâmoves. The fast loop works on a subâproblem until its state settles. Then the slow loop updates the overall strategy and hands back a fresh subâgoal. This nested reset stops the earlyâconvergence trap that hurts classic RNNs and sidesteps the vanishingâgradient issue that comes with stacking more Transformer layers. Training uses a oneâstep gradient shortcut instead of full backâpropagationâthroughâtime, so memory stays constant.
⥠Tiny data, no preâtraining
The team fed HRM only 1âŻ000 inputâoutput pairs per task. No internet crawl, no handâwritten chains of thought. They also attach an adaptive halting head that learns when to stop thinking; easy cases finish in a couple of cycles, hard ones take more, which saves GPU minutes.
đ Performance on tough puzzles
On the ARCâAGI abstractâreasoning test HRM scores 40.3%, beating o3âminiâhigh at 34.5% and ClaudeâŻ3.7âŻSonnet at 21.2%, despite using fewer parameters and a shorter context, as shown in the paper. On SudokuâExtreme and 30Ă30 mazes the usual chainâofâthought models score 0%, while HRM reaches nearâperfect accuracy after the same 1âŻ000 examples.
đ Why it runs faster
Because HRM thinks in its latent space, the model produces only the final answer, not a long narrative. Inference is parallel across tokens too, so an entire Sudoku grid resolves in one forward pass.
đ Peeking inside the hidden loops
When researchers decode intermediate states they see the fast loop exploring multiple maze paths at once, pruning dead ends, then handing a condensed map to the slow loop which refines the global route. In Sudoku the hidden states mimic depthâfirst search with backtracking. The behaviour varies by task, hinting that HRM learns different algorithms on its own.
đ¤ A brainâlike separation of roles
The paper measures representational dimensionality and finds the slow module lives in a space almost 3Ă larger than the fast module. Neuroscience reports a similar jump between lowâlevel sensory cortex and highâlevel prefrontal cortex. The match is striking because it emerges from training, not from hand coding.
đ¸ Why you might care
HRM hints that swapping endless layers for a small hierarchy plus cheap recurrence can give LLMâlevel reasoning at RaspberryâPi costs. It also scales at inference: raise the ACT cap, and accuracy climbs further with no retraining.
Many industrial problemsâroute planning, scheduling, scientific searchâneed crisp, deterministic answers and run on limited hardware. HRMâs small weight count plus latent reasoning means edge devices can host it, and managers avoid the tokenâbilling headache of giant model APIs. In Sudoku tests, full training took 2 GPUâhours, and the toughest ARC benchmark fitted in 200 GPUâhours, a tiny slice of normal foundationâmodel budgets.
It runs in milliseconds on standard CPUs with under 200MB RAM, making it perfect for real-time use on edge devices, embedded systems, healthcare diagnostics, climate forecasting (achieving 97% accuracy), and robotic control, areas where traditional large models struggle.
Cost savings are massiveâtraining and inference require less than 1% of the resources needed for GPT-4 or Claude 3âopening advanced AI to startups and low-resource settings and shifting AI progress from scale-focused to smarter, brain-inspired design.
đď¸ How Grok 4 Learns While You Sleep with Continual Reinforcement Learning
Just a few days back Elon Musk said âThe continuous RL improvement of Grok feels like AGI. Grok 4 today is smarter than Grok 4 a few days ago.â He described Grok 3 as having a âlivingâ architecture that âcan continuously learn and adapt without catastrophic forgetting.â
In other words, Grokâs model can be updated with new training data or interactions without losing its existing knowledge â a property critical for ongoing self-improvement.
I just wanted to understand how this technique possibly works. We can not be sure, as you may not expect xAI to divulge their techniques fully.
But not this is obvious that Grok 4 is not a static model but is being iteratively improved (likely on xAIâs servers) even after its release. In practical terms, xAI might be continuously fine-tuning Grok on new data or interactions, using automated reward signals. The improvement over âa few daysâ suggests a short feedback loop â possibly online fine-tuning runs or periodic model refreshes happening in near-real-time.
Indeed, Grok 4 might be the first model trained with new self-play style methods, such as Absolute Zero or the Darwin Godel machines.
Continuous reinforcement learning keeps an AI in âupdate modeâ all the time, so the model can watch what just happened, score the outcome, tweak a tiny slice of its weights, and roll back into service while the rest of the network stays frozen. Because the loop is small, quick, and always on, the system gets a steady trickle of refinements instead of a heavy, onceâaâyear overhaul.
đ¤ What âcontinuous reinforcement learningâ means
When people say reinforcement learning, they mean trialâandâerror: the agent does something, the environment shoots back a reward signal, and the agent adjusts its policy to chase bigger rewards next time. That recipe dates back to operantâconditioning ideas in psychology and underpins modern RL textbooks. In software we model the backâandâforth as a Markov decision process, then use algorithms like policy gradients or Qâlearning to push expected reward up over time
Start with this image of continuous reinforcement learning
The picture shows the standard routine in continuous reinforcement learning. Tasks, drawn as little vehicles, arrive one after another along the timeline. Each time a new task pops up, the same agent trains for a bit, tweaking only what it needs while hanging on to everything it learned before. Working this way means the model adds fresh knowledge on top of old skills rather than starting from zero each round.
Once the quick training step finishes, the agent is tested on the entire stack of tasks it has seen so far, not just the newest one. That rolling exam checks whether the system still remembers earlier lessons and tackles the longâstanding stabilityâplasticity struggle that surveys flag as the big hurdle in continuous reinforcement learning.
đ From oneâshot RL to continuous RL
Classic RL assumes training stops once the agent looks âgood enough.â Continual or continuous RL drops that stopping rule and treats learning as an endless side job. In everyday life the closest analogy is a teacher who marks every homework sheet the moment it lands and nudges the lesson plan every night.
Key ingredients never change:
A flow of fresh experience.
A reward signal for each slice of experience.
A fast update rule.
What changes is that the loop never pauses, so the agent keeps adapting to drifts in the real world.
Now coming back to the case of Grok 4, it shipped with fixed weights, but a static brain would turn stale fast, so xAI built a way to push fresh reinforcementâlearning (RL) updates straight into the live model.
Grok 4 sidesteps that trap by running continuous RL fineâtuning on new user data and synthetic challenges. xAIâs own notes say the team reâoptimises policies on a 200,000âGPU cluster and rolls new checkpoints every few days.
đĄ Where Grok finds new reward signals
User reactions. X users can heart, repost, or report replies. Each action gets converted to a scalar reward and logged.
Synthetic selfâplay. Grok tests itself on harder and harder tasks generated by earlier checkpoints, a pattern echoed in the SeRL âselfâplay RLâ paper from May 2025.
Tutor sessions. xAI employees film emotionârich chats so the model learns how people actually talk, as revealed in a July 2025 BusinessâŻInsider report.
Those three streams funnel into the reward model each night. Anything that tanks helpfulness or safety gets filtered by automated critics and a small team of reviewers.
Every reply you like, skip, or report on X lands in a log bucket. A reward model, a much smaller network, learns to guess those +1/â1 scores from text alone. Metaâs May 2025 RLUF study proved that fitting a reward model on real user signals can lift satisfaction by about 28% without any expensive human ranking session.
And then xAI most probably runs Direct Preference Optimisation (DPO) to push the LoRA adapters toward answers the reward model likes.
Thatâs a wrap for today, see you all tomorrow.





