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/Tagged “llm”

Tagged “llm”

14 posts.

Clear
All Model Architecture19 Training & Alignment22 Inference & Serving18 Agents & Orchestration11 Reasoning & Evaluation26 Safety, Security & Governance7 Platforms & Practice20
Agents & Orchestration 20 min

Agent Memory Systems: Episodic, Semantic, and the Architecture of Remembering

An LLM agent with a million-token window still forgets what you told it last week. Memory is not a bigger context; it is a separate system that decides what to write down, how to summarize it, and what to pull back. Here is how t…

agents memory llm retrieval ∑ ◫
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 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 ∑ ◫
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 ∑ ◫
Reasoning & Evaluation 23 min

Guarantees Without Calibration: Conformal Prediction and the Limits of LLM Confidence

A language model's stated confidence is a number, not a probability. Conformal prediction offers the opposite trade: it promises nothing about any single answer and something exact about the long run, from any scorer, with one as…

uncertainty evaluation calibration safety ∑ ◫
Agents & Orchestration 23 min

LangGraph: Stateful Agent Orchestration from First Principles

Most agent frameworks treat state as an afterthought, tacking memory onto a chain of LLM calls. LangGraph inverts the design: the graph is the state machine, every node transition is checkpointed, and cycles are first-class citiz…

langgraph agents orchestration state-machines ∑ ◫
Training & Alignment 22 min

Language Modelling Is Compression: The Seventy-Year-Old Idea Underneath Every LLM

In 1951 Claude Shannon estimated the entropy of English by having people guess the next letter. In 2023 a 70-billion-parameter language model compressed a gigabyte of Wikipedia to 8.3% of its size, beating every compressor ever p…

information-theory compression entropy language-models ∑ ◫
Training & Alignment 22 min

Prompts as Programs: What Changes When You Optimise the Prompt Instead of the Weights

A prompt optimiser that never touches a weight has been reported to beat GRPO by around six points using up to 35 times fewer rollouts. That result only makes sense once you stop treating the prompt as writing and start treating …

prompt-engineering llm optimization evaluation ∑ ◫
Platforms & Practice 24 min

Query Understanding Is the Hidden Half of Search: From Broder's Taxonomy to LLM Query Rewriting

An LLM-written pseudo-document lifts BM25 by 15 nDCG@10 points on TREC DL 2019, and turns a 16 ms search into one that waits over two seconds for the model. Query understanding decides what the engine searches for before ranking …

query-understanding information-retrieval retrieval rag ∑ ◫
Platforms & Practice 3 min

Stop fine-tuning for facts: the silent productivity tax of mis-matched tools

Most teams reach for fine-tuning when they should reach for retrieval. The cost is not just dollars - it is months of confused engineers trying to figure out why the model started lying again.

rag retrieval fine-tuning architecture
Page 1 of 2 · 14 posts Older →
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