Skip to content
∑ Praveen T N Learning Library
Concepts Flashcards Writing Editorial AI Feed Graph
Portfolio ↗
Overview Concepts Flashcards Writing Editorial AI Feed Graph Search Back to portfolio ↗
Library/ Writing

All writing

123 long-form pieces on architecture, training, inference, agents and safety.

All Model Architecture19 Training & Alignment22 Inference & Serving18 Agents & Orchestration11 Reasoning & Evaluation26 Safety, Security & Governance7 Platforms & Practice20
Reasoning & Evaluation 23 min

Clustering Has No Ground Truth: Impossibility, Validation, and What a Cluster Can Promise

In 2002 Jon Kleinberg proved that no clustering function can satisfy three properties almost everyone would ask for. Every algorithm is therefore a definition of what a cluster is, and every validation index is another definition…

clustering unsupervised-learning evaluation metrics ∑ ◫
Training & Alignment 20 min

Constitutional AI and RLAIF: Scaling Oversight Without Scaling Labels

Human preference labels are the most expensive ingredient in a modern aligned model. Constitutional AI replaced most of them with a written document and a model judging itself, and the idea quietly took over the alignment stack.

alignment rlhf rlaif constitutional-ai ∑ ◫
Agents & Orchestration 24 min

Context Engineering for Long-Horizon Agents: Managing the Only Resource That Runs Out

An agent that can act for eight hours still thinks inside a window that holds a few hundred thousand tokens. The gap between those two numbers is where most agent failures now live, and closing it has become its own engineering d…

agentic-ai context-engineering long-horizon-agents compaction ∑ ◫
Model Architecture 23 min

Context Rot: Why Bigger Context Windows Don't Mean Better Retrieval

A million-token window promises perfect recall of everything you feed it. Controlled tests on 18 frontier models show recall degrading steadily, unevenly, and well before the window fills, a pattern researchers now call context rot.

llm long-context rag context-engineering ∑ ◫
Inference & Serving 24 min

Designing for a Collaborator That Is Sometimes Wrong: The Evidence Behind Human-AI Interaction Design

In a 2025 randomized trial, experienced developers using AI tools took 19% longer to finish their tasks while believing they had been 20% faster. Twenty-six years of human-AI interaction research explain the gap: an assistant's v…

interaction-design-for-ai product verification calibration ∑ ◫
Inference & Serving 21 min

Diffusion Language Models: Writing Text by Denoising, Not Predicting the Next Token

Autoregressive models write left to right, one token at a time. Diffusion language models reveal a whole sequence at once and sharpen it over a handful of steps. That single change rewrites the latency math, and in 2025 it stoppe…

diffusion-models llm parallel-decoding generative-ai ∑ ◫
Model Architecture 20 min

Do Transformers Need Three Projections? Rethinking Q, K, and V

Every attention head learns three weight matrices for query, key, and value. A 2026 study trained models up to 1.2B parameters to ask which of them are actually load-bearing, and found that keys and values can share one projectio…

transformers attention kv-cache inference ∑ ◫
Reasoning & Evaluation 24 min

Double Machine Learning: How to Use Flexible Models for Causal Estimates Without Inheriting Their Bias

Plug a random forest into a causal regression and the confidence interval tightens around the wrong number, because regularisation bias shrinks more slowly than the standard error. Double machine learning fixes this with two devi…

observational-causal-methods causal-inference confounding estimation ∑ ◫
Agents & Orchestration 24 min

Dynamic Workflows: When the Agent Writes Its Own Orchestration

A static agent pipeline is a diagram you draw before you know the task. A dynamic workflow is a program the agent writes once it sees the task, then runs deterministically. The difference reshapes how fan-out, verification, and c…

agents orchestration multi-agent llm ∑ ◫
Reasoning & Evaluation 25 min

Error Bars for Evals: Why Most Benchmark Differences Are Noise

A 250-question benchmark carries a standard error of about three percentage points. Most of the model comparisons published on top of such benchmarks cannot distinguish the models they are comparing. Evaluations are experiments, …

evaluation benchmarks statistics mlops ∑ ◫
Inference & Serving 27 min

Everything Is Lossy Compression: A Rate-Distortion View of Quantisation, KV Caches, and Distillation

Weight quantisation, KV cache eviction, prompt compression and distillation are treated as four separate engineering disciplines with four separate literatures. They are one problem: choosing a point on a rate-distortion curve. S…

information-theory quantisation kv-cache distillation ∑ ◫
Training & Alignment 30 min

Feeding the Accelerator: Why the Training Loop Is a Storage Problem

A 75% idle GPU is usually not a compute problem. Across the configurations one VLDB study measured, DNN training spent between 10% and 70% of every epoch blocked on I/O, and the storage system was not busy. The data path has its …

training storage data-loading infrastructure ∑ ◫
← Newer Page 2 of 11 · 123 posts Older →
Browse by topic

Tags

evaluation31 inference22 agents19 statistics17 benchmarks15 llm14 transformers13 mlops9 rag9 scaling9 alignment8 architecture8 attention8 causal-inference7 context-engineering7 experimentation7 infrastructure7 kv-cache7 latency7 llm-systems7 long-context7 mcp7 measurement7 orchestration7 reasoning7 reliability7 retrieval7 embeddings6 production6 reinforcement-learning6 security6 tool-use6 uncertainty6 anthropic5 counterfactual5 diffusion-models5
The library

1015 concepts, 11,105 flashcards and 123 long-form pieces on AI, NLP, deep learning, LLMs and agentic systems. Free, no sign-up, no paywall.

Sections Concepts Flashcards Writing AI Feed Knowledge Graph
Elsewhere Portfolio Architecture Practice RSS LinkedIn Buy me a coffee

Written and maintained by Praveen T N.

© 2026 Praveen T N