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

124 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 & Practice21
Training & Alignment 25 min

The Four Faces of KL Divergence: Mode-Seeking, Mode-Covering, and Why Your Estimator Went Negative

You add a KL penalty to an RLHF objective, log it, and it prints minus 0.03. KL divergence is provably non-negative, and nothing is broken. One formula does four different jobs in modern machine learning, and almost every confusi…

math information-theory kl-divergence rlhf ∑ ◫
Inference & Serving 21 min

The Hidden Cost of AI: Why Inference Is the New Cloud Bill

Training a frontier model is a one-time expense measured in millions. Serving it to users is a perpetual expense measured in billions of tokens per day. For most organisations, inference is already the larger number, and the gap …

inference economics optimization finops ∑ ◫
Model Architecture 24 min

The Kalman Filter: Sixty-Six Years of Bayes' Rule, One Observation at a Time

In the fall of 1960 Rudolf Kalman presented a paper at NASA Ames that engineers found hard to grasp; by early 1961 it was navigating simulated spacecraft around the Moon. The same recursion now computes the exact likelihood of ev…

time-series-foundations statistics forecasting state-space-models ∑ ◫
Reasoning & Evaluation 24 min

The Ladder of Causation: Why No Amount of Observational Data Climbs It Alone

In 2023 GPT-4 scored 97% on a classic cause-and-effect benchmark and 62% on one that hands it the causal graph and asks it to compute. Both results fit a theorem proved in 2020: data from one rung of Pearl's ladder almost never d…

causal-foundations causal-inference counterfactual dags ∑ ◫
Reasoning & Evaluation 27 min

The Last Undefeated Baseline: Why Gradient-Boosted Trees Still Beat Deep Learning on Tabular Data

Deep learning took images in three years and text in five. It has been attacking tabular data since 2016 and still has not won. The reason is not compute or architecture; it is three specific inductive biases that make a tree the…

tabular gradient-boosting deep-learning xgboost ∑ ◫
Reasoning & Evaluation 24 min

The Leaderboard Is Not Your Corpus: Why Top-Ranked Embedding Models Disappoint in Production

Embedding models are chosen from a leaderboard more often than from an experiment, and the leaderboard now publishes training splits for its own test sets. Between contamination, task-family averaging and geometry no benchmark me…

embeddings retrieval-rag evaluation benchmarks ∑ ◫
Platforms & Practice 24 min

The Leak in Every Training Set: Feature Stores, Point-in-Time Joins, and the Train-Serve Contract

A fraud model can score perfect recall offline and block nothing in production, because its training join looked a few hours into the future. Feature stores exist to enforce one contract: a training row may only see what the serv…

feature-stores mlops feature-engineering data ∑ ◫
Model Architecture 4 min

The Length of a Thought: Why Context Windows Became the New Battleground

A 512-token model could read a paragraph. A million-token model can read a novel. The journey between those two numbers is a story about quadratic cost, clever approximations, and what it means for a machine to "remember."

transformers attention context scaling
Safety, Security & Governance 23 min

The Lethal Trifecta: Why Prompt Injection Is Structural in Tool-Using Agents

The protocols that let agents read your email, query your database, and post to Slack were the most-adopted infrastructure in AI over the past year. They also handed attackers a way in that no input filter can close, because the …

agent-security prompt-injection mcp lethal-trifecta ∑ ◫
Inference & Serving 27 min

The Mode Is Not the Answer: How Decoding Stopped Being a Search Problem

Run exact search over a trained translation model and, for more than half of a standard test set, the highest-scoring output is the empty string. Beam search works only because it fails to find what the model actually prefers. Th…

decoding generation sampling mbr ∑ ◫
Reasoning & Evaluation 23 min

The Model Knows It Is Being Tested: Evaluation Awareness and the Limits of Behavioural Safety Evidence

On one synthetic honeypot evaluation, Claude Sonnet 4.5 said out loud that it suspected it was being tested in 80 to 100 percent of transcripts, against under 10 percent for its predecessor. When the internal representations behi…

safety-alignment evaluation interpretability red-teaming ∑ ◫
Safety, Security & Governance 21 min

The Moderation Tax: How Guardrail Classifiers Trade Latency for Coverage

A guardrail is a classifier sandwich wrapped around your model, and every layer you add buys coverage with latency and false refusals. Here is how the layer actually works, what it costs, and where it breaks.

llm-safety guardrails content-moderation jailbreaks ∑ ◫
← Newer Page 8 of 11 · 124 posts Older →
Browse by topic

Tags

evaluation31 inference22 agents19 statistics18 benchmarks15 llm14 transformers13 mlops10 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 evaluation-mlops6 production6 reinforcement-learning6 security6 tool-use6 uncertainty6 anthropic5 counterfactual5
The library

1020 concepts, 11,135 flashcards and 124 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