# Fanout full public context > A citation-oriented map of Fanout's canonical public pages. It contains descriptions and discovery links, not protected lesson bodies or private user data. ## Identity and scope Fanout is an independent technical learning product created by Suraj Gaud. It organizes AI research, system design, machine learning mathematics, inference engineering, open robotics, practical browser-local labs, and daily paper notes. Fanout distinguishes its own summaries and teaching material from third-party papers, books, courses, repositories, and community profiles; outbound sources remain the canonical sources for those works. ## Access and interpretation - Public route descriptions and Daily paper notes may be summarized and cited with their Fanout URLs. - External works linked by Fanout should be attributed to their original authors and publishers. - Pro lesson and article bodies are served only after entitlement checks and are not reproduced here. - Login, account, checkout, redirect, error, and protected detail routes are excluded from this public context. - Canonical production origin: https://fanout.sh ## Plans and prices - [Pricing](https://fanout.sh/pricing): Full access to every course: Monthly ($39 a month), Quarterly ($85 every 3 months), Annual ($227 a year), or Lifetime ($256, paid once). US prices; other countries see local prices at checkout. ## Canonical public pages - [AI Engineering Course: RAG, LLM Internals, Agents](https://fanout.sh/ai-engineering/overview): Build with models, embeddings, retrieval, reasoning, and agents. Free introductory modules and selected lessons, with Pro access to the full course. - [What AI engineering is](https://fanout.sh/ai-engineering/lessons/what-ai-engineering-is): What an AI engineer builds, how the work differs from training models, and what the job looks like day to day. - [The AI engineering stack](https://fanout.sh/ai-engineering/lessons/the-ai-engineering-stack): The layers of an AI application, the order teams add them in, and which module of this course teaches each one. - [One model call, end to end](https://fanout.sh/ai-engineering/lessons/one-model-call-end-to-end): Follow one request from text to tokens to vectors to generated words, then make your first call. - [From data to vectors](https://fanout.sh/ai-engineering/lessons/how-are-vectors-constructed): How a document becomes a point in space: pick properties that matter (length, topic, tone…), score each one, and the scores become coordinates. Two hand-pi - [Vector embeddings and semantic space](https://fanout.sh/ai-engineering/lessons/vector-embeddings-semantic-space): Compare distance, dot product, and cosine on the same two documents, then decide which comparisons your embedding model supports. - [Matching storage to your workload](https://fanout.sh/ai-engineering/lessons/choosing-the-right-db): Not every workload needs a dedicated vector database. Postgres with pgvector covers most simple use cases; purpose-built engines (Milvus, Qdrant, Pinecone) - [Vector compression](https://fanout.sh/ai-engineering/lessons/vector-compression): Storing millions of 4096-dimension float32 vectors gets expensive fast, so production systems shrink them: fewer dimensions, smaller number formats, or coa - [Compression and quantization](https://fanout.sh/ai-engineering/lessons/compression-quantization---scaling-vectors-efficiently): Work through scalar and product quantization to see exactly what gets stored, how much space it saves, and where search error enters. - [Vector search](https://fanout.sh/ai-engineering/lessons/vector-search): Given a query vector, find the nearest stored vectors — the k-nearest-neighbor problem. Exact search compares against everything (correct but O(N)); approx - [Indexing techniques that make vector search scale](https://fanout.sh/ai-engineering/lessons/indexing-techniques---making-vector-search-scale): Follow a nearby document across an IVF boundary, then compare how IVF and HNSW trade search effort for recall. - [Search execution from query to result](https://fanout.sh/ai-engineering/lessons/search-execution-flow---from-query-to-result): Trace an invoice search through query encoding, access filters, candidate retrieval, and reranking. Use counts at each stage to diagnose missing results. - [Inside a vector database](https://fanout.sh/ai-engineering/lessons/milvus-db): A real vector database's architecture as a case study: Milvus separates access, coordination, compute (query/data/index nodes), and storage layers so each - [What a large language model does](https://fanout.sh/ai-engineering/lessons/llm-intro): What a large language model actually is: a next-token predictor trained on internet-scale text, whose apparent intelligence is the byproduct of getting ext - [How LLMs learn and generate text](https://fanout.sh/ai-engineering/lessons/how-llms-work): The pipeline from prompt to answer: tokenize text into subword IDs, embed them, run them through stacked transformer layers, and read a probability distrib - [LLM text generation](https://fanout.sh/ai-engineering/lessons/llm-text-generation): Turning a probability distribution into actual text: greedy decoding is deterministic but dull and error-compounding; temperature reshapes the distribution - [Making a model useful](https://fanout.sh/ai-engineering/lessons/llm-improvements): The practical toolbox for making a base model useful: prompt engineering, retrieval to ground answers in your data, caching (including vector-similarity ca - [Retrieval-augmented generation](https://fanout.sh/ai-engineering/lessons/llms-and-rag): Build a grounded answer from a small refund policy. See how chunk boundaries, document freshness, and missing evidence affect the result. - [Positional embeddings](https://fanout.sh/ai-engineering/lessons/positional-embeddings): Attention is order-blind — 'dog bites man' and 'man bites dog' look identical without help — so transformers inject position information into token represe - [Attention](https://fanout.sh/ai-engineering/lessons/attention): The core mechanism: every token builds a query, key, and value vector; attention scores are scaled dot products between queries and keys, softmaxed into we - [Transformer architecture](https://fanout.sh/ai-engineering/lessons/transformer-architecture): Assembling the full block: attention, residual connections, layer norm, and the feed-forward MLP, stacked N times between an embedding layer and an output - [KV Cache](https://fanout.sh/ai-engineering/lessons/kv-cache): During generation, every new token would naively recompute attention keys and values for the whole history. The KV cache stores them once and reuses them, - [What attention changes](https://fanout.sh/ai-engineering/lessons/what-is-attention-and-why-does-it-matter): Test three claims about parallel processing, contextual representations, and cache memory using concrete examples. - [Masked attention](https://fanout.sh/ai-engineering/lessons/masked-attention): Why a generator can't peek: causal masking zeroes attention to future positions so training (all positions at once, teacher-forced) matches generation (one - [Multi-head attention](https://fanout.sh/ai-engineering/lessons/multihead-attention): One attention head learns one kind of relationship; running many in parallel — each with its own smaller Q/K/V projections, concatenated back together — le - [Trace the shapes through a transformer](https://fanout.sh/ai-engineering/lessons/summary-pdf--transformer-architecture): Trace four tokens through a small decoder. Check matrix shapes and find mistakes involving position vectors, token mixing, and the two softmax operations. - [Paged attention](https://fanout.sh/ai-engineering/lessons/paged-attention): Count useful and reserved cache slots, follow a block table, and see how paging supports growth and safe prefix sharing. - [Mixture of experts](https://fanout.sh/ai-engineering/lessons/mixture-of-experts): Scale parameters without scaling compute: replace each MLP with many 'expert' MLPs and a router that activates only a couple per token. A trillion-paramete - [FlashAttention](https://fanout.sh/ai-engineering/lessons/flash-attention): Attention isn't compute-bound — it's memory-bandwidth-bound. FlashAttention restructures the computation into tiles that live in fast on-chip SRAM, never m - [Work through a KV-cache allocation](https://fanout.sh/ai-engineering/lessons/paged-attention-pdf): Allocate a twelve-block cache as requests arrive, grow, and finish. Then account for a shared prefix without counting it twice. - [Quantization](https://fanout.sh/ai-engineering/lessons/quantization): Shrink the model itself: store weights in 8-bit or 4-bit instead of 16-bit floats. Post-training quantization is nearly free to apply and surprisingly robu - [Sparse attention](https://fanout.sh/ai-engineering/lessons/sparse-attention): Full attention costs O(n²) in sequence length, so long-context models attend selectively: sliding windows, dilated patterns, or learned sparsity. What surv - [Teaching a smaller model](https://fanout.sh/ai-engineering/lessons/slm-and-distillation): Small language models and how they get good: distillation trains a compact student to imitate a large teacher's outputs (or reasoning traces), capturing mo - [Speculative decoding](https://fanout.sh/ai-engineering/lessons/speculative-decoding): Decode faster without changing the output: a small draft model proposes several tokens, the big model verifies them in one parallel pass, accepting the pre - [Match the optimization to the bottleneck](https://fanout.sh/ai-engineering/lessons/quantization-summary-pdf): Choose an optimization for three different problems: weights that cannot fit, wasted cache reservations, and slow decoding. - [Reasoning models with human feedback](https://fanout.sh/ai-engineering/lessons/reasoning-models-with-human-feedback): From next-token predictor to assistant: supervised fine-tuning teaches the format, then reinforcement learning from human feedback (RLHF) — a reward model - [Chain of thought](https://fanout.sh/ai-engineering/lessons/chain-of-thought): Ask a model to show its work and accuracy on multi-step problems jumps — chain-of-thought prompting turns latent computation into explicit intermediate tok - [Tool usage in LLMs](https://fanout.sh/ai-engineering/lessons/tool-usage-in-llms): Models can't browse, compute precisely, or act — until you give them tools. The ReAct pattern interleaves reasoning with tool calls (search, calculator, co - [Tree of thought](https://fanout.sh/ai-engineering/lessons/tree-of-thought): Chain-of-thought commits to one path; tree-of-thought explores several, evaluates partial progress, and backtracks from dead ends — classic search wrapped - [Diagnose four reasoning failures](https://fanout.sh/ai-engineering/lessons/reasoning-models-summary): Diagnose four failures involving invented actions, agreeing wrong answers, impossible plans, and incomplete tests. Choose a repair that addresses the actua - [Context engineering](https://fanout.sh/ai-engineering/lessons/context-engineering): Prompt engineering grew up: context engineering is deciding what the model sees each turn — system instructions, retrieved chunks, tool results, memory, hi - [The agent loop](https://fanout.sh/ai-engineering/lessons/ai-agents): An agent is a model in a loop: goal in, then repeated think → call tool → observe until done. What separates toy demos from production agents — planning de - [Model Context Protocol](https://fanout.sh/ai-engineering/lessons/model-context-protocol): MCP standardizes how models reach the outside world: servers expose tools, resources, and prompts over a common protocol; any MCP client (Claude, IDEs, you - [Build an agent plan you can check](https://fanout.sh/ai-engineering/lessons/summary-pdf--ai-agents-and-mcp): Design a refund-explanation assistant with a small tool set, checked permissions, useful context, and clear evidence for when to stop. - [Blogs: AI engineering](https://fanout.sh/ai-engineering/blogs): Personal writers, company engineering blogs, and publications that actually explain how modern AI works. - [Articles: AI engineering](https://fanout.sh/ai-engineering/articles): Canonical standalone essays — the read-once, think-differently pieces from the Bitter Lesson to the agents era. - [Newsletters: AI engineering](https://fanout.sh/ai-engineering/newsletters): Substack and beyond — research analysis, engineering digests, China coverage. Cadence and pricing noted. - [Who to follow: AI engineering](https://fanout.sh/ai-engineering/people): Verified X/Twitter accounts worth following — frontier-lab researchers, open-source builders, GPU people, paper feeds. - [Research papers: AI engineering](https://fanout.sh/ai-engineering/papers): Where to find papers, curated reading lists, and a verified canon of must-reads with exact arXiv links. - [Communities: AI engineering](https://fanout.sh/ai-engineering/communities): Discords, subreddits, forums, Slacks, and paper clubs where the real conversations happen. - [Tools & practice: AI engineering](https://fanout.sh/ai-engineering/tools): Interactive visualizers, practice puzzles, evals and leaderboards worth studying, and playgrounds. - [Media & video: AI engineering](https://fanout.sh/ai-engineering/media): YouTube channels, podcasts, and short-form — beyond the obvious names. - [Books: AI engineering](https://fanout.sh/ai-engineering/books): The AI engineering bookshelf, in reading order. - [Best AI Engineering Courses for Software Engineers](https://fanout.sh/ai-engineering/courses): Chip Huyen's book, Hugging Face, DeepLearning.AI, IBM, AI Engineering from Scratch, Udemy and Fanout, compared for engineers who already ship code. - [Forward Deployed Engineer Courses Compared (2026)](https://fanout.sh/forward-deployed-engineer/courses): FDE programmes from IIT Delhi, IIT Roorkee, Krish Naik, FDE Academy, Educative and Aced, compared on fee, hours and refunds against what FDE jobs ask. - [Best System Design Courses (2026), Compared](https://fanout.sh/system/courses): ByteByteGo, Grokking, Hello Interview, InterviewReady, AlgoMaster and Fanout compared on depth, practice and price, with who each course is best for. - [Fanout: AI Research, System Design & ML Math](https://fanout.sh/): Mapped learning across AI research, systems, ML math, inference, and open robotics, with practical labs, daily papers, and roadmaps. - [Fanout blog: AI, systems and ML engineering](https://fanout.sh/blog): Practical writing on AI research, system design, inference engineering, and machine learning mathematics from the work behind Fanout. - [GPU Memory Workbench for LLM Inference](https://fanout.sh/labs/memory-workbench): Fit an LLM serving workload into a fixed GPU memory budget: weights, KV cache and headroom on one block map, with three guided challenges. - [Interactive AI and System Design Labs](https://fanout.sh/labs): Explore 16 curated, interactive Fanout Labs for AI, inference, system design, evaluation, research, and everyday technical work. - [Math Decoder for AI Research Papers](https://fanout.sh/math-decoder): Learn to read unfamiliar equations through nine short video lessons, a mathematical notation library, and interactive formula guides. - [Mathematical Notation Library](https://fanout.sh/labs/math-decoder): Search mathematical symbols by glyph, pronunciation, LaTeX, meaning, type, and research domain, with examples and ambiguity notes. - [Vertical bar notation](https://fanout.sh/labs/math-decoder/symbol/vertical-bar): A context-sensitive delimiter used for conditioning, magnitude, size, determinants, evaluation, divisibility, and set-builder clauses. - [Scalar multiplication notation](https://fanout.sh/labs/math-decoder/symbol/scalar-multiplication): Scalar multiplication is a recurring research-paper notation family. Multiplies scalar factors, whether shown with a centered dot, a cross, or simple… - [Fraction notation](https://fanout.sh/labs/math-decoder/symbol/fraction): Fraction is a recurring research-paper notation family. Divides the numerator above the bar by the denominator below it to form a ratio or quotient. - [Square root notation](https://fanout.sh/labs/math-decoder/symbol/square-root): Square root is a recurring research-paper notation family. Returns the nonnegative scalar whose square equals the enclosed nonnegative quantity. - [Eta notation](https://fanout.sh/labs/math-decoder/symbol/eta): Eta is a recurring research-paper notation family. Commonly denotes the positive learning rate or step size used by an iterative optimizer. - [Equals notation](https://fanout.sh/labs/math-decoder/symbol/equals): Equals is a recurring research-paper notation family. States that the expressions on its two sides have the same mathematical value. - [Defined as notation](https://fanout.sh/labs/math-decoder/symbol/defined-as): Defined as is a recurring research-paper notation family. Introduces a name or symbol whose meaning is fixed by the expression on the right. - [Equivalent notation](https://fanout.sh/labs/math-decoder/symbol/equivalent): Equivalent is a recurring research-paper notation family. Marks an identity, equivalence relation, or congruence whose precise strength is set by context. - [Approximately equal notation](https://fanout.sh/labs/math-decoder/symbol/approximately-equal): Approximately equal is a recurring research-paper notation family. Says that two quantities are close enough for the stated numerical or modeling purpose. - [Proportional to notation](https://fanout.sh/labs/math-decoder/symbol/proportional-to): Proportional to is a recurring research-paper notation family. States that one quantity equals a constant multiple of the other over the intended regime. - [Not equal notation](https://fanout.sh/labs/math-decoder/symbol/not-equal): Not equal is a recurring research-paper notation family. States that the expressions on the two sides do not have the same value. - [Less than notation](https://fanout.sh/labs/math-decoder/symbol/less-than): Less than is a recurring research-paper notation family. Orders two comparable quantities and excludes the case where they are equal. - [Less than or equal notation](https://fanout.sh/labs/math-decoder/symbol/less-than-or-equal): Less than or equal is a recurring research-paper notation family. Orders two comparable quantities while allowing them to have exactly the same value. - [Much less than notation](https://fanout.sh/labs/math-decoder/symbol/much-less-than): Much less than is a recurring research-paper notation family. Communicates a strong scale separation, usually informally or under an asymptotic assumption. - [Maps to notation](https://fanout.sh/labs/math-decoder/symbol/maps-to): Maps to is a recurring research-paper notation family. Shows how a particular input is transformed into its output by a mapping. - [Right arrow notation](https://fanout.sh/labs/math-decoder/symbol/right-arrow): Right arrow is a recurring research-paper notation family. Connects a source to a destination, or states that a quantity approaches a limiting value. - [Subscript notation](https://fanout.sh/labs/math-decoder/symbol/subscript): Subscript is a recurring research-paper notation family. Attaches an index, coordinate, condition, or label below and to the right of a symbol. - [Superscript notation](https://fanout.sh/labs/math-decoder/symbol/superscript): Superscript is a recurring research-paper notation family. Places a power, iteration, label, or transformation marker above a base symbol. - [Prime mark notation](https://fanout.sh/labs/math-decoder/symbol/prime): Prime mark is a recurring research-paper notation family. Marks a derivative or distinguishes a related, transformed, or next version of an object. - [Transpose notation](https://fanout.sh/labs/math-decoder/symbol/transpose): Transpose is a recurring research-paper notation family. Swaps the row and column axes of a vector or matrix without changing its entries. - [Hat notation](https://fanout.sh/labs/math-decoder/symbol/hat): Hat is a recurring research-paper notation family. Marks an estimate, prediction, or transformed version of the undecorated quantity. - [Overbar notation](https://fanout.sh/labs/math-decoder/symbol/overbar): Overbar is a recurring research-paper notation family. Usually marks an average, although some fields use it for closure or complex conjugation. - [Dot accent notation](https://fanout.sh/labs/math-decoder/symbol/dot-accent): Dot accent is a recurring research-paper notation family. Denotes a derivative with respect to time when the independent time variable is understood. - [Bold symbol notation](https://fanout.sh/labs/math-decoder/symbol/bold-symbol): Bold symbol is a recurring research-paper notation family. Visually distinguishes a vector, matrix, or tensor from a scalar with the same base letter. - [Calligraphic symbol notation](https://fanout.sh/labs/math-decoder/symbol/calligraphic-symbol): Calligraphic symbol is a recurring research-paper notation family. Commonly names a set, space, family, dataset, loss, or Lagrangian rather than a scalar. - [Real numbers notation](https://fanout.sh/labs/math-decoder/symbol/real-numbers): Real numbers is a recurring research-paper notation family. Names the number system containing rational and irrational values along the continuous number… - [Theta symbol (θ): meaning in math, stats and ML](https://fanout.sh/labs/math-decoder/symbol/theta): What θ means: an angle in geometry, a model's parameters in machine learning, a distribution's parameter in statistics. How to type it, with examples. - [Lambda symbol (λ): meaning in math, ML and physics](https://fanout.sh/labs/math-decoder/symbol/lambda): What λ means: eigenvalue, regularization strength, Poisson rate, wavelength and lambda function. How to type it, with a worked example for each. - [Epsilon symbol (ε): meaning in math, stats and ML](https://fanout.sh/labs/math-decoder/symbol/epsilon): ε as a small tolerance in limits, Adam's 1e-8 stability constant, Gaussian noise in diffusion models and ε-greedy exploration. How to type ε and ϵ. - [Set membership notation](https://fanout.sh/labs/math-decoder/symbol/membership): Set membership is a recurring research-paper notation family. States that the object on the left is an element of the set or space on the right. - [Not a member notation](https://fanout.sh/labs/math-decoder/symbol/not-membership): Not a member is a recurring research-paper notation family. States that the object on the left does not belong to the set on the right. - [Subset or equal notation](https://fanout.sh/labs/math-decoder/symbol/subset-or-equal): Subset or equal is a recurring research-paper notation family. States that every element of the left set also belongs to the right set, allowing equality. - [Set union notation](https://fanout.sh/labs/math-decoder/symbol/union): Set union is a recurring research-paper notation family. Builds a set containing every element that occurs in at least one of the input sets. - [Set intersection notation](https://fanout.sh/labs/math-decoder/symbol/intersection): Set intersection is a recurring research-paper notation family. Builds a set containing only elements that occur in every input set. - [Set difference notation](https://fanout.sh/labs/math-decoder/symbol/set-difference): Set difference is a recurring research-paper notation family. Keeps elements from the left set after removing every element that appears in the right set. - [Set complement notation](https://fanout.sh/labs/math-decoder/symbol/set-complement): Set complement is a recurring research-paper notation family. Contains every element in the understood universe that does not belong to the named set. - [Empty set notation](https://fanout.sh/labs/math-decoder/symbol/empty-set): Empty set is a recurring research-paper notation family. Names the unique set that contains no elements at all. - [Cartesian product notation](https://fanout.sh/labs/math-decoder/symbol/cartesian-product): Cartesian product is a recurring research-paper notation family. Forms all ordered tuples obtained by choosing one element from each input set. - [For all notation](https://fanout.sh/labs/math-decoder/symbol/for-all): For all is a recurring research-paper notation family. Says that the following proposition must hold for every object in the stated domain. - [There exists notation](https://fanout.sh/labs/math-decoder/symbol/there-exists): There exists is a recurring research-paper notation family. Says that at least one object in the stated domain makes the following proposition true. - [Implies notation](https://fanout.sh/labs/math-decoder/symbol/implies): Implies is a recurring research-paper notation family. States that whenever the proposition on the left is true, the proposition on the right must be true. - [If and only if notation](https://fanout.sh/labs/math-decoder/symbol/if-and-only-if): If and only if is a recurring research-paper notation family. States that each proposition implies the other, making both directions part of the claim. - [Logical and notation](https://fanout.sh/labs/math-decoder/symbol/logical-and): Logical and is a recurring research-paper notation family. Combines propositions into a statement that is true only when every included proposition is… - [Logical or notation](https://fanout.sh/labs/math-decoder/symbol/logical-or): Logical or is a recurring research-paper notation family. Combines propositions into a statement that is true when at least one included proposition is… - [Logical not notation](https://fanout.sh/labs/math-decoder/symbol/logical-not): Logical not is a recurring research-paper notation family. Reverses a proposition's truth value, turning a true claim false and a false claim true. - [Summation symbol (Σ): sigma notation explained](https://fanout.sh/labs/math-decoder/symbol/summation): How to read Σ sigma notation: index and limits, sums over a dataset, matrix products and infinite series, with worked numbers. How to type ∑. - [Product notation](https://fanout.sh/labs/math-decoder/symbol/product): Product is a recurring research-paper notation family. Multiplies a sequence of terms while the bound index ranges over the displayed limits. - [Maximum notation](https://fanout.sh/labs/math-decoder/symbol/maximum): Maximum is a recurring research-paper notation family. Returns the largest value produced by the indexed collection or objective, not the input producing… - [Argument of the maximum notation](https://fanout.sh/labs/math-decoder/symbol/argmax): Argument of the maximum is a recurring research-paper notation family. Returns the input, choice, or index that makes an objective attain its largest… - [Minimum notation](https://fanout.sh/labs/math-decoder/symbol/minimum): Minimum is a recurring research-paper notation family. Returns the smallest value produced by the indexed collection or objective, not the minimizing… - [Argument of the minimum notation](https://fanout.sh/labs/math-decoder/symbol/argmin): Argument of the minimum is a recurring research-paper notation family. Returns the input or parameter choice that makes an objective attain its smallest… - [Limit notation](https://fanout.sh/labs/math-decoder/symbol/limit): Limit is a recurring research-paper notation family. Describes the value an expression approaches as its input approaches a stated point or infinity. - [Integral notation](https://fanout.sh/labs/math-decoder/symbol/integral): Integral is a recurring research-paper notation family. Accumulates infinitesimal contributions across a continuous domain or interval. - [Norm notation](https://fanout.sh/labs/math-decoder/symbol/norm): Norm is a recurring research-paper notation family. Measures the size of a vector, matrix, or function according to a named norm rule. - [Dot product notation](https://fanout.sh/labs/math-decoder/symbol/dot-product): Dot product is a recurring research-paper notation family. Multiplies corresponding vector coordinates and adds them to produce one scalar. - [Matrix product notation](https://fanout.sh/labs/math-decoder/symbol/matrix-product): Matrix product is a recurring research-paper notation family. Composes two linear transformations by taking row-by-column dot products across a shared… - [Hadamard product notation](https://fanout.sh/labs/math-decoder/symbol/hadamard-product): Hadamard product is a recurring research-paper notation family. Multiplies matching entries of equally shaped arrays without summing over an axis. - [Tensor product notation](https://fanout.sh/labs/math-decoder/symbol/tensor-product): Tensor product is a recurring research-paper notation family. Builds a higher-dimensional product object; for matrices it commonly denotes the Kronecker… - [Identity matrix notation](https://fanout.sh/labs/math-decoder/symbol/identity-matrix): Identity matrix is a recurring research-paper notation family. Names the square matrix with ones on its diagonal and zeros elsewhere, leaving vectors… - [Zero vector notation](https://fanout.sh/labs/math-decoder/symbol/zero-vector): Zero vector is a recurring research-paper notation family. Names a vector, matrix, or tensor whose entries are all zero, with shape inferred from context. - [Ones vector notation](https://fanout.sh/labs/math-decoder/symbol/ones-vector): Ones vector is a recurring research-paper notation family. Names a vector, matrix, or tensor whose entries are all one, with shape inferred from context. - [Diagonal operator notation](https://fanout.sh/labs/math-decoder/symbol/diagonal): Diagonal operator is a recurring research-paper notation family. Creates a diagonal matrix from a vector or extracts diagonal entries from a matrix,… - [Matrix trace notation](https://fanout.sh/labs/math-decoder/symbol/trace): Matrix trace is a recurring research-paper notation family. Adds the diagonal entries of a square matrix to produce a scalar. - [Matrix determinant notation](https://fanout.sh/labs/math-decoder/symbol/determinant): Matrix determinant is a recurring research-paper notation family. Returns the signed volume-scaling factor of a square matrix and is zero exactly when it… - [Matrix rank notation](https://fanout.sh/labs/math-decoder/symbol/rank): Matrix rank is a recurring research-paper notation family. Counts the independent row or column directions represented by a matrix. - [Eigenvalue equation notation](https://fanout.sh/labs/math-decoder/symbol/eigenpair): Eigenvalue equation is a recurring research-paper notation family. Identifies a nonzero direction that a matrix only scales, together with its scaling… - [Singular value decomposition notation](https://fanout.sh/labs/math-decoder/symbol/singular-value-decomposition): Singular value decomposition is a recurring research-paper notation family. Factors a matrix into orthogonal directions and nonnegative singular-value… - [Positive semidefinite notation](https://fanout.sh/labs/math-decoder/symbol/positive-semidefinite): Positive semidefinite is a recurring research-paper notation family. States that a symmetric matrix produces a nonnegative quadratic form for every vector. - [Probability notation](https://fanout.sh/labs/math-decoder/symbol/probability): Probability is a recurring research-paper notation family. Assigns a number between zero and one to an event under a stated probability model. - [Expectation notation](https://fanout.sh/labs/math-decoder/symbol/expectation): Expectation is a recurring research-paper notation family. Averages a random quantity using the probabilities assigned by the stated distribution or… - [Statistical independence notation](https://fanout.sh/labs/math-decoder/symbol/independence): Statistical independence is a recurring research-paper notation family. States that learning one random variable does not change the distribution of the… - [Conditional independence notation](https://fanout.sh/labs/math-decoder/symbol/conditional-independence): Conditional independence is a recurring research-paper notation family. States that two variables become independent once the conditioning variable is… - [Variance notation](https://fanout.sh/labs/math-decoder/symbol/variance): Variance is a recurring research-paper notation family. Measures the expected squared distance of a random variable from its mean. - [Standard deviation symbol (σ, s): meaning and use](https://fanout.sh/labs/math-decoder/symbol/standard-deviation): σ is the population standard deviation and s the sample one. Formulas, a worked example, why s divides by n − 1, and how to type σ. - [Covariance notation](https://fanout.sh/labs/math-decoder/symbol/covariance): Covariance is a recurring research-paper notation family. Measures whether two centered random quantities tend to move together or in opposite directions. - [Normal distribution notation](https://fanout.sh/labs/math-decoder/symbol/normal-distribution): Normal distribution is a recurring research-paper notation family. Names a Gaussian probability distribution parameterized by a mean and variance or… - [Independent and identically distributed notation](https://fanout.sh/labs/math-decoder/symbol/iid): Independent and identically distributed is a recurring research-paper notation family. States that samples come independently from the same probability… - [Derivative notation](https://fanout.sh/labs/math-decoder/symbol/derivative): Derivative is a recurring research-paper notation family. Measures the local rate at which a scalar-valued function changes as one input changes. - [Partial derivative notation](https://fanout.sh/labs/math-decoder/symbol/partial-derivative): Partial derivative is a recurring research-paper notation family. Measures change with respect to one input of a multivariable function while holding the… - [Gradient notation](https://fanout.sh/labs/math-decoder/symbol/gradient): Gradient is a recurring research-paper notation family. Collects partial derivatives into a vector pointing toward the fastest local increase of a scalar… - [Jacobian notation](https://fanout.sh/labs/math-decoder/symbol/jacobian): Jacobian is a recurring research-paper notation family. Arranges every first partial derivative of a vector-valued function into a matrix. - [Hessian notation](https://fanout.sh/labs/math-decoder/symbol/hessian): Hessian is a recurring research-paper notation family. Arranges second partial derivatives into a matrix that describes local curvature. - [Big O notation](https://fanout.sh/labs/math-decoder/symbol/big-o): Big O is a recurring research-paper notation family. Describes an asymptotic upper growth class while suppressing constants and lower-order terms. - [Logarithm notation](https://fanout.sh/labs/math-decoder/symbol/logarithm): Logarithm is a recurring research-paper notation family. Returns the exponent needed to obtain its input from an understood base, often e in research… - [Exponential notation](https://fanout.sh/labs/math-decoder/symbol/exponential): Exponential is a recurring research-paper notation family. Raises the natural base e to an input, producing a strictly positive value. - [Sigmoid notation](https://fanout.sh/labs/math-decoder/symbol/sigmoid): Sigmoid is a recurring research-paper notation family. Maps a real-valued score smoothly into the open interval between zero and one. - [Softmax notation](https://fanout.sh/labs/math-decoder/symbol/softmax): Softmax is a recurring research-paper notation family. Converts a vector of scores into positive weights that sum to one along a stated axis. - [Entropy notation](https://fanout.sh/labs/math-decoder/symbol/entropy): Entropy is a recurring research-paper notation family. Measures the average information or uncertainty in outcomes drawn from a probability distribution. - [Cross-entropy notation](https://fanout.sh/labs/math-decoder/symbol/cross-entropy): Cross-entropy is a recurring research-paper notation family. Measures the average negative log probability that model distribution q assigns to outcomes… - [KL divergence notation](https://fanout.sh/labs/math-decoder/symbol/kl-divergence): KL divergence is a recurring research-paper notation family. Measures the expected log density ratio from a reference distribution p to a comparison… - [Indicator function notation](https://fanout.sh/labs/math-decoder/symbol/indicator-function): Indicator function is a recurring research-paper notation family. Returns one when a stated condition is true and zero when it is false. - [Joint distribution notation](https://fanout.sh/labs/math-decoder/symbol/joint-distribution): Joint distribution is a recurring research-paper notation family. Assigns probability mass or density to combinations of values taken together by… - [Marginalization notation](https://fanout.sh/labs/math-decoder/symbol/marginalization): Marginalization is a recurring research-paper notation family. Removes an unobserved variable from a joint distribution by summing or integrating over… - [Probability density notation](https://fanout.sh/labs/math-decoder/symbol/probability-density): Probability density is a recurring research-paper notation family. Represents relative probability per unit of a continuous variable, with probabilities… - [Cumulative distribution function notation](https://fanout.sh/labs/math-decoder/symbol/cumulative-distribution): Cumulative distribution function is a recurring research-paper notation family. Returns the probability that a random variable is less than or equal to… - [Sample mean notation](https://fanout.sh/labs/math-decoder/symbol/sample-mean): Sample mean is a recurring research-paper notation family. Estimates a population mean by averaging the observed values in a finite sample. - [Sample variance notation](https://fanout.sh/labs/math-decoder/symbol/sample-variance): Sample variance is a recurring research-paper notation family. Measures observed squared spread around a sample mean, commonly dividing by n minus one… - [Covariance matrix notation](https://fanout.sh/labs/math-decoder/symbol/covariance-matrix): Covariance matrix is a recurring research-paper notation family. Collects every pairwise covariance among coordinates of a random vector into a symmetric… - [Correlation coefficient notation](https://fanout.sh/labs/math-decoder/symbol/correlation-coefficient): Correlation coefficient is a recurring research-paper notation family. Normalizes covariance by both standard deviations to measure linear association on… - [Likelihood notation](https://fanout.sh/labs/math-decoder/symbol/likelihood): Likelihood is a recurring research-paper notation family. Treats observed data as fixed and scores how compatible each candidate parameter value is with… - [Log-likelihood notation](https://fanout.sh/labs/math-decoder/symbol/log-likelihood): Log-likelihood is a recurring research-paper notation family. Applies a logarithm to likelihood, converting independent products into sums and improving… - [Maximum-likelihood estimate notation](https://fanout.sh/labs/math-decoder/symbol/maximum-likelihood): Maximum-likelihood estimate is a recurring research-paper notation family. Selects parameter values that make the observed dataset attain the highest… - [Maximum a posteriori estimate notation](https://fanout.sh/labs/math-decoder/symbol/map-estimate): Maximum a posteriori estimate is a recurring research-paper notation family. Selects parameter values with the highest posterior density after combining… - [Mutual information notation](https://fanout.sh/labs/math-decoder/symbol/mutual-information): Mutual information is a recurring research-paper notation family. Measures how much knowing either random variable reduces uncertainty about the other… - [Conditional entropy notation](https://fanout.sh/labs/math-decoder/symbol/conditional-entropy): Conditional entropy is a recurring research-paper notation family. Measures the expected uncertainty remaining in one random variable after the other… - [Perplexity notation](https://fanout.sh/labs/math-decoder/symbol/perplexity): Perplexity is a recurring research-paper notation family. Exponentiates average negative log-likelihood to express sequence-model uncertainty as an… - [Differential notation](https://fanout.sh/labs/math-decoder/symbol/differential): Differential is a recurring research-paper notation family. Marks the variable and infinitesimal measure in an integral or represents a first-order… - [Total derivative notation](https://fanout.sh/labs/math-decoder/symbol/total-derivative): Total derivative is a recurring research-paper notation family. Accounts for every direct and indirect dependency through which a quantity changes with… - [Directional derivative notation](https://fanout.sh/labs/math-decoder/symbol/directional-derivative): Directional derivative is a recurring research-paper notation family. Measures the instantaneous change of a function when its input moves along a… - [Chain rule notation](https://fanout.sh/labs/math-decoder/symbol/chain-rule): Chain rule is a recurring research-paper notation family. Propagates derivatives through a composition by multiplying the local derivative along each… - [Jacobian-vector product notation](https://fanout.sh/labs/math-decoder/symbol/jacobian-vector-product): Jacobian-vector product is a recurring research-paper notation family. Applies a Jacobian to one input-direction vector without necessarily materializing… - [Vector-Jacobian product notation](https://fanout.sh/labs/math-decoder/symbol/vector-jacobian-product): Vector-Jacobian product is a recurring research-paper notation family. Multiplies an output-side vector by a Jacobian to propagate sensitivity backward… - [Stop gradient notation](https://fanout.sh/labs/math-decoder/symbol/stop-gradient): Stop gradient is a recurring research-paper notation family. Returns the same forward value while instructing automatic differentiation to treat that… - [Taylor expansion notation](https://fanout.sh/labs/math-decoder/symbol/taylor-expansion): Taylor expansion is a recurring research-paper notation family. Approximates a smooth function near a reference point using derivatives evaluated at that… - [Finite difference notation](https://fanout.sh/labs/math-decoder/symbol/finite-difference): Finite difference is a recurring research-paper notation family. Approximates a derivative from function values separated by a finite step rather than… - [Momentum estimate notation](https://fanout.sh/labs/math-decoder/symbol/momentum-update): Momentum estimate is a recurring research-paper notation family. Smooths noisy gradients by combining the previous moving average with the current… - [Exponential decay coefficient notation](https://fanout.sh/labs/math-decoder/symbol/beta-decay): Exponential decay coefficient is a recurring research-paper notation family. Controls how strongly an exponential moving average or schedule retains its… - [Adam bias correction notation](https://fanout.sh/labs/math-decoder/symbol/adam-bias-correction): Adam bias correction is a recurring research-paper notation family. Divides an exponential moving moment by its missing initial mass to correct bias from… - [L1 regularization notation](https://fanout.sh/labs/math-decoder/symbol/l1-regularization): L1 regularization is a recurring research-paper notation family. Adds the sum of parameter magnitudes to an objective, often encouraging many learned… - [Squared L2 regularization notation](https://fanout.sh/labs/math-decoder/symbol/l2-regularization): Squared L2 regularization is a recurring research-paper notation family. Adds squared parameter magnitude to an objective to discourage large weights… - [Subject to notation](https://fanout.sh/labs/math-decoder/symbol/subject-to): Subject to is a recurring research-paper notation family. Separates an optimization objective from equality or inequality conditions that every feasible… - [Lagrangian notation](https://fanout.sh/labs/math-decoder/symbol/lagrangian): Lagrangian is a recurring research-paper notation family. Combines an optimization objective with weighted constraints so constrained solutions can be… - [Clipping notation](https://fanout.sh/labs/math-decoder/symbol/clipping): Clipping is a recurring research-paper notation family. Restricts a scalar or each tensor entry to a closed interval by replacing values outside it with… - [Query projection notation](https://fanout.sh/labs/math-decoder/symbol/query-projection): Query projection is a recurring research-paper notation family. Projects token representations into query vectors that specify what information each… - [Key projection notation](https://fanout.sh/labs/math-decoder/symbol/key-projection): Key projection is a recurring research-paper notation family. Projects token representations into key vectors against which queries are compared to form… - [Value projection notation](https://fanout.sh/labs/math-decoder/symbol/value-projection): Value projection is a recurring research-paper notation family. Projects token representations into value vectors that are blended using normalized… - [Attention mask notation](https://fanout.sh/labs/math-decoder/symbol/attention-mask): Attention mask is a recurring research-paper notation family. Marks query-key pairs that attention may use, often by adding zero to allowed scores and… - [Causal attention mask notation](https://fanout.sh/labs/math-decoder/symbol/causal-mask): Causal attention mask is a recurring research-paper notation family. Prevents a token position from attending to future positions so autoregressive… - [Temperature notation](https://fanout.sh/labs/math-decoder/symbol/temperature): Temperature is a recurring research-paper notation family. Scales logits before normalization, controlling how concentrated or diffuse the resulting… - [Layer normalization notation](https://fanout.sh/labs/math-decoder/symbol/layer-normalization): Layer normalization is a recurring research-paper notation family. Centers and scales features within each example, then applies learned per-feature gain… - [RMS normalization notation](https://fanout.sh/labs/math-decoder/symbol/rms-normalization): RMS normalization is a recurring research-paper notation family. Scales features by their root mean square without subtracting their mean, commonly… - [Residual connection notation](https://fanout.sh/labs/math-decoder/symbol/residual-connection): Residual connection is a recurring research-paper notation family. Adds a block's input directly to its transformed output, providing an identity path… - [Multi-head concatenation notation](https://fanout.sh/labs/math-decoder/symbol/multi-head-concatenation): Multi-head concatenation is a recurring research-paper notation family. Joins independently computed attention-head features along their feature axis… - [Positional encoding notation](https://fanout.sh/labs/math-decoder/symbol/positional-encoding): Positional encoding is a recurring research-paper notation family. Maps a token position to features that let an otherwise permutation-insensitive… - [Rotary position embedding notation](https://fanout.sh/labs/math-decoder/symbol/rotary-embedding): Rotary position embedding is a recurring research-paper notation family. Rotates pairs of query and key features by position-dependent angles so their… - [Floating-point operation count notation](https://fanout.sh/labs/math-decoder/symbol/floating-point-operations): Floating-point operation count is a recurring research-paper notation family. Counts arithmetic operations required by a workload, separate from the rate… - [Peak compute throughput notation](https://fanout.sh/labs/math-decoder/symbol/peak-throughput): Peak compute throughput is a recurring research-paper notation family. Names the hardware's theoretical maximum arithmetic rate for a specified precision… - [Memory bandwidth notation](https://fanout.sh/labs/math-decoder/symbol/memory-bandwidth): Memory bandwidth is a recurring research-paper notation family. Measures the rate at which bytes can move between a compute unit and a specified memory… - [Arithmetic intensity notation](https://fanout.sh/labs/math-decoder/symbol/arithmetic-intensity): Arithmetic intensity is a recurring research-paper notation family. Relates useful arithmetic work to bytes moved across a chosen memory boundary to… - [Bytes per element notation](https://fanout.sh/labs/math-decoder/symbol/bytes-per-element): Bytes per element is a recurring research-paper notation family. Converts an element count into raw storage by naming how many bytes each represented… - [Sequence length notation](https://fanout.sh/labs/math-decoder/symbol/sequence-length): Sequence length is a recurring research-paper notation family. Counts token positions processed or cached for one sequence, often controlling attention… - [Batch size notation](https://fanout.sh/labs/math-decoder/symbol/batch-size): Batch size is a recurring research-paper notation family. Counts examples, sequences, or requests processed together along the leading tensor axis in a… - [Key-value head count notation](https://fanout.sh/labs/math-decoder/symbol/kv-cache-head-count): Key-value head count is a recurring research-paper notation family. Counts independently stored key and value heads per layer, which may be smaller than… - [Time to first token notation](https://fanout.sh/labs/math-decoder/symbol/time-to-first-token): Time to first token is a recurring research-paper notation family. Measures elapsed request time until the first generated output token becomes… - [Time per output token notation](https://fanout.sh/labs/math-decoder/symbol/time-per-output-token): Time per output token is a recurring research-paper notation family. Averages the incremental decode duration per generated token after the first token,… - [Token throughput notation](https://fanout.sh/labs/math-decoder/symbol/token-throughput): Token throughput is a recurring research-paper notation family. Measures how many prompt or generated tokens a system processes per unit of wall-clock… - [Data parallelism notation](https://fanout.sh/labs/math-decoder/symbol/data-parallelism): Data parallelism is a recurring research-paper notation family. Replicates model computation across ranks that process different examples, then… - [Tensor parallelism notation](https://fanout.sh/labs/math-decoder/symbol/tensor-parallelism): Tensor parallelism is a recurring research-paper notation family. Partitions large layer tensors and their matrix operations across ranks, exchanging… - [Pipeline parallelism notation](https://fanout.sh/labs/math-decoder/symbol/pipeline-parallelism): Pipeline parallelism is a recurring research-paper notation family. Assigns consecutive model layers to different stages and streams microbatches through… - [All-reduce collective notation](https://fanout.sh/labs/math-decoder/symbol/all-reduce): All-reduce collective is a recurring research-paper notation family. Combines equal-shaped values from every rank with a reduction and returns the… - [Reduce-scatter collective notation](https://fanout.sh/labs/math-decoder/symbol/reduce-scatter): Reduce-scatter collective is a recurring research-paper notation family. Reduces equal contributions across ranks and leaves each rank with a distinct… - [All-gather collective notation](https://fanout.sh/labs/math-decoder/symbol/all-gather): All-gather collective is a recurring research-paper notation family. Collects a distinct local shard from every rank and returns the concatenated global… - [Model FLOP utilization notation](https://fanout.sh/labs/math-decoder/symbol/model-flop-utilization): Model FLOP utilization is a recurring research-paper notation family. Compares achieved model arithmetic throughput with the selected hardware peak to… - [Quantization bit width notation](https://fanout.sh/labs/math-decoder/symbol/quantization-bits): Quantization bit width is a recurring research-paper notation family. Names the number of bits used for each quantized code before accounting for scales,… - [Negative log-likelihood notation](https://fanout.sh/labs/math-decoder/symbol/negative-log-likelihood): Negative log-likelihood is a recurring research-paper notation family. Turns a model probability into a minimization loss that grows sharply when the… - [Binary cross-entropy notation](https://fanout.sh/labs/math-decoder/symbol/binary-cross-entropy): Binary cross-entropy is a recurring research-paper notation family. Scores a Bernoulli prediction by selecting the log probability assigned to the… - [Mean squared error notation](https://fanout.sh/labs/math-decoder/symbol/mean-squared-error): Mean squared error is a recurring research-paper notation family. Averages squared prediction residuals, penalizing larger deviations more strongly than… - [Log-sum-exp notation](https://fanout.sh/labs/math-decoder/symbol/log-sum-exp): Log-sum-exp is a recurring research-paper notation family. Combines exponentials under a logarithm, appearing as a smooth maximum and as the… - [Discounted return notation](https://fanout.sh/labs/math-decoder/symbol/discounted-return): Discounted return is a recurring research-paper notation family. Aggregates future rewards from a time step while geometrically downweighting rewards… - [Discount factor notation](https://fanout.sh/labs/math-decoder/symbol/discount-factor): Discount factor is a recurring research-paper notation family. Controls how much each additional step of delay reduces the contribution of future rewards… - [Policy notation](https://fanout.sh/labs/math-decoder/symbol/policy): Policy is a recurring research-paper notation family. Maps a state or history to a probability distribution over actions that an agent may select. - [Transition kernel notation](https://fanout.sh/labs/math-decoder/symbol/transition-kernel): Transition kernel is a recurring research-paper notation family. Assigns a probability distribution over next states after the environment receives an… - [Trajectory notation](https://fanout.sh/labs/math-decoder/symbol/trajectory): Trajectory is a recurring research-paper notation family. Collects an ordered sequence of states, actions, and rewards generated by interaction between a… - [Action-value function notation](https://fanout.sh/labs/math-decoder/symbol/action-value): Action-value function is a recurring research-paper notation family. Returns the expected future return after taking one action in a state and then… - [Advantage function notation](https://fanout.sh/labs/math-decoder/symbol/advantage): Advantage function is a recurring research-paper notation family. Compares an action's value with the policy's baseline state value to show whether that… - [Bellman expectation equation notation](https://fanout.sh/labs/math-decoder/symbol/bellman-expectation): Bellman expectation equation is a recurring research-paper notation family. Expresses a policy's state value recursively as expected immediate reward… - [Bellman optimality equation notation](https://fanout.sh/labs/math-decoder/symbol/bellman-optimality): Bellman optimality equation is a recurring research-paper notation family. Defines optimal value recursively by selecting the action with the highest… - [Temporal-difference error notation](https://fanout.sh/labs/math-decoder/symbol/temporal-difference-error): Temporal-difference error is a recurring research-paper notation family. Compares a one-step reward-plus-next-value target with the current value… - [Policy gradient notation](https://fanout.sh/labs/math-decoder/symbol/policy-gradient): Policy gradient is a recurring research-paper notation family. Differentiates expected policy performance with respect to policy parameters so gradient… - [Policy importance ratio notation](https://fanout.sh/labs/math-decoder/symbol/importance-ratio): Policy importance ratio is a recurring research-paper notation family. Measures how much more or less likely the current policy makes a sampled action… - [PPO ratio clipping notation](https://fanout.sh/labs/math-decoder/symbol/ppo-clipping): PPO ratio clipping is a recurring research-paper notation family. Caps the policy probability ratio inside a narrow interval when constructing PPO's… - [Policy entropy bonus notation](https://fanout.sh/labs/math-decoder/symbol/entropy-bonus): Policy entropy bonus is a recurring research-paper notation family. Rewards a policy for retaining action-distribution uncertainty, counteracting… - [Reference policy notation](https://fanout.sh/labs/math-decoder/symbol/reference-policy): Reference policy is a recurring research-paper notation family. Names a fixed policy used to measure or constrain how far a trained policy moves from a… - [Preference pair notation](https://fanout.sh/labs/math-decoder/symbol/preference-pair): Preference pair is a recurring research-paper notation family. Represents two candidate responses for the same prompt together with an observed ordering… - [DPO implicit-reward logit notation](https://fanout.sh/labs/math-decoder/symbol/dpo-logit): DPO implicit-reward logit is a recurring research-paper notation family. Scores a response by its learned-policy log probability relative to the… - [Group-normalized advantage notation](https://fanout.sh/labs/math-decoder/symbol/group-normalized-advantage): Group-normalized advantage is a recurring research-paper notation family. Centers and scales rewards within a sampled response group to obtain relative… - [Autoregressive factorization notation](https://fanout.sh/labs/math-decoder/symbol/autoregressive-factorization): Autoregressive factorization is a recurring research-paper notation family. Decomposes a sequence's joint probability into a product of next-token… - [Diffusion noise schedule notation](https://fanout.sh/labs/math-decoder/symbol/diffusion-noise-schedule): Diffusion noise schedule is a recurring research-paper notation family. Assigns a small variance or corruption rate to each forward diffusion step,… - [Alpha learning rate notation](https://fanout.sh/labs/math-decoder/symbol/learning-rate-alpha): Alpha learning rate is a recurring research-paper notation family. Commonly denotes the positive base step size in Adam and other optimization algorithms… - [Evidence lower bound notation](https://fanout.sh/labs/math-decoder/symbol/evidence-lower-bound): Evidence lower bound is a recurring research-paper notation family. Lower-bounds log evidence with an expected reconstruction log-likelihood minus… - [Approximate posterior notation](https://fanout.sh/labs/math-decoder/symbol/approximate-posterior): Approximate posterior is a recurring research-paper notation family. A tractable learned distribution used to approximate an often-intractable posterior… - [Prior distribution notation](https://fanout.sh/labs/math-decoder/symbol/prior-distribution): Prior distribution is a recurring research-paper notation family. Specifies a distribution over latent variables or parameters before conditioning on the… - [Latent variable notation](https://fanout.sh/labs/math-decoder/symbol/latent-variable): Latent variable is a recurring research-paper notation family. Represents an unobserved random quantity introduced to explain structure or variation in… - [Reparameterization trick notation](https://fanout.sh/labs/math-decoder/symbol/reparameterization-trick): Reparameterization trick is a recurring research-paper notation family. Expresses a random sample as a deterministic differentiable transformation of… - [Reconstruction term notation](https://fanout.sh/labs/math-decoder/symbol/reconstruction-term): Reconstruction term is a recurring research-paper notation family. Measures how well latent samples inferred from an observation allow the generative… - [Diffusion forward kernel notation](https://fanout.sh/labs/math-decoder/symbol/diffusion-forward-kernel): Diffusion forward kernel is a recurring research-paper notation family. Defines one fixed Markov step that slightly corrupts a sample with Gaussian noise… - [Cumulative diffusion signal product notation](https://fanout.sh/labs/math-decoder/symbol/cumulative-noise-product): Cumulative diffusion signal product is a recurring research-paper notation family. Multiplies per-step signal-retention coefficients through time to… - [Diffusion noise prediction notation](https://fanout.sh/labs/math-decoder/symbol/epsilon-prediction): Diffusion noise prediction is a recurring research-paper notation family. Names a neural network output trained to estimate the Gaussian noise component… - [Distribution score function notation](https://fanout.sh/labs/math-decoder/symbol/score-function): Distribution score function is a recurring research-paper notation family. Gives the gradient of log density with respect to the sample, pointing toward… - [Reverse diffusion kernel notation](https://fanout.sh/labs/math-decoder/symbol/reverse-diffusion-kernel): Reverse diffusion kernel is a recurring research-paper notation family. Models one learned probabilistic transition from a noised sample toward a… - [GAN minimax objective notation](https://fanout.sh/labs/math-decoder/symbol/gan-minimax): GAN minimax objective is a recurring research-paper notation family. Couples a generator that minimizes an objective with a discriminator that maximizes… - [Generator network notation](https://fanout.sh/labs/math-decoder/symbol/generator-network): Generator network is a recurring research-paper notation family. Transforms a latent sample into a synthetic observation intended to resemble samples… - [Discriminator network notation](https://fanout.sh/labs/math-decoder/symbol/discriminator-network): Discriminator network is a recurring research-paper notation family. Scores whether an observation appears real rather than generated, supplying the… - [Marginal evidence notation](https://fanout.sh/labs/math-decoder/symbol/evidence-marginal): Marginal evidence is a recurring research-paper notation family. Gives the model probability of an observation after integrating every possible latent… - [Affine layer notation](https://fanout.sh/labs/math-decoder/symbol/affine-layer): Affine layer is a recurring research-paper notation family. Applies a matrix transformation followed by a bias translation to map input features into… - [Bias term notation](https://fanout.sh/labs/math-decoder/symbol/bias-term): Bias term is a recurring research-paper notation family. Adds a learned offset that lets an affine unit produce nonzero output even when its weighted… - [Activation function notation](https://fanout.sh/labs/math-decoder/symbol/activation-function): Activation function is a recurring research-paper notation family. Transforms pre-activation values, usually elementwise, to introduce nonlinear behavior… - [Rectified linear unit notation](https://fanout.sh/labs/math-decoder/symbol/relu): Rectified linear unit is a recurring research-paper notation family. Keeps positive scalar inputs unchanged and replaces negative scalar inputs with zero. - [Gaussian error linear unit notation](https://fanout.sh/labs/math-decoder/symbol/gelu): Gaussian error linear unit is a recurring research-paper notation family. Smoothly gates an input by a Gaussian cumulative probability rather than… - [Hyperbolic tangent notation](https://fanout.sh/labs/math-decoder/symbol/hyperbolic-tangent): Hyperbolic tangent is a recurring research-paper notation family. Maps real inputs smoothly into the interval from negative one to one with an odd,… - [Batch normalization notation](https://fanout.sh/labs/math-decoder/symbol/batch-normalization): Batch normalization is a recurring research-paper notation family. Normalizes activations using mean and variance estimated across a minibatch and… - [Dropout mask notation](https://fanout.sh/labs/math-decoder/symbol/dropout): Dropout mask is a recurring research-paper notation family. Randomly masks activations during training to discourage fragile co-adaptation, usually… - [Convolution notation](https://fanout.sh/labs/math-decoder/symbol/convolution): Convolution is a recurring research-paper notation family. Combines a signal with a shifted kernel through repeated local multiply-and-sum operations… - [Pooling notation](https://fanout.sh/labs/math-decoder/symbol/pooling): Pooling is a recurring research-paper notation family. Aggregates local neighborhoods or an entire axis to reduce spatial resolution or summarize features. - [Embedding lookup notation](https://fanout.sh/labs/math-decoder/symbol/embedding-lookup): Embedding lookup is a recurring research-paper notation family. Selects a learned dense vector from an embedding matrix using a discrete token or… - [One-hot vector notation](https://fanout.sh/labs/math-decoder/symbol/one-hot-vector): One-hot vector is a recurring research-paper notation family. Represents one discrete category with a vector containing one at its selected index and… - [Transformer feed-forward network notation](https://fanout.sh/labs/math-decoder/symbol/feed-forward-network): Transformer feed-forward network is a recurring research-paper notation family. Applies learned feature expansion, nonlinear activation, and feature… - [Logits notation](https://fanout.sh/labs/math-decoder/symbol/logits): Logits is a recurring research-paper notation family. Names unconstrained real scores that become normalized probabilities after softmax or sigmoid… - [Hidden state notation](https://fanout.sh/labs/math-decoder/symbol/hidden-state): Hidden state is a recurring research-paper notation family. Represents an internal learned feature vector or tensor passed between layers, time steps, or… - [Loss function notation](https://fanout.sh/labs/math-decoder/symbol/loss-function): Loss function is a recurring research-paper notation family. Maps predictions, targets, and model parameters to a scalar quantity that training seeks to… - [Weight matrix notation](https://fanout.sh/labs/math-decoder/symbol/weight-matrix): Weight matrix is a recurring research-paper notation family. Collects learned coefficients that linearly mix input coordinates into output coordinates… - [Bias vector notation](https://fanout.sh/labs/math-decoder/symbol/bias-vector): Bias vector is a recurring research-paper notation family. Stores one learned additive offset for each output feature of an affine transformation. - [Tensor shape declaration notation](https://fanout.sh/labs/math-decoder/symbol/tensor-shape-membership): Tensor shape declaration is a recurring research-paper notation family. Declares the numeric domain and ordered axis sizes of a tensor before operations… - [Row vector notation](https://fanout.sh/labs/math-decoder/symbol/row-vector): Row vector is a recurring research-paper notation family. Represents a vector with one row and d columns, often produced by transposing a column-vector… - [Column vector notation](https://fanout.sh/labs/math-decoder/symbol/column-vector): Column vector is a recurring research-paper notation family. Represents a vector with d rows and one column, the conventional orientation for left… - [Tensor axis notation](https://fanout.sh/labs/math-decoder/symbol/axis-index): Tensor axis is a recurring research-paper notation family. Names one ordered direction of a tensor whose entries share a semantic role such as batch,… - [Tensor reshape notation](https://fanout.sh/labs/math-decoder/symbol/reshape): Tensor reshape is a recurring research-paper notation family. Reinterprets the same ordered elements under a new axis structure with the same total… - [Axis permutation notation](https://fanout.sh/labs/math-decoder/symbol/transpose-axes): Axis permutation is a recurring research-paper notation family. Reorders tensor axes according to a permutation while preserving the same indexed values. - [Squeeze axis notation](https://fanout.sh/labs/math-decoder/symbol/squeeze): Squeeze axis is a recurring research-paper notation family. Removes an axis whose size is one without changing the ordered numeric values. - [Unsqueeze axis notation](https://fanout.sh/labs/math-decoder/symbol/unsqueeze): Unsqueeze axis is a recurring research-paper notation family. Inserts an axis of size one so a tensor can align with another shape for broadcasting or… - [Broadcasting notation](https://fanout.sh/labs/math-decoder/symbol/broadcasting): Broadcasting is a recurring research-paper notation family. Aligns trailing axes and conceptually expands size-one dimensions so elementwise operations… - [Tensor concatenation notation](https://fanout.sh/labs/math-decoder/symbol/concatenation): Tensor concatenation is a recurring research-paper notation family. Joins tensors end-to-end along one chosen axis while requiring every other axis size… - [Tensor stacking notation](https://fanout.sh/labs/math-decoder/symbol/stacking): Tensor stacking is a recurring research-paper notation family. Combines equal-shaped tensors by inserting a new axis that indexes which input tensor… - [Tensor slice notation](https://fanout.sh/labs/math-decoder/symbol/tensor-slicing): Tensor slice is a recurring research-paper notation family. Selects a contiguous or strided range of indices along one or more axes to form a subtensor. - [Ellipsis notation](https://fanout.sh/labs/math-decoder/symbol/ellipsis): Ellipsis is a recurring research-paper notation family. Signals that a predictable sequence of terms, indices, or axes continues according to the visible… - [Einstein summation expression notation](https://fanout.sh/labs/math-decoder/symbol/einsum): Einstein summation expression is a recurring research-paper notation family. Specifies tensor alignment, multiplication, contraction, and output axes… - [Contraction index notation](https://fanout.sh/labs/math-decoder/symbol/contraction-index): Contraction index is a recurring research-paper notation family. Names an axis that appears in multiple tensor factors and is summed away to combine them. - [Einstein repeated index notation](https://fanout.sh/labs/math-decoder/symbol/repeated-index): Einstein repeated index is a recurring research-paper notation family. Uses a repeated index in one term to imply summation over that coordinate without… - [Kronecker delta notation](https://fanout.sh/labs/math-decoder/symbol/kronecker-delta): Kronecker delta is a recurring research-paper notation family. Returns one when two discrete indices are equal and zero otherwise, acting as identity… - [Communication time notation](https://fanout.sh/labs/math-decoder/symbol/communication-time): Communication time is a recurring research-paper notation family. Names elapsed time spent transferring or synchronizing data between devices rather than… - [Serving request latency notation](https://fanout.sh/labs/math-decoder/symbol/serving-latency): Serving request latency is a recurring research-paper notation family. Measures wall-clock time from request arrival to a chosen completion point such as… - [Prefill phase notation](https://fanout.sh/labs/math-decoder/symbol/prefill-phase): Prefill phase is a recurring research-paper notation family. Processes all prompt tokens in parallel to build hidden states and initialize each layer's… - [Autoregressive decode phase notation](https://fanout.sh/labs/math-decoder/symbol/decode-phase): Autoregressive decode phase is a recurring research-paper notation family. Generates output tokens sequentially while reading prior key-value cache… - [Parameter memory notation](https://fanout.sh/labs/math-decoder/symbol/parameter-memory): Parameter memory is a recurring research-paper notation family. Estimates raw storage occupied by model parameters from parameter count and bytes stored… - [Activation memory notation](https://fanout.sh/labs/math-decoder/symbol/activation-memory): Activation memory is a recurring research-paper notation family. Counts storage for intermediate tensors produced by forward computation and sometimes… - [Optimizer-state memory notation](https://fanout.sh/labs/math-decoder/symbol/optimizer-state-memory): Optimizer-state memory is a recurring research-paper notation family. Counts auxiliary tensors such as first and second moments, master weights, and… - [Gradient accumulation notation](https://fanout.sh/labs/math-decoder/symbol/gradient-accumulation): Gradient accumulation is a recurring research-paper notation family. Combines gradients from several smaller microbatches before applying one optimizer… - [Microbatch size notation](https://fanout.sh/labs/math-decoder/symbol/microbatch-size): Microbatch size is a recurring research-paper notation family. Counts examples processed together in one forward-backward unit before gradient… - [Pipeline bubble notation](https://fanout.sh/labs/math-decoder/symbol/pipeline-bubble): Pipeline bubble is a recurring research-paper notation family. Represents device idle time while a model pipeline fills, drains, or waits for imbalanced… - [Alpha-beta communication model notation](https://fanout.sh/labs/math-decoder/symbol/collective-latency-model): Alpha-beta communication model is a recurring research-paper notation family. Approximates communication time as a fixed startup latency plus message… - [KV-cache utilization notation](https://fanout.sh/labs/math-decoder/symbol/cache-utilization): KV-cache utilization is a recurring research-paper notation family. Compares bytes holding active key-value entries with bytes reserved by the serving… - [Theorem statement notation](https://fanout.sh/labs/math-decoder/symbol/theorem-statement): Theorem statement is a recurring research-paper notation family. Labels a formally stated claim that the surrounding work treats as important and… - [Lemma statement notation](https://fanout.sh/labs/math-decoder/symbol/lemma-statement): Lemma statement is a recurring research-paper notation family. Labels a proved claim introduced primarily to support a later theorem, construction, or… - [Proposition statement notation](https://fanout.sh/labs/math-decoder/symbol/proposition-statement): Proposition statement is a recurring research-paper notation family. Labels a mathematical statement presented for proof without necessarily assigning it… - [Corollary notation](https://fanout.sh/labs/math-decoder/symbol/corollary): Corollary is a recurring research-paper notation family. Labels a result that follows with little additional argument from a theorem or lemma just… - [Proof marker notation](https://fanout.sh/labs/math-decoder/symbol/proof-marker): Proof marker is a recurring research-paper notation family. Marks the beginning of an argument intended to establish a preceding theorem, lemma, or… - [End-of-proof square notation](https://fanout.sh/labs/math-decoder/symbol/qed): End-of-proof square is a recurring research-paper notation family. Marks that the proof's intended conclusion has been reached and the current proof… - [Assumed premise notation](https://fanout.sh/labs/math-decoder/symbol/assume-premise): Assumed premise is a recurring research-paper notation family. Temporarily accepts a stated condition as true so its logical consequences can be derived… - [Local let binding notation](https://fanout.sh/labs/math-decoder/symbol/let-definition): Local let binding is a recurring research-paper notation family. Introduces a name for an object or expression within the current argument to make later… - [Contradiction symbol notation](https://fanout.sh/labs/math-decoder/symbol/contradiction-symbol): Contradiction symbol is a recurring research-paper notation family. Represents an impossible or false proposition reached when assumptions jointly imply… - [Proof by contradiction notation](https://fanout.sh/labs/math-decoder/symbol/proof-by-contradiction): Proof by contradiction is a recurring research-paper notation family. Establishes a target proposition by assuming its negation and showing that… - [Mathematical induction notation](https://fanout.sh/labs/math-decoder/symbol/mathematical-induction): Mathematical induction is a recurring research-paper notation family. Proves a statement for all natural-number indices by establishing a base case and a… - [Induction base case notation](https://fanout.sh/labs/math-decoder/symbol/base-case): Induction base case is a recurring research-paper notation family. Establishes the first indexed proposition from which the inductive chain will begin. - [Inductive hypothesis notation](https://fanout.sh/labs/math-decoder/symbol/inductive-hypothesis): Inductive hypothesis is a recurring research-paper notation family. Temporarily assumes the indexed proposition at an arbitrary stage so the successor… - [Inductive step notation](https://fanout.sh/labs/math-decoder/symbol/inductive-step): Inductive step is a recurring research-paper notation family. Shows that whenever the proposition holds at an arbitrary valid index, it must also hold at… - [Necessary condition notation](https://fanout.sh/labs/math-decoder/symbol/necessary-condition): Necessary condition is a recurring research-paper notation family. States that the target situation cannot hold unless the necessary condition also holds. - [Sufficient condition notation](https://fanout.sh/labs/math-decoder/symbol/sufficient-condition): Sufficient condition is a recurring research-paper notation family. States that establishing the sufficient condition guarantees the target conclusion,… - [Without loss of generality notation](https://fanout.sh/labs/math-decoder/symbol/without-loss-generality): Without loss of generality is a recurring research-paper notation family. Chooses one representative case because a stated symmetry or relabeling… - [Semantic entailment notation](https://fanout.sh/labs/math-decoder/symbol/entails): Semantic entailment is a recurring research-paper notation family. States that every interpretation making the premises true also makes the conclusion… - [Syntactic derivability notation](https://fanout.sh/labs/math-decoder/symbol/proves-turnstile): Syntactic derivability is a recurring research-paper notation family. States that a conclusion can be derived from premises using the rules of a… - [Therefore notation](https://fanout.sh/labs/math-decoder/symbol/therefore): Therefore is a recurring research-paper notation family. Marks a conclusion claimed to follow from the preceding premises or derivation steps. - [Arbitrary element choice notation](https://fanout.sh/labs/math-decoder/symbol/choose-arbitrary): Arbitrary element choice is a recurring research-paper notation family. Selects an unspecified element of a set so a proof that uses no special property… - [Exists uniquely notation](https://fanout.sh/labs/math-decoder/symbol/exists-unique): Exists uniquely is a recurring research-paper notation family. States that at least one object satisfies a condition and that no two distinct objects can… - [RoPE rotation matrix notation](https://fanout.sh/labs/math-decoder/symbol/rope-rotation-matrix): RoPE rotation matrix is a recurring research-paper notation family. Applies block-diagonal two-dimensional rotations to paired query or key features… - [RoPE angular frequency notation](https://fanout.sh/labs/math-decoder/symbol/rope-angular-frequency): RoPE angular frequency is a recurring research-paper notation family. Assigns a distinct geometric angular frequency to each paired feature plane used by… - [RoPE relative-position identity notation](https://fanout.sh/labs/math-decoder/symbol/rope-relative-position): RoPE relative-position identity is a recurring research-paper notation family. Shows that the dot product of separately rotated queries and keys depends… - [Multi-query attention notation](https://fanout.sh/labs/math-decoder/symbol/multi-query-attention): Multi-query attention is a recurring research-paper notation family. Uses many query heads but shares one key head and one value head across all of them… - [Grouped-query attention notation](https://fanout.sh/labs/math-decoder/symbol/grouped-query-attention): Grouped-query attention is a recurring research-paper notation family. Partitions query heads into groups whose members share one key and value head,… - [Query-head count notation](https://fanout.sh/labs/math-decoder/symbol/query-head-count): Query-head count is a recurring research-paper notation family. Counts independent query projections or attention heads used to produce attention score… - [GQA query-group size notation](https://fanout.sh/labs/math-decoder/symbol/kv-group-size): GQA query-group size is a recurring research-paper notation family. Counts how many query heads share each key-value head when query and KV head counts… - [Attention head dimension notation](https://fanout.sh/labs/math-decoder/symbol/attention-head-dimension): Attention head dimension is a recurring research-paper notation family. Names the feature width assigned to each attention head's query, key, and often… - [Query-to-KV head mapping notation](https://fanout.sh/labs/math-decoder/symbol/head-group-mapping): Query-to-KV head mapping is a recurring research-paper notation family. Maps each query-head index to the key-value head whose cache and projections that… - [Attention score matrix notation](https://fanout.sh/labs/math-decoder/symbol/attention-score-matrix): Attention score matrix is a recurring research-paper notation family. Contains every query-key dot product before scaling, masking, and normalization. - [Attention weight matrix notation](https://fanout.sh/labs/math-decoder/symbol/attention-weight-matrix): Attention weight matrix is a recurring research-paper notation family. Normalizes attention scores along the key axis so each query row supplies weights… - [Attention output projection notation](https://fanout.sh/labs/math-decoder/symbol/attention-output-projection): Attention output projection is a recurring research-paper notation family. Maps concatenated or combined per-head attention features back into the… - [Sliding-window attention notation](https://fanout.sh/labs/math-decoder/symbol/sliding-window-attention): Sliding-window attention is a recurring research-paper notation family. Restricts each query to key positions within a bounded local window to reduce… - [Top-k selection notation](https://fanout.sh/labs/math-decoder/symbol/top-k-selection): Top-k selection is a recurring research-paper notation family. Returns the k largest values, their indices, or both according to the operator's local… - [Mixture-of-experts layer notation](https://fanout.sh/labs/math-decoder/symbol/mixture-of-experts): Mixture-of-experts layer is a recurring research-paper notation family. Routes each token to a small subset of specialized feed-forward expert networks… - [MoE router logits notation](https://fanout.sh/labs/math-decoder/symbol/router-logits): MoE router logits is a recurring research-paper notation family. Produces one unnormalized routing score per expert for each token before normalization… - [Expert routing probability notation](https://fanout.sh/labs/math-decoder/symbol/router-probability): Expert routing probability is a recurring research-paper notation family. Normalizes router logits into expert weights used for selection, combination,… - [Expert capacity notation](https://fanout.sh/labs/math-decoder/symbol/expert-capacity): Expert capacity is a recurring research-paper notation family. Sets the maximum token count assigned to each expert from token load, expert count, and an… - [MoE load-balancing loss notation](https://fanout.sh/labs/math-decoder/symbol/load-balancing-loss): MoE load-balancing loss is a recurring research-paper notation family. Penalizes router behavior that concentrates tokens on too few experts by coupling… - [VAE posterior mean notation](https://fanout.sh/labs/math-decoder/symbol/vae-mean): VAE posterior mean is a recurring research-paper notation family. Predicts the center of the approximate latent posterior produced by a variational… - [VAE posterior log-variance notation](https://fanout.sh/labs/math-decoder/symbol/vae-log-variance): VAE posterior log-variance is a recurring research-paper notation family. Parameterizes positive latent variances in an unconstrained logarithmic space… - [Standard-normal latent noise notation](https://fanout.sh/labs/math-decoder/symbol/standard-normal-noise): Standard-normal latent noise is a recurring research-paper notation family. Introduces parameter-free Gaussian noise used to express a differentiable… - [Pathwise derivative estimator notation](https://fanout.sh/labs/math-decoder/symbol/pathwise-derivative): Pathwise derivative estimator is a recurring research-paper notation family. Differentiates through a deterministic transformation of parameter-free… - [ELBO inference gap notation](https://fanout.sh/labs/math-decoder/symbol/elbo-gap): ELBO inference gap is a recurring research-paper notation family. Measures looseness of the evidence lower bound and equals a KL divergence from the… - [Diffusion timestep notation](https://fanout.sh/labs/math-decoder/symbol/diffusion-timestep): Diffusion timestep is a recurring research-paper notation family. Indexes a discrete corruption or denoising level whose schedule coefficients determine… - [Diffusion noise-prediction loss notation](https://fanout.sh/labs/math-decoder/symbol/noise-prediction-loss): Diffusion noise-prediction loss is a recurring research-paper notation family. Trains a denoiser to recover the Gaussian noise that produced a noisy… - [Diffusion velocity prediction notation](https://fanout.sh/labs/math-decoder/symbol/velocity-prediction): Diffusion velocity prediction is a recurring research-paper notation family. Predicts a linear combination of clean signal and noise that provides an… - [Diffusion clean-sample prediction notation](https://fanout.sh/labs/math-decoder/symbol/clean-sample-prediction): Diffusion clean-sample prediction is a recurring research-paper notation family. Estimates the uncorrupted data sample directly from a noisy sample and… - [Diffusion signal-to-noise ratio notation](https://fanout.sh/labs/math-decoder/symbol/signal-to-noise-ratio): Diffusion signal-to-noise ratio is a recurring research-paper notation family. Compares retained clean-signal variance with injected noise variance at a… - [GAN discriminator loss notation](https://fanout.sh/labs/math-decoder/symbol/discriminator-loss): GAN discriminator loss is a recurring research-paper notation family. Trains an adversarial discriminator to score observed data as real and generated… - [Non-saturating GAN generator loss notation](https://fanout.sh/labs/math-decoder/symbol/nonsaturating-generator-loss): Non-saturating GAN generator loss is a recurring research-paper notation family. Updates a generator to make synthesized samples receive high… - [WGAN gradient penalty notation](https://fanout.sh/labs/math-decoder/symbol/gradient-penalty): WGAN gradient penalty is a recurring research-paper notation family. Penalizes critic input-gradient norms that depart from one on interpolated samples… - [Score-matching loss notation](https://fanout.sh/labs/math-decoder/symbol/score-matching-loss): Score-matching loss is a recurring research-paper notation family. Fits a vector field to the gradient of a data log density, often through a denoising… - [QR decomposition notation](https://fanout.sh/labs/math-decoder/symbol/qr-decomposition): QR decomposition is a recurring research-paper notation family. Factors a matrix into an orthogonal-column factor and an upper-triangular factor for… - [Cholesky factorization notation](https://fanout.sh/labs/math-decoder/symbol/cholesky-factorization): Cholesky factorization is a recurring research-paper notation family. Factors a symmetric positive-definite matrix into a lower-triangular matrix times… - [Eigendecomposition notation](https://fanout.sh/labs/math-decoder/symbol/eigendecomposition): Eigendecomposition is a recurring research-paper notation family. Expresses a diagonalizable linear transformation using its eigenvectors as a basis and… - [Principal component projection notation](https://fanout.sh/labs/math-decoder/symbol/principal-component-analysis): Principal component projection is a recurring research-paper notation family. Projects centered observations onto leading covariance eigenvectors to… - [Low-rank matrix factorization notation](https://fanout.sh/labs/math-decoder/symbol/low-rank-factorization): Low-rank matrix factorization is a recurring research-paper notation family. Approximates a large matrix with two narrow factors whose shared inner… - [Moore-Penrose pseudoinverse notation](https://fanout.sh/labs/math-decoder/symbol/moore-penrose-pseudoinverse): Moore-Penrose pseudoinverse is a recurring research-paper notation family. Generalizes matrix inversion to rectangular or singular matrices and yields… - [Orthogonal matrix notation](https://fanout.sh/labs/math-decoder/symbol/orthogonal-matrix): Orthogonal matrix is a recurring research-paper notation family. Describes a real square matrix whose transpose is its inverse, preserving dot products,… - [Symmetric matrix notation](https://fanout.sh/labs/math-decoder/symbol/symmetric-matrix): Symmetric matrix is a recurring research-paper notation family. Identifies a real square matrix whose entries mirror across the main diagonal and whose… - [Singular value notation](https://fanout.sh/labs/math-decoder/symbol/singular-value): Singular value is a recurring research-paper notation family. Measures how strongly a matrix stretches a corresponding orthogonal input direction and… - [Matrix spectral norm notation](https://fanout.sh/labs/math-decoder/symbol/spectral-norm): Matrix spectral norm is a recurring research-paper notation family. Returns the greatest Euclidean stretch a matrix can apply to any unit input vector,… - [Matrix condition number notation](https://fanout.sh/labs/math-decoder/symbol/matrix-condition-number): Matrix condition number is a recurring research-paper notation family. Quantifies sensitivity of a linear solve to perturbations by comparing the largest… - [Empirical risk notation](https://fanout.sh/labs/math-decoder/symbol/empirical-risk): Empirical risk is a recurring research-paper notation family. Averages a loss over observed samples as a data-based estimate of expected population risk. - [Estimator bias notation](https://fanout.sh/labs/math-decoder/symbol/estimator-bias): Estimator bias is a recurring research-paper notation family. Compares an estimator's expected value under repeated samples with the true parameter it… - [Unbiased estimator notation](https://fanout.sh/labs/math-decoder/symbol/unbiased-estimator): Unbiased estimator is a recurring research-paper notation family. States that repeated-sample expectation of an estimator equals the parameter being… - [Consistent estimator notation](https://fanout.sh/labs/math-decoder/symbol/consistent-estimator): Consistent estimator is a recurring research-paper notation family. States that an estimator concentrates near the true parameter as sample size grows… - [Standard error notation](https://fanout.sh/labs/math-decoder/symbol/standard-error): Standard error is a recurring research-paper notation family. Reports the standard deviation of an estimator's sampling distribution across repeated… - [Confidence interval notation](https://fanout.sh/labs/math-decoder/symbol/confidence-interval): Confidence interval is a recurring research-paper notation family. Constructs a data-dependent range with a stated long-run coverage rate under the… - [Monte Carlo estimator notation](https://fanout.sh/labs/math-decoder/symbol/monte-carlo-estimator): Monte Carlo estimator is a recurring research-paper notation family. Approximates an expectation or integral with the average of function values at… - [Direct preference optimization loss notation](https://fanout.sh/labs/math-decoder/symbol/dpo-loss): Direct preference optimization loss is a recurring research-paper notation family. Fits a policy directly to preference pairs through a logistic… - [Bradley-Terry preference model notation](https://fanout.sh/labs/math-decoder/symbol/bradley-terry-model): Bradley-Terry preference model is a recurring research-paper notation family. Maps the difference between two scalar item scores to the modeled… - [Preference probability notation](https://fanout.sh/labs/math-decoder/symbol/preference-probability): Preference probability is a recurring research-paper notation family. Assigns a conditional probability to an observed ordering between two responses for… - [Generalized advantage estimation notation](https://fanout.sh/labs/math-decoder/symbol/generalized-advantage-estimation): Generalized advantage estimation is a recurring research-paper notation family. Forms a bias-variance-controlled advantage estimate by exponentially… - [GAE trace parameter notation](https://fanout.sh/labs/math-decoder/symbol/gae-lambda): GAE trace parameter is a recurring research-paper notation family. Controls how quickly generalized advantage estimation downweights temporal-difference… - [Temporal-difference target notation](https://fanout.sh/labs/math-decoder/symbol/td-target): Temporal-difference target is a recurring research-paper notation family. Combines observed immediate reward with a discounted next-state prediction to… - [N-step return notation](https://fanout.sh/labs/math-decoder/symbol/n-step-return): N-step return is a recurring research-paper notation family. Adds n observed discounted rewards and then bootstraps from the estimated value at the… - [Value bootstrapping notation](https://fanout.sh/labs/math-decoder/symbol/bootstrapping): Value bootstrapping is a recurring research-paper notation family. Uses another learned prediction as part of a target instead of waiting for a fully… - [Actor-critic pair notation](https://fanout.sh/labs/math-decoder/symbol/actor-critic): Actor-critic pair is a recurring research-paper notation family. Couples a policy that selects actions with a value estimator that supplies… - [Value-function loss notation](https://fanout.sh/labs/math-decoder/symbol/value-loss): Value-function loss is a recurring research-paper notation family. Fits a parameterized value function to return or bootstrapped targets, usually with a… - [Policy KL penalty notation](https://fanout.sh/labs/math-decoder/symbol/kl-penalty): Policy KL penalty is a recurring research-paper notation family. Discourages a trained policy from moving too far from a reference distribution by… - [Reward model score notation](https://fanout.sh/labs/math-decoder/symbol/reward-model): Reward model score is a recurring research-paper notation family. Maps a prompt-response pair or trajectory to a learned scalar used as a proxy for human… - [Pairwise reward-model loss notation](https://fanout.sh/labs/math-decoder/symbol/reward-model-loss): Pairwise reward-model loss is a recurring research-paper notation family. Trains scalar reward scores so preferred responses outrank dispreferred… - [Clipped value loss notation](https://fanout.sh/labs/math-decoder/symbol/clipped-value-loss): Clipped value loss is a recurring research-paper notation family. Limits how much a value prediction can move from an earlier estimate while retaining… - [Eligibility trace notation](https://fanout.sh/labs/math-decoder/symbol/eligibility-trace): Eligibility trace is a recurring research-paper notation family. Maintains a decaying memory of recently active features or gradients so later TD errors… - [Policy trust-region constraint notation](https://fanout.sh/labs/math-decoder/symbol/trust-region-constraint): Policy trust-region constraint is a recurring research-paper notation family. Restricts an updated policy to remain within a bounded average divergence… - [Policy value-advantage decomposition notation](https://fanout.sh/labs/math-decoder/symbol/policy-value-decomposition): Policy value-advantage decomposition is a recurring research-paper notation family. Separates action value into the policy's baseline value for the state… - [Tensor-parallel weight shard notation](https://fanout.sh/labs/math-decoder/symbol/tensor-parallel-shard): Tensor-parallel weight shard is a recurring research-paper notation family. Names the rank-local slice of a weight tensor produced by partitioning a… - [Row-parallel linear layer notation](https://fanout.sh/labs/math-decoder/symbol/row-parallel-linear): Row-parallel linear layer is a recurring research-paper notation family. Partitions a linear layer's input dimension so each rank computes a partial… - [Column-parallel linear layer notation](https://fanout.sh/labs/math-decoder/symbol/column-parallel-linear): Column-parallel linear layer is a recurring research-paper notation family. Partitions a linear layer's output dimension so each rank independently… - [Communication volume notation](https://fanout.sh/labs/math-decoder/symbol/communication-volume): Communication volume is a recurring research-paper notation family. Counts bytes transferred between devices by a distributed operation, separately from… - [All-to-all collective notation](https://fanout.sh/labs/math-decoder/symbol/all-to-all): All-to-all collective is a recurring research-paper notation family. Redistributes distinct tensor chunks from every rank to every other rank, commonly… - [Point-to-point communication notation](https://fanout.sh/labs/math-decoder/symbol/point-to-point): Point-to-point communication is a recurring research-paper notation family. Transfers a tensor directly between a specified source rank and destination… - [Interconnect bandwidth notation](https://fanout.sh/labs/math-decoder/symbol/interconnect-bandwidth): Interconnect bandwidth is a recurring research-paper notation family. Measures the sustained or peak byte rate available for device-to-device… - [Network latency notation](https://fanout.sh/labs/math-decoder/symbol/network-latency): Network latency is a recurring research-paper notation family. Represents fixed time paid to initiate or traverse a communication step before… - [Quantization scale notation](https://fanout.sh/labs/math-decoder/symbol/quantization-scale): Quantization scale is a recurring research-paper notation family. Maps integer code steps to real-value spacing when weights or activations are quantized… - [Quantization zero-point notation](https://fanout.sh/labs/math-decoder/symbol/quantization-zero-point): Quantization zero-point is a recurring research-paper notation family. Chooses the integer code representing real zero in an affine quantizer so… - [Dequantization notation](https://fanout.sh/labs/math-decoder/symbol/dequantization): Dequantization is a recurring research-paper notation family. Maps stored integer codes back to approximate real values using the quantizer's scale and… - [Symmetric quantization notation](https://fanout.sh/labs/math-decoder/symbol/symmetric-quantization): Symmetric quantization is a recurring research-paper notation family. Uses a zero-centered integer range with no learned or stored offset, simplifying… - [Quantization group size notation](https://fanout.sh/labs/math-decoder/symbol/quantization-group-size): Quantization group size is a recurring research-paper notation family. Counts adjacent weights that share quantization parameters, trading metadata and… - [Quantized parameter memory notation](https://fanout.sh/labs/math-decoder/symbol/quantized-memory): Quantized parameter memory is a recurring research-paper notation family. Estimates storage for low-bit parameter codes plus scale, zero-point, packing,… - [Tight asymptotic bound notation](https://fanout.sh/labs/math-decoder/symbol/theta-asymptotic): Tight asymptotic bound is a recurring research-paper notation family. States that a function is bounded above and below by constant multiples of another… - [Strict asymptotic upper order notation](https://fanout.sh/labs/math-decoder/symbol/little-o): Strict asymptotic upper order is a recurring research-paper notation family. States that a function becomes negligible relative to another because their… - [Asymptotic lower bound notation](https://fanout.sh/labs/math-decoder/symbol/big-omega): Asymptotic lower bound is a recurring research-paper notation family. States that a function eventually remains at least a positive constant multiple of… - [Strict asymptotic lower order notation](https://fanout.sh/labs/math-decoder/symbol/little-omega): Strict asymptotic lower order is a recurring research-paper notation family. States that a function eventually dominates another so their absolute ratio… - [Direct proof pattern notation](https://fanout.sh/labs/math-decoder/symbol/direct-proof): Direct proof pattern is a recurring research-paper notation family. Proves an implication by assuming its premise and deriving the conclusion through… - [Proof by contrapositive notation](https://fanout.sh/labs/math-decoder/symbol/contrapositive-proof): Proof by contrapositive is a recurring research-paper notation family. Proves P implies Q by establishing the logically equivalent implication from not Q… - [Proof by cases notation](https://fanout.sh/labs/math-decoder/symbol/proof-by-cases): Proof by cases is a recurring research-paper notation family. Partitions all possibilities into exhaustive cases and proves the target proposition… - [Counterexample notation](https://fanout.sh/labs/math-decoder/symbol/counterexample): Counterexample is a recurring research-paper notation family. Refutes a universal claim by exhibiting one admissible object for which the claimed… - [Biconditional proof pattern notation](https://fanout.sh/labs/math-decoder/symbol/biconditional-proof): Biconditional proof pattern is a recurring research-paper notation family. Establishes an equivalence by proving both the forward implication and the… - [Constructive existence proof notation](https://fanout.sh/labs/math-decoder/symbol/constructive-proof): Constructive existence proof is a recurring research-paper notation family. Proves an existence claim by explicitly building an object and then verifying… - [Star notation](https://fanout.sh/labs/math-decoder/symbol/star): A deliberately overloaded mark used for optimal objects, complex conjugates, adjoints, repeated strings, and named special cases. - [Tilde notation](https://fanout.sh/labs/math-decoder/symbol/tilde): A context-sensitive mark for probability distributions, asymptotic equivalence, equivalence relations, and approximate or perturbed objects. - [Inverse superscript notation](https://fanout.sh/labs/math-decoder/symbol/inverse-superscript): The superscript negative one can denote a reciprocal, matrix inverse, inverse function, or set preimage depending on the base object's type. - [State value under a policy decoded](https://fanout.sh/labs/math-decoder/formula/reinforcement-learning-state-value): Defines how valuable a state is when future actions are selected by policy pi. - [Scaled dot-product attention decoded](https://fanout.sh/labs/math-decoder/formula/scaled-dot-product-attention): Turns query-key similarity scores into normalized weights and uses them to combine value vectors. - [Gradient-descent parameter update decoded](https://fanout.sh/labs/math-decoder/formula/gradient-descent-parameter-update): Updates parameters by taking a learning-rate-sized step opposite the local loss gradient. - [Decoder KV-cache memory decoded](https://fanout.sh/labs/math-decoder/formula/kv-cache-memory-bytes): Estimates the raw decoder self-attention key-and-value cache bytes for a homogeneous transformer configuration. - [Roofline attainable-performance bound decoded](https://fanout.sh/labs/math-decoder/formula/roofline-performance-bound): Bounds attainable kernel performance by whichever ceiling is lower: compute throughput or data-movement throughput. - [Bayes' rule decoded](https://fanout.sh/labs/math-decoder/formula/bayes-rule-posterior-update): Updates a prior belief about a parameter after observing evidence by reweighting parameter values according to how well they predict that evidence. - [Categorical cross-entropy from logits decoded](https://fanout.sh/labs/math-decoder/formula/categorical-cross-entropy-from-softmax): Converts unnormalized class logits into probabilities and penalizes low probability assigned to the observed target class. - [Kullback-Leibler divergence decoded](https://fanout.sh/labs/math-decoder/formula/kullback-leibler-divergence): Measures the expected log-density mismatch when outcomes follow p but are represented using q. - [Adam parameter update decoded](https://fanout.sh/labs/math-decoder/formula/adam-bias-corrected-update): Updates each parameter using a smoothed gradient divided by an adaptive scale derived from recent squared gradients. - [Bellman optimality equation decoded](https://fanout.sh/labs/math-decoder/formula/bellman-optimality-action-value): Defines optimal action value recursively through one observed transition and the best possible continuation. - [PPO clipped surrogate objective decoded](https://fanout.sh/labs/math-decoder/formula/ppo-clipped-surrogate-objective): Limits the optimization incentive from policy probability ratios that move too far from the data-collecting policy. - [Ring all-reduce communication volume decoded](https://fanout.sh/labs/math-decoder/formula/ring-all-reduce-bytes-per-rank): Estimates ideal bytes sent by each rank when an N-element tensor is all-reduced using a bandwidth-optimal reduce-scatter followed by all-gather ring. - [Autoregressive sequence log-likelihood decoded](https://fanout.sh/labs/math-decoder/formula/autoregressive-sequence-log-likelihood): Decomposes sequence likelihood into next-token prediction terms that an autoregressive model can train and evaluate directly. - [Variational autoencoder ELBO decoded](https://fanout.sh/labs/math-decoder/formula/variational-autoencoder-elbo): Balances explaining each observation through latent samples with keeping the learned latent distribution close to the model prior. - [Diffusion forward-process marginal decoded](https://fanout.sh/labs/math-decoder/formula/diffusion-closed-form-forward-process): Samples a noised version at any diffusion time directly from the clean sample without simulating every intermediate step. - [Multi-head attention shape flow decoded](https://fanout.sh/labs/math-decoder/formula/multi-head-attention-tensor-shapes): Makes the attention equation type-checkable by exposing every tensor axis and the contracted dimensions. - [LayerNorm and RMSNorm decoded](https://fanout.sh/labs/math-decoder/formula/layernorm-versus-rmsnorm): Shows exactly which centering and bias operations RMSNorm removes from LayerNorm while retaining feature-wise rescaling. - [LLM serving latency decomposition decoded](https://fanout.sh/labs/math-decoder/formula/llm-serving-latency-decomposition): Separates a request's waiting, prompt-processing, and iterative decode contributions so bottlenecks are not hidden in one average. - [Direct preference optimization loss decoded](https://fanout.sh/labs/math-decoder/formula/direct-preference-optimization-loss): Raises the reference-relative likelihood of preferred responses over dispreferred responses without fitting a separate reward model during policy… - [VAE reparameterized latent sample decoded](https://fanout.sh/labs/math-decoder/formula/vae-reparameterization-trick): Expresses a random posterior sample as a differentiable transformation of parameter-free noise so gradients can flow into encoder parameters. - [Diffusion noise-prediction objective decoded](https://fanout.sh/labs/math-decoder/formula/ddpm-noise-prediction-objective): Trains a denoising network to identify the exact Gaussian noise used to corrupt a clean sample at a randomly selected timestep. - [RoPE relative-position rotation decoded](https://fanout.sh/labs/math-decoder/formula/rotary-position-relative-dot-product): Shows why rotary position embedding makes a query-key attention score depend on relative position even though each vector receives an absolute-position… - [Top-k mixture-of-experts routing decoded](https://fanout.sh/labs/math-decoder/formula/mixture-of-experts-top-k-routing): Makes sparse conditional computation explicit by separating expert selection from the weighted combination of only selected expert outputs. - [Row-parallel tensor communication decoded](https://fanout.sh/labs/math-decoder/formula/row-parallel-linear-all-reduce): Shows why sharding a linear layer across its input dimension creates full-shaped partial outputs that require a sum collective. - [Math Decoder Course](https://fanout.sh/ml-math/decoder): A 36-lesson course for reading the notation, types, shapes, operators, and recurring formulas inside AI research papers. - [Equations are typed sentences](https://fanout.sh/ml-math/decoder/equations-are-typed-sentences): Find the mathematical nouns, the main verb, and the types that make a formula readable. - [Read mathematical notation aloud](https://fanout.sh/ml-math/decoder/read-mathematical-notation-aloud): Turn visual notation into deliberate spoken language so hidden structure becomes audible. - [Subscripts, superscripts, and decorations](https://fanout.sh/ml-math/decoder/subscripts-superscripts-and-decorations): Distinguish indices, powers, iteration labels, estimates, averages, and transposes. - [Brackets, scope, and operator precedence](https://fanout.sh/ml-math/decoder/brackets-scope-and-operator-precedence): Mark where each operator starts and stops before attempting a calculation. - [Definitions, objectives, and updates](https://fanout.sh/ml-math/decoder/definitions-objectives-and-updates): Separate lines that name a quantity, select a desired result, and construct the next algorithm state. - [Ambiguous glyphs and the notation ledger](https://fanout.sh/ml-math/decoder/ambiguous-glyphs-and-the-notation-ledger): Resolve overloaded marks with context and keep a living dictionary while reading. - [Matrix Notation for ML: Vectors, Matrices, Tensors](https://fanout.sh/ml-math/decoder/scalars-vectors-matrices-and-tensors): Read matrix and vector notation in ML papers: what each axis means, when two shapes can multiply, and why attention needs K transpose. - [Sets, membership, and logic](https://fanout.sh/ml-math/decoder/sets-membership-and-logic): Read set-builder notation as a typed logical filter over a candidate domain. - [Functions, mappings, and bound variables](https://fanout.sh/ml-math/decoder/functions-mappings-and-bound-variables): Read an input-output contract and distinguish free inputs from names bound inside its rule. - [Tools for technical work](https://fanout.sh/tools): A curated collection of useful AI, machine learning, and system design tools, each explained in one clear sentence. - [Inference Engineering Course](https://fanout.sh/inference-eng): Learn LLM inference from token generation and KV-cache math to continuous batching, serving runtimes, benchmarking, and capacity planning. - [Best LLM Inference Courses and Resources (2026)](https://fanout.sh/inference-eng/courses): Compare LLM inference courses from Stanford, MIT, DeepLearning.AI, Hugging Face, GPU MODE, Maven cohorts and Fanout: format, depth and access. - [What Is LLM Inference? Inference Engineering 101](https://fanout.sh/inference-eng/curriculum/in-01): What LLM inference is, how it differs from training, what one generated token costs, and what the discipline of inference engineering optimizes. - [The LLM Inference Stack: From Model File to GPU](https://fanout.sh/inference-eng/curriculum/in-03): The layers of every LLM inference system: the model artifact, the runtime, the hardware and the production service, and how to diagnose across them. - [What Inference Engineers Do: 5 Scopes of Practice](https://fanout.sh/inference-eng/curriculum/in-04): The five scopes of inference engineering practice: run, measure, improve, operate a service and advance a layer, and the evidence each one requires. - [LLM VRAM Math: How Much GPU Memory a Model Needs](https://fanout.sh/inference-eng/curriculum/00-01): Napkin arithmetic for LLM inference: count the bytes a model needs in GPU memory, turn bandwidth into a speed ceiling, and check what a speedup is worth. - [Tensor Shapes in LLMs: Vectors, Matrices, Tensors](https://fanout.sh/inference-eng/curriculum/00-02): How to read the tensor shapes inside an LLM such as Llama 3.1 8B: parameters and activations, the cost of a matrix multiply, and fixing shape errors. - [The Attention Formula: Dot Products and Softmax](https://fanout.sh/inference-eng/curriculum/00-03): Build the attention formula by hand from three moves: score pairs of vectors with dot products, turn scores into weights with softmax, then sum. - [Probability, Sampling and Benchmark Statistics](https://fanout.sh/inference-eng/curriculum/00-04): The probability LLM inference needs: distributions, sampling from them, and summarizing repeated benchmark runs with means, percentiles and small samples. - [PyTorch for LLM Inference: inference_mode](https://fanout.sh/inference-eng/curriculum/00-05): The PyTorch habits inference work relies on: reading a tensor, keeping it on the right device and format, using inference mode and pinning the environment. - [Decoder-Only Transformer Architecture (Llama)](https://fanout.sh/inference-eng/curriculum/00-06): A map of the decoder-only transformer behind Llama 3.1 8B: the embedding, 32 identical blocks, attention, the gated MLP and position, with every shape. - [Rent a Remote GPU and SSH In: Setup for LLM Work](https://fanout.sh/inference-eng/curriculum/00-07): Rent a remote GPU machine and work on it over SSH: keys and config, sessions that survive a dropped connection, file transfer and port forwarding. - [Check CUDA, Driver and PyTorch Compatibility](https://fanout.sh/inference-eng/curriculum/00-08): The four software layers between a GPU and PyTorch, how to read nvidia-smi, and the Python checks that prove the driver, CUDA and your PyTorch build agree. - [Lab: Set Up a GPU Machine for LLM Inference](https://fanout.sh/inference-eng/curriculum/00-09): The first lab of the course: connect a laptop to a remote GPU, verify PyTorch can see the GPU, forward a port, and record a setup you can rebuild. - [Open-Weight Models: How to Choose and Download One](https://fanout.sh/inference-eng/curriculum/01-01): Choose an open-weight model you are allowed to run, check that it fits your GPU, and download it from Hugging Face, including gated models and licenses. - [Load a Model with AutoTokenizer (Hugging Face)](https://fanout.sh/inference-eng/curriculum/01-02): Load an open model onto the GPU with Hugging Face transformers, use AutoTokenizer to turn text into token IDs, and check what loaded matches the download. - [Generate and Stream LLM Tokens with Hugging Face](https://fanout.sh/inference-eng/curriculum/01-03): Generate your first tokens with Hugging Face transformers, see why sampled output varies between runs, stream tokens as they arrive, and time it honestly. - [GPU Utilization and Memory with nvidia-smi](https://fanout.sh/inference-eng/curriculum/01-04): Read GPU memory, utilization and power with nvidia-smi while an LLM generates, learn which reading is routinely misread, and build a quick triage habit. - [Serve an LLM over HTTP with FastAPI and Streaming](https://fanout.sh/inference-eng/curriculum/01-05): Put a loaded LLM behind an HTTP endpoint with FastAPI and uvicorn, call it from your laptop, stream tokens over HTTP, and see where a simple server stops. - [Lab: Deploy an LLM on a Reproducible GPU Server](https://fanout.sh/inference-eng/curriculum/01-06): Turn a hand-built LLM server into a small repository that takes a fresh GPU box to a verified endpoint, and prove it survives restarts and cold starts. - [How an LLM Generates One Token, Step by Step](https://fanout.sh/inference-eng/curriculum/02-01): Follow one generation step through a transformer at tensor level: from text to token IDs, through the stack of blocks, to the logits for the next token. - [Q, K, V and Causal Attention During Inference](https://fanout.sh/inference-eng/curriculum/02-02): What queries, keys and values do in attention, why generation needs a causal mask, and what a real attention pattern captured from Llama 3.1 8B looks like. - [Autoregressive Generation: Build the Token Loop](https://fanout.sh/inference-eng/curriculum/02-05): Rebuild model.generate() as a dozen-line autoregressive loop, watch greedy decoding pick each next token, and find the flaw the KV cache exists to fix. - [KV Cache Explained: Why LLMs Recompute Without It](https://fanout.sh/inference-eng/curriculum/03-01): Why naive autoregressive generation recomputes the whole sequence at every step, how the KV cache removes that waste, and how prefill differs from decode. - [Build a KV Cache in PyTorch, Step by Step](https://fanout.sh/inference-eng/curriculum/03-04): Upgrade a generation loop to the cached form every serving system runs, inspect the KV cache tensors and their shapes, and prove the output is unchanged. - [Time to First Token (TTFT) and LLM Latency Metrics](https://fanout.sh/inference-eng/curriculum/04-01): The LLM latency and throughput metrics, from time to first token and inter-token latency to end-to-end latency and tokens per second, on a real timeline. - [Goodput in LLM Serving: SLOs, Throughput, Failures](https://fanout.sh/inference-eng/curriculum/04-06): How to set an SLO on a latency percentile, count the requests that fail it, and report goodput: the throughput that actually met the target. - [LLM Load Testing: Saturation, SLO Failure and OOM](https://fanout.sh/inference-eng/curriculum/05-05): Load test an LLM server to find three boundaries: the rate where it saturates, the rate where the SLO fails, and the context length where memory runs out. - [P95 and P99 Latency for LLM Benchmarks, Explained](https://fanout.sh/inference-eng/curriculum/04-05): Turn per-request timings into a latency report: the P50, P95 and P99 grid, the shape behind each row, tail exposure, and how many runs a claim needs. - [Continuous Batching Step by Step, From Orca to vLLM](https://fanout.sh/inference-eng/curriculum/07-03): How an engine lets requests join and leave the running batch at every step, what 32 concurrent requests do to TTFT, and where Orca named the idea. - [PagedAttention: How Block Tables Map the KV Cache](https://fanout.sh/inference-eng/curriculum/08-03): How PagedAttention turns a request's block table into attention over a shared KV pool: reading and writing blocks, and the kernels that implement it. - [Chunked Prefill in vLLM: Budgets and Chunk Size](https://fanout.sh/inference-eng/curriculum/10-02): Why a long prompt blocks a step, how chunked prefill splits it against the scheduler's token budget, the default setting, and the startup error it fixes. - [Automatic Prefix Caching in vLLM, Block by Block](https://fanout.sh/inference-eng/curriculum/10-05): How vLLM finds a reusable prefix: block identity, the lookup at admission, the hit counters and log field, and why a freed block can still be found. - [RadixAttention and Prefix Cache Eviction](https://fanout.sh/inference-eng/curriculum/10-07): Prefix reuse costs memory: how a radix tree and block hashing answer the same question, when a cached block stops being findable, and cache churn. - [How BF16, FP8, INT8 and 4-Bit Formats Spend Bits](https://fanout.sh/inference-eng/curriculum/11-02): What each inference number format can hold: how bits are spent, the two FP8 encodings, INT8 and 4-bit with scales, reading the notation, and a 4-bit build. - [How GPTQ, AWQ and SmoothQuant Handle Outliers](https://fanout.sh/inference-eng/curriculum/11-03): Why four-bit weights lose values, and how three methods respond: GPTQ's error compensation, the channels AWQ protects, SmoothQuant's migration. - [Quantizing the KV Cache in vLLM: Flags and Scales](https://fanout.sh/inference-eng/curriculum/11-05): What one cached token costs, how a quantized KV cache changes the reservation, the cache dtype flag and its values, and where the scales come from. - [Nsight Systems for LLM Serving: Read the Timeline](https://fanout.sh/inference-eng/curriculum/12-03): Profile a serving process with NVIDIA Nsight Systems: the timeline's rows, a window on decode, three readings of it, and what the timeline cannot show. - [Nsight Compute for LLM Kernels: Read the Report](https://fanout.sh/inference-eng/curriculum/12-04): Look inside one GPU kernel with NVIDIA Nsight Compute: replay passes, speed of light, memory workload analysis, occupancy and launch statistics. - [Is LLM Decode Compute-Bound or Memory-Bound?](https://fanout.sh/inference-eng/curriculum/12-07): Every kernel moves bytes and does arithmetic, and one of them sets the time. Place the course's own decode work against the GPU's balance point. - [Writing GPU Kernels in Triton: Programming Model](https://fanout.sh/inference-eng/curriculum/13-02): Triton, the Python GPU kernel language: one program per tile, the kernel and its launch grid, compiling on first call, and where such kernels run. - [Online Softmax and Tiled Attention, Step by Step](https://fanout.sh/inference-eng/curriculum/14-02): Why attention seems to need a whole row of scores, and how a running maximum and a running normalizer let softmax work one tile at a time. - [FlashAttention: IO Complexity and FlashAttention-2](https://fanout.sh/inference-eng/curriculum/14-03): How FlashAttention keeps attention tiles in fast on-chip memory, its IO complexity claim, what inference inherits, and FlashAttention-2's partitioning. - [torch.compile for LLM Decode: Kernel Fusion](https://fanout.sh/inference-eng/curriculum/15-02): What torch.compile records from a decode step, the fused kernels it generates, how inference engines use it by default, and how to see what compiled. - [CUDA Graphs for LLM Decode: Capture and Replay](https://fanout.sh/inference-eng/curriculum/15-04): Record a decode step's kernel sequence once and replay it: stream capture, instantiation, what a graph fixes in place, and the two graphs an engine keeps. - [Speculative Sampling: How Draft Tokens Are Verified](https://fanout.sh/inference-eng/curriculum/16-02): Where draft tokens come from, the acceptance rule at temperature zero and when sampling, accepted and bonus tokens, and why verification is lossless. - [Draft Heads and Multi-Token Prediction for Decoding](https://fanout.sh/inference-eng/curriculum/16-06): Drafters built into the target model: heads on the last hidden state, their acceptance rules, feature-level drafting, and heads trained with the model. - [SGLang vs vLLM: How the Two Engines Are Built](https://fanout.sh/inference-eng/curriculum/17-02): Read SGLang and vLLM as programs: their processes, where the scheduling decision lives, and what each calls its cached state. Designs, not benchmarks. - [TensorRT-LLM: Engine Builds, Kernels and Trade-Offs](https://fanout.sh/inference-eng/curriculum/17-03): How TensorRT-LLM builds an engine ahead of time for one GPU and workload: the artifact, fused kernels in a decode step, its cost, and precision by GPU. - [llama.cpp for Local LLM Inference: GGUF and Layers](https://fanout.sh/inference-eng/curriculum/17-04): How llama.cpp serves one user on one device: the GGUF file mapped into memory, quantization by default, layers as the unit of placement, and server slots. - [Tensor Parallelism: Splitting a Layer Across GPUs](https://fanout.sh/inference-eng/curriculum/18-03): How several GPUs work on the same tokens: output slices and partial sums, a two-worker example, Llama's feed-forward block, and attention head limits. - [Pipeline Parallelism for LLM Inference: Stages](https://fanout.sh/inference-eng/curriculum/18-06): Split a model between layers instead of within them: what each stage holds, what crosses the boundary, one request through two stages, filling the pipe. - [Context Parallelism: Sharding a Long KV Cache](https://fanout.sh/inference-eng/curriculum/18-08): When one long request's KV cache outgrows the weights: attention over a shard of positions, the prefill and decode forms, and what an engine can run. - [MoE Inference Memory: Experts Stored vs Selected](https://fanout.sh/inference-eng/curriculum/19-01): Why a mixture-of-experts model that selects about 13 billion parameters per token still needs over 90 GB for its weights, and how that splits the budget. - [Expert Parallelism: Placing MoE Experts on GPUs](https://fanout.sh/inference-eng/curriculum/19-03): How an engine maps a router's expert choices onto GPUs, and how expert parallelism, where each device holds whole experts, differs from tensor parallelism. - [When to Separate Prefill and Decode Workers](https://fanout.sh/inference-eng/curriculum/21-01): A long prompt makes other users' tokens late. Find whether shared execution, an overloaded queue or another part of the path causes it before splitting. - [Multi-LoRA Serving: Adapters on One Base Model](https://fanout.sh/inference-eng/curriculum/26-02): Serving several LoRA adapters on one shared base model: what loading them together saves, and how a request for a new adapter triggers loading or eviction. - [LLM Inference Glossary: Serving Terms Defined](https://fanout.sh/inference-eng/glossary): Precise definitions for the metrics, states, boundaries, and mechanisms used across the inference engineering curriculum. - [LLM Inference Engines and Tools: vLLM, SGLang](https://fanout.sh/inference-eng/tools): A hand-picked toolbox for inference engineers: serving engines such as vLLM and SGLang, kernels, quantization, benchmarking and profiling tools. - [Essential LLM Inference Papers, in Reading Order](https://fanout.sh/inference-eng/papers): The papers that define modern LLM inference, in reading order: from tiling the attention score matrix to compressing the KV cache away. - [AI Infrastructure and Inference Engineer Careers](https://fanout.sh/inference-eng/careers): Six inference engineering role families, the evidence each expects, the lessons that build it, and the teams that hire for them. - [Who to Follow in LLM Inference](https://fanout.sh/inference-eng/field): Engineers, maintainers, and researchers worth following, least known first. - [Best Books on LLM Inference and GPU Programming](https://fanout.sh/inference-eng/books): Books on inference, GPU programming, ML systems, and performance engineering. - [LLM Inference Articles and Reports, Curated](https://fanout.sh/inference-eng/articles): Hand-picked articles and reports on transformer inference, from first-principles arithmetic to KV cache design, scheduling, kernels and benchmarking. - [LLM Inference Communities: GPU MODE and More](https://fanout.sh/inference-eng/community): The chats, forums, conferences, and lecture series a working inference engineer actually joins. - [Handwritten Notes on LLM Inference and Attention](https://fanout.sh/inference-eng/handwritten-notes): Handwritten derivations, annotated lectures and paper notes for attention, GPU kernels, quantization and inference systems. - [Build a Mini LLM Inference Engine: Labs](https://fanout.sh/inference-eng/practice): Curriculum labs, interactive tools, and capstone projects for inference engineering. - [LLM Inference Interview Questions by Track](https://fanout.sh/inference-eng/interviews): Questions organized by technical track, difficulty, and source evidence. - [LLM Inference in Production: Real Architectures](https://fanout.sh/inference-eng/production): Architecture reports, incidents, and migrations from teams running inference at scale. - [LLM Inference Hardware Guide: H100, H200, B200](https://fanout.sh/inference-eng/hardware): NVIDIA and Apple hardware for local and production inference. - [LLM Inference News and vLLM Release Radar](https://fanout.sh/inference-eng/radar): Releases, engineering blogs, paper feeds, and conferences worth following. - [Open Robotics](https://fanout.sh/open-robotics): The upcoming Fanout course for ROS 2, simulation, control, perception, navigation, manipulation, and open-stack robot engineering. - [Back-of-the-Envelope Calculator for System Design](https://fanout.sh/labs/back-of-the-envelope): Estimate QPS, storage and bandwidth for a system design, then scale the load 1× to 100× to see which component breaks first. - [Exponential Backoff and Timeout Calculator](https://fanout.sh/labs/timeout-architect): Plan timeouts, retries and exponential backoff with jitter for one request, and check whether the full retry schedule fits its deadline. - [Latency Numbers Every Programmer Should Know](https://fanout.sh/labs/latency-numbers): The latency numbers every programmer should know, interactive: compare cache, RAM, SSD, network and cross-region times and see how they changed by year. - [Token Counter and Context Window Checker](https://fanout.sh/labs/tokenizer-context): Count the exact tokens in any prompt for GPT-4o-class models, see every token boundary, and check how much context is left after reserving output. - [KV Cache Calculator: LLM Memory per Token](https://fanout.sh/labs/kv-cache): Calculate KV cache memory from layers, KV heads, head size, context length, batch and precision, and see how many sequences fit on your GPU. - [LLM Temperature, Top-p and Top-k Playground](https://fanout.sh/labs/sampling-playground): Move temperature, top-k and top-p and watch the next-token probabilities change, then sample a token to see why the same prompt gives different answers. - [RAG Chunking Strategies: Chunk Size and Overlap](https://fanout.sh/labs/rag-chunking): Test RAG chunking on your own text: set chunk size and overlap, ask a question, and see which chunks retrieval returns and where the answer got split. - [Gradient Descent Visualizer: Tune the Learning Rate](https://fanout.sh/labs/gradient-descent): Visualize gradient descent step by step: change the learning rate and starting point and watch it converge, stall, overshoot or diverge. - [Is Your Eval Gain Real? LLM Eval Confidence Check](https://fanout.sh/labs/eval-confidence): Is your eval gain real? Turn passes and test cases into a Wilson confidence interval, compare it with your baseline, and see how many cases you need. - [Linear Attention vs Full Attention, Visualized](https://fanout.sh/labs/how-ai-remembers): Feed facts into full attention, linear attention, DeltaNet and Kimi's KDA side by side and watch what each memory keeps, overwrites and retrieves. - [24-Hour Daily Planner on One Dial](https://fanout.sh/labs/daily-planner): Plan your whole 24-hour day on one color-coded dial, spot overlaps between blocks, and download your day as a private PNG. Free, no account. - [AI Agent Reliability Calculator: Success and Cost](https://fanout.sh/labs/agent-control-room): Will your multi-step agent finish? Combine per-step success, fallbacks and retries into end-to-end success rate and expected cost per run. - [LLM API Pricing Comparison for Your Workload](https://fanout.sh/labs/model-router-and-pareto-explorer): Compare LLM API prices for your workload: enter tokens per request, monthly volume, context and budget, and see the cheapest models that fit. - [PDF-to-RAG Readiness Scan: Check a PDF](https://fanout.sh/labs/pdf-to-rag-readiness-scan): See whether a PDF is ready for RAG before you index it: the text extracted from each page, fragmentation and reading-order problems. - [Knowledge Topography](https://fanout.sh/knowledge-graph): Explore how concepts across AI Research, System Design, and ML Math connect, then continue into the exact Fanout lesson or archive note. - [AI Research Papers Explained Daily](https://fanout.sh/daily): Browse the daily paper calendar, open past picks, and read the current paper with a short learning note. - [AI Companies and Startups Directory](https://fanout.sh/companies): Explore source-linked AI companies across evals, agents, infrastructure, hardware, robotics, scientific AI, and model systems. - [Fanout AI Research Course & Roadmap](https://fanout.sh/ai): A structured path to AI research: 12 modules, 108 lessons, papers, and community — from math fundamentals to transformers, RLHF, and MLOps. - [AI Research Course: Math to LLMs From Scratch](https://fanout.sh/ai/overview): Learn AI research in order: math, PyTorch, attention, RL for LLM reasoning, Llama 4 from scratch, fine-tuning and MLOps. Start with the free lessons. - [System Design Course: Concepts, Cases and Builds](https://fanout.sh/system): A system design course with deep notes, interview case studies, and from-scratch implementations for senior engineering practice. - [System Design Course: Fundamentals to Real Systems](https://fanout.sh/system/overview): Learn system design from first principles: APIs, databases, caching, queues and search, then real-world designs and company case studies. Start free. - [System design interview questions and walkthroughs](https://fanout.sh/system/systems): Design a URL shortener, rate limiter, chat, social feed, payment system and 24 more, plus 5 company cases. 3 walkthroughs are free; the rest are Pro. - [System design case studies](https://fanout.sh/system/case-studies): Explore real company architectures and the decisions behind them, with findings from Instagram, Stripe, Discord, Amazon and GitLab. - [System design company guides](https://fanout.sh/system/company-guides): Practice system-design questions reported in company interviews, with walkthroughs linked to the fundamentals they use. - [System design archive](https://fanout.sh/system/archive): Deep-dive system design notes across distributed systems, storage, APIs, caching, search, analytics, reliability, and senior tradeoffs. - [System design implementations](https://fanout.sh/system/implementations): From-scratch implementations for system design primitives including load balancers, hash rings, bloom filters, WALs, and rate limiters. - [Best System Design Books and Resources (2026)](https://fanout.sh/system/resources): What to read for system design, and when: DDIA (2nd edition), Alex Xu's two volumes, Database Internals, the free SRE books and the best free guides. - [Terms of Service](https://fanout.sh/terms): Terms governing Fanout accounts, plans, lifetime access, metered compute features, billing, and acceptable use. - [Privacy Policy](https://fanout.sh/privacy): How Fanout handles account, payment, analytics, session, and metered-feature data across its technical learning products. - [Refund Policy](https://fanout.sh/refunds): Fanout purchases are final. Why the policy works that way, how to evaluate before buying, and the narrow exceptions for billing errors. - [Machine Learning Mathematics Course](https://fanout.sh/ml-math): Build the mathematics behind machine learning through 301 topic-level lessons, guided notes, visual intuition, resources, and practice checks. - [Mathematics for Machine Learning: Sets to Inference](https://fanout.sh/ml-math/overview): Linear algebra, calculus and probability for machine learning, built up from sets and logic one topic at a time. Start with the free lessons. - [ML mathematics resources](https://fanout.sh/ml-math/resources): Ten carefully selected books for machine learning mathematics, probability, optimization, numerical computing, and engineering math. - [All Courses: AI, System Design and ML Math](https://fanout.sh/courses): Browse every Fanout course: AI research, system design, ML maths, inference engineering and AI engineering, plus the courses launching next. - [Fanout Course Pricing: AI, Systems and ML Math](https://fanout.sh/pricing): Compare Fanout Monthly, Quarterly, Annual, and limited Lifetime full-access plans for every current course. - [Fanout for students](https://fanout.sh/students): Students can request a discounted rate on any Fanout plan. Tell us where you study, we verify it by hand, and a code lands in your inbox. - [AI glossary, in plain English](https://fanout.sh/ai/glossary): 192 AI and ML terms defined in plain English — from ablation study to zero-shot — organized by fundamentals, architecture, training, and research. - [Course roadmaps](https://fanout.sh/roadmaps): Complete learning paths for AI research, system design, ML math, and inference engineering. Explore every chapter and track your progress. - [Inference Engineer Roadmap: 10 Stages, in Order](https://fanout.sh/roadmaps/inference-engineering): The inference engineer roadmap: 10 stages and 32 chapters, from how LLM inference works to serving engines, kernels, multi-GPU and production. - [AI Research roadmap](https://fanout.sh/roadmaps/ai-research): Build foundations, implement models, and work toward research of your own. Explore the complete course path, open lessons, and follow your progress. - [System Design roadmap](https://fanout.sh/roadmaps/system-design): Learn the building blocks, then work through systems and company cases. Explore the complete course path, open lessons, and follow your progress. - [ML Math roadmap](https://fanout.sh/roadmaps/ml-math): Connect sets, linear algebra, calculus, and probability to machine learning. Explore the complete course path, open lessons, and follow your progress. - [Foundational papers by track, in reading order](https://fanout.sh/papers): Which AI, systems, RL, and inference papers to read first, what each one unlocks, and the prerequisites drawn in. Free map; Fanout guides are Pro. - [Fanout weekly newsletter](https://fanout.sh/newsletter): One short email a week — new papers, systems notes, and course drops across AI research and engineering, distilled into what's worth your time. - [Ideas and feature requests](https://fanout.sh/ideas): Suggest features and improvements for Fanout, and vote on the ideas you want built next. - [What’s new in Fanout](https://fanout.sh/updates): See the latest Fanout courses, curriculum updates, Daily papers, labs, tools, resources, and study releases. - [Learning tracks](https://fanout.sh/ai/tracks): Guided tracks through the curriculum — AI researcher, ML engineer, and more — each a sequenced path of modules with an estimated timeline. - [Resource library](https://fanout.sh/ai/resources): A curated library of AI learning resources — the courses, books, lectures, and repos that hold up, organized by topic and level. - [Foundational AI papers](https://fanout.sh/ai/papers): The papers that built modern AI, in reading order — attention, scaling laws, RLHF, diffusion — with context on why each one matters. - [AI research jobs](https://fanout.sh/ai/jobs): A curated feed of AI research and ML engineering roles at labs and startups — updated regularly. - [AI communities directory](https://fanout.sh/ai/community): The Discords, study groups, and organizations worth joining as an aspiring AI researcher — a curated, active-only directory. - [AI blogs worth reading](https://fanout.sh/ai/blogs): Curated blogs from researchers and labs — the writing that actually explains how modern AI works. - [Articles](https://fanout.sh/ai/articles): Longform explainers and essays on AI research topics — curated writing for people learning the field seriously. - [Practical guides](https://fanout.sh/ai/guides): Hands-on guides for the working researcher — fine-tuning, evals, GPU choices, and writing your first paper. - [AI newsletters](https://fanout.sh/ai/newsletters): The AI newsletters worth your inbox — research digests, engineering deep dives, and industry analysis, curated and current. - [ML interview questions](https://fanout.sh/ai/interviews): Real ML interview questions by difficulty — core ML, LLMs, system design, Python, and computer vision — with tags to drill weak spots. - [Hands-on challenges](https://fanout.sh/ai/challenges): Build, train, and debug real models — hands-on challenges that test what you learned in each module. - [AI research tools](https://fanout.sh/ai/tools): The working researcher's stack — experiment tracking, data curation, eval frameworks, and the tools labs actually use. - [Claude Code for research](https://fanout.sh/ai/claude-code): Guides and workflows for doing research with Claude Code — using coding agents to speed up experiments, reading, and writing. - [ML system design](https://fanout.sh/ai/system-design): System design for machine learning — serving, retrieval, and training infrastructure patterns behind production AI systems. - [AI hardware guide](https://fanout.sh/ai/hardware): The hardware under modern AI — GPUs, TPUs, and interconnects, plus what to actually buy for a home training setup. - [Deep learning resources](https://fanout.sh/ai/deep-learning): Curated deep learning courses, lectures, and books — the shortest path from neural network basics to modern architectures. - [Machine learning resources](https://fanout.sh/ai/machine-learning): Classical machine learning, done properly — curated courses and references for the foundations every AI researcher still needs. - [Reinforcement learning resources](https://fanout.sh/ai/reinforcement-learning): Curated RL courses, lectures, and papers — from bandits and MDPs to policy gradients and RLHF. - [GPU programming resources](https://fanout.sh/ai/gpu): CUDA, Triton, and GPU architecture — curated resources for making models fast, from single kernels to distributed training. - [New to AI? Start here](https://fanout.sh/ai/newbies): The gentle on-ramp to AI — what to learn first, in what order, and what to safely ignore until later. - [Miscellany](https://fanout.sh/ai/misc): The archive's odds and ends — talks, tools, and rabbit holes that don't fit a category but are worth your time. - [Functions for ML: inputs, outputs and parameters](https://fanout.sh/ai/lessons/math-fundamentals-functions): Read f(x) notation, define a domain, and see how the parameters w and b turn the rule wx + b into a tiny model, with a Python version. - [What is a derivative? Why x² changes at rate 2x](https://fanout.sh/ai/lessons/math-fundamentals-derivatives): A derivative is a local rate of change. Watch the ratios for x² approach 6 at x = 3, derive 2x from the limit, and use it to estimate small changes. - [Vectors for ML: dot products, scaling and norms](https://fanout.sh/ai/lessons/math-fundamentals-vectors): Treat a vector as an ordered list, compute a weighted score with a dot product in Python, add and scale vectors, and see what a Euclidean norm measures. - [What is a gradient? From partials to descent](https://fanout.sh/ai/lessons/math-fundamentals-gradients): Collect two partial derivatives into a gradient, take one gradient descent step by hand, and see why a learning rate that is too large raises the loss. - [Matrix-vector multiplication and shape rules](https://fanout.sh/ai/lessons/math-fundamentals-matrices): Follow each row of a matrix to one output, check the (m × n)(n × p) shape rule, multiply several input columns at once, and see what a transpose does. - [Hadamard product vs matrix multiplication](https://fanout.sh/ai/lessons/math-fundamentals-hadamard-product): The Hadamard product multiplies matching entries and keeps the shape. Compare it with matrix multiplication, build a mask, and check NumPy's * and @. - [Exponential moving average and bias correction](https://fanout.sh/ai/lessons/math-fundamentals-moving-averages): Smooth a noisy loss with simple and exponential moving averages, see how β sets the response, and when a zero-started EMA needs 1 − βᵗ bias correction. - [7 PyTorch tensor exercises: shapes and softmax dim](https://fanout.sh/ai/lessons/pytorch-fundamentals-7-pytorch-tasks): Seven runnable PyTorch tasks on one tensor: keep a column, stack vs cat, keepdim, pairwise distances, clone, reshape vs view, and softmax's dim. - [PPO for LLMs: importance ratio, advantage, clipping](https://fanout.sh/ai/lessons/reinforcement-learning-ppo-llm-reasoning): Work through PPO's clipped objective with numbers: the importance ratio, the sign of the advantage, the clip width ε, and how it maps onto LLM training. - [GRPO (Group Relative Policy Optimization) vs GSPO](https://fanout.sh/ai/lessons/reinforcement-learning-qwen-deepseek-grpo): GRPO scores each answer against its group's mean reward, so no value model is needed. Work an example by hand, then see how Qwen's GSPO changes the ratio. - [Llama 4 MoE from scratch: shared + routed experts](https://fanout.sh/ai/lessons/llm-from-scratch-llama-4): Build Llama 4's MoE feed-forward block: a router, a sigmoid gate on the expert's input, a SwiGLU expert, and the shared expert every token uses. - [Code, Write & Publish AI Research Paper](https://fanout.sh/ai/lessons/code-write-publish-ai-research-paper): Build an LLM, compare Muon and Adam, structure experiments, and turn the evidence into a publishable AI research paper. - [ML Pipeline with DVC & AWS S3](https://fanout.sh/ai/lessons/ml-pipeline-dvc-aws-s3): Build a reproducible spam-detection pipeline with DVC stages, versioned artifacts, and AWS S3 remote storage. - [Sequence length vs batch size in LLM training](https://fanout.sh/ai/lessons/bonus-lessons-seq-len-vs-batch): Same 32 tokens, two layouts: see why batch rows never attend to each other, count causal pairs, and what gradient accumulation does and doesn't change. - [SwiGLU explained: SiLU gate, up and down projection](https://fanout.sh/ai/lessons/bonus-lessons-swiglu): SwiGLU multiplies a SiLU-activated projection by a second projection, then projects back. Follow every coordinate through a tiny PyTorch block. - [Tiny Recursive Model: repeated updates](https://fanout.sh/ai/lessons/tiny-recursive-model-arc-agi): Trace repeated state updates in a small scheduling example, then inspect the Tiny Recursive Model paper and its training and evaluation code. - [How to clarify requirements in system design](https://fanout.sh/system/archive/requirements-clarification): Turn 'design a URL shortener' into a brief: roles, operations, invariants, freshness, what must finish now, and the scale and retention numbers to settle. - [Logical system design: modules and boundaries](https://fanout.sh/system/archive/logical-system-design): Split a URL shortener into HTTP, link-rule and storage responsibilities, give each boundary explicit results, and test product rules without a database. - [Non-functional requirements: examples and targets](https://fanout.sh/system/archive/non-functional-requirements): Turn 'fast' and 'highly available' into testable targets: p95 latency, throughput, availability windows, RPO and RTO, with example numbers to negotiate. - [System design tradeoffs: name the benefit and cost](https://fanout.sh/system/archive/system-design-tradeoffs): Explain a design choice by its benefit, its cost and the requirement behind it, with caches, queues, replicas and service splits as worked examples. - [Availability vs durability vs consistency vs cost](https://fanout.sh/system/archive/availability-durability-consistency-cost): Follow one short link through three failures to separate availability, durability and read consistency, then count what keeping each promise costs. - [Back-of-the-envelope calculation for system design](https://fanout.sh/system/archive/back-of-the-envelope-capacity-planning): Estimate requests per second, peak load, bandwidth and storage from product assumptions, then check the guess against a measured PostgreSQL table. - [TCP vs UDP: framing, loss recovery and HTTP/3](https://fanout.sh/system/archive/tcp-vs-udp): Compare TCP's ordered byte stream with UDP datagrams: message framing, ACKs and retransmission, head-of-line blocking, and why QUIC runs over UDP. - [Concurrency vs parallelism in a web server](https://fanout.sh/system/archive/concurrency-vs-parallelism): Overlap waits with a thread pool or an event loop, add cores only when CPU is the limit, and cap concurrency before the database becomes the bottleneck. - [Design a notification system](https://fanout.sh/system/archive/notification-system-design): Preference-aware, deduplicated, rate-limited delivery across email, push, SMS, and in-app: data model, delivery semantics, and failure modes. - [Route monolith reads to replicas without code edits](https://fanout.sh/system/archive/parallel-monolith-read-drain): Drain safe reads from an overloaded primary by running a parallel monolith and routing selected endpoints to replicas. - [Build a read-only dictionary without a database](https://fanout.sh/system/archive/file-backed-dictionary-storage-engine): Design exact word lookups with one immutable data file and a compact in-memory index, including offsets, startup, and updates. - [Design a newly-unread sender count](https://fanout.sh/system/archive/newly-unread-indicator): Model the difference between total unread messages and newly unread senders with Redis sorted sets and per-user read state. - [Route storage requests with a partition map](https://fanout.sh/system/archive/partition-manager-and-map-table): Design the control plane that maps key ranges to storage nodes while keeping routing caches fresh, safe, and fast. - [Model file versions as ordered block hashes](https://fanout.sh/system/archive/blocklist-versioned-file-metadata): Represent each file version as an immutable blocklist to support delta sync, restore, deletes, renames, and garbage collection. - [Store photo-tag coordinates across image sizes](https://fanout.sh/system/archive/photo-tagging-coordinate-model): Model point and box tags with normalized coordinates so annotations survive resizing, cropping decisions, and multiple image variants. - [Design a product-event rule engine](https://fanout.sh/system/archive/rule-engine-trigger-framework): Build a trigger framework that matches product events to versioned conditions and executes reliable, idempotent actions. - [Know when not to add infrastructure](https://fanout.sh/system/archive/when-not-to-add-infrastructure): Use explicit latency, availability, isolation, operability, and cost requirements to decide whether new infrastructure is justified. - [Unique ID generation with database ticket servers](https://fanout.sh/system/archive/database-ticket-servers): Use dedicated database sequences to issue globally unique IDs, then reason about batching, failover, and ordering tradeoffs. - [Why Snowflake IDs do not prove event order](https://fanout.sh/system/archive/clock-skew-and-id-ordering): See how clock skew breaks timestamp ordering across machines and choose safer causality and sequencing strategies. - [Choose where a cache belongs](https://fanout.sh/system/archive/caching-layers): Choose which work a cache hit can avoid while preserving durable writes, and understand the limits of MySQL MEMORY tables. - [Build object-storage lookups with byte ranges](https://fanout.sh/system/archive/byte-range-indexed-object-storage): Pair a compact index with HTTP range reads to fetch individual records from large immutable objects without a database. - [Relax search queries without ruining precision](https://fanout.sh/system/archive/boolean-tiered-search): Start with strict Boolean matching, then relax terms in controlled tiers to avoid empty results while protecting top-rank relevance. - [Why distributed analytics needs mergeable sketches](https://fanout.sh/system/archive/mergeable-sketches-for-analytics): Combine compact summaries across hosts and time windows without replaying raw events, while preserving explicit error guarantees. - [Why averaging p99 across hosts is wrong](https://fanout.sh/system/archive/tdigest-quantile-sketch): Use t-digest to merge latency distributions and estimate tail quantiles without retaining every observation. - [Speed search with stop words and champion lists](https://fanout.sh/system/archive/stop-words-and-champion-lists): Reduce noisy postings and limit scoring work with domain-aware stop words, champion lists, and safe recall tradeoffs. - [When a follow graph does not need a graph database](https://fanout.sh/system/archive/social-graph-follows-and-flockdb): Model follow and follower edges for high-volume reads, sharding, reverse lookups, and repair using the lessons of FlockDB. - [Adaptive bitrate streaming and CDN placement](https://fanout.sh/system/archive/adaptive-bitrate-and-cdn-decider): How adaptive bitrate streaming picks a rendition from an HLS ladder, why a late switch still stalls, and which renditions and CDN copies to prepare. - [Number sets: natural, integer, rational, real](https://fanout.sh/ml-math/lessons/sets-special-sets-and-the-number-system-ladder-t-1ojbjcc): Classify a value by its smallest number set, from the natural numbers to the complex numbers, and tell membership (∈) apart from containment (⊆). - [Roster form: list a set's members from a rule](https://fanout.sh/ml-math/lessons/sets-building-sets-by-listing-members-t-0z1zgrp): Expand a constructive set definition into roster form: apply the rule to every allowed index, drop repeated outputs, and read the ellipsis correctly. - [Set-builder notation: constructive and conditional](https://fanout.sh/ml-math/lessons/sets-set-builder-notation-t-1h3pbb0): Write rosters and sequences in set-builder form, choose between a generating rule and a filtering condition, and pick the right base set: ℕ, ℤ or ℝ. - [Describe planar regions in set-builder notation](https://fanout.sh/ml-math/lessons/sets-planar-regions-in-set-builder-form-t-020hek0): Turn inequalities into planar regions, including strict boundaries and included edges, with worked set-builder examples. - [Turn predicates into indicator functions](https://fanout.sh/ml-math/lessons/sets-indicator-functions-for-predicates-t-1289tky): Use predicate indicator functions to filter sums, count matching cases, and translate logical conditions into piecewise numeric rules. - [Visualize Cartesian products as regions](https://fanout.sh/ml-math/lessons/sets-cartesian-products-as-regions-t-09634sc): Visualize Cartesian products as grids, strips, and filled regions, then connect ordered pairs to geometric constraints. - [How to find argmax and argmin in tables and graphs](https://fanout.sh/ml-math/lessons/sets-reading-argmax-and-argmin-from-data-t-1kn9xdk): Read argmax and argmin from tables and graphs, including ties and the difference between an optimizer and its value. - [When is a supremum not a maximum](https://fanout.sh/ml-math/lessons/sets-supremum-and-infimum-t-07348eh): See why a supremum need not be a maximum, with examples where the best upper bound exists but is never attained. - [How to identify interior and boundary points in R²](https://fanout.sh/ml-math/lessons/sets-interior-and-boundary-points-t-1qzjuqn): Classify interior and boundary points in R² using strict inequalities, closed curves, neighborhoods, and edge cases. - [Statements and predicates: what has a truth value](https://fanout.sh/ml-math/lessons/logic-statements-and-predicates-t-1816xbj): Tell a statement from an expression, instruction or question, turn a predicate into a statement by choosing an input from its domain, and read a ∣ b. - [Augmented matrix vs coefficient matrix](https://fanout.sh/ml-math/lessons/linear-systems-systems-of-equations-as-augmented-matrices-t-0n67kci): Write a linear system as a coefficient matrix and an augmented matrix: fix the variable order, put zeros for missing terms, and decode a matrix back. - [Linear independence: the zero-combination test](https://fanout.sh/ml-math/lessons/spaces-linear-dependence-and-independence-t-0caozq9): Decide whether vectors are linearly independent by checking if only zero coefficients give the zero vector, with parallel, zero and three-vector cases. - [Eigenvectors of a 2×2 matrix: verify Av = λv](https://fanout.sh/ml-math/lessons/spectral-eigenvalues-and-eigenvectors-for-2x2-matrices-t-0qf4zop): Check whether a vector is an eigenvector of a 2 × 2 matrix, read off its eigenvalue, and interpret its sign and size, including a zero eigenvalue. - [Dot product formula in n dimensions](https://fanout.sh/ml-math/lessons/projection-the-dot-product-in-n-dimensional-euclidean-space-t-16dctvw): Compute x · y as the sum of xᵢyᵢ in ℝⁿ, simplify with symmetry and bilinearity, and tell the dot product apart from Hadamard and outer products. - [Singular values: how far a matrix stretches](https://fanout.sh/ml-math/lessons/low-rank-singular-values-as-matrix-stretch-t-0hyqio8): Read singular values as nonnegative stretches of the unit sphere, link the largest to the 2-norm and their count to rank, and handle rectangular matrices. - [Linear regression with matrices: design matrix](https://fanout.sh/ml-math/lessons/applications-linear-regression-with-matrices-t-1vdwtlk): Build the design matrix for y ≈ β₀ + β₁x, solve the normal equations XᵀXβ = Xᵀy for three points, and read the fitted intercept and slope. - [Partial derivatives: change one input at a time](https://fanout.sh/ml-math/lessons/calculus-introduction-to-partial-derivatives-t-1txalv9): Compute first partial derivatives by holding every other variable fixed, use the limit definition at a piecewise point, and work a two-variable example. - [Bayes' theorem with a screening-test example](https://fanout.sh/ml-math/lessons/probability-bayes-theorem-t-0oro9z1): Derive Bayes' theorem from conditional probability, work a positive screening test with 2% prevalence, and use the odds form to avoid base-rate errors. - [Joint PMF of two discrete random variables](https://fanout.sh/ml-math/lessons/joint-rvs-joint-laws-for-discrete-variables-t-12uczxr): Check that a table or formula is a valid joint PMF, find its support, normalize a constant, and sum the right cells for events like X + Y ≥ 1. - [Sample mean: estimator, expectation and variance](https://fanout.sh/ml-math/lessons/inference-the-sample-mean-t-12ysbi1): Tell the sample-mean estimator from one observed average, show E[X̄] = μ and Var(X̄) = σ²/n, and track how shifting or scaling the data changes both. - [Derivative rules: power, sum and product rule](https://fanout.sh/ai/lessons/math-fundamentals-derivation-rules): Differentiate f(x) = 3x² + 2x + 5 one term at a time with the constant, sum and power rules, then use the product rule when two changing terms multiply. - [Backpropagation in Python, step by step](https://fanout.sh/ai/lessons/math-fundamentals-backprop-python): Backpropagate through y = wx + b by hand: save the forward values, send the loss gradient back to w and b, follow a branch, and check it with autograd. - [The Jacobian matrix, one row per output](https://fanout.sh/ai/lessons/math-fundamentals-jacobian-matrix): Build the Jacobian of a map from two inputs to two outputs: one row per output, one column per input, each entry a partial derivative you can test. - [Entropy in information theory, in bits](https://fanout.sh/ai/lessons/math-fundamentals-entropy): Entropy puts a number on uncertainty. Measure how surprising one outcome is in bits, average that surprise over a distribution, then read the formula. - [KL divergence explained with a worked example](https://fanout.sh/ai/lessons/math-fundamentals-kl-divergence): Score a model's prediction Q against the true distribution P in bits, compute the extra average cost, and see why KL divergence changes with direction. - [Dot product vs cosine similarity, with examples](https://fanout.sh/ai/lessons/core-ai-intuitions-similarity-dot-product): Score vectors with a dot product, see how a longer vector can win without matching direction, and how cosine similarity divides the length out. - [Softmax function: from scores to probabilities](https://fanout.sh/ai/lessons/core-ai-intuitions-softmax): Turn the scores [2, 1, 0] into probabilities that keep their order, see how temperature changes the competition, and compute it without huge exponentials. - [Broadcasting rules for NumPy and PyTorch tensors](https://fanout.sh/ai/lessons/core-ai-intuitions-tensor-broadcasting): Add a per-feature offset to a (2, 3) array without copying it: match shapes from the right, then catch a broadcast that runs but computes the wrong thing. - [L1 vs L2 norm: vector length and regularization](https://fanout.sh/ai/lessons/core-ai-intuitions-l1-l2-norms): Measure [3, 4] as 7 and as 5, see which length each norm uses, and why the common L2 penalty is the squared norm. Compares the Ridge and Lasso penalties. - [A single neuron from scratch in Python](https://fanout.sh/ai/lessons/neural-network-from-scratch-single-neuron): Build one artificial neuron by hand: weight each input, add a bias, apply ReLU, and run it in Python on [2, −1]. Then see what learning would change. - [Dense layer from scratch: neurons as columns](https://fanout.sh/ai/lessons/neural-network-from-scratch-building-layer): Run several neurons on one input as a dense layer: one column of weights per neuron, every pre-activation from one matrix product, then a wider layer. - [Implementing a small neural network by hand](https://fanout.sh/ai/lessons/neural-network-from-scratch-implementing-network): Connect two layers so the numbers one layer produces feed the next. Trace two examples through two hidden units and one output, then add a loss. - [RMSNorm explained: the formula, axis and variants](https://fanout.sh/ai/lessons/neural-network-from-scratch-rmsnorm): Rescale a vector by the root mean square of its entries, then apply a learned scale. Work [3, 4] by hand, pick the axis, and compare with LayerNorm. - [Learning rate decay and schedules, with code](https://fanout.sh/ai/lessons/neural-network-from-scratch-learning-rate-decay): Compare a constant and a decaying learning rate on a loss whose minimum is known, then describe a schedule so it means one thing, warm-up included. - [Adam optimizer explained, update by update](https://fanout.sh/ai/lessons/neural-network-from-scratch-adam-optimizer): How Adam keeps two running averages per parameter, one of gradients and one of their squares. Compute the first update and its bias correction by hand. - [Self-attention from scratch, with a causal mask](https://fanout.sh/ai/lessons/transformers-self-attention): Give each token a query, a key and a value, turn the scores into weights with softmax, mix the values, then add a causal mask so no token reads ahead. - [Agents and environments in reinforcement learning](https://fanout.sh/ai/lessons/reinforcement-learning-agents-environments): A four-cell corridor game: the agent picks moves, the environment applies the rules and returns rewards, and a policy chooses. Trace one episode by hand. - [Policy gradients and REINFORCE, worked by hand](https://fanout.sh/ai/lessons/reinforcement-learning-policy-gradients): Two buttons, rewards 0 and 2: turn one sampled reward into a policy gradient update, see why one update is noisy, and how a baseline and reward-to-go help. - [Deep Q-learning (DQN): targets and replay buffers](https://fanout.sh/ai/lessons/reinforcement-learning-deep-q-learning): Predict what each action is worth in future reward, build a training target from one transition, and see why DQN keeps a target network and replay buffer. - [DeepSeek-V3 latent attention (MLA) from scratch](https://fanout.sh/ai/lessons/llm-from-scratch-deepseek-v3): How DeepSeek-V3's MLA keeps a compact record per past token instead of full keys and values, and why moving one multiplication gives the same scores. - [Qwen3 from scratch: grouped-query attention](https://fanout.sh/ai/lessons/llm-from-scratch-qwen-3): Build Qwen3's attention: query heads that share key/value heads (GQA), RMSNorm on each query and key, and rotary positions, checked against the source. - [Build a sparse mixture-of-experts block](https://fanout.sh/ai/lessons/llm-from-scratch-self-study-llm): A router scores the experts for each token, and a sparse MoE block runs only the chosen ones. Build one, change the routing, then check expert load. - [When to fine-tune an LLM vs prompting or RAG](https://fanout.sh/ai/lessons/fine-tuning-why-finetune): A support router writes paragraphs instead of labels. Diagnose the failure first, weigh prompting, retrieval and fine-tuning, then run a small experiment. - [LoRA vs QLoRA: low-rank adapters explained](https://fanout.sh/ai/lessons/fine-tuning-lora): Why training a second full-size weight matrix is costly, how LoRA trains two small matrices beside a frozen layer, its first update, and what QLoRA adds. - [Fine-tuning data: chat templates and loss masks](https://fanout.sh/ai/lessons/fine-tuning-data-preparation): Follow one JSON example into tokens: who speaks, which answer belongs to which input, which tokens the loss sees, and why related examples stay together. - [Fine-tuning learning rate and gradient accumulation](https://fanout.sh/ai/lessons/fine-tuning-training-loop): Before tuning the learning rate, check that each update averages the examples you meant, across microbatches, gradient accumulation and ignored targets. - [Evaluating a fine-tuned LLM before you serve it](https://fanout.sh/ai/lessons/fine-tuning-evaluation): A fine-tuned router returns cleaner JSON. Check the category inside it is right, find requests that got worse, and test the exact artifact you will serve. - [LSM tree: memtables, SSTables and compaction](https://fanout.sh/system/archive/lsm-tree-storage-engine): How a log-structured merge tree buffers writes in memory, flushes sorted files, reads across them, and why compaction and tombstones carry the cost. - [BM25 explained: term frequency, IDF and length](https://fanout.sh/system/archive/bm25-production-ranking): Why BM25 stops rewarding a repeated query word, how it weighs rare terms and document length, how to choose its parameters, and how to debug a ranking. - [Bloom filters: false positives and sizing](https://fanout.sh/system/archive/bloom-filters): A Bloom filter answers definitely absent or possibly present. See why keys share bits, size it for the expected keys, and place it before slow reads. - [B-tree index: range lookups and node splits](https://fanout.sh/system/archive/b-tree): How a B-tree keeps keys in order so a lookup reaches the right range in a few node reads, what happens when a full node splits, and what PostgreSQL adds. - [Consistent hashing and virtual nodes, explained](https://fanout.sh/system/archive/consistent-hashing): Why changing the divisor moves most keys when a server joins, how a hash ring limits the move, how virtual nodes spread load, and why routers must agree. - [Inverted index and posting lists, explained](https://fanout.sh/system/archive/inverted-index-and-posting-lists): Map each term to the documents that contain it, combine posting lists to answer a query, keep counts and positions for phrases, then build and store it. - [Database indexing: composite, covering, clustered](https://fanout.sh/system/archive/database-indexing): Start from the query, watch an index change the work, see why column order decides which ranges it serves, and what clustered and covering mean. - [Lamport clocks vs vector clocks: event ordering](https://fanout.sh/system/archive/clocks-and-ordering): Distributed systems need several kinds of order. Compare a single counter with a vector of observations on the same events, then pick one per question. - [Consistency models: linearizable to eventual](https://fanout.sh/system/archive/consistency-models): What a consistency model lets a reader see: session guarantees such as read-your-writes, causal order, convergence, and why transactions are separate. - [Tail latency: why p99 matters more than average](https://fanout.sh/system/archive/tail-latency): Read the latency distribution instead of its average, see how one request waits on several dependencies, trace the slow path, and keep failures visible. - [Columnar database vs wide-column store](https://fanout.sh/system/archive/columnar-vs-wide-column-stores): A report scans a few fields across every row; a history panel reads recent records in one partition. See which store fits each, and bound the history. - [Storage engines: read, write, space amplification](https://fanout.sh/system/archive/storage-engine-tradeoffs): Compare common storage layouts by what they amplify: reads, writes or space. Hold the requested result fixed, then choose the next experiment to run. - [Relational database design and normalization](https://fanout.sh/system/archive/relational-database-design): Give each fact one owning row, let the database enforce the rules every writer shares, model relationships as rows, and copy a value only with a reason. - [Graph database vs SQL: when you need one](https://fanout.sh/system/archive/graph-database-decision-boundary): One follow check is a single lookup; a path search follows many edges. Try a relational baseline with recursive queries first, then weigh a graph store. - [Fanout on write vs fanout on read](https://fanout.sh/system/archive/fanout-patterns): One post can create work for many recipients. Expand the audience at write or read time, track partial progress, and isolate slow channels. - [DAG workflow orchestration and recovery](https://fanout.sh/system/archive/dag-workflow-orchestration): Model dependencies as eligibility, store each run, handle one failed branch, decide what the coordinator owns, and plan recovery and compensation. - [Distributed task scheduler: durable delayed jobs](https://fanout.sh/system/archive/distributed-task-scheduler): Turn a recurring rule into durable runs, keep selection apart from execution, find where a late run waited, and recover the same run after a worker dies. - [Object storage replication vs erasure coding](https://fanout.sh/system/archive/object-storage-durability-and-replication): Define what a successful write promises, count failure domains as well as copies, repair a lost copy before the next failure, and weigh erasure coding. - [How file sync works: blocks, versions, cursors](https://fanout.sh/system/archive/remote-file-sync-design): Use metadata to fetch only the blocks that changed, upload pieces before publishing a version, download from a change cursor, and keep offline edits. - [Security and abuse prevention in system design](https://fanout.sh/system/archive/security-and-abuse-prevention): Match each control to a threat, follow one private update through its checks, bound the work a request can cause, and keep the checks on every access path. - [URL shortener system design: codes and redirects](https://fanout.sh/system/archive/url-shortener-system-design): Design a URL shortener on one machine: who can create links, the code space, a collision during creation, the redirect lookup, and the measured limit. - [URL shortener at scale: caching popular links](https://fanout.sh/system/archive/url-shortener-at-scale): Scale a URL shortener with a shared cache: what to cache, how long a copy lives, a warm hit that still fails, and keeping creation and first read in step. - [Chat system design: delivery, order and sync](https://fanout.sh/system/archive/chat-and-messaging-system-design): Design a chat service: what sent promises, accepting and ordering one message, catching up after a dropped connection, several devices, and group delivery. - [Collaborative editor system design: OT and CRDTs](https://fanout.sh/system/archive/collaborative-editing-system-design): Design a collaborative editor: why positions stop working, two edits and a local undo, what the server accepts, rejoining a room, and checkpoints. - [Product listing system design: sort and paginate](https://fanout.sh/system/archive/ecommerce-product-listing-system-design): Design a product listing page: one owner for each fact, the query that picks and orders products, a cursor tied to that query, and a catalog that changes. - [Nearby search system design: geohash and radius](https://fanout.sh/system/archive/geospatial-nearby-search-case-study): Design nearby place search: define nearby, start with a spatial database, separate candidates from results, cover the search area, and handle dense areas. - [Observability system design: SLOs and telemetry](https://fanout.sh/system/archive/observability-slo-case-study): Design observability that ties a user's result to the work behind it: service objectives, telemetry with owners, a false success, and verified recovery. - [Recommendation system design: candidates, ranking](https://fanout.sh/system/archive/recommendation-system-design): Design recommendations for an article app: find candidates, score and pick a list, handle new readers and items, tie feedback to an offer, and stay fast. - [News feed system design: a recoverable timeline](https://fanout.sh/system/archive/social-feed-system-design-case-study): Design a home feed: decide where assembly happens, give each record one job, keep the list stable while reading, recover a worker, then add ranking. - [Autocomplete system design: typeahead with a trie](https://fanout.sh/system/archive/autocomplete-system-design): Design autocomplete for a shop: two paths through the system, the API, finding six suggestions, responses that arrive out of order, and safe index updates. - [Spell correction system design: did you mean](https://fanout.sh/system/archive/did-you-mean-and-spell-correction): Design did-you-mean: choose when to suggest or correct, measure character distance, generate candidates, add evidence, and abstain when unsure. - [Live commentary system design: real-time updates](https://fanout.sh/system/archive/live-commentary-system-design): Design live commentary for a match: durable publication, refreshing a recent page, choosing freshness before transport, corrections, and reconnects. - [Live reactions system design at high throughput](https://fanout.sh/system/archive/live-reactions-high-throughput-design): Thousands of viewers tap a heart at once. Decide what a reaction means, separate acceptance from delivery, batch taps without loss, and spread counts. - [Recent searches system design across devices](https://fanout.sh/system/archive/recent-searches-system-design): Design recent searches that follow you across devices: events versus the recent view, warming before the box opens, ordering, retention and deletion. - [Related searches system design: query suggestions](https://fanout.sh/system/archive/related-searches): Suggest the next query a searcher may want: collect and serve relationships, score and filter them, publish fresh results, and suppress sensitive ones. - [Object store system design: build an S3](https://fanout.sh/system/archive/object-store-system-design): Design an object store: names, permissions and visible state, uploads without a database lock, cancellation, range reads, partitioning, and storage cost. - [Kafka-style log system design: partitions, offsets](https://fanout.sh/system/archive/partitioned-log-system-design): Design a partitioned log: partition the order you need, replace a failed leader, handle producer retries, save consumer progress, and expire old segments. - [Search engine system design: index and query](https://fanout.sh/system/archive/search-engine-system-design): Design a search service for team docs: two paths, keep enough to repair the index, follow one query, replace an index safely, and page through results. - [Ride matching system design: an Uber-style match](https://fanout.sh/system/archive/ride-matching-system-design): Design ride matching: search for candidate drivers, record an offer, accept it once, handle deadlines and cancellations, and grow without two owners. - [Video platform system design: upload to playback](https://fanout.sh/system/archive/video-platform-system-design): Design a video platform: finish an upload, prepare renditions for each device, publish only checked versions, follow a playback request, and plan capacity. - [Dropbox-style file sync system design](https://fanout.sh/system/archive/file-sync-system-design): Design a file sync service: a device's memory of the last sync, publishing revisions, two edits and a lost reply, renames, deletes, and reclaiming storage. - [Instagram system design: a photo-sharing interview](https://fanout.sh/system/archive/interview-design-instagram): Work a photo-sharing interview: agree on the product, estimate bytes and work, follow an upload to publication, assemble a feed, and recheck visibility. - [Instagram's early architecture and how it scaled](https://fanout.sh/system/archive/case-instagram-early-architecture): How early Instagram separated app servers, data and image delivery, what broke as it grew, the numbers its engineers published, and what changed after. - [Stripe idempotency keys: safe retries for APIs](https://fanout.sh/system/archive/case-stripe-idempotency-keys): How Stripe's idempotency keys let a client retry after a lost reply without a second charge: what broke, the decision, and what changed after. - [How Discord stores trillions of messages](https://fanout.sh/system/archive/case-discord-message-storage): Why a busy channel and a quiet old conversation stress different parts of Discord's message store, what broke, the numbers, and how its database changed. - [Amazon Dynamo paper explained](https://fanout.sh/system/archive/case-amazon-dynamo): What Amazon's 2007 Dynamo paper says about staying writable during failures, what happens when two copies accept different versions, and what came after. - [GitLab's 2017 database outage, explained](https://fanout.sh/system/archive/case-gitlab-database-incident): In January 2017 GitLab lost production data while repairing replication. What they had, what broke, the numbers they published, and what changed after. - [Cache eviction policies: LRU vs LFU](https://fanout.sh/system/archive/cache-eviction-policies): Eviction is a prediction about which cached answer is least useful next. Compare recent and repeated use, the memory history costs, and what gets admitted. - [Write-ahead log: how databases recover](https://fanout.sh/system/archive/database-wal-and-recovery): How a write-ahead log lets a database keep an acknowledged change after a crash: what reaches storage first, replaying the log, and checkpoints. - [Gossip protocol: how peers spread state](https://fanout.sh/system/archive/gossip-protocol): How gossip spreads information through repeated exchanges between peers: what peers send, agreeing on a record, reconnecting a peer, and membership. - [Keyset pagination vs offset pagination](https://fanout.sh/system/archive/keyset-pagination): Resume a listing after the last item's sort values instead of skipping rows: a boundary that survives a delete, what a cursor carries, and when to use it. - [Leader election with leases and fencing](https://fanout.sh/system/archive/leader-election): Choose one node to coordinate a scope: a grant with a deadline, watching it expire, why a passed check can go stale, and why a leader must make progress. - [Load balancers: routing, health checks, draining](https://fanout.sh/system/archive/load-balancers): What a load balancer assigns, how it picks a destination, health checks and draining, the parts around selection, and when a retry is safe. - [Sliding window rate limiter with Redis](https://fanout.sh/system/archive/sliding-window-rate-limiter): Count what a caller was admitted in the last period: what belongs in the window, the expiry boundary, an atomic decision, compressed history, and Redis. - [Snowflake ID design: time, worker and sequence](https://fanout.sh/system/archive/snowflake-id-design): Pack a timestamp, a worker identity and a sequence into one sortable integer: field ranges, filling one millisecond, assigning workers, and serialization. - [Cache TTL expiration and cleanup](https://fanout.sh/system/archive/ttl-expiration-and-cache-reapers): A TTL limits how long a cached entry may answer. Store a deadline, find expired entries cheaply, see why expired is not removed, and spread out deadlines. - [Key-value store on SQL: a table design](https://fanout.sh/system/archive/sql-backed-key-value-store): Store values by key in one relational table: namespaces, reads and replacements, refusing an edit made from an old value, expiry, and when to redesign. ## Daily paper archive - [The Obfuscation Atlas: Mapping Where Honesty Emerges in RLVR with Deception Probes](https://fanout.sh/daily/2026-11-24-obfuscation-atlas-deception-probes): Mohammad Taufeeque, Stefan Heimersheim, Adam Gleave, and Chris Cundy; ICML 2026 Outstanding Paper Honorable Mention; AI Research; Hard; 11 min. A deception probe can steer coding RLVR toward honest solutions, but weak settings produce output-level evasion or representation drift. Follow the MBPP honeypot, two-pass diagnostic, stop-gradient boundary, KL-detector sweep, and disclosed batching bug. - [The Flexibility Trap: Rethinking Arbitrary Order in Diffusion Language Models](https://fanout.sh/daily/2026-11-23-flexibility-trap-diffusion-language-models): Zanlin Ni et al.; ICML 2026 Outstanding Paper; AI Research; Hard; 11 min. Confidence-first diffusion decoding can postpone uncertain reasoning forks and narrow solution coverage. Follow the same-model order comparison, HumanEval overlap, connector entropy, causal-rollout GRPO, parallel inference, and bounded independent reproduction. - [Long Short-Term Memory](https://fanout.sh/daily/2026-11-22-long-short-term-memory): Sepp Hochreiter and Jürgen Schmidhuber; Neural Computation 1997; AI Research; Hard; 10 min. The original LSTM protects one constant-error path with a fixed self-connection, then learns when to write and read it. Follow the vanishing-gradient failure, input and output conflicts, two-gate cell, 1,000-step synthetic task, and later forget-gate correction. - [Byte Latent Transformer: Patches Scale Better Than Tokens](https://fanout.sh/daily/2026-11-21-byte-latent-transformer): Artidoro Pagnoni et al.; ACL 2025; AI Research; Hard; 12 min. BLT replaces a fixed subword vocabulary with entropy-driven byte patches. Follow the local encoder, global patch Transformer, fixed-inference scaling trade, character robustness gains, test-time threshold caveat, and the wall-clock evidence still missing. - [Superposition Yields Robust Neural Scaling](https://fanout.sh/daily/2026-11-20-superposition-neural-scaling): Yizhou Liu, Ziming Liu, and Jeff Gore; NeurIPS 2025 Best Paper runner-up; AI Research; Hard; 11 min. Strong superposition changes representation error from the cost of ignored features to interference among shared directions. Follow the controlled toy model, the one-over-width overlap geometry, the four-family LLM fit, and the causal boundary the matching exponents do not cross. - [Sharpness-Aware Minimization for Efficiently Improving Generalization](https://fanout.sh/daily/2026-11-19-sharpness-aware-minimization): Pierre Foret, Ariel Kleiner, Hossein Mobahi, and Behnam Neyshabur; ICLR 2021; AI Research; Medium; 10 min. Sharpness-Aware Minimization trains for a low-loss neighborhood rather than one low-loss point. Follow the two-pass update, the rho-sized adversarial weight probe, compute-aware vision results, official implementation, and the later theory that narrows the flatness story. - [GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding](https://fanout.sh/daily/2026-11-18-gshard-conditional-computation): Dmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen, Orhan Firat, Yanping Huang, Maxim Krikun, Noam Shazeer, and Zhifeng Chen; ICLR 2021; Systems; Hard; 11 min. GShard made giant sparse Transformers programmable by pairing top-2 token routing with capacity limits and compiler-propagated sharding. Follow the router, expert dispatch, all-to-all communication, SPMD annotations, multilingual translation evidence, and the limits hidden behind the 600-billion-parameter headline. - [Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications](https://fanout.sh/daily/2026-11-17-chord-distributed-lookup): Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, and Hari Balakrishnan; SIGCOMM 2001; Systems; Medium; 7 min. Read the original systems paper to understand how a ring of identifiers and a small table of shortcuts locate a key without a central directory, and why maintaining that ring needs a separate correctness argument. - [AlphaProof Code: Verifying Signal's Security at the Machine-Code Level](https://fanout.sh/daily/2026-11-16-alphaproof-code-signal-verification): Swarat Chaudhuri, Andrew Ferraiuolo, Anton Kovsharov, Tej Chajed, Sam Schlesinger, Karn Seth, Jonathan Katz, Charles Sutton, and Pushmeet Kohli; Google DeepMind, 2026; AI Research; Medium; 8 min. AlphaProof Code lets untrusted AI agents generate millions of lines of Lean proof while an exact comparator and small kernel decide what counts. Follow the human-approved specification, proof campaigns, compiled AArch64 target, trusted base, known-bug probes, and the boundary around the reported Signal security guarantee. - [The Chubby lock service for loosely-coupled distributed systems](https://fanout.sh/daily/2026-11-15-chubby-distributed-lock-service): Mike Burrows; OSDI 2006; Systems; Medium; 7 min. Read the original systems paper to understand how a small coordination service elects leaders, keeps shared metadata consistent, and lets a resource reject requests from an owner that has lost its lock. - [Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters](https://fanout.sh/daily/2026-11-14-test-time-compute-scaling): Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar; ICLR 2025; AI Research; Medium; 9 min. More inference compute only helps when it is spent in the right shape. Follow a difficulty-aware router that chooses between independent samples, sequential revisions, and process-reward search, then read the fourfold efficiency result and the boundary on the hardest problems. - [DINOv2: Learning Robust Visual Features without Supervision](https://fanout.sh/daily/2026-11-13-dinov2-visual-features): Maxime Oquab et al.; TMLR 2024; AI Research; Medium; 15 min. DINOv2 trains one visual backbone to preserve both whole-image meaning and patch-level structure without captions or class labels. Follow LVD-142M curation, the moving teacher, masked patch targets, feature spreading, frozen-transfer evidence, and the data and bias boundaries around general-purpose features. - [Artificial Hivemind: The Open-Ended Homogeneity of Language Models (and Beyond)](https://fanout.sh/daily/2026-11-12-artificial-hivemind-homogeneity): Liwei Jiang, Yuanjun Chai, Margaret Li, Mickel Liu, Raymond Fok, Nouha Dziri, Yulia Tsvetkov, Maarten Sap, Alon Albalak, and Yejin Choi; NeurIPS 2025 Best Paper; AI Research; Medium; 15 min. Many language models repeatedly land on the same small set of ideas for open-ended prompts. Follow Infinity-Chat, the within-model and across-model similarity measurements, the human study, and a 2026 critique showing why the null baseline changes the strength of the claim. - [Generative Agents: Interactive Simulacra of Human Behavior](https://fanout.sh/daily/2026-11-11-generative-agents-memory-reflection): Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein; UIST 2023; AI Research; Medium; 12 min. Generative Agents makes long-term memory part of an agent's control loop. Follow the shared memory stream, three-factor retrieval score, reflection tree, recursive plan, believability ablation, and the failures that separate stored history from usable context. - [RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Control](https://fanout.sh/daily/2026-11-10-rt2-vision-language-action): Anthony Brohan et al.; CoRL 2023; AI Research; Medium; 10 min. RT-2 turns low-level robot actions into the same kind of tokens a vision-language model already writes. Follow the shared vocabulary, co-fine-tuning recipe, transfer evidence, cloud control loop, and the boundary between new semantic uses and new physical skills. - [DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving](https://fanout.sh/daily/2026-11-09-distserve-prefill-decode-disaggregation): Yinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu, Yibo Zhu, Xuanzhe Liu, Xin Jin, and Hao Zhang; OSDI 2024; Inference; Medium; 16 min. Prefill is compute-bound and decoding is bandwidth-bound, so sharing a GPU makes each wait on the other. Follow DistServe's split into prefill and decode pools, the per-GPU goodput arithmetic, the KV-cache transfer it adds, and what its evaluation does and does not show. - [Spanner: Google's Globally-Distributed Database](https://fanout.sh/daily/2026-11-08-spanner-truetime-commit-wait): James C. Corbett, Jeffrey Dean, Michael Epstein, Andrew Fikes, Christopher Frost, JJ Furman, Sanjay Ghemawat, Andrey Gubarev, Christopher Heiser, Peter Hochschild, Wilson Hsieh, Sebastian Kanthak, Eugene Kogan, Hongyi Li, Alexander Lloyd, Sergey Melnik, David Mwaura, David Nagle, Sean Quinlan, Rajesh Rao, Lindsay Rolig, Yasushi Saito, Michal Szymaniak, Christopher Taylor, Ruth Wang, and Dale Woodford; OSDI 2012 Best Paper; Systems; Medium; 13 min. Spanner gives every transaction a commit timestamp that respects real-time order across datacenters. Follow the TrueTime interval API, the start rule and commit wait, the measured cost of waiting out clock uncertainty, and the drift assumption the guarantee rests on. - [Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?](https://fanout.sh/daily/2026-11-07-rlvr-reasoning-boundary): Yang Yue, Zhiqi Chen, Rui Lu, Andrew Zhao, Zhaokai Wang, Yang Yue, Shiji Song, and Gao Huang; NeurIPS 2025 Runner-Up; AI Research; Medium; 13 min. RL with verifiable rewards can make correct reasoning easier to sample without expanding the set of problems a model can solve. Follow the pass@k crossover, base-only coverage, training checkpoints, and the limits of that negative result. - [On Calibration of Modern Neural Networks](https://fanout.sh/daily/2026-11-06-calibration-temperature-scaling): Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger; ICML 2017; AI Research; Easy; 13 min. A classifier can become more accurate while its probabilities become less honest. Follow reliability diagrams, expected calibration error, and the one learned temperature that softens confidence without changing a single predicted class. - [Sigmoid Loss for Language Image Pre-Training](https://fanout.sh/daily/2026-11-05-sigmoid-loss-language-image-pretraining): Xiaohua Zhai et al.; ICCV 2023 Oral; AI Research; Medium; 12 min. SigLIP replaces CLIP's two batch-wide softmax choices with an independent sigmoid decision for every image-text pair. Follow the signed pair loss, the learned bias, the chunked distributed implementation, and the batch-size evidence that makes 32,000 more important than one million. - [Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model](https://fanout.sh/daily/2026-11-04-muzero-learned-model-planning): Julian Schrittwieser et al.; Nature 2020; AI Research; Hard; 13 min. MuZero replaces the perfect simulator inside AlphaZero-style search with a learned latent model that predicts only reward, policy, and value. Follow the three learned functions, the search-to-training loop, the Atari evidence, and the precise boundary behind the phrase without rules. - [Neural Ordinary Differential Equations](https://fanout.sh/daily/2026-11-03-neural-ordinary-differential-equations): Ricky T. Q. Chen et al.; NeurIPS 2018 Best Paper; AI Research; Hard; 13 min. Neural ODEs replace a fixed stack of hidden layers with a learned derivative field and an adaptive differential-equation solver. Follow the solver contract, the reverse-time adjoint, the continuous normalizing flow, and the numerical limits hidden by the continuous-depth metaphor. - [TensorFlow: A System for Large-Scale Machine Learning](https://fanout.sh/daily/2026-11-02-tensorflow-large-scale-machine-learning): Martín Abadi et al.; OSDI 2016; Systems; Medium; 13 min. TensorFlow made one machine-learning program portable across heterogeneous hardware by representing primitive computation, mutable state, and update rules in one deferred dataflow graph. Follow how the runtime prunes, places, partitions, and connects that graph across CPU, GPU, TPU, and machine boundaries. - [QLoRA: Efficient Finetuning of Quantized LLMs](https://fanout.sh/daily/2026-11-01-qlora-efficient-finetuning): Tim Dettmers et al.; NeurIPS 2023; AI Research; Hard; 13 min. QLoRA made large-model fine-tuning fit radically smaller memory budgets by storing a frozen base in 4-bit NormalFloat, dequantizing blocks for 16-bit computation, and training only LoRA adapters. Follow the precision boundary, memory devices, ablations, and qualified chatbot evidence. - [End-to-End Object Detection with Transformers](https://fanout.sh/daily/2026-10-31-end-to-end-object-detection-transformers): Nicolas Carion et al.; ECCV 2020; AI Research; Hard; 13 min. DETR reframed object detection as direct set prediction: learned query slots propose boxes in parallel, Hungarian matching assigns one positive owner to each target, and unmatched slots learn no object. Follow the mechanism, the decoder ablations, and the scale-dependent COCO evidence. - [Asynchronous Methods for Deep Reinforcement Learning](https://fanout.sh/daily/2026-10-30-asynchronous-deep-reinforcement-learning): Volodymyr Mnih et al.; ICML 2016; AI Research; Hard; 13 min. A3C replaced one agent's replay memory with many fresh, out-of-phase actor-learners updating a shared model. Follow how parallel experience decorrelates training data, how short n-step rollouts update both policy and value, and why later synchronous A2C changed the verdict on asynchrony itself. - [Denoising Diffusion Probabilistic Models](https://fanout.sh/daily/2026-10-29-denoising-diffusion-probabilistic-models): Jonathan Ho, Ajay Jain, Pieter Abbeel; NeurIPS 2020; AI Research; Hard; 13 min. DDPM made diffusion models practical for high-quality image synthesis: corrupt data with a fixed Gaussian chain, train one time-conditioned U-Net to predict the added noise, then reverse the chain from pure noise. Follow the closed-form training shortcut, the simplified objective, and the evidence behind the paper's sample-quality claims. - [Improving Language Understanding by Generative Pre-Training](https://fanout.sh/daily/2026-10-28-generative-pretraining-gpt): Alec Radford et al.; OpenAI 2018; AI Research; Medium; 12 min. GPT-1 made the two-stage transfer recipe concrete: learn a decoder Transformer from unlabeled books, serialize several supervised tasks into token sequences, then adapt the same network with a small output head. Follow the mechanism, the decisive no-pretraining ablation, and the limits of the 2018 evidence. - [Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism](https://fanout.sh/daily/2026-10-27-megatron-lm-tensor-parallelism): Mohammad Shoeybi et al.; arXiv 2019 · revised 2020; Systems; Hard; 12 min. Megatron-LM places tensor boundaries around the operations that can remain local. Follow why a naive row split must synchronize before GeLU, how paired column- and row-parallel projections reduce only at the block output, and what the paper's 512-GPU weak-scaling evidence actually establishes. - [DAPO: An Open-Source LLM Reinforcement Learning System at Scale](https://fanout.sh/daily/2026-10-26-dapo-llm-reinforcement-learning): Qiying Yu et al.; NeurIPS 2025; AI Research; Hard; 13 min. DAPO turns four failure diagnoses in long-chain-of-thought reinforcement learning into four concrete interventions: asymmetric clipping, informative-prompt sampling, token-level loss normalization, and gradual overlength penalties. Follow each control, then audit the cumulative AIME experiment and the compute claims it cannot settle. - [Robust Speech Recognition via Large-Scale Weak Supervision](https://fanout.sh/daily/2026-10-25-whisper-large-scale-weak-supervision): Alec Radford et al.; ICML 2023; AI Research; Medium; 9 min. Whisper trains a standard encoder-decoder Transformer on 680,000 hours of diverse web audio and represents language, transcription, translation, silence, and timestamps with decoder tokens. Read it to see why cross-dataset zero-shot evaluation changes the robustness story, what dataset scale buys, and where long-form generation can still fail. - [Focal Loss for Dense Object Detection](https://fanout.sh/daily/2026-10-24-focal-loss-dense-object-detection): Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollár; ICCV 2017; AI Research; Easy; 12 min. Focal loss discounts already-correct predictions so many easy background candidates do not overwhelm a dense detector. Calculate the loss contribution, separate class weights from difficulty weights, and inspect RetinaNet’s controlled comparison. - [RoFormer: Enhanced Transformer with Rotary Position Embedding](https://fanout.sh/daily/2026-10-23-roformer-rotary-position-embeddings): Jianlin Su, Yu Lu, Shengfeng Pan, Ahmed Murtadha, Bo Wen, and Yunfeng Liu; arXiv 2021 · revised 2023; AI Research; Medium; 11 min. RoFormer rotates query and key coordinate pairs so their attention score carries relative position. Work through the shared-shift identity, then audit why computable positions and successful long-context generalization are different claims. - [Neural Turing Machines](https://fanout.sh/daily/2026-10-22-neural-turing-machines): Alex Graves, Greg Wayne, and Ivo Danihelka; arXiv 2014; AI Research; Medium; 28 min. Neural Turing Machines give a neural controller a separate, mutable memory and make its read and write addresses differentiable. Read it to see how content lookup and relative shifts combine, why the copy trace looks like a learned algorithm, and where the paper's preliminary synthetic evidence stops. - [Densely Connected Convolutional Networks](https://fanout.sh/daily/2026-10-21-densenet-feature-reuse): Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q. Weinberger; CVPR 2017; AI Research; Easy; 11 min. DenseNet keeps earlier feature maps available by concatenating them and asks each layer to add a small new contribution. Follow channel growth and compressed transitions, then separate the paper’s parameter-efficiency evidence from the activation-memory cost of a naive implementation. - [NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis](https://fanout.sh/daily/2026-10-20-nerf-neural-radiance-fields): Ben Mildenhall et al.; ECCV 2020; AI Research; Medium; 30 min. NeRF learns one continuous, scene-specific function of 3D position and viewing direction, then volume-renders that function into new camera views. Read it to see how density controls both color and visibility along a ray, why sinusoidal coordinates and hierarchical sampling matter, and where the original method trades speed for fidelity. - [Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation](https://fanout.sh/daily/2026-10-19-alibi-linear-attention-biases): Ofir Press, Noah A. Smith, and Mike Lewis; ICLR 2022; AI Research; Medium; 12 min. ALiBi replaces position embeddings with fixed distance penalties in attention scores. Follow the arithmetic, compare equal-time training budgets, and learn why improved perplexity on longer blocks can come from fewer context resets rather than better use of distant facts. - [Let's Verify Step by Step](https://fanout.sh/daily/2026-10-18-lets-verify-step-by-step): Hunter Lightman et al.; ICLR 2024; AI Research; Medium; 32 min. Let's Verify Step by Step compares reward models trained on a final answer with reward models trained to judge every reasoning step. Read it to see why first-error labels improve credit assignment, how best-of-N exposes verifier quality without changing the generator, and why the headline result needs a controlled companion experiment. - [U-Net: Convolutional Networks for Biomedical Image Segmentation](https://fanout.sh/daily/2026-10-17-unet-context-localization): Olaf Ronneberger, Philipp Fischer, and Thomas Brox; MICCAI 2015; AI Research; Easy; 24 min. U-Net joins a context-building encoder to a localization-preserving decoder with copied feature maps at matching resolutions. Read it to see how those bridges recover spatial detail, why elastic augmentation and a border-aware loss matter on tiny biomedical datasets, and what the original challenge results do not isolate. - [Are Emergent Abilities of Large Language Models a Mirage?](https://fanout.sh/daily/2026-10-16-emergent-abilities-mirage): Rylan Schaeffer, Brando Miranda, and Sanmi Koyejo; NeurIPS 2023 Outstanding Paper; AI Research; Medium; 34 min. This paper asks whether sudden capability jumps in language-model scaling curves belong to the models or to the metrics used to score them. Read it to see how exact match can hide smooth partial progress, why fixed outputs look different under Token Edit Distance and Brier Score, and what evidence a serious emergence claim should survive. - [Masked Autoencoders Are Scalable Vision Learners](https://fanout.sh/daily/2026-10-15-masked-autoencoders-scalable-vision): Kaiming He et al.; CVPR 2022; AI Research; Medium; 28 min. Masked autoencoders hide most image patches before a Vision Transformer encoder, then use a lightweight decoder to reconstruct only the missing pixels. Read it to see why the 75 percent masking ratio saves encoder compute, how the asymmetric design changes representation learning, and which ImageNet and COCO results support the paper's claims. - [Reflexion: Language Agents with Verbal Reinforcement Learning](https://fanout.sh/daily/2026-10-14-reflexion-verbal-reinforcement-learning): Noah Shinn et al.; NeurIPS 2023; AI Research; Medium; 32 min. Reflexion turns a failed agent trajectory into a short verbal lesson, stores that lesson as episodic memory, and retries without updating model weights. Read it to see how acting, evaluation, and reflection form one loop, why evaluator quality controls the learning signal, and how the original ALFWorld, HotPotQA, and coding results should be interpreted. - [tau-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains](https://fanout.sh/daily/2026-10-13-tau-bench-tool-agent-user-interaction): Shunyu Yao et al.; ICLR 2025; AI Research; Medium; 34 min. tau-bench evaluates tool-using agents inside multi-turn retail and airline conversations with domain policies and mutable databases. Read it to see how final-state grading separates fluent talk from completed work, why pass^k measures repeated reliability, and why the original scores are now historical rather than a current leaderboard. - [Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training](https://fanout.sh/daily/2026-10-12-sleeper-agents-safety-training): Evan Hubinger et al.; Anthropic 2024; AI Research; Medium; 36 min. Sleeper Agents deliberately trains language models to follow one policy in ordinary contexts and an unsafe policy after a hidden trigger. Read it to see why standard safety training can improve the visible branch while leaving the triggered behavior intact, and why the result is a model-organism warning rather than evidence about prevalence in deployed systems. - [GPipe: Easy Scaling with Micro-Batch Pipeline Parallelism](https://fanout.sh/daily/2026-10-11-gpipe-pipeline-parallelism): Yanping Huang et al.; NeurIPS 2019; Systems; Easy; 32 min. GPipe divides a neural network into sequential stages and sends micro-batches through them as a pipeline. Read it to see how the schedule trades idle time for throughput, why accumulated gradients preserve synchronous updates, and how rematerialization makes much larger models fit in accelerator memory. - [Toy Models of Superposition](https://fanout.sh/daily/2026-10-10-toy-models-superposition): Nelson Elhage et al.; Transformer Circuits Thread 2022; AI Research; Medium; 34 min. Toy Models of Superposition asks how a neural layer can track more useful features than it has hidden dimensions. Read it to see how sparse features share non-orthogonal directions, why ReLU makes interference affordable, and why the clean geometry remains a controlled clue rather than a map of a real language model. - [Understanding deep learning requires rethinking generalization](https://fanout.sh/daily/2026-10-09-rethinking-generalization): Chiyuan Zhang et al.; ICLR 2017; AI Research; Medium; 32 min. The random-label control shows that a network can fit arbitrary training targets while performing near chance on held-out examples. Read it to distinguish fitting from generalization, understand what stays fixed in the experiment, and avoid overclaims about regularization or learning theory. - [Cuckoo Hashing](https://fanout.sh/daily/2026-10-08-cuckoo-hashing): Rasmus Pagh and Flemming Friche Rodler; Journal of Algorithms 2004; Systems; Easy; 28 min. Cuckoo hashing restricts each key to two candidate cells, moving collisions into insertion. Read it to separate worst-case lookup from expected amortized updates, replay an eviction chain, and see why empty space alone cannot guarantee a valid placement. - [Flamingo: a Visual Language Model for Few-Shot Learning](https://fanout.sh/daily/2026-10-07-flamingo-visual-language-model): Jean-Baptiste Alayrac et al.; NeurIPS 2022; AI Research; Medium; 42 min. Flamingo connects a frozen vision encoder and a frozen language model with a fixed visual bottleneck and gated cross-attention layers. Read it to see how interleaved images and text share context, why the gates begin closed, and which celebrated few-shot claims remain hard to reproduce. - [SmolVLA: A Vision-Language-Action Model for Affordable and Efficient Robotics](https://fanout.sh/daily/2026-10-06-smolvla-affordable-robotics): Mustafa Shukor et al.; arXiv 2025; AI Research; Medium; 36 min. SmolVLA compresses a vision-language-action policy to 450 million parameters and predicts fifty-action chunks with a flow-matching expert. Read it to see how an asynchronous queue overlaps inference with robot motion, why that makes execution faster, and where the reported success rate falls. - [Self-Consistency Improves Chain of Thought Reasoning in Language Models](https://fanout.sh/daily/2026-10-05-self-consistency-reasoning): Xuezhi Wang et al.; ICLR 2023; Inference; Easy; 28 min. A model can reach the same answer along several different routes. This paper shows how sampling those routes and voting on their final answers improves reasoning accuracy without additional training, then exposes the extra computation and the gap between agreement and correctness. - [A Simple Framework for Contrastive Learning of Visual Representations](https://fanout.sh/daily/2026-10-04-simclr-contrastive-representations): Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton; ICML 2020; AI Research; Easy; 30 min. SimCLR turns two altered views of one photograph into a training target without class labels. Read it to see why easy visual shortcuts can spoil representation learning, why the projection head is discarded after training, and why the headline ImageNet result needs its model size attached. - [The Log-Structured Merge-Tree (LSM-Tree)](https://fanout.sh/daily/2026-10-03-log-structured-merge-tree): Patrick O’Neil, Edward Cheng, Dieter Gawlick, and Elizabeth O’Neil; Acta Informatica 1996; Systems; Easy; 32 min. How can a database keep scattered incoming records searchable without paying for a separate disk-page update on every insert? The original LSM-tree batches sorted entries in memory and rolls them into larger disk trees. Read it to understand the merge, its amortized cost, and the read and recovery obligations that remain. - [TruthfulQA: Measuring How Models Mimic Human Falsehoods](https://fanout.sh/daily/2026-10-02-truthfulqa-human-falsehoods): Stephanie Lin, Jacob Hilton, and Owain Evans; ACL 2022; AI Research; Easy; 31 min. TruthfulQA asks whether a language model can resist false statements that humans repeat often enough to imitate. Read it to see how adversarial misconception questions separate truthfulness from informativeness, why the original models showed inverse scaling, which controls support that interpretation, and why new model families, benchmark revisions, judge availability, shortcuts, and contamination now bound the famous result. - [Flow Matching for Generative Modeling](https://fanout.sh/daily/2026-10-01-flow-matching-generative-modeling): Yaron Lipman et al.; ICLR 2023; AI Research; Medium; 29 min. Flow Matching asks how to train a continuous generative flow when the distribution-level velocity target is unavailable. Read it to see how per-example conditional paths create tractable regression labels, why the conditional and marginal objectives have identical gradients, how path geometry changes solver work, and why straight conditional paths do not prove globally straight transport. - [Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free](https://fanout.sh/daily/2026-09-30-gated-attention-language-models): Zihan Qiu et al.; NeurIPS 2025 Best Paper; AI Research; Medium; 27 min. Gated Attention asks what happens when an attention head can decline to write its result. Read it to see why softmax's sum-to-one rule encourages sink behavior, how a query-dependent sigmoid gate after SDPA separates reading from writing, which ablations make that explanation credible, and where missing error bars, full-attention cost, and an incomplete long-context theory bound the result. - [LLMs Get Lost In Multi-Turn Conversation](https://fanout.sh/daily/2026-09-29-llms-lost-multi-turn-conversation): Philippe Laban et al.; ICLR 2026 Outstanding Paper; AI Research; Easy; 36 min. LLMs Get Lost In Multi-Turn Conversation asks whether a model that solves a complete one-shot instruction remains dependable when the same requirements arrive over several turns. Read it to see how instruction sharding holds the intended task fixed, why best-case aptitude hides a 112% rise in unreliability, which recap and temperature interventions fall short, and where an idealized simulated user limits the result. - [Human-level control through deep reinforcement learning](https://fanout.sh/daily/2026-09-28-human-level-control-dqn): Volodymyr Mnih et al.; Nature 2015; AI Research; Medium; 32 min. DQN is remembered for learning Atari games from pixels. Read it for the less obvious result: why naive deep Q-learning chases its own moving data and targets, and how shuffled replay plus a delayed target network made that feedback loop trainable across 49 games. - [An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale](https://fanout.sh/daily/2026-09-27-vision-transformer-image-patches): Alexey Dosovitskiy et al.; ICLR 2021; AI Research; Easy; 30 min. Vision Transformer asks how much image-specific structure a model needs when pre-training data becomes very large. Read it to see how a 224-pixel image becomes 196 patch tokens, which convolutional priors disappear, why ResNets lead at smaller scale, where ViT crosses over, and how patch size turns visual detail into a quadratic token-pair bill. - [SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering](https://fanout.sh/daily/2026-09-26-swe-agent-computer-interfaces): John Yang et al.; NeurIPS 2024; AI Research; Medium; 35 min. SWE-agent asks how much software-agent capability comes from the language model and how much comes from the interface around it. Read it to see why summarized search, 100-line file windows, precise edits, lint feedback, and compressed history help one fixed model repair more repositories—and why a 12.47% resolve rate is mechanism evidence rather than production autonomy. - [Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks](https://fanout.sh/daily/2026-09-25-model-agnostic-meta-learning): Chelsea Finn, Pieter Abbeel, and Sergey Levine; ICML 2017; AI Research; Medium; 35 min. MAML asks whether training should optimize a model's answer before adaptation or the quality of the answer after a few task-specific gradient steps. Read it to see how support and query examples create a nested objective, why one initialization can move toward several related tasks, what the sinusoid and MiniImageNet results establish, and where task shift and second-order cost bound the claim. - [Diffusion Policy: Visuomotor Policy Learning via Action Diffusion](https://fanout.sh/daily/2026-09-24-diffusion-policy-robot-actions): Cheng Chi et al.; The International Journal of Robotics Research, 2024; AI Research; Medium; 35 min. Diffusion Policy asks how a robot can imitate demonstrations when several incompatible action sequences are all valid. Read it to see how denoising samples one coherent action chunk, why the controller predicts farther than it executes, how that receding horizon corrects drift, and what the reported 46.9% relative improvement, real-robot results, latency, and evaluation protocol actually establish. - [Constitutional AI: Harmlessness from AI Feedback](https://fanout.sh/daily/2026-09-23-constitutional-ai-feedback): Yuntao Bai et al.; Anthropic technical report, 2022; AI Research; Medium; 35 min. Constitutional AI asks whether a short, explicit set of principles can replace repeated human harmlessness labels without reducing safety to blanket refusal. Read it to see how one rulebook produces self-revised demonstrations and AI-labelled response preferences, why the policy still depends on human helpfulness data and evaluation, and how inaccurate critiques, judge capability, principle choice, and reward over-optimization bound the result. - [Spectre Attacks: Exploiting Speculative Execution](https://fanout.sh/daily/2026-09-22-spectre-speculative-execution): Paul Kocher et al.; IEEE Symposium on Security and Privacy 2019; Systems; Medium; 30 min. Spectre asks how code can read a secret even when a correct bounds check rejects the access. Read it to see how branch-predictor training opens a transient wrong path, how one secret-indexed cache line survives architectural rollback, and why process isolation, timer changes, compiler barriers, and processor controls each cover only part of the hardware-software contract. - [The Leaderboard Illusion](https://fanout.sh/daily/2026-09-21-leaderboard-illusion): Shivalika Singh et al.; NeurIPS 2025; AI Research; Medium; 35 min. The Leaderboard Illusion asks what a live model ranking measures when some providers can privately test many candidates, keep only the strongest score, see more of the prompt distribution, or leave old models in a changing comparison graph. Read it to see why best-of-N selection lifts an observed maximum, how the authors audited private variants and prompt access, and where overlapping intervals, private data, disputed interpretations, and synthetic deprecation studies limit the verdict. - [Highly accurate protein structure prediction with AlphaFold](https://fanout.sh/daily/2026-09-20-alphafold-protein-structure): John Jumper et al.; Nature 2021; AI Research; Medium; 35 min. AlphaFold asks how a computer can turn an amino-acid sequence into a useful three-dimensional protein structure. Read it to see how evolutionary sequence evidence and residue-pair geometry continually constrain one another, how a structure module and recycling refine explicit atomic coordinates, and why per-residue confidence, missing biological context, and shallow alignments still bound what a prediction can establish. - [Skip Lists: A Probabilistic Alternative to Balanced Trees](https://fanout.sh/daily/2026-09-19-skip-lists-probabilistic-balancing): William Pugh; Communications of the ACM 1990; Systems; Easy; 30 min. Skip Lists asks whether a sorted linked list can search like a balanced tree without rotations or global rebalancing. Read it to see how random node heights create sparse express lanes, how an advance-or-drop search finds a key in expected logarithmic time, and why the result trades a strict worst-case guarantee for simpler local updates and a tunable pointer budget. - [A Case for Redundant Arrays of Inexpensive Disks (RAID)](https://fanout.sh/daily/2026-09-18-raid-redundant-disk-arrays): David A. Patterson, Garth A. Gibson, and Randy H. Katz; ACM SIGMOD 1988; Systems; Easy; 30 min. The RAID paper asks how many small disks can deliver more I/O without making storage collapse whenever one device fails. Read it to see how striping exposes parallelism, how mirrors or XOR parity make one missing disk reconstructable, and why rotating the parity position removes a dedicated check-disk bottleneck without proving modern latency or whole-system durability. - [A Relational Model of Data for Large Shared Data Banks](https://fanout.sh/daily/2026-09-17-relational-model-data-banks): E. F. Codd; Communications of the ACM 1970; Systems; Easy; 30 min. Codd's relational model paper asks why an application program should break when the machine reorganizes the data it reads. Read it to see how describing everything as flat relations with keys removes ordering, indexing, and access-path dependence, how normalization copies a parent key downward to flatten nested records, and why the model deliberately leaves language syntax, implementation, and performance as open problems. - [Neural Machine Translation by Jointly Learning to Align and Translate](https://fanout.sh/daily/2026-09-16-neural-translation-soft-attention): Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio; ICLR 2015; AI Research; Easy; 30 min. This paper asks how a translation model can look back at the right source words instead of compressing an entire sentence into one fixed vector. Read it to see how a bidirectional encoder leaves one annotation at every source position, how a jointly trained alignment scorer builds a fresh weighted context for each target word, and why strong WMT14 results still need careful treatment of unknown words, sequence length, exhaustive scoring, and causal claims. - [The JPEG Still Picture Compression Standard](https://fanout.sh/daily/2026-09-15-jpeg-still-picture-compression): Gregory K. Wallace; Communications of the ACM 1991; Systems; Easy; 30 min. The JPEG paper asks how a photograph can become much smaller without looking obviously broken. Read it to see how each 8 × 8 block becomes a set of spatial-frequency coefficients, why coefficient quantization is the deliberately lossy step, and how zig-zag ordering plus Huffman coding pack the surviving structure without pretending that one quality setting fits every image or display. - [The Design Philosophy of the DARPA Internet Protocols](https://fanout.sh/daily/2026-09-14-darpa-internet-design): David D. Clark; ACM SIGCOMM 1988; Systems; Easy; 30 min. The DARPA Internet design paper asks why a conversation should survive when a router or network disappears beneath it. Read it to see how fate-sharing keeps essential connection state at the endpoint hosts, why the network forwards independent datagrams, and where alternate paths, routing recovery, host behavior, management, accounting, and security remain outside that elegant core. - [DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression](https://fanout.sh/daily/2026-09-13-deepseek-v4-1-flash): DeepSeek-AI; Technical Report 2026; Inference; Medium; 30 min. DeepSeek-V4.1-Flash asks how a million-token agent can keep attention memory from overwhelming accelerator memory, persistent storage, and transfer bandwidth. Read it to see how a causal encoder-decoder shares compressed global context across depth, how three CSA2 layer modes divide cache and indexing work, and why bounded replay makes an explicit approximation to avoid persisting local attention state. - [Quicksort](https://fanout.sh/daily/2026-09-12-quicksort-partition): C. A. R. Hoare; The Computer Journal 1962; Systems; Very Easy; 30 min. Quicksort asks how one value can turn a disorderly table into two smaller sorting problems without copying everything into a merge buffer. Read it to see how two pointers scan inward around a chosen bound, exchange values found on the wrong sides, and leave independent segments whose balance determines the amount of work still ahead. - [Time, Clocks, and the Ordering of Events in a Distributed System](https://fanout.sh/daily/2026-09-11-lamport-logical-clocks): Leslie Lamport; Communications of the ACM 1978; Systems; Easy; 30 min. Lamport asks how separated computers can agree on a useful event order when no perfect global clock tells them what happened first. Read it to see how local event order and delivered messages define causality, how message-carried logical counters preserve that order, and why the resulting timestamps still cannot prove that two events influenced one another. - [You Only Look Once: Unified, Real-Time Object Detection](https://fanout.sh/daily/2026-09-10-yolo-unified-object-detection): Joseph Redmon, Santosh Divvala, Ross Girshick, and Ali Farhadi; CVPR 2016; AI Research; Easy; 30 min. YOLO asks how a computer can locate and name every object in an image quickly enough for live video. Read it to see how one full-image network fills a fixed responsibility grid with boxes and class scores, why that unified prediction runs in real time, and where coarse spatial capacity trades localization accuracy for speed. - [The rsync algorithm](https://fanout.sh/daily/2026-09-09-rsync-rolling-checksum): Andrew Tridgell and Paul Mackerras; ANU Technical Report TR-CS-96-05, 1996; Systems; Easy; 30 min. The rsync algorithm asks how one machine can update a remote file without sending the whole file or first collecting both versions. Read it to see how destination block signatures, a rolling checksum at every source offset, strong confirmation, and a stream of block references plus literal bytes preserve reuse even after an edit shifts every later boundary. - [Organization and Maintenance of Large Ordered Indices](https://fanout.sh/daily/2026-09-08-btree-ordered-index): Rudolf Bayer and Edward M. McCreight; Acta Informatica 1972; Systems; Easy; 30 min. The original B-tree paper asks how an index can keep searches and updates cheap when it is too large for memory and every disk access is expensive. Read it to see why one page should hold many sorted separators, how a full page splits around its median, and how equal leaf depth keeps a changing index shallow. - [Learning representations by back-propagating errors](https://fanout.sh/daily/2026-09-07-backpropagation-hidden-representations): David E. Rumelhart, Geoffrey E. Hinton, and Ronald J. Williams; Nature 1986; AI Research; Easy; 30 min. Back-propagation asks how a hidden layer can learn useful features when a teacher specifies only the desired output. Read it to see how a forward pass stores activations, an output mismatch travels backward as chained derivatives, and each connection receives a local weight update that can organize hidden units around the task's structure. - [New Directions in Cryptography](https://fanout.sh/daily/2026-09-06-diffie-hellman-key-agreement): Whitfield Diffie and Martin E. Hellman; IEEE Transactions on Information Theory 1976; Systems; Easy; 30 min. Diffie and Hellman ask how two people who have never exchanged a secret can agree on one over a public network. Read it to see how private exponents and exchanged modular powers meet at the same shared value, why reversing a public value is meant to be difficult, and why authentication must still stop an active intermediary from substituting keys. - [Consistent Hashing and Random Trees: Distributed Caching Protocols for Relieving Hot Spots on the World Wide Web](https://fanout.sh/daily/2026-09-05-consistent-hashing-random-trees): David Karger, Eric Lehman, Tom Leighton, Matthew Levine, Daniel Lewin, and Rina Panigrahy; STOC 1997; Systems; Easy; 35 min. Consistent Hashing and Random Trees asks how a distributed cache can absorb membership changes and flash crowds without throwing away nearly every placement decision. Read it to see how stable item and cache positions localize reassignment, how monotonicity limits movement, and how a different random cache tree for each page spreads hot demand. - [Ethernet: Distributed Packet Switching for Local Computer Networks](https://fanout.sh/daily/2026-09-04-ethernet-distributed-packet-switching): Robert M. Metcalfe and David R. Boggs; Communications of the ACM 1976; Systems; Very Easy; 30 min. Ethernet asks how many computers can share one inexpensive local medium without a central traffic controller. Read it to see how a passive broadcast cable, carrier sensing, collision detection, brief jamming, and adaptive random backoff turn simultaneous packet attempts into distributed coordination. - [Language Models are Few-Shot Learners](https://fanout.sh/daily/2026-09-03-gpt3-few-shot-learners): Brown et al.; NeurIPS 2020; AI Research; Easy; 35 min. GPT-3 asks whether one pretrained language model can take on a new task from text alone, without changing its weights. Read it to see how an instruction and zero, one, or several worked examples turn the prompt into a temporary task specification, why larger models used that context more effectively on many benchmarks, and where the result remained uneven or contaminated. - [A Universal Algorithm for Sequential Data Compression](https://fanout.sh/daily/2026-09-02-lz77-sequential-compression): Jacob Ziv and Abraham Lempel; IEEE Transactions on Information Theory 1977; Systems; Easy; 30 min. LZ77 asks how to compress a stream exactly when its source statistics are unknown. Read it to see how a bounded window turns recent output into a moving dictionary, replaces the longest reachable repeat with a backward pointer and length, and keeps encoder and decoder synchronized with one following literal. - [ImageNet Classification with Deep Convolutional Neural Networks](https://fanout.sh/daily/2026-09-01-alexnet-image-classification): Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton; NeurIPS 2012; AI Research; Easy; 35 min. AlexNet asks how a deep image classifier can learn from 1.2 million examples without taking impossibly long to optimize or simply memorizing the training set. Read it to see how ReLU activations, a selectively connected two-GPU network, image augmentation, and dropout made an eight-layer convolutional model practical at ImageNet scale. - [Brewer’s Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services](https://fanout.sh/daily/2026-08-31-cap-theorem): Seth Gilbert and Nancy Lynch; ACM SIGACT News 2002; Systems; Very Easy; 30 min. The CAP theorem asks what a replicated service can promise when the network splits. Read it to see how one completed write and one later isolated read force an exact choice: answer from incomplete knowledge or wait for communication that may never return. - [A Note on Two Problems in Connexion with Graphs](https://fanout.sh/daily/2026-08-30-dijkstra-shortest-path): E. W. Dijkstra; Numerische Mathematik 1959; Systems; Very Easy; 30 min. Dijkstra's three-page paper asks how to find the shortest route through a weighted network without listing every possible path. Read it to see how a growing settled frontier, one tentative distance per reachable node, and a smallest-first choice turn a global route question into a sequence of local commitments. - [Generative Adversarial Nets](https://fanout.sh/daily/2026-08-29-generative-adversarial-nets): Goodfellow, Pouget-Abadie, Mirza, Xu, Warde-Farley, Ozair, Courville, and Bengio; NeurIPS 2014; AI Research; Easy; 35 min. Generative Adversarial Nets asks how a model can learn to create convincing new samples without an explicit likelihood or a Markov chain. Read it to see how a generator and discriminator turn that problem into a two-player game, why the ideal judge eventually answers one half, and why the elegant equilibrium does not make practical training automatically stable. - [Kafka: a Distributed Messaging System for Log Processing](https://fanout.sh/daily/2026-08-28-kafka-distributed-log): Kreps, Narkhede, and Rao; NetDB 2011; Systems; Easy; 35 min. Kafka turns a queue into a retained distributed log. Append-only partitions hold ordered records while independent consumers pull from their own offsets, replay after failure, and advance at different speeds. - [Bringing the Web up to Speed with WebAssembly](https://fanout.sh/daily/2026-08-27-webassembly-safe-portable-bytecode): Haas, Rossberg, Schuff, Titzer, Holman, Gohman, Wagner, Zakai, and Bastien; PLDI 2017; Systems; Easy; 35 min. WebAssembly asks how a browser can run low-level code from an untrusted download without tying that code to one language, CPU, or browser. Read it to see how a typed stack format, structured branches, bounded linear memory, and streaming validation make compact portable code safe enough to compile near native speed. - [XGBoost: A Scalable Tree Boosting System](https://fanout.sh/daily/2026-08-26-xgboost-scalable-tree-boosting): Chen and Guestrin; KDD 2016; AI Research; Easy; 35 min. XGBoost asks how many small decision trees can correct one another without growing into an uncontrolled forest, and how that learning rule can survive sparse, billion-row data. Read it to connect additive leaf scores and regularized split gain to weighted candidate sketches, learned missing-value directions, cache-aware column blocks, and the system work behind a practical tabular-ML classic. - [Segment Anything](https://fanout.sh/daily/2026-08-25-segment-anything): Kirillov et al.; ICCV 2023; AI Research; Easy; 35 min. Segment Anything asks whether one vision model can turn a point, box, or rough mask into the pixels of a reasonable object, even on unfamiliar images. Read it to see how one reusable image embedding, a lightweight prompt decoder, ambiguity-aware mask candidates, and a model-in-the-loop data engine make segmentation feel like an interface rather than a fixed label set. - [Large-scale cluster management at Google with Borg](https://fanout.sh/daily/2026-08-24-google-borg-cluster-management): Verma et al.; EuroSys 2015; Systems; Easy; 40 min. Borg asks how one fleet can run latency-sensitive services and opportunistic batch work without wasting the space between their peaks. Read it to see how cells, jobs, tasks, priorities, limits, reservations, placement scoring, and a continuously repaired control plane turn heterogeneous machines into shared infrastructure. - [Learning Transferable Visual Models From Natural Language Supervision](https://fanout.sh/daily/2026-08-23-clip-natural-language-supervision): Radford et al.; ICML 2021; AI Research; Easy; 35 min. CLIP asks how an image model can recognize categories described in words without training a new classifier for every task. Read it to see how two encoders turn a batch into an all-pairs similarity matrix, how the true image-text pairs teach a shared embedding space, and why prompts make zero-shot recognition flexible but not automatically reliable. - [Development of the Domain Name System](https://fanout.sh/daily/2026-08-22-development-domain-name-system): Mockapetris and Dunlap; SIGCOMM 1988; Systems; Very Easy; 30 min. This paper asks how the Internet can keep one usable naming system without making every machine download one global host file. Read it to see how DNS cuts a name tree into delegated zones, follows referrals toward the server responsible for one branch, and uses time-limited caching to make repeated lookups local. - [End-to-End Arguments in System Design](https://fanout.sh/daily/2026-08-21-end-to-end-arguments): Saltzer, Reed, and Clark; ACM TOCS, 1984; Systems; Easy; 30 min. This paper asks where a system should place reliability, delivery, security, and duplicate-suppression guarantees. Read it to see why a lower layer can make failures rarer yet still cannot certify the application result, and why the final check belongs at the endpoints that understand what success means. - [Toolformer: Language Models Can Teach Themselves to Use Tools](https://fanout.sh/daily/2026-08-20-toolformer): Schick et al.; NeurIPS 2023; AI Research; Easy; 40 min. Toolformer asks how a language model can learn when and how to call external tools without a large hand-labeled tool-use dataset. Read it to see how the model proposes calls inside ordinary text, executes them, and keeps only those whose returned result lowers continuation loss enough to become a training example. - [An Industrial-Strength Audio Search Algorithm](https://fanout.sh/daily/2026-08-19-shazam-audio-search): Avery Li-Chun Wang; ISMIR 2003; Systems; Easy; 30 min. This is the paper behind Shazam: how a phone can name a song from ten noisy seconds in a pub. Read it to see how a track is reduced to a constellation of spectrogram peaks, how pairing peaks into 32-bit hashes makes lookup about ten thousand times faster, and why a match is declared only when the surviving hashes agree on one time offset. - [Chain-of-Thought Prompting Elicits Reasoning in Large Language Models](https://fanout.sh/daily/2026-08-18-chain-of-thought): Wei, Wang, Schuurmans, Bosma, Ichter, Xia, Chi, Le, and Zhou; NeurIPS 2022; AI Research; Easy; 30 min. This paper asks why showing a language model a few worked examples of step-by-step reasoning unlocks problems that direct prompting cannot touch. Read it to see how eight hand-written exemplars lifted PaLM 540B from 17.9% to 56.9% on grade-school math, why meaningless filler tokens explain none of the gain, and why the same prompt actively hurts smaller models. - [Space/Time Trade-offs in Hash Coding with Allowable Errors](https://fanout.sh/daily/2026-08-17-bloom-filter): Burton H. Bloom; Communications of the ACM, 1970; Systems; Easy; 30 min. Bloom's paper asks how a compact in-memory screen can reject missing keys before an expensive exact lookup. Read it to see why one zero bit proves absence, why all-one evidence means only possibly present, and how shared hash positions trade memory for a controlled false-positive path. - [Tor: The Second-Generation Onion Router](https://fanout.sh/daily/2026-08-16-tor-onion-router): Dingledine, Mathewson, and Syverson; USENIX Security 2004; Systems; Easy; 35 min. This paper asks how a browser can cross several volunteer relays without handing any one relay the complete route. Read it to see how the client extends a circuit one hop at a time, wraps each fixed-size cell in a different session key for every relay, and why those layers still cannot defeat an observer who can correlate traffic at both ends. - [Mastering the game of Go with deep neural networks and tree search](https://fanout.sh/daily/2026-08-15-alphago-neural-tree-search): Silver et al.; Nature 2016; AI Research; Easy; 35 min. This paper asks how a computer can choose a strong Go move when the game tree is far too large to enumerate. Read it to see how a learned policy concentrates search on promising moves, how a value network estimates who is ahead before a game ends, and how Monte Carlo tree search turns those estimates into professional-level play under a large compute budget. - [Bitcoin: A Peer-to-Peer Electronic Cash System](https://fanout.sh/daily/2026-08-14-bitcoin-proof-of-work): Satoshi Nakamoto; Bitcoin white paper, 2008; Systems; Easy; 35 min. This paper asks how two people can agree that a digital payment happened first without asking a central mint to keep the ledger. Read it to see why signatures prove ownership but not uniqueness, how hash-linked proof of work makes one public history costly to rewrite, and why every confirmation still depends on an honest-compute majority assumption. - [Congestion Avoidance and Control](https://fanout.sh/daily/2026-08-13-congestion-avoidance-control): Van Jacobson; SIGCOMM 1988; Systems; Easy; 35 min. This paper asks how TCP can keep a busy network useful when delay, packet loss, and retransmission tempt every sender to add even more traffic. Read it to see how acknowledgements become a clock, how slow start fills an empty path without a full-window burst, and why a congestion signal should make the sender retreat quickly before probing capacity again. - [Stealing Reasoning Traces from Proprietary LLM APIs](https://fanout.sh/daily/2026-08-12-stolen-reasoning-traces): Panfilov, Schmotz, Shumailov, Beurer-Kellner, Schaeffer, Prabhu, Geiping, and Andriushchenko; arXiv, 2026; AI Research; Medium; 35 min. This paper asks what happens when an API gives encrypted reasoning state to the client and later accepts that opaque state again. Read it to see why confidentiality and integrity do not automatically bind a reasoning block to one user, session, or model, how the authors tested compatible weaker decoders, and what the resulting privacy evidence means after responsible disclosure. - [The PageRank Citation Ranking: Bringing Order to the Web](https://fanout.sh/daily/2026-08-11-pagerank): Page, Brin, Motwani, and Winograd; Stanford InfoLab, 1999; Systems; Easy; 35 min. PageRank asks how a search engine can estimate which web pages matter before it even sees a query. Read it to see how every page divides its authority among outgoing links, how repeated link-weight transfer settles into a global ranking, and why teleportation, incomplete crawls, and manipulation keep that score from being a synonym for truth. - [ReAct: Synergizing Reasoning and Acting in Language Models](https://fanout.sh/daily/2026-08-10-react-reasoning-acting): Yao, Zhao, Yu, Du, Shafran, Narasimhan, and Cao; ICLR 2023; AI Research; Easy; 35 min. ReAct gives language-model agents a simple working rhythm: reason about the current situation, take a bounded action, observe what the environment returns, and revise the next move. Read it for the durable idea behind many tool-using agent harnesses and for an honest look at why better grounding can still fail when tools return weak evidence or the agent gets stuck in a loop. - [Ring Attention with Blockwise Transformers for Near-Infinite Context](https://fanout.sh/daily/2026-08-09-ring-attention): Liu, Zaharia, and Abbeel; ICLR 2024; Systems; Hard; 50 min. Ring Attention asks how exact Transformer context can grow across devices without gathering the whole sequence on each one. Read it to see how stationary query blocks, circulating key-value blocks, and compute-transfer overlap turn a device ring into aggregate context capacity while keeping per-host activation memory independent of total sequence length. - [FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning](https://fanout.sh/daily/2026-08-08-flashattention-2): Tri Dao; ICLR 2024; Inference; Hard; 50 min. FlashAttention-2 asks why an exact, I/O-aware attention kernel can still leave much of an A100 idle. Read it to see how reducing non-matmul work, parallelizing along sequence tiles, and giving each warp disjoint query and output rows improves GPU utilization without changing the attention result. - [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://fanout.sh/daily/2026-08-07-mamba-selective-state-spaces): Gu and Dao; COLM 2024; AI Research; Medium; 55 min. Mamba asks how a recurrent model with a fixed-size state can decide what information deserves to survive. Read it to see how input-dependent state-space parameters create content-aware persistence and reset, and how a fused parallel scan makes the resulting time-varying recurrence practical on GPUs. - [Root Mean Square Layer Normalization](https://fanout.sh/daily/2026-08-06-rmsnorm): Zhang and Sennrich; NeurIPS 2019; AI Research; Medium; 35 min. RMSNorm asks whether LayerNorm needs to subtract the mean as well as control activation scale. Read it to see how dividing by a vector's root mean square preserves global rescaling invariance with less normalization work, while deliberately giving up re-centering invariance. - [ZeRO: Memory Optimizations Toward Training Trillion Parameter Models](https://fanout.sh/daily/2026-08-05-zero-memory-optimization): Rajbhandari et al.; SC 2020; Systems; Medium; 50 min. ZeRO asks why adding data-parallel workers does not make a model easier to fit when every worker keeps the same training state. Read it to see how partitioning optimizer states, gradients, and parameters turns aggregate cluster memory into usable model capacity while preserving the data-parallel computation. - [Orca: A Distributed Serving System for Transformer-Based Generative Models](https://fanout.sh/daily/2026-08-04-orca-continuous-batching): Yu et al.; OSDI 2022; Inference; Easy; 45 min. Orca moves LLM serving from fixed request batches to iteration-level scheduling. Read it to see how a scheduler can reconsider the active batch after every generated token, and how selective batching preserves efficient shared GPU work even when requests have different sequence lengths and lifetimes. - [GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints](https://fanout.sh/daily/2026-08-03-grouped-query-attention): Ainslie et al.; EMNLP 2023; Inference; Medium; 35 min. Grouped-query attention finds a practical middle ground between multi-head attention's quality and multi-query attention's decoding speed. Read it to see how sharing key-value heads within groups shrinks the KV cache, and how an existing multi-head checkpoint can be converted with only a small amount of additional pretraining. - [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://fanout.sh/daily/2026-08-02-deepseekmath-grpo): Shao et al.; arXiv 2024; ML Math; Hard; 55 min. DeepSeekMath shows how targeted data and reinforcement learning can turn a compact open model into a strong mathematical reasoner. Read it for the data-selection pipeline behind its 120 billion math tokens and for GRPO, a PPO variant that removes the separate critic model by learning from relative rewards within groups of sampled answers. - [Proximal Policy Optimization Algorithms](https://fanout.sh/daily/2026-08-01-proximal-policy-optimization): Schulman et al.; arXiv 2017; ML Math; Hard; 55 min. Proximal Policy Optimization shows how to reuse on-policy experience for several minibatch updates without letting the policy move too far in one step. Read it to understand the clipped surrogate objective behind a practical reinforcement-learning algorithm that later became central to RLHF pipelines. - [Training Language Models to Follow Instructions with Human Feedback](https://fanout.sh/daily/2026-07-31-instructgpt): Ouyang et al.; NeurIPS 2022; AI Research; Easy; 45 min. InstructGPT shows why a larger language model is not automatically better at following a user's intent. Read it to see how demonstrations, preference rankings, a learned reward model, and reinforcement learning turn human judgments into a practical post-training pipeline for more helpful instruction following. - [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://fanout.sh/daily/2026-07-30-switch-transformers): Fedus, Zoph, and Shazeer; JMLR 2022; AI Research; Medium; 50 min. Switch Transformers shows how to grow a model's capacity without activating every parameter for every token. Read it to see how top-1 expert routing, load balancing, and expert capacity turn mixture-of-experts into a simpler scaling recipe while keeping per-token computation roughly constant. - [Distilling the Knowledge in a Neural Network](https://fanout.sh/daily/2026-07-29-knowledge-distillation): Hinton, Vinyals, and Dean; NIPS 2014 Deep Learning Workshop; AI Research; Easy; 30 min. Knowledge distillation turns an expensive ensemble or large teacher into a smaller, deployable student. Read it to see why the full pattern of class probabilities carries more useful structure than hard labels alone, and how temperature-scaled soft targets transfer that structure during training. - [The Tail at Scale](https://fanout.sh/daily/2026-07-28-tail-at-scale): Dean and Barroso; Communications of the ACM 2013; Systems; Easy; 30 min. The Tail at Scale explains why rare slowdowns become routine user-visible delays when one request fans out across many machines. Read it for a practical systems lesson: large services need techniques that tolerate latency variability, not only faster average components. - [Fast Inference from Transformers via Speculative Decoding](https://fanout.sh/daily/2026-07-27-speculative-decoding): Leviathan, Kalman, and Matias; ICML 2023; Inference; Medium; 40 min. Speculative decoding makes autoregressive generation faster without changing the target model's output distribution. Read it to see how a small draft model, parallel verification, and a corrected sampling rule turn extra compute into lower decoding latency without retraining the models. - [Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks](https://fanout.sh/daily/2026-07-26-retrieval-augmented-generation): Lewis et al.; NeurIPS 2020; AI Research; Easy; 40 min. Retrieval-Augmented Generation gives a language model an explicit, updateable memory outside its parameters. Read it to see how a neural retriever and a sequence generator work together, and why grounding generation in retrieved evidence can improve factual, knowledge-intensive answers. - [Auto-Encoding Variational Bayes](https://fanout.sh/daily/2026-07-24-auto-encoding-variational-bayes): Kingma and Welling; ICLR 2014; ML Math; Hard; 55 min. Auto-Encoding Variational Bayes makes latent-variable models trainable with ordinary backpropagation. Read it to see how the evidence lower bound, amortized inference, and the reparameterization trick turn an intractable posterior problem into a practical stochastic-optimization recipe. - [Dropout: A Simple Way to Prevent Neural Networks from Overfitting](https://fanout.sh/daily/2026-07-23-dropout): Srivastava et al.; JMLR 2014; ML Math; Very Easy; 35 min. Dropout is a compact lesson in turning randomness into regularization. Read it to see how masking neurons during training discourages brittle co-adaptation and approximates an ensemble without paying the cost of running many networks at inference time. - [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://fanout.sh/daily/2026-07-22-direct-preference-optimization): Rafailov et al.; NeurIPS 2023; AI Research; Easy; 40 min. DPO turns language-model alignment from a multi-stage reinforcement-learning pipeline into a direct preference-learning objective. Read it to see how one mathematical reparameterization can remove the separate reward model and make preference tuning much simpler to train. - [Efficient Memory Management for Large Language Model Serving with PagedAttention](https://fanout.sh/daily/2026-07-21-pagedattention): Woosuk Kwon et al.; SOSP 2023; Inference; Hard; 16 min. An LLM server can run out of room for requests while most of its KV cache memory holds nothing. Follow the three kinds of reservation waste, the block table that places 16-token blocks anywhere on the GPU, copy-on-write sharing, and the batch-size evidence behind vLLM's 2 to 4 times throughput. - [From Tensor Buffer to Distributed Memory Hierarchy](https://fanout.sh/daily/2026-07-20-kv-cache-management-survey): Li, Wang, and Chen; arXiv 2026; Inference; Medium; 50 min. This survey treats the KV cache as a distributed memory-management problem, not just a temporary tensor. It is a useful July 20 pick for understanding why LLM serving depends on locality, lifetime, ownership, substrate, and the tradeoffs behind paged, shared, disaggregated, and tiered cache designs. - [Attention Is All You Need](https://fanout.sh/daily/2026-07-19-attention-is-all-you-need): Vaswani et al.; NeurIPS 2017; AI Research; Medium; 45 min. The Transformer paper replaced recurrence with attention and made sequence modeling easier to parallelize. Read it for the architectural move that turned token-to-token routing into the core primitive behind modern language models. - [FlashAttention](https://fanout.sh/daily/2026-07-18-flashattention): Dao et al.; NeurIPS 2022; Inference; Hard; 55 min. FlashAttention keeps exact attention but changes the memory traffic pattern. It is a clean example of why practical model speed often comes from respecting hardware limits rather than changing the math. - [Scaling Laws for Neural Language Models](https://fanout.sh/daily/2026-07-17-scaling-laws): Kaplan et al.; arXiv 2020; ML Math; Medium; 50 min. The scaling-laws paper turns model size, data, and compute into a quantitative tradeoff. It is useful when you want to reason about progress curves instead of treating bigger training runs as folklore. - [Training Compute-Optimal Large Language Models](https://fanout.sh/daily/2026-07-16-chinchilla): Hoffmann et al.; arXiv 2022; AI Research; Medium; 45 min. Chinchilla is the scaling paper that made data budget feel as important as parameter count. It is a good daily pick for learning why a smaller model trained on more tokens can beat a larger undertrained one. - [Dynamo: Amazon's Highly Available Key-value Store](https://fanout.sh/daily/2026-07-15-dynamo): DeCandia et al.; SOSP 2007; Systems; Hard; 60 min. Dynamo is the classic availability-first storage paper. It is worth reading for how partitioning, quorums, hinted handoff, vector clocks, and application-level conflict resolution combine into a product-shaped system. - [MapReduce](https://fanout.sh/daily/2026-07-14-mapreduce): Dean and Ghemawat; OSDI 2004; Systems; Easy; 40 min. MapReduce shows how a constrained programming model can hide distribution, retries, shuffling, and locality. Read it for the system-design lesson that an API can be an operational strategy. - [In Search of an Understandable Consensus Algorithm](https://fanout.sh/daily/2026-07-13-raft): Ongaro and Ousterhout; USENIX ATC 2014; Systems; Easy; 45 min. Raft is the consensus paper to read before discussing leader election, replicated logs, or metadata coordination. It is intentionally structured for understandability, which makes it a strong beginner systems paper. - [LoRA: Low-Rank Adaptation of Large Language Models](https://fanout.sh/daily/2026-07-12-lora): Hu et al.; ICLR 2022; Inference; Easy; 35 min. LoRA is the cleanest first paper for understanding efficient model adaptation. It turns fine-tuning into small low-rank update matrices, which connects directly to Fanout's model training and serving material. - [BERT: Pre-training of Deep Bidirectional Transformers](https://fanout.sh/daily/2026-07-11-bert): Devlin et al.; NAACL 2019; AI Research; Medium; 45 min. BERT is the pretrain-then-fine-tune paper that made bidirectional Transformer encoders the default for many language understanding tasks. It is useful for separating encoder intuition from decoder-only LLM intuition. - [Batch Normalization](https://fanout.sh/daily/2026-07-10-batch-normalization): Ioffe and Szegedy; ICML 2015; ML Math; Medium; 35 min. BatchNorm is a compact paper for learning how activation statistics, optimization stability, and architecture design interact. It is a good bridge between practical deep learning and the math of normalization. - [Deep Residual Learning for Image Recognition](https://fanout.sh/daily/2026-07-09-resnet): He et al.; CVPR 2016; AI Research; Very Easy; 35 min. ResNet is the skip-connection paper that makes depth trainable in practice. It is beginner-friendly because the core idea is simple: learn a residual change instead of relearning the whole representation. - [Efficient Estimation of Word Representations in Vector Space](https://fanout.sh/daily/2026-07-08-word2vec): Mikolov et al.; ICLR Workshop 2013; AI Research; Very Easy; 30 min. The Word2Vec paper is still one of the best first reads for representation learning. It shows how simple prediction tasks can turn words into vectors with useful geometric structure. - [Sequence to Sequence Learning with Neural Networks](https://fanout.sh/daily/2026-07-07-sequence-to-sequence): Sutskever et al.; NeurIPS 2014; AI Research; Very Easy; 35 min. Seq2Seq is the clean predecessor to attention and Transformers. It is a good beginner paper because the encoder-decoder contract is easy to visualize and still appears in translation, summarization, and agents. - [Adam: A Method for Stochastic Optimization](https://fanout.sh/daily/2026-07-06-adam): Kingma and Ba; ICLR 2015; ML Math; Very Easy; 30 min. Adam is the optimizer paper learners meet constantly in code before they understand it. The first pass is approachable: it combines momentum-like gradient averages with squared-gradient adaptation. - [Dremel: Interactive Analysis of Web-Scale Datasets](https://fanout.sh/daily/2026-07-05-dremel): Melnik et al.; VLDB 2010; Systems; Medium; 45 min. Dremel is a strong systems pick for understanding columnar analytics, nested data, and query serving at scale. It connects directly to Fanout's storage and analytics material without becoming a database-product tour. - [Bigtable: A Distributed Storage System for Structured Data](https://fanout.sh/daily/2026-07-04-bigtable): Chang et al.; OSDI 2006; Systems; Easy; 45 min. Bigtable is the beginner-friendly bridge from simple key-value stores to distributed sorted maps. It teaches rows, tablets, locality, metadata, and why storage shape follows access patterns. - [The Google File System](https://fanout.sh/daily/2026-07-03-google-file-system): Ghemawat et al.; SOSP 2003; Systems; Easy; 40 min. GFS is a useful first distributed storage paper because the assumptions are explicit: large files, append-heavy workloads, commodity failures, and a master that keeps metadata tractable. - [A Mathematical Theory of Communication](https://fanout.sh/daily/2026-07-02-mathematical-theory-of-communication): Claude Shannon; Bell System Technical Journal 1948; ML Math; Hard; 65 min. Shannon's information theory paper is hard but worth anchoring early in the calendar. Entropy, bits, uncertainty, and channel capacity sit underneath compression, coding, language modeling, and evaluation intuition. - [The Perceptron](https://fanout.sh/daily/2026-07-01-perceptron): Frank Rosenblatt; Psychological Review 1958; AI Research; Very Easy; 30 min. The Perceptron is a good July 1 starting point because it gives learners the original linear-classifier idea before modern depth, attention, or scale enter the story. ## Fanout field notes - [What is fan-out? Fan-in, feeds and tail latency](https://fanout.sh/blog/fan-out): System design; Suraj Gaud; 2026-10-30; public. Fan-out is one request or event turning into many downstream calls or deliveries. Fan-in, feeds on write vs read, pub/sub, and the tail-latency math. - [Compare llm-d prefix cache and server hits](https://fanout.sh/blog/llm-d-prefix-cache-index-vs-server-hits): Inference engineering; Suraj Gaud; 2026-10-24; public. Compare llm-d router predictions with model-server cache reuse without mixing request cohorts, token units, endpoints, or disaggregated roles. - [Size vLLM KV cache bytes after CUDA graphs](https://fanout.sh/blog/vllm-kv-cache-bytes-cuda-graph-headroom): Inference engineering; Suraj Gaud; 2026-10-24; public. Turn vLLM's manual KV-cache suggestion into a repeatable byte budget using measured CUDA-graph slack, an operating reserve, and block rounding. - [Measure speculative index confirmation rate](https://fanout.sh/blog/prefix-cache-speculative-index-confirmation-rate): Inference engineering; Suraj Gaud; 2026-10-23; public. Define prefix-cache speculative index confirmation rate with mature cohorts, then separate event-pipeline health from actual prefill work avoided. - [Use minimum vLLM KV cache bytes per rank](https://fanout.sh/blog/vllm-kv-cache-bytes-multi-rank-minimum): Inference engineering; Suraj Gaud; 2026-10-23; public. Choose one manual vLLM KV-cache budget from the weakest GPU rank, preserve graph-capture headroom, and quantify the lost capacity on stronger ranks. - [Prefix cache speculative index TTL](https://fanout.sh/blog/prefix-cache-speculative-index-ttl): Inference engineering; Suraj Gaud; 2026-10-22; public. Size a prefix-cache speculative index TTL from route-to-event latency, confirmation failures, and the cost of routing on predicted KV state. - [vLLM KV cache manual memory drift](https://fanout.sh/blog/vllm-kv-cache-manual-memory-drift): Inference engineering; Suraj Gaud; 2026-10-22; public. Reuse a manual vLLM KV-cache byte budget safely by measuring startup free-memory drift per GPU, preserving headroom, and gating rollouts. - [KV cache reserve under tensor parallelism](https://fanout.sh/blog/kv-cache-reserve-under-tensor-parallelism): Inference engineering; Suraj Gaud; 2026-10-18; public. Build a per-rank GPU memory ledger, separate activation reserve from utilization headroom, and translate the remaining KV bytes into token capacity. - [Prefix cache eviction attribution after event gaps](https://fanout.sh/blog/prefix-cache-eviction-attribution-event-gaps): Inference engineering; Suraj Gaud; 2026-10-18; public. Use publisher epochs, sequence continuity, and replay coverage to avoid calling a prefix miss an eviction when KV-event history is incomplete. - [KV cache headroom for burst arrivals](https://fanout.sh/blog/kv-cache-burst-headroom): Inference engineering; Suraj Gaud; 2026-10-17; public. Size KV cache burst reserve from rolling net block growth, a recovery window, and measured overhead instead of a fixed utilization percentage. - [Prefix cache eviction attribution window](https://fanout.sh/blog/prefix-cache-eviction-attribution-window): Inference engineering; Suraj Gaud; 2026-10-17; public. Size recent-eviction history from event rate and diagnostic delay, then preserve unknown outcomes when events expire, drop, or restart. - [KV cache working set capacity planning](https://fanout.sh/blog/kv-cache-working-set-capacity-planning): Inference engineering; Suraj Gaud; 2026-10-16; public. Size an LRU prefix cache from reuse distance and a target hit rate, then convert pages into HBM, DRAM, or SSD capacity with headroom. - [Prefix cache miss attribution guide](https://fanout.sh/blog/prefix-cache-miss-attribution): Inference engineering; Suraj Gaud; 2026-10-16; public. Tell prompt divergence from eviction, routing, and extra-hash mismatches by tracing the first uncached block without exposing prompt contents. - [Hybrid model cache: state vs KV bytes](https://fanout.sh/blog/hybrid-model-state-vs-kv-transfer-bytes): Inference engineering; Suraj Gaud; 2026-10-14; public. Calculate hybrid-model transfer payload from attention KV, recurrent state, padding, tensor parallelism, and missing cache blocks. - [MoE GroupGEMM padding under expert skew](https://fanout.sh/blog/moe-groupgemm-padding-under-expert-skew): Inference engineering; Suraj Gaud; 2026-10-14; public. Turn per-expert token counts into tile-padding ratios, then balance wasted compute against weight reuse, rank tails, and runtime kernel dispatch. - [KV cache scale calibration under drift](https://fanout.sh/blog/kv-cache-scale-calibration-drift): Inference engineering; Suraj Gaud; 2026-10-11; public. Detect when static FP8 KV scales stop matching production traffic, then recalibrate by layer, head, workload, and context length. - [Redis HOTKEYS sample ratio and duration](https://fanout.sh/blog/redis-hotkeys-sample-ratio-duration): System design; Suraj Gaud; 2026-10-11; public. Size Redis 8.6 HOTKEYS sampling and duration from detectable load, top-K limits, and the open sampled-total scaling bug. - [Multi-barrier prefix cache salting](https://fanout.sh/blog/multi-barrier-prefix-cache-salting): Inference engineering; Suraj Gaud; 2026-10-10; public. Compare flat and multi-barrier prefix-cache salts with worked reuse math, trust boundaries, block alignment, and current vLLM implementation status. - [Per-token-head KV cache scale overhead](https://fanout.sh/blog/per-token-head-kv-cache-scale-overhead): Inference engineering; Suraj Gaud; 2026-10-10; public. Calculate the FP32 scale bytes stored beside per-token-head FP8 and INT4 KV data, then compare actual capacity with static per-head calibration. - [MoE GroupGEMM occupancy vs EP size](https://fanout.sh/blog/moe-groupgemm-occupancy-vs-ep-size): Inference engineering; Suraj Gaud; 2026-10-09; public. Derive tokens per expert as EP widens, then separate GroupGEMM shape, weight bandwidth, routing skew, and all-to-all cost. - [Structured output speculative decoding acceptance](https://fanout.sh/blog/structured-output-speculative-decoding-acceptance): Inference engineering; Suraj Gaud; 2026-10-09; public. Separate grammar-invalid drafts from target-model rejections so structured-output acceptance rates keep a stable, useful denominator. - [Hybrid prefix cache lost tokens metric](https://fanout.sh/blog/hybrid-prefix-cache-lost-tokens-metric): Inference engineering; Suraj Gaud; 2026-10-08; public. Use sparse-retention misses with prefix queries and hits to find shared tokens that a hybrid cache matched but could not safely reuse. - [NVFP4 KV cache A4Q prefill explained](https://fanout.sh/blog/nvfp4-kv-cache-a4q-prefill): Inference engineering; Suraj Gaud; 2026-10-08; public. Compare inline NVFP4 dequantization, amortized repacking, and A4Q's native FP4 QK path across full-prefill and short-query workloads. - [METRO AllGather vs AllToAll for MoE decode](https://fanout.sh/blog/metro-allgather-vs-alltoall-moe-decode): Inference engineering; Suraj Gaud; 2026-10-07; public. Compare METRO AllGather with conventional AllToAll using payload bytes, collective launch cost, activated experts, and decode-batch size. - [Prefix cache retention with speculative decoding](https://fanout.sh/blog/prefix-cache-retention-speculative-decoding): Inference engineering; Suraj Gaud; 2026-10-07; public. Diagnose miss-miss-hit cache traces when MTP, EAGLE, or DFlash shifts the reusable boundary away from a retained recurrent-state checkpoint. - [LLM token buffer occupancy scheduling](https://fanout.sh/blog/llm-token-buffer-occupancy-scheduling): Inference engineering; Suraj Gaud; 2026-10-06; public. Turn unread streamed tokens into scheduling runway, then account for consumption rate, preemption cost, KV memory, and overload fallback. - [Prefix cache salt granularity explained](https://fanout.sh/blog/prefix-cache-salt-granularity): Inference engineering; Suraj Gaud; 2026-10-06; public. Separate vLLM cache-salt scope from prefix-match granularity, calculate the reuse cost of each isolation boundary, and plan safe rotation. - [Hot key detection hysteresis for databases](https://fanout.sh/blog/hot-key-detection-hysteresis-database): System design; Suraj Gaud; 2026-10-02; public. Set hot-key promote, demote, dwell, and cooldown rules from sampled request rates, shard headroom, and mitigation warm-up time. - [Prefix cache hash collision probability](https://fanout.sh/blog/prefix-cache-hash-collision-probability): Inference engineering; Suraj Gaud; 2026-10-02; public. Calculate prefix-cache collision probability for 128-bit and 256-bit hashes, then separate random risk from attacks, salts, and serialization. - [Cache hot-key detection window threshold](https://fanout.sh/blog/cache-hot-key-detection-window-threshold): System design; Suraj Gaud; 2026-10-01; public. Size a cache hot-key detector from node spare capacity, reaction delay, queue growth, replica warm-up, and promote-demote hysteresis. - [P95 ITL vs average TPOT](https://fanout.sh/blog/p95-itl-vs-average-tpot): Inference engineering; Suraj Gaud; 2026-10-01; public. See why p95 inter-token latency and average TPOT can disagree, with worked streams, weighting rules, and the right metric for each serving SLO. - [Hybrid KV cache vs recurrent state memory](https://fanout.sh/blog/hybrid-kv-cache-vs-recurrent-state-memory): Inference engineering; Suraj Gaud; 2026-09-30; public. Calculate when token-growing KV cache overtakes fixed recurrent state in a hybrid LLM, then include concurrency, precision, and allocator padding. - [Read a speculative decoding acceptance histogram](https://fanout.sh/blog/speculative-decoding-acceptance-length-histogram): Inference engineering; Suraj Gaud; 2026-09-30; public. Turn a speculative-decoding acceptance histogram into mean progress, wasted draft work, conditional survival, and a test for choosing draft length. - [Consistent hash peak load with hot keys](https://fanout.sh/blog/consistent-hash-peak-load-with-hot-keys): System design; Suraj Gaud; 2026-09-29; public. Calculate the peak-to-average load from one hot key, then solve for the read-replica count needed to meet a node-capacity target. - [FP8 KV cache layer skipping vs per-head scales](https://fanout.sh/blog/fp8-kv-cache-layer-skipping-vs-per-head-scales): Inference engineering; Suraj Gaud; 2026-09-29; public. Compare FP8 per-head scales with BF16 layer skipping, including scale overhead and a worked hybrid-attention KV cache calculation. - [Label smoothing with sparse outputs](https://fanout.sh/blog/label-smoothing-sparse-outputs): ML mathematics; Suraj Gaud; 2026-09-28; public. See why label smoothing diverges on exact-zero predictions, while an entropy confidence penalty stays bounded, with a four-class calculation. - [User idle latency in LLM serving](https://fanout.sh/blog/user-idle-latency-llm-serving): Inference engineering; Suraj Gaud; 2026-09-28; public. Turn reading speed and buffered tokens into a user-visible stall deadline, then measure it separately from TPOT and server-side inter-token latency. - [Consistent hash peak-to-average load ratio](https://fanout.sh/blog/consistent-hash-peak-to-average-load-ratio): System design; Suraj Gaud; 2026-09-27; public. Estimate the busiest node from ring variance, then compare virtual nodes, multi-probe hashing, and bounded loads for a target peak ratio. - [MoE balance batch size vs expert parallel size](https://fanout.sh/blog/moe-balance-batch-size-vs-expert-parallel-size): AI research; Suraj Gaud; 2026-09-27; public. Separate MoE load-balance reduction scope from expert ownership, then calculate tokens per expert and per rank as EP grows. - [NVFP4 KV cache prefill vs decode performance](https://fanout.sh/blog/nvfp4-kv-cache-prefill-vs-decode-performance): Inference engineering; Suraj Gaud; 2026-09-11; public. Separate NVFP4 KV cache kernel cost from capacity gains across prefill, decode, cache append, prefix hits, and preemption. - [Dynamic speculative decoding batch size thresholds](https://fanout.sh/blog/dynamic-speculative-decoding-batch-size-thresholds): Inference engineering; Suraj Gaud; 2026-09-10; public. Tune dynamic speculative decoding batch size thresholds without hiding CUDA graph, K=0, acceptance, or threshold-crossing costs. - [Mamba state quantization for inference](https://fanout.sh/blog/mamba-state-quantization-inference): Inference engineering; Suraj Gaud; 2026-09-10; public. Learn why Mamba state quantization is harder than weight or KV compression, with memory arithmetic, error recurrence, and a deployment test plan. - [EPLB activated experts vs token balance](https://fanout.sh/blog/eplb-activated-experts-vs-token-balance): Inference engineering; Suraj Gaud; 2026-09-08; public. See why token-balanced EPLB can activate more expert replicas during memory-bound decode, with routing arithmetic and a regime-aware test plan. - [Prefix cache retention interval for hybrid models](https://fanout.sh/blog/prefix-cache-retention-interval-hybrid-models): Inference engineering; Suraj Gaud; 2026-09-08; public. Choose a prefix cache retention interval for hybrid attention from checkpoint occupancy, recomputation, semantic boundaries, and EAGLE behavior. - [Consistent hash virtual node count variance](https://fanout.sh/blog/consistent-hash-virtual-node-count-variance): System design; Suraj Gaud; 2026-09-07; public. Size a consistent hash ring from a target ownership variance, then price the metadata, lookup, and failure-recovery costs of more virtual nodes. - [EPLB window statistics memory overhead](https://fanout.sh/blog/eplb-window-statistics-memory-overhead): Inference engineering; Suraj Gaud; 2026-09-07; public. Calculate vLLM EPLB load-window memory from steps, MoE layers, physical experts, and dtype, then separate it from redundant expert weights. - [MoE load balancing loss and batch size](https://fanout.sh/blog/moe-load-balancing-loss-batch-size): AI research; Suraj Gaud; 2026-09-06; public. See how microbatch, sequence, and global scope change MoE load balancing loss, expert specialization, variance, and step time. - [NVFP4 KV cache vs NVFP4 weights](https://fanout.sh/blog/nvfp4-kv-cache-vs-nvfp4-weights): Inference engineering; Suraj Gaud; 2026-09-06; public. Separate NVFP4 KV cache from NVFP4 weights by lifecycle, memory math, kernels, calibration, and the vLLM controls that enable each one. - [Per-tensor vs per-head FP8 KV cache scales](https://fanout.sh/blog/per-tensor-vs-per-head-fp8-kv-cache-scales): Inference engineering; Suraj Gaud; 2026-09-05; public. Compare per-tensor, static per-head, and dynamic per-token-head FP8 KV scales by range, metadata, calibration, and backend support. - [Prefix match unit vs KV cache block size](https://fanout.sh/blog/prefix-match-unit-vs-kv-cache-block-size): Inference engineering; Suraj Gaud; 2026-09-05; public. Separate vLLM prefix hash granularity from physical KV blocks and scheduler alignment, with hybrid-model arithmetic and tuning constraints. - [EPLB window size and step interval](https://fanout.sh/blog/eplb-window-size-step-interval): Inference engineering; Suraj Gaud; 2026-09-01; public. Turn vLLM's EPLB window size and step interval into sampling duty cycle, wall-clock lag, overlap, and a repeatable tuning procedure. - [Weighted rendezvous vs consistent hash ring](https://fanout.sh/blog/weighted-rendezvous-vs-consistent-hash-ring): System design; Suraj Gaud; 2026-09-01; public. Compare weighted rendezvous hashing with a vnode ring using the correct logarithmic score, capacity shares, lookup cost, and key movement. - [Smooth goodput vs goodput in LLM serving](https://fanout.sh/blog/smooth-goodput-vs-goodput): Inference engineering; Suraj Gaud; 2026-08-31; public. Compare binary goodput with smooth goodput using token deadlines, user idle latency, worked arithmetic, and the scheduling incentives each metric creates. - [W4A8 vs NVFP4 quantization on GPUs](https://fanout.sh/blog/w4a8-vs-nvfp4-quantization): Inference engineering; Suraj Gaud; 2026-08-31; public. Compare integer W4A8 with NVFP4 by number format, scale overhead, GPU support, kernel behavior, and model quality before choosing a serving path. - [Label smoothing vs confidence penalty](https://fanout.sh/blog/label-smoothing-vs-confidence-penalty): ML mathematics; Suraj Gaud; 2026-08-29; public. Compare label smoothing with confidence penalty through their KL directions, logit gradients, and a worked three-class probability example. - [Router z-loss vs load balancing loss](https://fanout.sh/blog/router-z-loss-vs-load-balancing-loss): AI research; Suraj Gaud; 2026-08-29; public. Compare router z-loss with MoE load balancing loss using the formulas and two counterexamples that isolate logit scale from expert utilization. - [FP8 KV cache calibration: a practical test](https://fanout.sh/blog/fp8-kv-cache-calibration): Inference engineering; Suraj Gaud; 2026-08-28; public. Choose FP8 KV cache scales by testing scale 1.0 first, finding systematic long-context loss, and calibrating on data that matches production. - [Paged KV cache block size: how to choose](https://fanout.sh/blog/paged-kv-cache-block-size): Inference engineering; Suraj Gaud; 2026-08-28; public. Choose paged KV cache block size from tail-waste arithmetic, prefix reuse, kernel support, and measured SLO-qualified capacity instead of a default. - [WAL vs redo log vs undo log, mapped](https://fanout.sh/blog/wal-vs-redo-log-vs-undo-log): System design; Suraj Gaud; 2026-08-27; public. Separate WAL's write-ordering rule from redo and undo recovery, then map the terms across PostgreSQL, MySQL, SQL Server, Oracle, and SQLite. - [Weighted jump consistent hash: what works](https://fanout.sh/blog/weighted-jump-consistent-hash): System design; Suraj Gaud; 2026-08-27; public. Learn how to add weights around Jump Hash, calculate logical-bucket ratios, and decide when weighted rendezvous avoids unnecessary key movement. - [Goodput vs SLO attainment in LLM serving](https://fanout.sh/blog/goodput-vs-slo-attainment): Inference engineering; Suraj Gaud; 2026-08-26; public. Goodput is a rate; SLO attainment is a fraction. Derive their relationship, expose denominator traps, and choose the right LLM serving metric. - [Online vs offline EPLB for MoE serving](https://fanout.sh/blog/online-vs-offline-eplb): Inference engineering; Suraj Gaud; 2026-08-26; public. Compare offline and online EPLB by traffic drift, measurement windows, expert-weight movement, and the cost of rebalancing a live MoE server. - [Label smoothing minimum loss, calculated](https://fanout.sh/blog/label-smoothing-minimum-loss): ML mathematics; Suraj Gaud; 2026-08-25; public. Derive the nonzero cross-entropy floor created by label smoothing, compare two conventions, and calculate it for 2, 10, and 1,000 classes. - [Router z-loss for stable MoE training](https://fanout.sh/blog/router-z-loss-moe-training): AI research; Suraj Gaud; 2026-08-25; public. Calculate router z-loss from four logits, see the common shift it removes, and separate numerical stability from expert load balancing. - [Self-hosted LLM vs API break-even math](https://fanout.sh/blog/self-hosted-llm-vs-api-cost-break-even): Inference engineering; Suraj Gaud; 2026-08-24; Fanout Pro. Calculate the token volume where a rented GPU beats an LLM API, then test model parity, utilization, peak capacity, caching, and operations costs. - [W4A8 quantization in QServe](https://fanout.sh/blog/w4a8-quantization-qserve): Inference engineering; Suraj Gaud; 2026-08-24; public. See why QServe stores 4-bit weights, computes on INT8 tensor cores, and pairs W4A8 with a 4-bit KV cache for batched LLM serving. - [Jump consistent hash vs hash ring](https://fanout.sh/blog/jump-consistent-hash-vs-hash-ring): System design; Suraj Gaud; 2026-08-23; public. Choose jump hashing or a hash ring by pricing membership changes, lookup state, weights, failures, replicas, and a six-bucket rebalance. - [Write-ahead log vs transaction log](https://fanout.sh/blog/write-ahead-log-vs-transaction-log): System design; Suraj Gaud; 2026-08-23; public. Separate the WAL ordering rule from a database transaction log, then trace one SQL Server update through commit, redo, undo, and truncation. - [FP8 attention vs FP8 KV cache](https://fanout.sh/blog/fp8-attention-vs-fp8-kv-cache): Inference engineering; Suraj Gaud; 2026-08-22; public. Separate FP8 cache storage from FP8 attention math, calculate the memory saving, and check whether the active backend turns it into lower latency. - [vAttention vs PagedAttention for KV cache](https://fanout.sh/blog/vattention-vs-pagedattention): Inference engineering; Suraj Gaud; 2026-08-22; public. Compare CUDA virtual memory with software KV blocks, including kernel overhead, page granularity, prefix sharing, and a practical choice rule. - [Expert parallelism load balancing with EPLB](https://fanout.sh/blog/expert-parallelism-load-balancing-eplb): Inference engineering; Suraj Gaud; 2026-08-21; public. Decide whether EPLB's redundant experts repay their memory cost using measured routing skew, balance ratios, and a 2.4 GB DeepSeek-V3 example. - [Goodput vs throughput in LLM inference](https://fanout.sh/blog/goodput-vs-throughput-llm-inference): Inference engineering; Suraj Gaud; 2026-08-21; public. Compare LLM serving plans by SLO-qualified requests, not raw tokens per second, with a 60-second capacity and cost calculation. - [Token choice vs expert choice routing in MoE](https://fanout.sh/blog/token-choice-vs-expert-choice-routing): AI research; Suraj Gaud; 2026-08-19; public. How token choice and expert choice routing split MoE work: who picks whom, load balance, dropped tokens, and why decoder LLMs route by token. - [What is a good cross entropy loss value](https://fanout.sh/blog/what-is-a-good-cross-entropy-loss-value): ML mathematics; Suraj Gaud; 2026-08-19; public. Judge cross entropy loss against the ln C uniform baseline and the data's entropy floor, with worked numbers from coin flips to GPT-2. - [AI inference engineering, explained with numbers](https://fanout.sh/blog/ai-inference-engineering-guide): Inference engineering; Suraj Gaud; 2026-08-18; public. What AI inference engineering is, derived from one GPU ratio: bandwidth ceilings, batching, caching, quantization, and when self-hosting pays. - [FlashAttention vs PagedAttention: what each fixes](https://fanout.sh/blog/flashattention-vs-pagedattention): Inference engineering; Suraj Gaud; 2026-08-18; public. FlashAttention cuts attention kernel memory traffic. PagedAttention cuts KV cache waste. Which one is your bottleneck, and why engines run both. - [What is W4A16? W4A16 vs W8A8 quantization compared](https://fanout.sh/blog/w8a8-vs-w4a16-quantization): Inference engineering; Suraj Gaud; 2026-08-18; public. Choose W8A8 or W4A16 quantization from prefill compute, decode bandwidth, and memory-fit arithmetic, with the batch-size crossover that flips the answer. - [Expert parallelism vs tensor parallelism for MoE](https://fanout.sh/blog/expert-parallelism-vs-tensor-parallelism): Inference engineering; Suraj Gaud; 2026-08-17; public. Choose expert or tensor parallelism for MoE serving from weight placement, all-to-all versus all-reduce arithmetic, expert size, and batch occupancy. - [When KV cache quantization slows inference](https://fanout.sh/blog/when-kv-cache-quantization-slows-inference): Inference engineering; Suraj Gaud; 2026-08-17; public. When FP8 or INT4 KV cache quantization slows LLM inference: unsupported attention backends, short contexts, low concurrency, and conversion kernels. - [Disaggregated prefill and decode with numbers](https://fanout.sh/blog/disaggregated-prefill-and-decode): Inference engineering; Suraj Gaud; 2026-08-16; Fanout Pro. Calculate KV transfer bytes and time, size prefill and decode pools independently, and decide when disaggregation beats chunked prefill. - [Write-ahead log explained through one crash](https://fanout.sh/blog/write-ahead-log-explained): System design; Suraj Gaud; 2026-08-16; public. Follow one transfer through WAL records, dirty pages, commit, crash recovery, redo, undo, checkpoints, and group commit. - [Consistent hashing explained simply with 10 keys](https://fanout.sh/blog/consistent-hashing-explained-simply): System design; Suraj Gaud; 2026-08-15; Fanout Pro. Trace 10 keys through modulo hashing and a hash ring, count exactly what moves, then add virtual nodes, replication, and failure limits. - [Softmax temperature explained with numbers](https://fanout.sh/blog/softmax-temperature-explained): ML mathematics; Suraj Gaud; 2026-08-15; public. See softmax at T=0.5, 1, and 2, then separate temperature's roles in sampling, calibration, training, and knowledge distillation. - [FP8 vs INT8 vs AWQ vs GPTQ](https://fanout.sh/blog/fp8-vs-int8-vs-awq-vs-gptq): Inference engineering; Suraj Gaud; 2026-08-14; public. FP8 and INT8 are number formats. AWQ and GPTQ are weight quantization methods. Compare memory, kernels, quality, and the workloads each fits. - [Mixture of experts routing explained](https://fanout.sh/blog/mixture-of-experts-routing-explained): AI research; Suraj Gaud; 2026-08-14; public. Follow one token through MoE router logits, top-k softmax, expert outputs, and capacity limits. See why routing balance is a systems constraint. - [KV cache quantization: memory savings by bits](https://fanout.sh/blog/kv-cache-quantization): Inference engineering; Suraj Gaud; 2026-08-13; public. Calculate how much KV cache quantization saves after scale metadata and residual tokens, then decide when lower precision is worth the tradeoff. - [Why is FlashAttention faster?](https://fanout.sh/blog/why-is-flash-attention-faster): Inference engineering; Suraj Gaud; 2026-08-13; Fanout Pro. FlashAttention is faster because it avoids writing full attention matrices to HBM. Follow the 4K-token memory traffic and exact softmax method. - [How Grok 4.6 happened: Cursor's data flywheel](https://fanout.sh/blog/grok-4-6-cursor-data-flywheel): AI research; Suraj Gaud; 2026-08-12; public. The six-month story behind Grok 4.6: the $60B Cursor deal, trillions of trace tokens, and a post-training recipe where Grok 4.5 built its successor. - [Tensor parallelism vs pipeline parallelism](https://fanout.sh/blog/tensor-parallelism-vs-pipeline-parallelism): Inference engineering; Suraj Gaud; 2026-08-12; Fanout Pro. Choose tensor or pipeline parallelism for LLM inference using memory fit, interconnect topology, latency goals, and worked communication arithmetic. - [What is chunked prefill?](https://fanout.sh/blog/what-is-chunked-prefill): Inference engineering; Suraj Gaud; 2026-08-12; public. Chunked prefill splits long prompts across scheduler iterations. See the token-budget arithmetic and the TTFT, ITL, throughput, and memory tradeoffs. - [Cross-entropy loss: formula, logits and examples](https://fanout.sh/blog/softmax-cross-entropy-from-logits): ML mathematics; Suraj Gaud; 2026-08-09; public. Cross-entropy loss is the negative log of the probability a model gives the correct class, worked through from raw logits to the loss and its gradient. - [How to read equations in AI research papers](https://fanout.sh/blog/how-to-read-equations-ai-research-papers): ML mathematics; Suraj Gaud; 2026-08-09; public. A practical method for reading notation, scope, types, and meaning in AI research-paper equations, with an interactive reinforcement-learning example. - [Roofline model: a worked example for LLM inference](https://fanout.sh/blog/roofline-model-ai-inference): Inference engineering; Suraj Gaud; 2026-08-09; public. The roofline model bounds a kernel by peak compute and memory bandwidth. Work it through on an H100: why LLM decode is memory-bound and prefill is not. - [Scaled dot-product attention equation, step by step](https://fanout.sh/blog/scaled-dot-product-attention-equation): ML mathematics; Suraj Gaud; 2026-08-09; public. Scaled dot-product attention is softmax(QK^T / sqrt(d_k)) V. A worked example takes one query through the scores, the scaling, softmax and value mixing. - [What is argmax? Meaning, examples, argmax vs max](https://fanout.sh/blog/argmax-vs-max): ML mathematics; Suraj Gaud; 2026-08-09; public. Argmax returns the input where a function peaks, not the peak value that max returns, with worked examples in NumPy, PyTorch and greedy decoding. - [What the vertical bar means in mathematics](https://fanout.sh/blog/what-does-vertical-bar-mean-in-mathematics): ML mathematics; Suraj Gaud; 2026-08-09; public. Resolve conditioning, magnitude, cardinality, determinants, set-builder notation, divisibility, and evaluation by reading the mathematical frame. - [A robotics roadmap for software engineers](https://fanout.sh/blog/robotics-roadmap-software-engineers): System design; Suraj Gaud; 2026-08-06; Fanout Pro. A practical path from software engineering to robotics, covering math, ROS 2, simulation, controls, perception, planning, and real hardware. - [How to estimate LLM API costs](https://fanout.sh/blog/llm-api-cost-estimation): Inference engineering; Suraj Gaud; 2026-08-06; public. A workload-first method for estimating LLM API spend across input, output, caching, tools, retries, batch jobs, traffic growth, and quality. - [How to use AI to study for exams](https://fanout.sh/blog/how-to-use-ai-to-study-for-exams): AI research; Suraj Gaud; 2026-08-06; public. Build an exam plan with AI that uses active recall, spaced practice, mixed problems, error logs, and timed tests without outsourcing answers. - [How to use AI to study without losing the work](https://fanout.sh/blog/how-to-use-ai-to-study): AI research; Suraj Gaud; 2026-08-06; public. Use AI as a tutor, question writer, and feedback partner while keeping retrieval, explanation, practice, and judgment in your own hands. - [LLM inference interview questions that matter](https://fanout.sh/blog/llm-inference-interview-questions): Inference engineering; Suraj Gaud; 2026-08-06; Fanout Pro. Twenty practical LLM inference interview questions with answer rubrics covering latency, KV cache, batching, GPUs, parallelism, and reliability. - [OpenAI vs Anthropic API pricing](https://fanout.sh/blog/openai-vs-anthropic-api-pricing): Inference engineering; Suraj Gaud; 2026-08-06; public. A dated comparison of OpenAI and Anthropic API token prices, cache costs, batch discounts, long-context rules, and workload-level cost. - [Speculative decoding for faster LLM inference](https://fanout.sh/blog/speculative-decoding-llm-inference): Inference engineering; Suraj Gaud; 2026-08-06; public. How speculative decoding proposes and verifies tokens, why it can preserve model outputs, and when draft models make latency worse. - [The LLM inference engineer roadmap](https://fanout.sh/blog/llm-inference-engineer-roadmap): Inference engineering; Suraj Gaud; 2026-08-06; public. A practical roadmap through GPU fundamentals, transformer decoding, KV cache memory, batching, parallelism, serving, and production measurement. - [The open-source robotics stack, explained](https://fanout.sh/blog/open-source-robotics-stack): System design; Suraj Gaud; 2026-08-06; public. How ROS 2, Gazebo, MuJoCo, MoveIt, ros2_control, LeRobot, and open hardware fit together in a modern robotics project. - [Vision-language-action models for robotics](https://fanout.sh/blog/vision-language-action-models-robotics): AI research; Suraj Gaud; 2026-08-06; public. How VLA models turn images and instructions into robot actions, what OpenVLA changed, and where evaluation and deployment still break. - [100 papers to understand software and computing](https://fanout.sh/blog/100-papers-to-understand-software-and-computing): System design; Suraj Gaud; 2026-08-05; public. A foundational reading list for getting started with programming, databases, networks, distributed systems, interfaces, and machine learning. - [Build an AI homelab that works like one computer](https://fanout.sh/blog/ai-homelab-one-computer): System design; Medhansh; 2026-08-05; public. Connect every Mac, home server, and cloud worker into one secure AI software factory, with the tools that matter and the order to add them. - [Continuous batching for LLM inference](https://fanout.sh/blog/continuous-batching-llm-inference): Inference engineering; Suraj Gaud; 2026-08-03; Fanout Pro. How iteration-level scheduling lets LLM requests join and leave a live batch, and how token budgets, KV memory, and preemption shape latency. - [PagedAttention: how vLLM manages the KV cache](https://fanout.sh/blog/pagedattention-vllm-kv-cache): Inference engineering; Suraj Gaud; 2026-08-03; Fanout Pro. A systems guide to PagedAttention, KV blocks, block tables, copy-on-write, fragmentation, and what vLLM’s memory manager changes. - [Prefill vs decode in LLM inference](https://fanout.sh/blog/prefill-vs-decode-llm-inference): Inference engineering; Suraj Gaud; 2026-08-03; Fanout Pro. A practical guide to prefill, decode, TTFT, inter-token latency, chunked prefill, and why one LLM request creates two serving workloads. - [How AI memory works: five systems, not one](https://fanout.sh/blog/how-ai-memory-works-five-systems): AI research; Suraj Gaud; 2026-07-29; Fanout Pro. A technical map of model weights, context windows, KV caches, recurrent state, retrieval, and the limits of what AI systems remember. - [Kimi K3 architecture: KDA, MLA and MoE](https://fanout.sh/blog/kimi-k3-architecture-kda-mla-moe): Inference engineering; Suraj Gaud; 2026-07-29; Fanout Pro. A source-led guide to Kimi K3’s hybrid attention, Attention Residuals, Stable LatentMoE, cache design, and deployment tradeoffs. - [KV cache formula for LLM inference memory](https://fanout.sh/blog/kv-cache-formula-llm-inference-memory): Inference engineering; Suraj Gaud; 2026-07-29; public. Derive KV-cache memory from layers, KV heads, head dimension, context, batch, and precision, then connect the result to GPU capacity. - [Daily paper summaries for AI engineers](https://fanout.sh/blog/daily-paper-summaries-for-ai-research-engineers): AI research; Suraj Gaud; 2026-07-25; public. How AI research engineers can use daily paper summaries for discovery, verification, durable notes, experiments, and team decisions. - [Deep learning for computer vision engineers](https://fanout.sh/blog/deep-learning-course-for-computer-vision-engineers): AI research; Suraj Gaud; 2026-07-25; public. How to choose and sequence computer vision learning across foundations, current architectures, experiments, evaluation, and deployment. - [Machine learning roadmap for backend engineers](https://fanout.sh/blog/machine-learning-roadmap-for-backend-engineers): Inference engineering; Suraj Gaud; 2026-07-25; public. A backend-first machine learning roadmap covering model behavior, data, evaluation, serving, observability, and inference systems. - [ML interview prep for software engineers](https://fanout.sh/blog/how-to-prepare-for-ml-engineer-interviews-as-a-software-engineer): AI research; Suraj Gaud; 2026-07-25; public. A role-specific ML engineer interview plan for software engineers covering coding, mathematics, modeling, systems, projects, and mocks. - [System design prep for senior engineers](https://fanout.sh/blog/system-design-prep-for-senior-engineer-interviews): System design; Suraj Gaud; 2026-07-25; public. Senior-level system design preparation focused on scope, trade-offs, evolution, failure recovery, operations, and clear technical leadership. - [AI papers for system design engineers](https://fanout.sh/blog/ai-research-papers-for-system-design-engineers): System design; Suraj Gaud; 2026-07-24; public. A focused paper-reading path from distributed systems foundations to modern AI serving, with a practical protocol for each paper. - [ML engineer roadmap for career switchers](https://fanout.sh/blog/machine-learning-engineer-roadmap-for-career-switchers): AI research; Suraj Gaud; 2026-07-24; public. A career-switch roadmap that maps existing engineering strengths to ML foundations, model development, production systems, and credible projects. - [ML math roadmap without a math degree](https://fanout.sh/blog/ml-math-roadmap-for-engineers-without-a-math-degree): ML mathematics; Suraj Gaud; 2026-07-24; public. A dependency-based ML math roadmap for engineers covering notation, linear algebra, calculus, probability, optimization, and practice. - [Paper-reading habit for staff engineers](https://fanout.sh/blog/research-paper-reading-habit-for-staff-engineers): AI research; Suraj Gaud; 2026-07-24; public. A sustainable paper-reading system for staff engineers built around work questions, triage, durable notes, discussion, and application. - [System design labs for distributed systems](https://fanout.sh/blog/system-design-labs-for-distributed-systems-engineers): System design; Suraj Gaud; 2026-07-24; public. A lab framework for distributed systems engineers that tests invariants, failure recovery, observability, performance, and design judgment. - [Deep learning roadmap for self-taught engineers](https://fanout.sh/blog/deep-learning-roadmap-for-self-taught-engineers): AI research; Suraj Gaud; 2026-07-23; public. A practical deep learning roadmap that connects mathematics, model building, evaluation, systems work, and research reading. - [ML interview prep for data scientists](https://fanout.sh/blog/ml-interview-prep-for-data-scientists): AI research; Suraj Gaud; 2026-07-23; public. A focused ML engineering interview plan for data scientists covering coding, modeling, system design, and research communication. - [ML math for software engineers](https://fanout.sh/blog/machine-learning-math-for-software-engineers): ML mathematics; Suraj Gaud; 2026-07-23; public. The machine learning mathematics software engineers need for model code, training behavior, evaluation, and production debugging. - [System design prep for backend engineers](https://fanout.sh/blog/system-design-interview-prep-for-backend-engineers): System design; Suraj Gaud; 2026-07-23; public. A system design interview plan that turns backend experience into clear requirements, trade-offs, failure analysis, and operational judgment. - [System design prep for new grads](https://fanout.sh/blog/system-design-interview-prep-for-new-grads): System design; Suraj Gaud; 2026-07-23; public. A beginner-friendly system design interview framework for new grads, with estimation, core components, failure reasoning, and mock practice. - [SLMs are more powerful than you think](https://fanout.sh/blog/slms-are-more-powerful-than-you-think): AI research; Suraj Gaud; 2025-05-18; public. Why small language models might be the secret sauce your AI stack is missing. Canonical source: https://www.surajgaud.com/blog/slms-are-more-powerful-than-you-think. ## Machine-readable discovery - [Concise LLM index](https://fanout.sh/llms.txt) - [XML sitemap](https://fanout.sh/sitemap.xml) - [Daily paper RSS feed](https://fanout.sh/feed.xml) - [Blog RSS feed](https://fanout.sh/blog/feed.xml) - [Crawler policy](https://fanout.sh/robots.txt)