Activation Steering: One Dial, Two Costs
Activation steering edits a model's internal activations to add or remove a concept at inference time. This explainer maps its one control knob, its two costs, and when it beats prompting.
Loading…
Topic
750 posts about LLMs. Every summary links to the original.
See the idea
Activation steering edits a model's internal activations to add or remove a concept at inference time. This explainer maps its one control knob, its two costs, and when it beats prompting.
Antibody discovery is a three-stage prediction pipeline, and AI models that excel on familiar targets degrade sharply on unfamiliar ones. This explainer maps where that gap appears and what it costs.
Agent memory is the knowledge that survives a run, not the working state inside one. This explainer separates the two, then maps the write path, the read path, and the database limits that cap recall.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Ai2 released Olmicro, a suite of five fully open base language models from 275 million to 2.7 billion parameters, built for research and experimentation on modest compute. The models use a hybrid architecture combining 80% recurrent Gated DeltaNet layers with 20% full-attention layers, eliminating positional encodings and reducing KV cache memory to roughly a fifth of an equivalent all-attention model. All five sizes share a consistent three-stage training recipe and support context lengths up to 64,000 tokens. Olmicro 2.7B matches strong open base models like SmolLM3 3B on OlmoBaseEval while training on less than half the tokens. Post-training experiments showed that reinforcement learning alone at least doubled MATH-500 accuracy across all model sizes in 400 steps, with the 2.7B model improving from 37.4% to 77.3%.
Mellum2.1 Instruct is a new open 12B mixture-of-experts model with 2.5B active parameters, built on the same architecture as Mellum2.1 Thinking but providing straight answers without chain-of-thought reasoning for coding agents and tool loops. It was trained with two reinforcement learning stages using NVIDIA NeMo libraries, first on standalone tasks and then on agentic tasks in real repositories with shell and file tools. On agentic coding tasks, it generates about half as many tokens as the Thinking variant and performs almost as well on SWE-bench Verified. It is about 1.4x faster than Qwen3.5 9B for single requests and 1.8x faster under load, with only 2.5B active parameters. Mellum2.1 Instruct is available on Hugging Face under Apache 2.0 with GGUF files for local inference and a multi-token prediction head for up to 1.8x faster generation.
Together AI launched Qwen4 Max, Alibaba’s flagship 2.4-trillion-parameter sparse mixture-of-experts model, on its Serverless Inference platform with a 1M-token context window. The post demonstrates a single-request test: the model received a bug report and all 344 files of the Tornado repository (652,519 tokens) without retrieval or tool use. In 72 seconds, it returned a patch that passes the maintainers’ regression tests and the full 1,673-test suite. The model independently identified a precedent in tornado/iostream.py that the maintainers also cited in their own fix. Sale pricing through November 22, 2026, is $1.05 per 1M input tokens, $0.0525 per 1M cached input tokens, and $3.15 per 1M output tokens.
A software engineer with over seven years of experience built a software factory called Squid to ship projects with minimal human intervention, but the first version was overbuilt and abandoned. The article formalizes the software factory as eight stages across three buckets: what to build, actual building and checking, and self-improving, with a shared context layer feeding data into the front of the pipeline. The human is most needed in brainstorming and planning, where taste and high-leverage decisions live, while agents handle grunt work and execution. The author recommends using the strongest model for planning and cheaper models for execution, and warns that a weak plan causes more retries and higher costs. The article advises starting with the smallest loop that automates one annoying part of your job, and buying off-the-shelf solutions when engineers you don’t supervise run agents.
PostgreSQL 19 shipped more than a month later than its usual September-to-October window because a surge of bug reports found by large language models (LLMs) overwhelmed committers. The number of back-patched commits to the release branch jumped by more than 60% compared to the previous year, and commits to the prior stable branch rose by more than 74%. Quarterly update releases in 2026 fixed 5, 11, and 28 CVEs, up from 1 to 4 per release in prior years. Committers spent time fixing security issues and other bugs in back branches instead of reviewing new features, causing some features to be deferred. The project issued a second release candidate to incorporate fixes from the November 12 update release before shipping.
Thinking Machines Lab released Inkling 2 Mini, a 26B-parameter multimodal mixture-of-experts model with 3B active parameters per token, designed for local AI setups. It uses a looped transformer where 12 middle layers run three times per token, effectively acting as 48 logical layers. The model supports 1M-token context, accepts images and text, and is available in mixed-precision formats (NVFP4, MXFP8) with a DSpark drafter for additional speed. It leads in 32 of 48 benchmarks compared to models like Gemma 4 31B and Qwen3.8-27B, and is supported in transformers, llama.cpp, MLX, and SGLang. A research variant allows variable loop passes for faster inference at a potential quality trade-off.
The post examines whether teams building AI features can skip A/B tests and make shipping decisions based solely on offline evals while bounding the risk of harming online metrics. It formalizes the problem as needing the conditional distribution of the true online treatment effect given the observed offline eval effect, which requires strong assumptions about homogeneity and exchangeability across changes. A simplified working model assumes bivariate normality and known measurement errors, but ignoring measurement error can severely underestimate the correlation, as shown where naive R² is 24% versus true 60%. The post describes constructing a decision gate with thresholds that depend on the strength of the surrogate relationship, and notes that drift must be monitored via an audit pool of randomly selected A/B tests. The conclusion is that while possible in principle, the assumptions are hard to verify and maintain, so Spotify continues to pair offline evals with online experiments.
Training large language models across geographically distributed datacenters is difficult because standard data-parallel training stalls on low-bandwidth wide-area networks. DiLoCo, developed by Google DeepMind and Google Research, addresses this by partitioning training into independent groups, or learners, that perform many local optimization steps before synchronizing globally. Streaming DiLoCo further improves efficiency by dividing the model parameters into multiple fragments and synchronizing one fragment per training step, spreading communication evenly instead of causing periodic spikes. In MaxText, Google’s JAX-based LLM training framework, host-CPU syncer workers perform distributed all-reduce of fragment deltas in the background while TPUs continue local training. Evaluations on models like Qwen3-32B show that Streaming DiLoCo achieves comparable or slightly better convergence than synchronous data parallel while requiring only a fraction of the network bandwidth, enabling training across congested inter-datacenter links.
RadixArk releases DaisyRose-27B, its first model, built on Qwen3.8-27B and trained with reinforcement learning using Miles on long-horizon agent tasks. Training used 1,200 curated tasks with sessions up to 1M tokens, running for 18 days on 144 H200 GPUs, and harness summarization to span multiple trajectories. DaisyRose-27B improves Terminal-Bench 4.1 pass@1 from 5.6% to 12.0% and delivers gains on reasoning, instruction following, and coding benchmarks. The training backend achieved 37% model FLOPs utilization, reducing training cost by 57% and achieving 2x faster end-to-end throughput compared to the open-source trainer. Checkpoints are available under Apache 2.0 in BF16, FP8, and NVFP4 formats, and the model retains the Qwen3.8-27B architecture and 256K-token context window.
Sparse attention limits each query to attending to only a small subset of the context, cutting compute and memory traffic on long sequences, but the indexer that finds those keys still scores all N keys. This post is a practical primer for model developers designing model-level sparse attention that runs well on NVIDIA GPUs. It uses a production FP8 kernel to sweep the indexer’s design knobs, including query heads, key heads, head dimension, compression ratio, and speculative-decoding depth. The measurements show that decode runtime is nearly independent of group size because the single key cache read sets the bottleneck, while prefill runtime grows with group size. The post concludes with eight guidelines for efficient indexer, Top-k, and core attention design on NVIDIA hardware.
Ramp built Ramp SWE-Bench V2 to evaluate how different LLMs perform on coding tasks drawn from real engineering work. The original V1 graded solutions by running them against a predefined test suite, but those tests were often overspecified or underspecified. V2 replaced test-based grading with LLM judges that compare candidate patches against an engineer-reviewed gold patch. A multi-step pipeline separates identifying differences between patches from judging whether those differences matter, and then has judges deliberate to reach a consensus. This approach raised judge agreement from 54% to 94%, and engineers agreed with nearly 90% of the pipeline’s task-level verdicts.
Google’s TPU codesign guide provides hardware-grounded rules for maximizing performance on TPUs, which trade general-purpose scheduling for wide systolic arrays and custom interconnects. Shape rules require aligning every reduction and output dimension to 256 and using static shapes with bucketing and masking to avoid recompilation. Architecture choices include LatentMoE to compress routed token traffic, shared experts to reduce HBM reads, and block-scaled FP8 for memory-bound layers. Parallelism strategies map DP, TP, EP, CP, and PP axes directly to physical ICI links, with EP placed on a short 1D torus axis. Measured benchmarks show pure systems tuning lifted an open 30B MoE from 12% to 23% MFU before any model change, and 256-aligned MoEs run at roughly 2x the throughput of unaligned models.
Reinforcement learning for large language models suffers from numerical instability when the sampler and trainer assign different logprobs to the same action, creating a hidden off-policy gap. This mismatch arises because floating-point addition is non-associative, and differing execution paths use different reduction orders and intermediate precision, especially in bfloat16. The authors’ Zero-TIM implementation closes this gap by locking within-shard kernel accumulation, ordering cross-shard reductions, standardising the logprob scoring tail, and wrapping serving kernels with custom differentiation rules. Verified across 64 TPU v5p chips, the approach records zero mean absolute sampler–trainer logprob difference at every logged step in a 200-step test. The implementation is open-source in Google’s Tunix library and provides a modular blueprint for bit-exact on-policy RL on TPU.
The authors asked 12 AI models for their most controversial opinion about programming languages, 1,200 times total, to see whether models produce varied takes or repeat the same ones. When told to pick a language at random, models overwhelmingly chose Go or Python, and 75% of all responses attacked the language they selected. Python, Rust, and TypeScript absorbed 600 of the 904 attacks, while PHP and Java received almost universal defense. Go’s error handling was the only topic that split models evenly, with 118 attacks and 118 defenses, and two models argued both sides across different conversations. The experiment cost USD 7.68 in API fees and found that models largely share the same narrow set of opinions, with heavy repetition of phrases like “boilerplate” and “overrated.”
The number of AI penetration testing orchestration frameworks has exploded from one to over 50 families in weeks, with daily requests increasing 30x since October 1. The original ARTEX framework was taken down by its creator on October 8, but this caused a hydra effect, spawning over 12,000 repositories and hundreds of similar autonomous frameworks. These tools use parallel AI agents to map environments onto graphs and execute the Cyber Kill Chain at inference speed, turning compromises into hill-climbable problems. Attackers chain stolen static credentials from CI/CD pipelines with these frameworks to perform lateral movement across hyperscaler and Cloudflare environments. Cloudflare recommends the Modern Security Model, which includes WAF with rate limits, anomaly detection, Bot Defense, Identity-Gated Access, validated schemas, and threat intelligence.
XYBench is a benchmark of over 8,000 questions that tests whether AI assistants recognize when a user’s request is based on a misconception and redirect them toward their actual goal. Developed with Carnegie Mellon, NVIDIA, and Johns Hopkins, XYBench won the Best Resource Paper Award at EMNLP 2026. The benchmark measures three aspects: whether solutions to stated and intended requests appear, which is emphasized, and if the misconception is identified. Evaluations of five models showed they often include solutions to the stated request but less frequently focus on the underlying goal, unlike humans. An oracle experiment improved solution inclusion but not misconception identification, and models recognized useful advice in multiple-choice but failed to produce it.
llama.cpp v1.0.0 marks the project’s first stable library release after 3.5 years of development, formalizing API and ABI stability for the growing ecosystem of downstream applications. The release adopts semantic versioning for both llama.cpp and ggml, with MAJOR bumps indicating breaking changes to the public C API in the ./include directory and MINOR bumps for backward-compatible features. Distribution now spans Docker, Homebrew, conda-forge, MacPorts, Winget, and XCFramework, alongside pre-release artifacts for Linux, macOS, Windows, Android, and iOS. The underlying ggml engine supports over 150 model architecture variants and all mainstream speculative decoding methods through dedicated backends compiled as dynamic libraries that can be loaded at runtime. Hardware support from NVIDIA, AMD, Qualcomm, Arm, IBM, and Intel enables continuous CI testing across all major platforms, with the team investing in HF Buckets and HF Jobs for scalability.
Anthropic introduced Claude Opus 4 and Claude Sonnet 4, setting new standards for coding, advanced reasoning, and AI agents. Claude Opus 4 is described as the world’s best coding model, leading on SWE-bench (72.5%) and Terminal-bench (43.2%), with sustained performance on long-running tasks. Claude Sonnet 4 significantly improves on Sonnet 3.7, achieving 72.7% on SWE-bench and excelling in agentic scenarios. Both models are hybrid, offering near-instant responses and extended thinking, which now supports tool use, parallel tool execution, and improved memory via local file access. Claude Code became generally available with VS Code and JetBrains extensions, GitHub Actions background tasks, and an extensible SDK.
LLMON is a markup language that uses reserved special tokens to explicitly communicate structure and semantics to LLMs, addressing brittleness and prompt injection vulnerabilities. Components like instructions and data are marked with meaningful tags and unique IDs, enabling explicit binding between them. The authors release two experimental preview models derived from Granite 4.1 base models, trained to consume and generate LLMON-marked text. On the OPI benchmark, LLMON models achieve near-zero attack success rates for indirect prompt injections, outperforming the best frontier model by 47% while maintaining general capability comparable to Granite 4.1 Instruct models. LLMON enriches chat templates by adding component-level semantics and binding, and the models are trained through re-serialized instruction-tuning data and reinforcement learning.
Language model alignment improves outputs to reflect human preferences while preserving base model capabilities. The authors characterize the information-theoretic limits of KL-regularized alignment by deriving the maximum achievable expected reward gain for a fixed KL-divergence budget. Their first result provides a closed-form expression for optimal reward improvement, governed by a Jeffreys divergence term rather than the square root of KL used in prior analyses. They extend the analysis to proxy reward settings, showing that reward hacking grows with reward error magnitude and decreases when the KL penalty factor is smaller, and prove that reward ensembling mitigates this issue. Empirically, best-of-N closely approaches the theoretical limit for safety and summarization tasks, while PPO and GRPO remain substantially suboptimal.
The best engineering reads, once a week.