Epistemic Noise

Notes

Two minutes. Then you know a little more.

Short observations on building, evaluating, and operating AI systems.

Topics

16 notes

Inference

GPU utilization is the wrong question

Seeing 95% GPU utilization feels reassuring. The expensive hardware is busy, so the workload must be well optimized.

Systems

Retries are a correctness problem

A retry sounds like reliability plumbing until the operation being retried has consequences.

Evaluation

The evaluation set becomes part of the product

The first evaluation set for an AI system is usually built before anyone knows how the system will fail.

Agents

Agents need budgets

An agent loop needs more than a stopping condition. It needs a budget.

Evaluation

False positives are an architecture decision

A similarity threshold looks like a model parameter until the system gives it consequences.

Systems

When the model stops being the bottleneck

A machine learning project can change character without changing its model.

Models

Speaker embeddings

Speaker embeddings make voice matching look almost trivial.

Models

Direct Preference Optimization (DPO)

Suppose you show someone two responses to the same prompt and ask which one they prefer.

Systems

Prompt injection and guardrails

Prompt injection becomes much more consequential once a model can do something.

Inference

Serving LLMs in production

LLM inference is partly a scheduling and memory problem disguised as a model call.

Inference

Structured outputs

Free-form language is an excellent interface for people. It is usually a bad interface between software components.

Retrieval

RAG failure modes

RAG failures become easier to debug once “RAG quality” stops being treated as one thing.

Evaluation

Evaluating LLM products

The useful unit of evaluation for an LLM product is usually not the completion. It is the task.

Agents

Tool-calling agents

Function calling gives a model an interface to software. An agent appears when you put that capability inside a control loop.

Systems

A cache key is part of the AI system

Caching looks deceptively easy around AI workloads.

Retrieval

Authorization belongs before retrieval

A RAG system can produce a perfectly grounded answer and still have a severe security bug.