THE AIEDGE NEWSLETTER
In-depth AI explanations, practical code, and the math behind the methods.
LATEST DEEP DIVE
Nov 30, 2026
How DSPy Searches for Better Prompts
Follow one two-module program through demonstration search, joint configuration search, and reflective evolution.
Read Deep Dive →
Nov 27, 2026
•
13 min read
How Masked Diffusion LLMs Generate Text
Follow reconstruction training into parallel predictions, successive commitments, and the work behind faster generation.
Nov 23, 2026
12 min read
How LLMs Encode Token Position
Follow learned vectors, sinusoids, RoPE, and ALiBi from token indices to attention scores.
Nov 20, 2026
How RAG Stays in Sync with Its Sources
Follow document edits through indexing, version publication, permissions, and cached answers.
Nov 16, 2026
15 min read
How PPO, RLOO, and GRPO Train LLMs
Follow rewards through prefix predictions, response groups, and clipped updates to understand what each method changes.
Nov 13, 2026
How FlashAttention Speeds Up LLM Attention
Follow the running sum that saves GPU memory, then see how training and decoding change the work.
Nov 9, 2026
19 min read
How Astra Edited Qwen’s Weights
From diagnosing repetitive reasoning to a persistent patch, and what the results establish about weight-space programming.
Nov 6, 2026
How LLM Distillation Trains Smaller Models
From teacher-written answers to probability targets and feedback on the student’s own output.
Nov 2, 2026
How Quantization Compresses LLMs
Follow GPTQ, AWQ, and SmoothQuant through weight compensation, channel scaling, and low-precision execution.
Oct 30, 2026
How CUDA Graphs Speed Up LLM Inference
Replay GPU operations with fresh tokens, growing caches, and changing batches.
Oct 26, 2026
How LLM Rerankers Order Retrieved Passages
Follow pointwise scores, pairwise preferences, and listwise windows from model judgment to useful context.
Oct 23, 2026
14 min read
How Looped Transformers Reuse Their Weights
Follow changing attention states, shared gradients, and the real cost of extra passes.
Oct 19, 2026
24 min read
How the KV Cache Shapes AI Agent Costs
Why shrinking the cache, reusing a prefix, and keeping it nearby save different resources.
Oct 16, 2026
21 min read
How Hybrid LLMs Combine Memory, Attention, and Experts
Follow Mamba-2, Gated DeltaNet and KDA from state updates to the costs that active parameter counts miss.
Oct 12, 2026
29 min read
How Persistent Agents Keep Working
Reconstruct a coding task’s context, preserve accepted work, and recover safely when a worker disappears.
Oct 9, 2026
22 min read
How Self-Improving Agents Learn from Experience
How executable tasks and adaptive curricula turn production failures into useful practice.
Oct 7, 2026
45 min read
How DeepSeek V4.1 Flash Separates Reading and Generation
How a shorter input path, shared attention memory, and selective reconstruction change the cost of long conversations.
Oct 3, 2026
23 min read
Build a Jev-Supervised AI Agent
Typed decisions, guarded tools, and a measured comparison with LLM supervisors
Sep 30, 2026
How Jev Turns Questions Into Decisions
Inside the state, typed-output, probability, and application-policy contracts of a decision model
Sep 28, 2026
16 min read
The Complete Guide to Evaluation Pipelines for AI Agents
From production traces and isolated trials to evidence you can use for release decisions
Sep 25, 2026
7 min read
How AI Agent Memory Updates a Changed Preference
Follow one correction from a user message to the active fact a future task retrieves.
Sep 23, 2026
8 min read
How LLM Routers Balance Cache Reuse and Queue Time
Four routing strategies, one repeated prompt, and the point where a cold replica wins
Sep 21, 2026
11 min read
How Test-Time Scaling Allocates LLM Reasoning Across Depth, Width, and Feedback
Why the same inference budget can finish one path, explore alternatives, or learn from a failure
Sep 18, 2026
9 min read
How Constrained Decoding Makes LLM Outputs Follow a Schema
The decoder can guarantee the shape of a tool call while leaving its values completely wrong.
Sep 16, 2026
How Sparse Attention Makes Long-Context LLMs Cheaper, and What It Misses
Full reach, sliding windows, and learned selectors turn the same prompt into three different evidence sets.
Sep 14, 2026
Four Retrieval Techniques for Video Search
Why frame rate, change detection, temporal hierarchy, and targeted rewatching fail in different ways
Sep 11, 2026
Deep Dive: How AI Text Watermarks Work
How a language model leaves a detectable pattern in its word choices, and why copying the text preserves it.
Sep 9, 2026
10 min read
Deep Dive: How Speculative Decoding Makes LLMs Faster
How a smaller model helps a larger model generate text faster without changing its output distribution.