Latest / Models & Agents / Ep 34: Qwen3.6-27B paired with llama.cpp speculative decoding delivers 10x token speedups in real coding sessions, hitting 136 t/s on consumer hardware.
Transcript
- 0:00Hey, welcome to Models and Agents Episode 34 for April 23, 2026, your daily AI briefing.
- 0:06Let's see what happened in the AI world today. And trust me, it's been busy.
- 0:10The standout story today is the dramatic inference acceleration developers are seeing with the new
- 0:14Quinn 3.6 to 27B model when using N-gram-based speculative decoding in Lama.cpp.
- 0:21Community members report generation speeds climbing from 13 tokens per second to over 136 tokens per
- 0:28second within the same session on dual GPU consumer rigs. At the same time, the model shows strong coding
- 0:34judgment, bug fixing from screenshots, and aesthetic code output that rivals much larger models.
- 0:41Several RxEV papers also dropped exploring hallucination neurons, stereotype localization,
- 0:46memory architectures for agents and KV cache optimizations. Pay attention to the rapid
- 0:51maturation of local inference tooling. This week's practical gains feel more impactful than many
- 0:56benchmark headlines. What you need to know is that local models just got a whole lot more usable
- 1:02for real coding work and agent memory research is finally moving beyond stateless resets.
- 1:07The top story today comes from Google Cloud AI Research and UIUC. They introduced Reasoning Bank,
- 1:14a memory framework that lets LLM agents distill generalizable reasoning strategies from both their
- 1:18successes and failures. The system combines experience distillation with test time scaling.
- 1:24This allows agents to incrementally improve their reasoning policies rather than treating
- 1:28each interaction as stateless. Unlike traditional replay buffers that simply store trajectories,
- 1:34Reasoning Bank extracts reusable strategies. It creates a form of procedural memory that transfers
- 1:39across tasks. Early results suggest agents genuinely get better over time instead of plateauing,
- 1:45which has been a persistent weakness in production agent deployments. Developers building autonomous
- 1:51workflows should watch this closely. Persistent reasoning improvement is one of the missing
- 1:56pieces for agents handling core business operations. The work directly addresses the trust question.
- 2:02Many enterprises are asking before they let agents touch real processes. Expect follow-up releases
- 2:08and open source implementations as the team refines the approach. Now on the model side,
- 2:12Quin 3.6 to 27b is turning heads in the local LLM community. Developers switching from Open AI APIs
- 2:20to Quin 3.6 to 27b in Open Code for Svelte 5 development report near perfect results on first try.
- 2:28Even when the paid APIs were failing, this 27 billion parameter model delivered production grade code
- 2:34quality. Many users say it exceeds expectations for its size, particularly in frontend frameworks.
- 2:40This continues Alibaba's strong momentum in open coding models.
- 2:44It suggests the next 12 months of local coding agents will be highly competitive. The real fireworks
- 2:50though came when one developer paired Quin 3.6 to 27b with speculative decoding in la-maw.cpp.
- 2:58Using the same Quin 3.6 to 27b-q80 model, token generation climbed from 13.6 tokens per second to
- 3:05136.75 tokens per second. All it took was adding the in-gram mod speculative decoding flag with
- 3:13appropriate settings in la-maw server. The model successfully debugged browser console errors from
- 3:18screenshots. It produced high quality aesthetic code throughout the entire session. With 40 gigabytes
- 3:24of VRAM and 128 gigabytes of RAM, this setup makes 27 billion parameter class models feel remarkably
- 3:31responsive for iterative coding workflows. That is the kind of leap that changes how you actually use
- 3:36these models day-to-day. On the research front, a new RXC paper asks whether hallucination neurons
- 3:42generalize. The study looked across six domains and five open-weight models ranging from three to
- 3:48eight billion parameters. It found that hallucination neurons identified in one domain transfer poorly
- 3:54to others. The area under the receiver operating characteristic curve drops from 0.783 within
- 4:01domain to 0.563 cross domain. This indicates hallucination mechanisms are largely domain specific
- 4:08rather than a universal sparse signature. The finding has immediate implications for anyone building
- 4:13neuron level detectors. They must be calibrated per domain rather than trained once and applied broadly.
- 4:20Another paper explores whether we can locate and prevent stereotypes in large language models.
- 4:24Researchers mapped stereotype-related activations in both GPT-2 small and llama-3.2. They
- 4:32identified individual contrastive neurons and attention heads responsible for biased outputs.
- 4:37The work provides initial bias fingerprints that could enable targeted mitigation.
- 4:42While still early stage, it moves the field from behavioral observation toward
- 4:46mechanistic understanding of where stereotypes actually live inside transformer weights.
- 4:51Shifting to agent and tool developments, Liza released Cognis,
- 4:54an open-source context-aware memory architecture for conversational AI agents. It uses dual-store
- 5:01retrieval combining BM-25 with matrioshka embeddings fused by reciprocal rank fusion.
- 5:07The system adds context-aware ingestion that checks existing memories before writing new ones,
- 5:13plus temporal boosting and a BGE-2 re-ranker. Cognis achieved state-of-the-art results on the locomo
- 5:20and long mammal benchmarks. It has already deployed in production, which gives developers a practical
- 5:25path to persistent personalized conversational agents without starting from scratch.
- 5:30Another interesting framework is O-Think-S-R-R1, which tackles noisy retrieval and high latency
- 5:35in multi-hop retrieval augmented generation. It introduces an iterative search, refine,
- 5:41and reason loop trained with GRPO-Y-R reinforcement learning. The refined stage distills documents
- 5:47into concise facts before reasoning begins. A reward model penalizes excessive retrievals to keep
- 5:53things efficient. The approach outperforms strong baselines on four multi-hop question answering
- 5:59benchmarks while using fewer steps and tokens. It looks like a promising base for information-seeking
- 6:04agents. In the practical and community space, a team benchmarked 18 different large-language models
- 6:10on optical character recognition and document extraction. They ran 7,560 identical calls across 42
- 6:18standard documents. The surprising result is that smaller, older, cheaper models frequently match
- 6:24or beat flagship models on accuracy while costing far less. The team opened source the full data set
- 6:31framework leaderboard and a free tool for testing your own documents. If your workflows default to
- 6:36the newest model for OCR tasks, this benchmark is worth auditing against. There is also a new
- 6:41caggle competition called 2B or not 2B. It tasks participants with deciding when to run a small
- 6:472 billion parameter model versus skipping inference entirely on MML-U-style questions.
- 6:54The goal is optimizing a cost-based metric that penalizes both unnecessary compute and
- 6:59missed correct answers. The setup is deliberately simple to encourage creative classifiers or routing
- 7:05rules. It is a practical first step toward intelligent routing systems that could dramatically
- 7:10cut token costs in production. Okay, let us pop the hood on this temporal tiered KV cache design that
- 7:17has been generating discussion. Everyone talks about the KV cache as if it is just a big lookup table
- 7:22you grow linearly with context. In practice, this new approach shows it can be re-architected like a
- 7:28human memory system with fast recent memory and slower archival layers. The core insight is that
- 7:34not all tokens are equally important. Recent tokens need low latency, high precision access,
- 7:41older ones can tolerate lower precision and higher access cost. The temporal tiered KV cache
- 7:46therefore partitions the cache into temporal tiers. Recent blocks stay in fast high bandwidth memory
- 7:52at full precision. Older blocks migrate to dynamic random access memory at reduced precision.
- 7:58This mirrors how we keep immediate context, crystal clear and distant context fuzzier.
- 8:04Blockwise streaming attention overlaps communication and computation when pulling from slow tiers
- 8:09that hides much of the latency penalty. The paper reports a 5.9 four times reduction in cross-tier
- 8:16traffic on 128,000 context tasks. That translates to up to 76% lower latency and two times higher throughput
- 8:24versus strong baselines. The quality gain comes with real engineering trade-offs. You need careful
- 8:30tier sizing, precision scheduling logic and migration policies that do not thrash.
- 8:35Get the layout wrong and you lose the latency wins. So when should you actually reach for this versus
- 8:40uniform KV cache? If you are regularly running 32,000 plus context workloads on hardware with
- 8:47heterogeneous memory, whether high bandwidth memory plus dynamic random access memory or even CPU
- 8:53offload, this tiering approach is becoming essential. The gotcha that bites most teams is assuming
- 8:58uniform importance across the entire context window. Temporal locality is stronger than most
- 9:04attention visualization suggests. If you have not tried Quinn 3.6 to 27bq80.gguf with the N gram
- 9:12speculative decoding flags in llama.cpp this week is the perfect time. Watch the speed climb
- 9:18dramatically as the draft model warms up during your next coding session. Test the arbitrary QOCR
- 9:24mini bench on your own document set before defaulting to the latest flagship model. You may cut cost by
- 9:295 to 10 times with zero accuracy loss. Experiment with Cogniz memory components if you are building
- 9:35conversational agents. Swap in the dual store retriever and context aware ingestion to get persistent
- 9:40personalization without heavy infrastructure. Enter the 2b or not 2b cagle competition even if you
- 9:47only submit a simple classifier. The routing mindset it forces is directly transferable to
- 9:53production cost optimization. Read the reasoning bank paper and consider how you might log agent
- 9:57successes and failures in your own workflows. This distillation approach could be the next big unlock
- 10:03for reliable agents. On the horizon more domain specific fine tunes of Quinn 3.6 are expected in
- 10:09the coming weeks as the community digests its coding and multimodal strengths. Follow-up releases on
- 10:15reasoning bank are likely as Google Cloud AI research turns the memory framework into a reusable
- 10:19library. Continued progress on neuron level interpretability should bring papers that move from
- 10:24locating stereotypes and hallucinations toward actual editing techniques. Keep an eye on consumer
- 10:30inference hardware announcements as the growing frustration around local performance could finally
- 10:35push vendors to ship dedicated edge chips this year. Before we go, tomorrow keep an eye on whether any
- 10:41early open source implementations of reasoning bank appear. That is models and agents for today if
- 10:46you found this useful, share it with someone who is trying to keep up with all these changes and
- 10:50subscribe so you do not miss tomorrow's update. The AI world moves fast we will help you keep up.
- 10:57See you tomorrow. This podcast is curated by Patrick but generated using AI voice synthesis of my
- 11:03voice using 11 labs. The primary reason to do this is I unfortunately don't have the time to be
- 11:09consistent with generating all the content and wanted to focus on creating consistent and regular
- 11:14episodes for all the themes that I enjoy and I hope others do as well.