arthrop0d

Brief articles on varied topics.

artificial intelligence

12 articles tagged artificial intelligence.

  1. Speculative Decoding

    A small model drafts several tokens so a larger model can verify them in one pass while preserving the larger model’s sampling distribution.

    artificial intelligenceperformance

  2. Transformer KV Cache Memory and Autoregressive Decoding

    The KV cache keeps attention keys and values for prior tokens, avoiding repeated computation but consuming memory with every layer, token, and request.

    artificial intelligenceperformance

  3. How LLM Tool Calls Execute

    How an LLM produces a schema-checked tool request, how an executor runs it, and how results, failures, and retries return to the model.

    ai agentsartificial intelligenceapi design

  4. Transformer Key-Value Cache During Text Generation

    A transformer KV cache keeps prior attention keys and values so each generated token avoids rebuilding the whole preceding context.

    artificial intelligenceperformance

  5. Transformer Key-Value Cache During Generation

    A transformer KV cache keeps earlier attention keys and values so each generated token avoids rebuilding the entire prefix.

    artificial intelligenceperformance

  6. The AI Agent Tool-Calling Loop

    How a model requests tools, how the host validates and runs them, and how results become context for the next model turn.

    ai agentsartificial intelligenceapi design

  7. Speculative Decoding with Draft and Target Models

    Speculative decoding uses a fast model to propose tokens and a slower model to verify several of them in parallel, reducing generation latency.

    artificial intelligenceperformance

  8. Transformer KV Cache During Text Generation

    How transformers store attention keys and values to avoid recomputing prior tokens, and why longer contexts consume more inference memory.

    artificial intelligenceperformance

  9. Mixture-of-Experts Routing and Load Balancing

    How MoE routers send tokens to a few expert networks while capacity limits and balancing losses prevent overloaded experts.

    artificial intelligenceperformance

  10. The Tool-Calling Loop in AI Agents

    How an AI model requests a tool, how the runtime validates and runs it, and how the result becomes the next model input.

    ai agentsapi designartificial intelligence

  11. Speculative Decoding with Draft and Target Models

    How a small model proposes token sequences for a large model to verify, reducing generation latency while preserving the large model’s distribution.

    artificial intelligencealgorithms

  12. LLM Key-Value Caches During Autoregressive Generation

    How cached attention keys and values eliminate repeated prefix work during generation, and why the speedup consumes substantial memory.

    artificial intelligenceperformance

← All tags