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
Tether AI Research introduces BotPsy, a 0.8B-parameter model designed for on-device function calling and agentic workflows, built on Qwen3.5-0.8B. It achieves state-of-the-art tool-use and agentic performance for its size, outperforming every model up to 1.2B parameters on five of six benchmarks, including beating Qwen3.5-2B-Think on BFCL v4, ACEBench, τ-bench, ToolSandbox, and BrowseComp-Plus. BotPsy roughly doubles the agentic capability of its base model, with BFCL v4 rising from 23.4 to 44.0 and τ-bench from 23.2 to 51.5. It demonstrates improved safety, with unsafe responses dropping from 36% to 21% in automated red-teaming, and more efficient reasoning, using about 3× fewer reasoning tokens on GPQA Diamond than its base model. The model is released with open weights under Apache 2.0 for research and educational use in bf16, Q8, and Q4 precisions.
Shopify built a shared generative discovery model trained jointly on search and recommendation data to personalize product discovery across its commerce ecosystem. Products are represented by semantic IDs: three-token codes produced by an RQ-KMeans tokenizer that clusters product embeddings, allowing related products to share representations. The model starts from an open-weight pretrained language model and is adapted through continued pretraining, multi-task fine-tuning, and multi-teacher distillation. In production, the model improved the Shop home feed by 7.95% in orders and 9.85% in conversion rate, and boosted search OneDCG@10 by 2.1 points overall and 2.7 points for signed-in users. Multi-token prediction generates all three codewords in a single pass, reducing p95 latency compared to autoregressive generation while allowing a larger candidate set.
Traditional Facebook recommendation systems learn from implicit engagement signals, which adapt slowly and capture little nuance. Your algorithm is a suite of AI-powered tools that lets people state their preferences in natural language to personalize Feed and Reels. The end-to-end system includes profile generation, preference management, ranking, and delivery optimization, with supplementary tail loads and cache invalidation for responsiveness. For interests added to ‘Interested In,’ four dedicated retrieval sources find matching content and a control layer spaces out recommendations and caps daily contribution, while for ‘Not Interested In,’ layered filtering uses embedding comparison, demotion rules, an LLM reranker, and device cache invalidation. LLMs generate the initial profile and Lately Summary, validate each edit for coherence and duplicates, and provide a final reranking check against ‘Not Interested In’ interests, with a separate LLM acting as a judge for evaluation.
Triton Low-Level Extensions (TLX) is an extension to Triton that helps engineers optimize GPU performance while preserving Triton’s productive programming model. TLX introduces explicit warp-group and cluster-level orchestration, letting developers adopt new hardware capabilities without sacrificing velocity. Modern GPU architectures increasingly rely on execution-oriented features such as warp specialization, asynchronous memory movement, tensor memory, and cluster-level execution to optimize their performance. TLX has demonstrated performance improvements in RecSys training, RecSys inference, and large-scale LLM pretraining. Across NVIDIA and AMD GPUs, TLX combines state-of-the-art kernels with explicit execution orchestration and model-aware fusion to deliver end-to-end improvements beyond what standalone libraries can achieve.
Large foundation models are increasingly evaluated on multiple axes such as safety, calibration, and fairness, but the classical assumption that the test set is held out from training is increasingly hard to justify. This work formalizes a notion of evaluability without that assumption and asks whether it is feasible to evaluate black-box models when test samples may have been used during training. The paper studies this under different settings capturing different levels of access to the model. It fully characterizes the class of distributions where accurate evaluation is possible and shows tight upper and lower bounds on sample complexity. The results show that black-box evaluation in this setup is feasible if and only if the distribution is close to being small support.
This paper, which was accepted at the NeurIPS 2026 Can We Trust AI Evaluation? Workshop, systematically evaluates how well large language model (LLM) judges perform for personalized writing style assessment. The researchers generated text using four different LLMs across three long-form writing tasks, collected human pairwise preference labels alongside LLM judge pairwise annotations, and then compared the evaluations. They discovered that judge quality has only a weak correlation with general LLM ability as measured by the MMLU benchmark (Pearson’s rho <= 0.2), and that performance is influenced by writing task, evaluation objective, and the specific combination of generator and judge LLMs. Performance varied depending on the writing task and evaluation criterion, with paired comparisons outperforming independent scoring. Additionally, the strongest LLMs did not most reliably reproduce human evaluations, which the authors hypothesize is due to their exaggerated sensitivity to subtle details that human annotators and weaker LLMs often ignore.
Elith and NVIDIA released Nemotron-Personas-Finance-Japan, a synthetic dataset of 9 million personas written in natural Japanese. It is the first open persona dataset at million-record scale that pairs Japan’s official statistics with household finance and financial literacy data. The dataset was built using NVIDIA’s NeMo Data Designer and NeMo SDG-PGMs, a probabilistic graphical model framework, with the gemma-4-31B-it model for text generation. Every persona is fully synthetic, derived from official government statistics and public survey data, not from records about real people. Released under CC BY 4.0, it supports financial AI development including conversational agents, customer simulation, and model evaluation without using real customer data.
Mixture-of-Experts (MoE) language models store all expert MLPs in memory even though only a small fraction are active per token, creating a memory bottleneck. Existing first-order pruning methods score each expert independently, ignoring cooperative interactions between experts that are known to be stable and important for performance. HOPE (Higher-Order Pruning of Experts) is a second-order method that accounts for pairwise expert interactions by defining a quadratic surrogate that upper-bounds pruning error. At 50% pruning, HOPE achieves the best average rank of any method, with gains of up to +6.1% on agentic coding tasks over the next-best pruning method. The method requires only a single calibration pass and negligible additional overhead to solve a quadratic program per layer.
MaxText v0.2.4, Google Cloud’s open-source JAX training framework, now supports long-context training on Cloud TPUs through four context-parallel strategies: All-gather, A2A (DeepSpeed Ulysses), P2P (Ring Attention), and the A2A + P2P hybrid (Unified Sequence Parallelism, or USP). These strategies split a long sequence across chips to avoid exhausting high-bandwidth memory, and all use the Tokamax Splash Attention kernel. In benchmarks with Llama 3.1 8B on TPU 5p, P2P achieved 70% Model FLOPs Utilization (MFU) for sequences up to 4 million tokens. Context can be extended to 14 million tokens on both TPU 5p and TPU 7, with TPU 7 maintaining 50% MFU below 6 million tokens. The choice of strategy depends on whether gathered KV fits in HBM and on the number of KV heads, with offloading recommended before recomputation when memory is low.
Large-model training with SPMD struggles when jobs become non-uniform, such as pipeline parallelism or RL training loops, and cannot survive hardware failures without restarting. Pathways addresses this by introducing a single Python client that describes the entire computation as a graph of blocks and tensor edges. A distributed runtime places blocks on virtual devices, moves and reshards tensors, orders operations across the cluster, and remaps around a failed host. This separates model building from execution, allowing reasoning about the whole cluster instead of one slice. Pathways runs JAX programs on TPUs and is available on Google Cloud.
Microsoft’s BitNet uses 1.58-bit quantization and ternary weights to run a 2.4 billion parameter model on a CPU, fitting in 1.1GB of RAM and achieving 50 tokens per second. The author deploys this model on a Sprite, a hardware-isolated compute unit that provides a URL with TLS, sleeps when idle, and wakes on request with a 1.2-second model load time. A Python HTTP server wraps llama-cli as a subprocess, exposing an OpenAI-compatible API at /v1/chat/completions, a status page, and a self-addressed client at /client.py. Checkpoints capture the entire environment atomically, allowing safe rollback when experimenting with different models, kernel parameters, or prompt formats. The Sprite registers as a service on port 8080, making the inference endpoint available to any other Sprite in the account without infrastructure changes.
The Dharma Field Extractor is a 2-billion-parameter model that takes a document image and returns structured JSON by open extraction or by following an exact schema. In open mode it recognizes labels, values, and tables from layout; in schema-directed mode it uses the caller’s key names and types, returning null for absent fields and filling table rows. It was fine-tuned from DharmaOCR-LITE v1.1 via a LoRA adapter on 43,384 field-level annotations drawn from public, Brazilian, and multilingual sources. On a 546-document benchmark covering three extraction scenarios, the Field Extractor scored a field-level F1 of 0.834, beating Claude Opus 5’s 0.816 and GPT-5.6 Luna’s 0.741, while its self-hosted cost ($2.24/hour on one L40S) was 6 to 147 times less per extraction than each API. This supports Dharma-AI’s thesis that a small model specialized on a bounded task outperforms general-purpose frontier models.
Together Compiler (TKCC) targets AI inference workloads whose traffic, models, and hardware change too quickly for hand-tuned optimization, with architectures and customer traffic shapes varying widely. TKCC takes traffic shape, model, and hardware as inputs and uses agents to generate optimizations for an inference engine. Its design relies on persistent engines that start once and hot-reload candidate forward passes, avoiding a 467-second status-quo startup path. A two-tier engine setup trades measurement throughput against fidelity, while a custom cost model selects parallelism strategies such as TP, EP, and DCP. In under 24 hours, TKCC reports up to 2.6x higher TPS across frontier open-source models, 1.7x over open-source megakernels on Llama 1B at batch size 1, and 252x higher experiment throughput than baseline agentic optimization systems.
Together AI introduces Polymorphic Inference, a new approach for production open-source inference systems that adapts to rapidly changing model architectures, workloads, and hardware platforms. The company argues that traditional static inference, with fixed hyperparameter-tuned configurations, is insufficient for the current landscape where 80% of OpenRouter traffic goes to models released in the last three months. To address this, Together AI announces Together Compiler, a rapid AI-powered performance optimization loop that recasts inference optimization as an agentic search problem. Together Compiler uses a swarm of AI agents paired with a high-fidelity persistent engine to identify key optimization patterns and iterate quickly. The system is already running in production on some of Together AI’s most popular serverless endpoints, finding further gains on top of already highly optimized code.
StateBench is a benchmark for evaluating how language models track state changes in long documents, a capability underlying tasks from reading code to following stories. It defines four difficulty levels: R-trivial, aperiodic, soluble, and general finite, each permitting different types of variable assignment. Pretrained models performed well on R-trivial but lost accuracy on aperiodic problems as inputs grew and stayed at chance on general finite problems, with format affecting results. Frontier models like Gemini 3.8 Flash, Claude Opus 5.5, and GPT-6 Sol and Luna also struggled on harder levels, with accuracy dropping to 13% or lower. When trained directly, Gated DeltaNet and hybrid models generalized to sequences up to 250 times training length, while transformers never learned the hardest level, suggesting architectural limits; open questions remain about handling new entities over time.
Frontier models impose their own house style and cannot handle confidential content, while small open models produce broken layouts with overlapping shapes and text overflow. Palette splits generation into a designer that creates a structured JSON brief and a coder that writes pptxgenjs JavaScript for each slide, trained via LoRA on synthetic data with counterfactual reasoning. The designer handles editorial judgment and the coder handles geometry. Directives allow user control, and a harness checks and repairs slides using a geometry checker and an editor model that rewrites code only when it improves, adding 3.5 points on average on PresentBench. On PresentBench, Palette ranks first on Economics and Education, third on Talk, and second overall among systems including NotebookLM, as a single 20B open-weight model.
Per-token API prices are falling, but engineering bills for autonomous coding agents keep climbing because the dominating metric is now cost per successful task, not price per million tokens. A lightweight routing layer can intercept routine decisions before they reach an expensive reasoning model, preventing unnecessary deep-reasoning spend. The article tests TypeSafe’s Jev classifier in front of Google Antigravity’s model calls, using a single atomic Noul question to route tasks. On a 50-question coding-agent benchmark, the Jev router achieved 100% accuracy on 34 unseen held-out tasks and 96% overall, while a frozen regex and prompt-length heuristic dropped to 70.6% on unseen tasks. The most cost-effective approach is to start with a fast model on a light thinking setting, then add a near-free classifier to send only hard tasks to a stronger model.
CWE-bench v2 is a public benchmark of 100 tasks that tests AI agents on finding and fixing security weaknesses in real open-source repositories, with fully programmatic and deterministic scoring. The tasks cover 91 different CWEs, requiring models to understand multiple vulnerability surfaces rather than recognize familiar patterns, and each task includes a repository checkout, instruction, and verifier curated by LLM judge panels and hand-reviewed. Among 11 evaluated models, Gemini 4 Argon leads with 67.8% pass@1, but even the best model fails 19% of tasks, and 95 tasks are solved by at least one model. On cost, DeepSeek V4.1 Flash achieves 57.0% pass@1 at $0.04 per rollout, Claude Opus 5.5 adds ten points at $1.83, and Gemini 4 Argon edges ahead at $3.92, forming the Pareto frontier. The benchmark is open-source and can be run via Harbor, with tasks also usable as reinforcement learning environments for training defensive agents.
OpenRouter, a gateway between developers and LLM inference providers, uses ClickHouse Cloud as its single analytics store to handle over 740 million requests daily across 500+ models. Since adopting ClickHouse in November 2024, monthly requests grew 33x to 19.7 billion, with 110+ trillion tokens served per week. The platform writes request telemetry once and uses materialized views to produce rollups for customer dashboards, public model rankings, and endpoint health, powering observability, AI agents, Slack bots, and routing decisions. Internal AI agents, accessible via Slack, query the same ClickHouse data to answer support questions and trace failures without manual digging. The newest routing component, the Jev Router from TypeSafe AI, classifies prompts into task types, ranks models by real usage from ClickHouse, and feeds outcomes back into the store for continuous improvement.
boAt, a leading Indian consumer electronics brand, launched the AI Coach feature on its smartwatches using Amazon Bedrock and AWS Lambda to deliver personalized, actionable fitness coaching. The system ingests encrypted user metrics and preferences from the boAt Crest app, stored in Amazon RDS and Amazon DocumentDB, using historical context to generate plans via the Meta Llama 3.3 70B Instruct model on Amazon Bedrock. To improve personalization, the team made JSON keys more descriptive and added watch-supported activity lists in prompts, reducing unsupported recommendations. A parsing layer with safe defaults handles missing keys, and configurable nudges in various styles help users adhere to their plans. The serverless architecture, chosen for model-agnostic access, built-in observability, and zero infrastructure overhead, has reliably served millions of users across India for over six months.
The best engineering reads, once a week.