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
749 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
Meta has deployed Catching JiTTests, a just-in-time test generation system that uses LLMs to catch bugs before they land in production. The system runs overnight on spare capacity and targets risky diffs, using two workflows: a dodgy diff workflow treating each diff as a mutant, and an intent-aware workflow inferring the change’s intention and risks. False positives are filtered through an LLM-as-Judge ensemble and a rule-based assessor called RubFake, with a human-on-the-loop approach where engineers set criteria rather than reviewing each output. In the first half of 2026, the system caught 74 serious privacy bugs, lowered privacy SEVs by 20 percent, and engaged 589 engineers with a 60 percent true-positive rate. This approach catches classes of bugs that traditional LLM-based code reviews might miss, demonstrating that AI-generated testing can scale to reduce organizational risk.
Granite Switch 4.1.1 is a patch release of IBM’s modular language model architecture, following software versioning conventions for full backward compatibility with 4.1. The update introduces an improved Granite Speech ASR model that performs multilingual speech-to-text across ten languages with native punctuation and capitalization, so transcripts are ready for downstream models without a formatting pass. The Decision adapter in granitelib-core has also been updated, delivering better performance on the Jev Decision Index test set. Only the ASR model and Decision adapter were retrained; the base model remains untouched, demonstrating the efficiency of the Switch architecture for incremental updates. This pattern can power far more than patch releases to an IBM-provided model, and IBM plans to release tutorials and an Adapter SDK so developers and third parties can build, version, and ship their own adapters like software, with the new capabilities powering a Speech-to-Decisions demo.
Mistral Large 4 is a multimodal, multilingual MoE model with about 1 trillion total and 49 billion active parameters and a 1 million token context window. Its architecture uses a 1.6B vision encoder and a 72-layer decoder with Multi-head Latent Attention and DeepSeek Sparse Attention, selecting four of 128 experts per token plus a shared expert, and uses LeRope encoding. On cybersecurity, it scores 82% on the Artificial Analysis Cyber Index, 93% on Cybench, and 93.3% attack resistance on the Lakera B3 benchmark. For coding and agentic tasks, it achieves 61.7% on DeepSWE, 49.8% on the Coding Agent Index, and 1,393 Elo on AA-Briefcase, ranking fifth among open-weight models. Released under the Mistral Ecosystem Open-Weight License, it has day-0 support for transformers, vLLM, and llama.cpp, and an 8-H200 endpoint using speculative decoding delivers about 65 tok/s generation and up to 138 tok/s on chat prompts.
Distributed LLM inference puts network performance on the critical path, because prefill/decode disaggregation streams KV-cache state and multi-node MoE expert parallelism requires repeated all-to-all transfers. Traditional Kubernetes device plugins allocate GPUs and SR-IOV VFs as opaque integer counts without PCIe topology awareness, so pods can receive valid-on-paper but misaligned GPU-NIC pairs. Dynamic resource allocation (DRA) fixes this by publishing devices with structured attributes and using matchAttribute on resource.kubernetes.io/pcieRoot to require the GPU and VF share the same PCIe root. On an A100 platform with 200 Gbit/s InfiniBand, aligned placement reached 194.6 Gbit/s versus 127.1 Gbit/s for same-NUMA misalignment and 110.0 Gbit/s cross-NUMA. In a Qwen3.8-27B prefill/decode test with llm-d, aligned placement delivered 2.15x KV-transfer throughput and cut mean latency by 53.6% compared with cross-NUMA placement.
LFM3 is a new generation of Liquid Foundation Models built from a shared 1.7B-parameter backbone supporting text, vision, audio, omni, and decision models. The backbone uses a tri-hybrid architecture with gated short convolutions, sliding-window attention, and global attention, and is pre-trained on 22T tokens with a 256K context window. Six 2B-class models branch from it, including the first omni model and a vision model that accepts video input, each fine-tunable on a single GPU. New in-house encoders reduce compute: the vision encoder uses 3x less compute than SigLIP2, and the audio encoder achieves 50 ms time to first token with streaming decoding at 87x real time. LFM3-1.7B outperforms LFM2.5-2.6B on agentic tasks like WebArena-Verified (38.42 vs 3.02), its vision model averages 71.4 across 62 benchmarks, and its audio model scores 3.83 UTMOSv2 for speech quality.
The post presents a study by Ai2 on the reliability of LLMs as novelty judges for scientific research ideas, using six models including GPT-5.4 and Claude Opus 4.6. The researchers mined ICLR 2026 peer reviews to create a validated pool of 154 high-novelty and 145 lower-novelty human ideas, then paired them with 154 simple AI-generated ideas. Testing revealed that small prompt changes could shift accuracy by over 50 percentage points on AI-generated ideas, such as GPT-5.4 dropping from 93.5% to 40.9% with a simpler prompt. Additional search and reasoning did not consistently improve judgments; a simple Claude Opus 4.6 baseline achieved 0.854 macro-F1 at $2.59, while AI Scientist scored 0.772 at $82.05. The findings indicate that LLM-based novelty evaluation remains unreliable, particularly for AI-generated ideas, and the authors release benchmark data and an automated pipeline for future research.
General-purpose language models often lack local knowledge and cultural precision needed for specific applications. NVIDIA released Nemotron-Personas datasets for France and Belgium, grounded in demographic and geographic distributions, to enable locale-specific fine-tuning of open models. Using these persona datasets, the tutorial demonstrates a complete workflow that generates synthetic conversations with grounded personas, fine-tunes Nemotron models using LoRA and the NVIDIA NeMo stack, and evaluates the adapted model against the base on task correctness, fluency, and safety. In an example passport-application query for a user unable to travel, the fine-tuned model correctly directs them to request a home visit with a medical certificate, whereas the base model gives unsupported postal application advice that conflicts with official procedures. The same workflow can be applied to other domains and languages by swapping in different personas, behavior contracts, and domain-specific reviewers, supporting regional customization across markets.
Atos completed a proof of value for a German public sector customer, using Red Hat OpenShift AI to fine-tune small language models for structured data extraction and violence detection from social media comments. The challenge required self-hosted models for data sovereignty, extracting 14 features into valid JSON, and accurately identifying violence triggers. The solution combined synthetic data generation with GPT-4.1 as teacher and supervised fine-tuning on three student models (Phi-4 Mini 3.8B, Qwen 2.5 1.5B, Qwen 2.5 7B) trained on only 3 NVIDIA L40 GPUs. A custom 34-point rubric evaluated JSON validity, entity extraction, and violence detection against domain-specific eval data. The fine-tuned Phi-4 Mini scored 30 points, outperforming GPT-4.1’s 29 points, with JSON validity reaching 99% from a base of 1%, while the Qwen 2.5 7B scored 30.8 points.
Tool calling bridges the gap between text generation and task execution, giving LLMs bounded hands to query APIs or trigger workflows without agent frameworks like LangChain. Apache Camel’s camel-openai loop registers existing routes as callable tools inside a synchronous, bounded loop that limits tool-call iterations and returns outputs directly. Controls like maxToolIterations, argSchema, tags, returnDirect, and destructiveHint are infrastructure-level knobs the model cannot argue past. The architecture is vendor-neutral, supporting any OpenAI-compatible API including local engines like Ollama and llama.cpp, and tools can be published as MCP servers with one tag. The model handles interpretation while Camel routes execute, retry, and handle errors, making the system testable, predictable, and safe for production operations without autonomous risk.
Standard text-to-speech (TTS) models perform well on short interactions but fail to produce natural audiobook narrations because they cannot reliably change speaking style between characters. This creates difficulty for listeners in distinguishing narration from dialogue and identifying which character is speaking. Audible’s technology team developed a controllable TTS system that uses natural-language speech descriptions (e.g., “speak in an enthusiastic, high-pitched voice”) to control dialogue delivery, leveraging LLMs for deep textual understanding. The approach includes a novel data synthesis pipeline that generates speech data with prosodic captions, and BookLLM, a system that automatically profiles characters with 97% accuracy and captions dialogue lines. In MUSHRA tests, the system improved dialogue differentiation by 3.7 points across English and Spanish, with statistically significant improvement for eight out of ten voices.
Sakana AI launched Sakana Namazu, a ~1 trillion parameter Mixture-of-Experts model optimized for Japanese business context, live web search, and code execution. Modal’s forward deployed engineering team tuned NVFP4 quantization for Japanese language retention by quantizing only routed experts and using domain-representative calibration data. A custom DFlash speculative draft model was trained on over 30 billion raw token IDs from production, increasing token acceptance by 25% and reducing per-token decode latency by ~35%. Kernel-level optimizations removed a CPU–GPU synchronization stall, routed NVFP4 expert math to faster kernels, and cached prefill dispatch setup. A KV-aware router eliminated time-to-first-token spikes by sending each request to the replica most likely to have its prompt prefix cached.
NVIDIA DGX Spark now supports eight-node clusters, scaling unified memory to 1 TB for local frontier-class model serving like GLM 5.3 (753B) at ~80 tokens/s, using NVIDIA Sync and Cluster Assistant for easy clustering. A Spark-optimized collective backend, RoCEnante, reduces tensor-parallel inference latency on switch-connected topologies, delivering a 4.43x decode speedup at eight nodes—a 45% scaling efficiency gain over baseline, as benchmarked with Qwen3.8-27B model. Users can pick a switchless ring for simpler four-node setups or a switch for eight nodes and multi-group workloads, with both topologies benchmarked. NeMo Switchyard routes easy requests to MiniCPM5 2B and hard ones to Qwen, boosting aggregate throughput by 1.5x to 3x depending on traffic split while matching Qwen-only quality on a tool-use benchmark. Pre-training nanochat (896.5M parameters) achieves near-linear scaling with 97.4% efficiency across eight nodes, reaching 68,079 tokens per second and enabling local training before scaling out, with code available on GitHub.
The post describes how specializing the vocabulary of a small language model cut inference cost by 77% in a Portuguese essay grader built on Qwen3-4B. The original general-purpose tokenizer fragmented domain text and included unused tokens, wasting compute. The authors developed VocabX, which rebuilds the tokenizer by weighting token cost based on whether tokens appear in input or output, since generated tokens cost 7.4 times more due to memory bandwidth limits. VocabX works on sub-word and multi-word layers, reducing vocabulary from 151,669 to about 65,000, and outperformed three reference methods across five domains and three model families. In the grader, it reduced response tokens from 350 to 101, cut cost by 77%, and improved quality from 0.703 to 0.810, though compressing the grade into a macro token hurt quality.
Modal Dojo is a new library for production-grade LLM training on Modal’s infrastructure, providing building blocks, tuned defaults, and observability for post-training including reinforcement learning. It supports models from half a billion to multi-trillion parameters and integrates with Hugging Face, Harbor environments, or custom data from production traces. Auto-optimized recipes handle hardware, parallelism, and rollout size, while an observability dashboard tracks loss, reward curves, agent trajectories, and granular substep profiling. The library is designed for full stack control, allowing users to patch underlying frameworks and customize recipes. A metric collector and CLI enable agents to monitor runs, debug bottlenecks, and one-shot baselines. Customers like Axiom Bio have used it for long-context RL on 64k-context DeepSeek V4.1 Flash runs, and Afterquery for autoresearch on frontier models at 256k context length.
Shopify’s Sidekick AI commerce assistant uses a frontier model for merchant interaction and hands off specialized tasks to post-trained open models. For the GraphQL subagent, they post-trained NVIDIA Nemotron 3.5 Lightning, which scored higher than the frontier model on their judge, responded 7x faster, and cost 90% less to serve. The Model Optimization Flywheel defines quality with an LLM judge tuned via GEPA and ACE optimizers, improves the frontier agent through an autoresearch loop, selects an open model like Nemotron, and optimizes inference using NVIDIA AIPerf and TensorRT-LLM. Self-healing turns failed production conversations into training examples; over 86 nightly runs it repaired 69% of failures, and human annotators correct the rest. After six flywheel loops and 61,000 healed examples, the post-trained model’s judge score rose from 37.7 to 74.5, surpassing the frontier model’s 73, while serving cost dropped 90% and median response time fell from 6.50s to 0.87s.
Large language models must reliably translate natural language requests into database query languages, but MQL, MongoDB’s query language, has lacked a dedicated benchmark. The authors introduce AptMQL-Bench, a Text-to-MQL benchmark derived from the BIRD Text-to-SQL dataset, comprising 21 MongoDB databases and 3,186 natural-language requests across domains like commerce and science. They present an agent-driven conversion pipeline that treats schema design as a first-class step, using access-pattern analysis to produce schemas that follow MongoDB’s golden rule of storing accessed-together data together. The pipeline includes automated validation checks and a second optimization pass that rewrote 45% of translated MQL queries to use embedded fields and precomputed aggregates. Evaluations of eight LLMs show the benchmark is challenging, with the best model (Claude Opus 4.5) achieving 70.34% soft execution accuracy with external knowledge, and the authors propose Soft-EX as a more appropriate metric for MQL than strict execution accuracy.
Notion developed Auto, an upgraded model router, to deliver high-quality AI results while making customers’ AI credits go further. To evaluate models, Notion categorized knowledge-work tasks into clusters and created an evaluation dataset by sampling hundreds of real-world tasks from the 20 largest clusters. They built Gymmy, a simulated environment running Notion’s application code, databases, and search services in isolated sandboxes loaded with saved workspace data, allowing consistent comparison of multiple models including GPT-6 Astra, Opus 5.5, GPT-6.1 Sol, and Auto. Notion used pairwise comparisons with Elo scores to calibrate a single LLM judge, achieving over 80% agreement between pairwise and pointwise evaluations, validated by customer thumbs-up and thumbs-down feedback. On average, Auto delivers roughly 90% of frontier model performance for about 90% lower cost, enabling users’ AI credits to go up to 10x further for everyday tasks like polishing emails, tracking task progress, and drafting performance reviews.
Amazon partnered with AVERI to conduct a third-party review of its internal safety evaluation datasets for frontier AI models, covering harmful-content, cybersecurity, privacy, and copyright risks. AVERI’s team, led by Miles Brundage, independently examined a random sample of prompts for diversity, difficulty calibration, and methodological soundness without input from Amazon’s evaluation team. The review validated comprehensive topical coverage, diverse writing styles and conversation types, and low contamination risk from public datasets. It also identified opportunities to improve, such as expanding linguistic diversity across all risk categories, adding more multistep adversarial prompts to simulate sophisticated misuse, and maintaining evaluation freshness by removing outdated references and clarifying grading criteria. Amazon incorporated the feedback by refreshing test sets with more-challenging adversarial scenarios, introducing a difficulty calibration framework with tiered levels, establishing a quarterly review cadence, and broadening multilingual prompts across all risk categories.
FairStress is a benchmark for measuring demographic fairness in LLMs beyond the final output decision, evaluating how readily models change choices when challenged by adversarial prefixes. It expands 300 two-candidate scenarios across 29 domains into over 13 million test cases by varying demographic identity and persuasive arguments. Across 15 models, the benchmark revealed anti-stereotypical over-correction: models abandoned correct decisions more readily when doing so favored a minority-coded candidate, with average symmetry gaps of 6.9 and 9.3 percentage points for implied and explicit identity. Most debiasing methods, including self-critique and activation steering, did not reliably reduce the asymmetry and sometimes harmed accuracy; one activation-steering method dropped Qwen2.5-7B-Instruct’s accuracy from 98% to 47%. Counterfactual chain-of-thought, which asks models to reconsider with swapped identities, reduced the asymmetry gap while largely preserving accuracy, though it did not remove all biases.
ALTK-Evolve learns behavioral guidelines from an agent’s own task attempts using GPT-4.1 and appends them to the system prompt, improving customer service performance on tau^2-bench without weight updates or human annotation. On retail tasks, a ReAct agent with GPT-4.1 and these prompt-level guidelines reaches 67.5% Pass^4, surpassing every frontier model entry and the fine-tuned RAFT-30B-A3B system on the leaderboard. Guidelines are extracted by analyzing training trajectories with GPT-4.1, distilling successes and failures into concise rules for authenticating customers, confirming transactions, and handling returns. Retail reliability gains require the full lossless set of 292 guidelines raising Pass^4 by 10 points, while airline benefits most from a compact core of 14 rules. Using GPT-5.5, the same method lifts airline Pass^4 by 15 points to 70% and tops the leaderboard at 82.0%, proving prompt-level memory helps even frontier models.
The best engineering reads, once a week.