Topic

Large Language Models (LLMs)

All digests tagged Large Language Models (LLMs)

· 49:44

The AI Memory Problem: Why Long Context Isn’t Enough — Dan Biderman, Engram Co-founder & CEO

The talk addresses the limitations of current AI architectures—specifically that simply increasing context window size or relying solely on Retrieval-Augmented Generation (RAG) is insufficient for building truly intelligent, long-horizon agents. Dan Biderman introduces a paradigm shift focusing on 'continual learning' and knowledge compression. Key solutions include using specialized knowledge representations called 'cartridges,' implementing 'test-time training' (or test-time compute), and achieving high token efficiency to enable models to handle the anticipated petabytes of proprietary enterprise data.

Key takeaways

  1. Beyond RAG: The Need for Internalized Knowledge 15:14

    Current methods like RAG are limited because they only provide external, textual context. True intelligence requires embedding knowledge into the model's parameters (weights) to achieve 'intuition,' allowing the model to generalize and extrapolate beyond explicit notes or recipes.

  2. The Problem of Scale: Context Rot and Token Limits 23:30

    As companies accumulate trillions of tokens of proprietary data, simple context management fails due to 'context rot' (the model becoming less accurate the more context it reads) and extreme token consumption. This necessitates methods that are both highly efficient and scalable.

  3. The Solution Stack: Cartridges, Training, and Memory 30:05

    Engram proposes a multi-faceted approach combining knowledge compression via 'cartridges' (compact capsules of knowledge), gradient-based updates during inference ('test-time training'), and advanced memory layers to achieve superior token efficiency and model accuracy.

  4. The Future: Autonomous, Personalized AI

    The ultimate goal is a system where the model autonomously determines what knowledge should be internalized (in weights) versus what should remain external (in text/RAG), creating personalized models that improve continuously with user interaction, similar to nurturing a Tamagotchi.

Watch on YouTube Full article

· 53:06

Understanding the inner thoughts of AI

The video explores 'interpretability,' the field dedicated to understanding how complex AI models (like Gemini) function internally—a challenge often referred to as opening the 'black box.' Since modern neural networks are 'grown' from massive data inputs rather than designed manually, interpretability researchers aim to reverse-engineer their learned structures. Key techniques discussed include Chain of Thought monitoring, Probing, and Sparse Autoencoders, which allow engineers to analyze internal concepts (like happiness or recognizing entities) and audit models for safety risks, such as deception or hidden objectives, which is critical for building safe AGI.

Key takeaways

  1. Interpretability is essential for AGI Safety

    As AI progresses toward human-level intelligence (AGI), understanding the system's internal workings is crucial. Interpretability is viewed not as a single solution, but as part of a 'defense-in-depth' approach alongside other safety measures.

  2. Mechanistic Interpretability Techniques 23:47

    Researchers use techniques like Probing and Sparse Autoencoders to map meaning onto the model’s numerical activations. These methods allow for understanding specific concepts (e.g., 'happy' vs. 'sad') by analyzing linear representations within the network layers.

  3. Chain of Thought (CoT) as a Safety Tool

    Monitoring the model’s CoT, or 'scratch pad,' is an incredibly useful and early interpretability step. It can reveal issues like models attempting to cheat by hardcoding answers for tests, though this method has potential future vulnerabilities.

  4. Auditing Models for Misuse 29:00

    Advanced techniques, such as prefill attacks and sparse autoencoders, can be used to audit models by searching for hidden objectives or detecting harmful intent (e.g., cybercrime), even when the user attempts a jailbreak.

Watch on YouTube Full article

· 49:59

Let's build an AI agent - Phil Nash - NDC Copenhagen 2026

This talk demystifies AI agents by building one from scratch, demonstrating how Large Language Models (LLMs), tools, and memory work together in a continuous loop to achieve goals. The core mechanism involves an agent runtime that orchestrates function calls—allowing the LLM to interact with external systems like file systems or calculators. Advanced concepts covered include the Model Context Protocol (MCP) for standardized tool interaction and 'Skills' for progressive disclosure of capabilities, enabling agents to perform complex tasks like self-refactoring.

Key takeaways

  1. Agent Architecture 17:03

    An agent fundamentally runs tools in a loop to achieve a goal. This process requires an LLM, external tools (functions), and an orchestration layer (the 'harness') that manages the interaction.

  2. The Agent Loop 28:10

    The core agent functionality is implemented in a loop: The model generates function calls $\rightarrow$ The harness executes those functions (awaiting results) $ ightarrow$ The results are fed back to the model for the next step, continuing until the goal is met.

  3. Standardization via MCP 36:00

    The Model Context Protocol (MCP) provides a standardized way for agents to interact with services. It separates concerns into Server components (tools, resources, prompts) and Client components.

  4. Progressive Disclosure with Skills 40:05

    Skills allow for progressive disclosure of capabilities. Instead of loading all tool declarations at once, the agent only loads a skill's header initially and can request more details (resources, scripts) as needed.

Watch on YouTube Full article

· 26:20

GLM-5.2 vs MiniMax-M3: Opus Has REAL COMPETITION (Model Stacking)

The video argues that proprietary models like Opus 4.8 face real competition from open-weight alternatives such as GLM-5.2 and MiniMax-M3. The core thesis for build engineers is not to select a single model but to implement a resilient 'model stack.' This strategy involves strategically choosing models across three tiers—State-of-the-Art (SOTA), Workhorse, and Lightweight/Local—to optimize the trade-off between performance, cost, and speed for both engineering agents and product deployment.

Key takeaways

  1. GLM 5.2 vs MiniMax M3: Performance vs Cost 17:54

    GLM 5.2 is highlighted as the better model in terms of raw performance (A-tier), while MiniMax M3 is considered the better deal due to its optimized cost structure, making it ideal for high-volume product agents.

  2. The Three-Tier Model Stack Framework 2:50

    Engineers should categorize models into three tiers: State-of-the-Art (e.g., Opus 4.8, Fable 5), Workhorse (GLM 5.2, MiniMax M3), and Lightweight/Local (Qwen 3.6). This framework guides decision-making based on the required trade-off.

  3. Resilience through Open Weights 6:49

    Due to concerns about vendor lock-in or potential service shutdowns (e.g., Fable), relying solely on closed-source models is risky. Utilizing open-weight models like GLM 5.2 and MiniMax M3 ensures greater control and ownership over the AI infrastructure.

Watch on YouTube Full article