r/MachineLearning • u/Typical_Incident_584 • 4d ago
Discussion How I’ve understood Post-Transformer AI + how BDH, Mamba and RWKV handle memory[D]
First off, the term itself is a little vague. Transformers are still the underlying architecture for most LLMs and reasoning models. Post-Transformer AI is more of an umbrella term for newer model designs that rethink how LLMs process information. Some replace full attention with a running memory that updates as the model reads, while hybrid approaches keep attention in some layers and use a different mechanism in others. Which design makes sense depends on what you need the model to do.
Let's take a simple example. Imagine receiving two texts about the same movie:
"It starts at 6."
Later:
"Actually, it starts at 8."
What time should you show up? 8. What time did the first text say? 6. A model might get the first question right even after it has lost the answer to the second.
You could simply write down both times. That's easy enough if you know what someone might ask. But what if they ask about a completely different detail from the first text?
With full attention, a model can look back at earlier positions as long as they're still in context. However, this requires storing key and value data for each previous position, so the cache grows with the conversation. Many attention alternatives instead maintain a fixed-size memory, which means deciding what to keep and what to let go of. Let's look at a few approaches here.
Pathway's Dragon Hatchling (BDH) uses a fast working state that strengthens associations between active features as it reads. Its learned weights also hold parametric memory, and those weights stay fixed during the reported inference. In BDH-CQ, a puzzle-solving variant, worked examples update the fast memory. For a new puzzle, a separate internal workspace lets the solver refine an answer over several passes. The memory holds what the examples showed, while the workspace is where it works on the new puzzle. Transferring useful changes from fast state into slow weights is a future research direction, not a demonstrated way to carry a new rule across fresh sessions.
Mamba and RWKV-7 both carry a running state. Before BDH, Mamba and RWKV were already promising early approaches in the post-Transformer space. In both cases, each new input helps determine how the state gets updated, but its size stays fixed as the conversation grows. By the time you ask about 6, enough information to recover the original time has to have survived those updates. RWKV-7 also maintains a fixed-size state, but uses a different rule to decide what to keep or overwrite as it reads.
AI21's Jamba-1.5 takes a hybrid approach, using one attention layer for every seven Mamba layers. This means some layers can still look back at individual positions in the log. The 1:7 ratio is specific to that design.
Moonshot's Kimi Linear is another hybrid. It uses three recurrent Kimi Delta Attention layers for every full attention layer. Both Jamba and Kimi retain some direct access to earlier positions, but their recurrent layers work differently.
Google's Titans offers another contrast. It's also a hybrid, using prediction error to update a separate neural memory during inference. That's a different update rule from Mamba's running state or BDH's fast associations.
I'd compare these Transformer successors and alternatives with full attention using made-up movie times. Add unrelated messages after the correction, check that the inputs fit without truncation, and ask each question on a fresh copy of the same chat. On the same hardware, I'd record peak memory and score the answers separately. Forgetting 6 and telling someone to show up at 6 are different failures.
Does anyone know a benchmark that asks both "what's the value now?" and "what was it before the correction?" on the same input and reports the two scores separately?