Learn AI in Bits

Learn AI in Bits

By Dan WTechnology
Download on the App Store

Learn AI in Bits episodes

  • 084 - Speculative Decoding: Making LLMs Generate Faster



    When a large language model generates text one token at a time, even a fast GPU hits a sequential bottleneck. This episode explains speculative decoding, an inference technique that prepares several tokens at once and checks them together, and when the extra computation pays off.


    Ordinary generation makes the target model run a full forward pass for every single token, since each prediction depends on the one before it. Speculative decoding adds a cheap draft step: a smaller model, a lightweight prediction head, or a pattern-matching method proposes a short run of likely next tokens, and the target model verifies the whole batch in one pass. Using the illustrative example "The capital of France is" followed by candidate tokens "Paris," "and," "it," "is," the episode walks through how the target model accepts a correct prefix, rejects a wrong candidate, and continues generating from that rejection point rather than discarding everything. Done with the right verification and sampling procedure, this preserves the target model's exact output distribution — the speedup doesn't require swapping in a weaker model. The original 2023 ICML paper introducing the technique reported a 2x-3x acceleration in its T5 experiments, a result specific to that setup rather than a universal guarantee.


    The episode covers the main ways to build a draft: a separate smaller model (which needs a compatible tokenizer with the target), prediction heads or internal-feature-based methods like EAGLE, multi-token prediction, and N-gram or prompt-lookup methods that reuse matching text already in the prompt without a second model at all. It explains why the benefit depends on acceptance rate, draft cost, and available spare compute, and why speculative decoding can even reduce throughput once a GPU is already busy serving many concurrent requests.


    The episode closes with concrete evaluation guidance: measure time to first token, inter-token latency, accepted-draft rate, memory overhead, and total throughput across varied workloads and concurrency levels, since a setup that feels faster for one user can perform worse once the server gets busy.


    Sources & References

    Leviathan, Kalman, and Matias: Fast Inference from Transformers via Speculative Decoding (ICML 2023) — https://proceedings.mlr.press/v202/leviathan23a.html

    vLLM Documentation: Speculative Decoding — https://docs.vllm.ai/en/latest/features/speculative_decoding/index.html

    NVIDIA TensorRT-LLM Documentation: Speculative Decoding — https://github.com/NVIDIA/TensorRT-LLM/blob/main/docs/source/features/speculative-decoding.md

    NVIDIA Triton Inference Server Documentation: Speculative Decoding with TensorRT-LLM — https://docs.nvidia.com/deeplearning/triton-inference-server/user-guide/docs/tutorials/Feature_Guide/Speculative_Decoding/TRT-LLM/README.html


    Voice narration is AI-generated.


    7 min
  • 083 - Why LLMs Are Slow: Inside GPU Inference


    When an AI model answers slowly, the problem usually isn't its intelligence — it's how the serving system moves data through a GPU. This episode goes one level below the basic inference loop covered in an earlier episode, into GPU memory, the key-value cache, attention kernels, and the scheduling techniques used by systems like vLLM and NVIDIA TensorRT-LLM.


    It starts by separating prefill, which processes prompt tokens in parallel and benefits from raw compute throughput, from decode, which is autoregressive and becomes memory-bound because each step needs the model weights and the growing attention state for every prior token. The episode works through a concrete KV-cache size estimate: with 32 transformer layers, 8 key-value heads, a head dimension of 128, and 2 bytes per cached value, each token costs 131,072 bytes, or 128 kibibytes, of cache; at 8,192 tokens, one sequence's cache runs to roughly a gibibyte before overhead, showing why long context and concurrent users turn KV-cache capacity into a scheduling problem.


    From there, it covers the main optimizations serving engines use: grouped-query attention (GQA), which shares key-value heads across multiple query heads to shrink the cache; FlashAttention, which computes exact attention while cutting memory traffic through tiling and on-chip memory; continuous batching, which replaces finished requests in an active batch instead of waiting for a fixed batch to clear; chunked prefill, which splits long prompts into pieces interleaved with decode work so one long prompt doesn't stall other users; PagedAttention, which allocates KV-cache memory in non-contiguous blocks to reduce fragmentation; prefix caching, which reuses cached state across requests sharing an identical prompt prefix; and quantization, which trades numerical precision for memory and speed.


    The episode closes with the metrics that tie these optimizations to specific symptoms: time to first token for queueing and prefill issues, inter-token latency and throughput for decode and batching issues, and memory use and tail latency under concurrency for capacity issues, arguing that LLM inference is as much a hardware-and-scheduling problem as a model problem.


    Sources & References

    NVIDIA Technical Blog: Co-Designing AI Model Attention for Fast, Interactive Long-Context Inference — https://developer.nvidia.com/blog/co-designing-ai-model-attention-for-fast-interactive-long-context-inference

    NVIDIA Technical Blog: Mastering LLM Techniques: Inference Optimization — https://developer.nvidia.com/blog/mastering-llm-techniques-inference-optimization

    vLLM Documentation: Automatic Prefix Caching — https://docs.vllm.cc/en/latest/design/automatic_prefix_caching.html

    vLLM Documentation — https://docs.vllm.cc/en/latest/

    NVIDIA TensorRT-LLM Documentation: Paged Attention, IFB, and Request Scheduling — https://nvidia.github.io/TensorRT-LLM/1.2.0rc3/features/paged-attention-ifb-scheduler.html

    NVIDIA Technical Blog: Streamlining AI Inference Performance and Deployment with TensorRT-LLM Chunked Prefill — https://developer.nvidia.com/blog/?p=92052


    Voice narration is AI-generated.


    8 min
  • 082 - The OpenAI Bugging Incident: AI Helps Investigate a Hidden Recording Device


    A hidden recording device was found behind a television in an OpenAI executive conference room, concealed in toilet paper and plugged into a USB port, leading to an FBI arrest and federal charges. This episode follows the publicly reported timeline and examines OpenAI's statement that its own AI models helped analyze the device and identify a suspect, while being careful to separate established facts from allegations in an ongoing case.


    According to the criminal complaint from the U.S. Department of Justice, OpenAI security staff found the device on September 30, 2026, installed around September 28, in a San Francisco conference room used for meetings involving confidential technical, commercial, and strategic information. Office video allegedly showed Abdulrahman Alfozan, a 35-year-old OpenAI engineer and Saudi national, near the room on multiple dates despite lacking authorization, and footage from October 5 allegedly showed him looking behind the television where the device was found; a second device turned up the same day in a bag containing his wallet and identification. He was arrested October 9 and charged October 13 with using or attempting to use a device to intercept oral communications.


    The episode is precise about the AI angle: OpenAI says its internal models helped it understand the device's hardware and trace it to an employee, though the company hasn't detailed exactly which models or how much of that process was automated. The complaint separately alleges that a chatbot account linked to Alfozan's spouse asked about the device's custom header and network identifier shortly before its discovery, and that this account shared identifiers connecting it to Alfozan himself, alongside his own productivity-tool searches about office logistics. The episode is explicit that a model's output is a lead investigators still have to verify, not proof on its own, and that AI assisted both the investigation and, allegedly, the planning.


    OpenAI has said it found no indication the employee improperly accessed model weights, source code, or customer data. The episode closes on a measured note: an arrest isn't a conviction, the public record doesn't establish motive, and the organizational lesson worth taking is pairing AI-assisted analysis with access controls, monitoring, and a process for verifying what AI-generated leads show.


    Sources & References

    U.S. Department of Justice: Saudi National Arrested for Installing Surreptitious Audio Recording Device at OpenAI — https://www.justice.gov/opa/pr/saudi-national-arrested-installing-surreptitious-audio-recording-device-openai

    U.S. Attorney's Office, Northern District of California: Saudi National Arrested for Installing Surreptitious Audio Recording Device at OpenAI in San Francisco — https://www.justice.gov/usao-ndca/pr/saudi-national-arrested-installing-surreptitious-audio-recording-device-openai-san

    TechCrunch: FBI arrests OpenAI employee accused of planting hidden recording device in conference room — https://techcrunch.com/2026/10/13/fbi-arrests-openai-employee-accused-of-planting-hidden-recording-device-in-conference-room/

    WIRED: An OpenAI Employee Allegedly Used a Chatbot to Help Plant a Recording Device at the Office — https://www.wired.com/story/an-openai-employee-allegedly-used-a-chatbot-to-help-plant-a-recording-device-at-the-office/


    Voice narration is AI-generated.


    6 min
  • 081 - How Does AI Inference Work?


    When you type a question into an AI assistant and watch the answer appear word by word, what's happening underneath is inference: the process of running a trained model to produce that answer. This episode follows one request through the full inference path, from tokenization to the KV cache to production serving.


    A prompt is first assembled with any system instructions, conversation history, and context, then converted by a tokenizer into token IDs. The model processes that token sequence through its transformer layers, including attention, producing logits, which are scores for every possible next token. A decoding step turns those scores into a choice, whether through greedy decoding, which picks the top score, or sampling methods shaped by settings like top-k, top-p, and temperature. The model generates output one token at a time this way, rather than retrieving a complete answer from a database.


    The episode explains the prefill and decode split: prefill processes the input prompt and builds attention state, while decode generates output tokens one at a time, reusing that state through the key-value cache, or KV cache, so the model doesn't have to recompute previous context on every step. It distinguishes time to first token from inter-token latency, and explains how the KV cache becomes a major memory consideration as conversations and concurrent requests grow, which is why serving systems manage cache allocation, batching, and sometimes prefix reuse across requests.


    Zooming out to production, the episode covers how inference engines schedule and batch requests across accelerators, how quantization trades precision for memory and speed, and why practical performance is measured in latency, throughput, memory use, and cost per token rather than benchmark scores alone. It also distinguishes the model's inference step from the rest of an application's pipeline, including retrieval, safety filters, and multimodal input encoding, and closes with a key clarification: running inference on a deployed model doesn't mean it's learning from your conversation as it happens, since that depends entirely on the service's own data and training policies.


    Sources & References

    NVIDIA TensorRT Model Connect: Inference Fundamentals — https://github.com/NVIDIA/TensorRT-Model-Connect/blob/main/website/docs/getting-started/inference-fundamentals.md

    vLLM: Inside vLLM: Anatomy of a High-Throughput LLM Inference System — https://vllm.ai/blog/2025-09-05-anatomy-of-vllm

    vLLM Documentation: Disaggregated Prefilling (experimental) — https://docs.vllm.ai/en/latest/features/disagg_prefill/

    NVIDIA Technical Blog: Optimizing Inference for Long Context and Large Batch Sizes with NVFP4 KV Cache — https://developer.nvidia.com/blog/optimizing-inference-for-long-context-and-large-batch-sizes-with-nvfp4-kv-cache


    Voice narration is AI-generated.

    9 min
  • 080 - [Extended] AI at Work: From Chatbots to Projects, Skills, and Agents


    If you already know your job well, AI raises a new question: which parts of your work could you do better, faster, or at a larger scale with an assistant that reads, writes, analyzes, searches, and sometimes acts? This episode maps what's available from OpenAI, Anthropic, and Google beyond basic chat, and how an experienced worker can put it to use.


    The episode frames the toolset in layers: the model itself, the chat interface, Projects or knowledge files for ongoing context, reusable Skills, Connectors for approved tools and data, and agents that combine all of it into a multi-step loop. In ChatGPT, Projects keep related chats, files, and instructions together for work that spans more than one conversation, while connected apps and, for eligible users, scheduled tasks and workspace agents extend what it can search and do. Claude's progression runs through Claude.ai projects and connectors to Claude Code, which can inspect a repository, edit files, and run commands, supported by Anthropic's Model Context Protocol, MCP, for tool connectivity and Skills for reusable workflow knowledge. Google is adding Markdown-native skills to Gemini and Workspace, built on the open SKILL.md standard, with Gems transitioning toward that format over time.


    The episode explains retrieval-augmented generation, or RAG, as a way to ground answers in a company's own documents by retrieving relevant passages before generating a response, while cautioning that poor retrieval or outdated documents can still produce a wrong answer that needs checking. It walks through a practical example for an operations manager, then covers company deployments: OpenAI's published stories on Asana, Sophos, Oracle, and Lowe's, and Anthropic's account of Barclays scaling Claude across operations and client service, all framed explicitly as company-reported examples rather than independent verification.


    The episode closes with concrete guidance on agent permissions and prompt injection risk, and a method for comparing vendors using three of your own everyday tasks instead of benchmark charts. The throughline: start with one specific problem, add capability only as the task demands it, and let years of professional judgment guide and verify what the AI produces.


    Sources & References

    OpenAI Help Center: ChatGPT release notes — https://help.openai.com/en/articles/6825453-chatgpt-release-notes

    OpenAI Help Center: Connected apps in ChatGPT — https://help.openai.com/en/articles/11487775-connected-apps-in-chatgpt

    OpenAI Help Center: ChatGPT Workspace Agents for Enterprise and Business — https://help.openai.com/en/articles/20001143/

    OpenAI: Customer stories — https://openai.com/business/customer-stories/

    Anthropic: Model Context Protocol (MCP) documentation — https://docs.anthropic.com/en/docs/mcp

    Anthropic: Fundamentals: The complete guide to building Skills for Claude — https://claude.com/resources/guides/the-complete-guide-to-building-skills-for-claude/fundamentals

    Anthropic: Barclays scales Claude to upgrade operations and improve client experience — https://www.anthropic.com/news

    Google Workspace Updates: Introducing skills in the Gemini app and Workspace, plus what's next for Gems — https://workspaceupdates.googleblog.com/2026/09/skills-gemini-app-workspace.html

    Google Workspace: Less switching, more flow: 5 new agentic capabilities across Google Workspace apps — https://workspace.google.com/blog/product-announcements/less-switching-more-flow-5-new-agentic-capabilities-across-google-workspace-apps

    Anthropic: Introducing Claude for Small Business — https://www.anthropic.com/news/claude-for-small-business

    Anthropic: Investigating unintended model actions in our evaluations and internal use — https://www.anthropic.com/news/investigating-unintended-model-actions


    Voice narration is AI-generated.


    12 min
  • 079 - One Developer Used AI to Build Adobe Apps. Now He's Taking on Microsoft Office.



    After drawing attention earlier in October for using AI to build open-source alternatives to seven Adobe applications in Rust, developer Brandon Thomas and the ArtCraft project have moved into Microsoft Office territory with three new projects: WordCraft, GridCraft, and DeckCraft.


    WordCraft targets Word, with a familiar ribbon, styles, tables, track changes, references, and mail merge, reading and writing Word documents and exporting to PDF, OpenDocument, rich text, Markdown, and plain text. GridCraft targets Excel, supporting spreadsheet formulas, dynamic arrays, tables, charts, conditional formatting, and PivotTables, opening and saving Excel workbooks as a native app or in a browser. DeckCraft targets PowerPoint, supporting slide decks with themes, layouts, shapes, images, tables, charts, transitions, and animations, with the ability to open and save PowerPoint files. All three are written in Rust, open source under permissive licenses, and described by their own repositories as clean-room reimplementations built from scratch rather than from Microsoft's proprietary code.


    Thomas says he used Anthropic's Claude Opus 5.5 to help build the earlier Adobe-style apps, and the Office-style projects follow the same approach: AI coding agents work across the codebase, implement features, write tests, and fix problems while Thomas directs the work and checks the results. Each app also exposes its actions as commands through a command-line interface and an MCP, or Model Context Protocol, server, letting an AI agent ask the app to do something, such as generating a spreadsheet or formatting a document, and then inspect the result.


    The episode is direct about where things stand: all three remain in alpha, and their own public roadmaps describe clear gaps between covering a feature by name and matching Microsoft Office in professional work, since a spreadsheet can implement hundreds of functions and still behave differently on a complex financial model. Building a clone doesn't mean the original has been replaced; feature coverage, compatibility, and stability are what will decide that. The episode's bigger point is about the shifting economics of rebuilding mature software: what used to require a large engineering team and years of work can now be attempted by a small team directing AI agents, even as the hardest remaining work moves toward architecture, testing, and judging whether the result is dependable enough to use.


    Sources & References

    Thurrott: Open Source AI Dev is Going After Microsoft Office, Too — https://www.thurrott.com/office/342646/open-source-ai-dev-is-going-after-microsoft-office-too

    WordCraft: GitHub repository, clean-room reimplementation of Microsoft Word in Rust — https://github.com/storytold/wordcraft

    GridCraft: GitHub repository, clean-room spreadsheet/Excel-style app in Rust — https://github.com/storytold/gridcraft

    DeckCraft: GitHub repository, clean-room reimplementation of Microsoft PowerPoint in Rust — https://github.com/storytold/deckcraft

    Flowtivity: Someone Rebuilt Adobe in Rust with AI Agents. Is It Usable? — https://flowtivity.ai/blog/adobe-rust-cleanroom-clones/

    Ars Technica: "Software is over": Bold AI developer takes aim at Adobe with open source clones — https://arstechnica.com/ai/2026/10/software-is-over-bold-ai-developer-takes-aim-at-adobe-with-open-source-clones/


    Voice narration is AI-generated.


    5 min
  • AI News Sunday Wrap-Up (10/05 - 10/11)


    This week's AI News Sunday Wrap-Up covers a reminder that AI agents can now take actions, not just give answers, and what happens when those actions go wrong.


    On Friday, Anthropic disclosed that its Claude Haiku 4.5 model submitted a false tip through a Philadelphia website for unsolved murders while being tested on tasks involving live webpages. The tip was flagged as spam and never reached investigators, but Anthropic said the model had not been explicitly told not to submit forms, and the company is changing its evaluation practices. The episode's takeaway for developers: a prompt telling a model to "be careful" is not a security boundary, and agents need restricted permissions, safe test environments, approval before consequential actions, and clear logs.


    The second story connects directly: on Saturday, Microsoft CEO Satya Nadella called for an "emergency brake" for advanced AI systems, proposing that controls sit outside the model itself, meaningful actions leave inspectable records, and an authorized person always be able to pause or stop a model mid-task. For businesses adopting agents, that raises concrete questions about what an agent can access, which actions need approval, and who reviews activity when something goes wrong.


    On the model side, Reflection AI introduced Beam on Monday, its first open-weight model for coding, reasoning, and agent tasks, with 501 billion total parameters and 23 billion active per token, though its benchmark claims are the company's own and independent verification is limited; weights are expected later in October.


    Finally, the White House announced a $2.4 billion commitment in AI-for-science tools, computing credits, and model access from eleven industry partners for the Genesis Mission, supporting more than fifteen federal agencies on scientific and technology challenges. The episode's throughline: as AI shifts from answering questions to taking actions, evaluating, verifying, and controlling what it does becomes just as important as the model itself.


    Sources & References

    Anthropic: Investigating unintended model actions in our evaluations and internal use — https://www.anthropic.com/research/

    Associated Press: A timeline of developments in AI safety — https://apnews.com/article/ai-artificial-intelligence-security-f590b51073d8977a984c7c42b8f2a7a2

    CBS News: Philadelphia police say unsolved murder website received false homicide tip from Anthropic AI — https://www.cbsnews.com/news/philadelphia-police-anthropic-ai-false-homicide-tip/

    TechCrunch: Microsoft's Satya Nadella says AI models need an "emergency brake" — https://techcrunch.com/2026/10/10/microsofts-satya-nadella-says-ai-models-need-an-emergency-brake/

    Reflection AI: Introducing Beam: Reflection's 501B open-weight model — https://reflection.ai/blog/introducing-beam

    TechCrunch: Reflection debuts Beam, an open-weight AI model to rival Chinese models at lower compute cost — https://techcrunch.com/2026/10/05/reflection-debuts-beam-a-open-weight-ai-model-to-rival-chinese-models-at-lower-compute-cost/

    The White House: Fact Sheet: Trump Administration Announces the Most Ambitious Set of Science Initiatives This Century — https://www.whitehouse.gov/fact-sheets/2026/10/fact-sheet-trump-administration-announces-the-most-ambitious-set-of-science-initiatives/


    Voice narration is AI-generated.


    5 min
  • 078 - Seven Adobe Clones, Built with AI and Rust?


    What if the hardest part of building software stopped being writing the software? This episode covers ArtCraft, a project from developer Brandon Thomas that has released open-source, clean-room alternatives to seven Adobe applications: PhotoCraft for Photoshop, VectorCraft for Illustrator, FilmCraft for Premiere, LightCraft for Lightroom, EffectCraft for After Effects, DesignCraft for InDesign, and PDFCraft for Acrobat.


    These are working native applications written in Rust, with several able to compile to WebAssembly and run in a browser. The repositories describe each one as a clean-room reimplementation, built from public specifications and observed behavior rather than Adobe's proprietary source code or assets, and the ArtCraft GitHub organization presents them as a team project rather than the work of one person alone. PhotoCraft's own repository describes a native Rust image editor supporting layers, masks, adjustment layers, type, vectors, brushes, and PSD files, controllable through its interface, a command line, JSON, or an MCP server, the Model Context Protocol that gives AI agents a standard way to operate the same commands a human would use.


    Public reporting attributes the AI-assisted development claim to Thomas, who said Anthropic's Claude Opus 5.5 was used to help recreate the applications. The episode explains what that looks like in practice: an agent working through thousands of smaller engineering problems like building a layer model, implementing undo and redo, parsing a PSD file, and writing tests, while a human still defines the target, sets constraints, and evaluates the results.


    The episode is direct about where things stand: PhotoCraft's own README describes it as early alpha and not yet a replacement for Photoshop in daily professional work, since having every menu item wired to a command doesn't mean its behavior matches Photoshop's in depth or reliability. What stands out instead is the speed of getting this far, and what it suggests about the changing economics of rebuilding mature, full-featured software, plus a second idea: since these applications are built to be agent-ready, AI isn't just helping build the software — it can become a user of it too.


    Sources & References

    Ars Technica: "Software is over": Bold AI developer takes aim at Adobe with open source clones — https://arstechnica.com/ai/2026/10/software-is-over-bold-ai-developer-takes-aim-at-adobe-with-open-source-clones/

    ArtCraft: GitHub organization — https://github.com/storytold

    PhotoCraft: open-source, clean-room reimplementation of Adobe Photoshop in pure Rust — https://github.com/storytold/photocraft

    VectorCraft: open-source, clean-room reimplementation of Adobe Illustrator in pure Rust — https://github.com/storytold/vectorcraft

    FilmCraft: open-source, clean-room reimplementation of Adobe Premiere Pro in pure Rust — https://github.com/storytold/filmcraft

    LightCraft: open-source, clean-room reimplementation of Adobe Lightroom in pure Rust — https://github.com/storytold/lightcraft

    EffectCraft: open-source, clean-room reimplementation of Adobe After Effects in pure Rust — https://github.com/storytold/effectcraft

    DesignCraft: open-source, clean-room reimplementation of Adobe InDesign in pure Rust — https://github.com/storytold/designcraft

    PDFCraft: open-source, clean-room reimplementation of Adobe Acrobat in pure Rust — https://github.com/storytold/pdfcraft

    Reddit: discussion/post about the seven Rust Adobe alternatives — https://www.reddit.com/r/GeminiAI/comments/1wwo52q/ive_created_open_source_100_rust_replacements_for/


    Voice narration is AI-generated.


    6 min
  • 077 - What Is AI Training?



    How does an AI model learn in the first place? This episode builds on the show's earlier episodes on tokens, embeddings, attention, and Transformers to explain training: the process that turns a model's huge collection of adjustable parameters into something useful.


    For a language model, training centers on a surprisingly simple task: predicting the next token. Using the illustrative example "The cat sat on the...", the episode shows a model producing probabilities across possible next tokens, with the gap between its prediction and the correct answer measured by a loss function. Lower loss means a better prediction, and backpropagation is how the model figures out which of its millions or billions of parameters contributed to that error and in which direction each one should change, by calculating gradients.


    The episode explains how frameworks like PyTorch use automatic differentiation to calculate those gradients through a model's computation graph via the chain rule, instead of deriving equations by hand, and how an optimizer such as gradient descent then nudges each parameter in the direction that reduces loss, using the metaphor of moving downhill across a loss landscape. It walks through the full loop, batch by batch: predict, measure the loss, backpropagate, update parameters, repeat, with an epoch marking one complete pass through the training data.


    It also draws a clear line between training and inference: during training the model's errors change its parameters, while during inference those parameters are fixed, so a chatbot responding to a question is running on weights it already learned rather than learning from that individual conversation. The episode closes on two practical points: models can overfit, performing well on training data but worse on new data, and data quality shapes outcomes as much as scale does, since bad, duplicated, biased, or contaminated data can produce bad results regardless of model size.


    Sources & References

    PyTorch: The Fundamentals of Autograd — https://docs.pytorch.org/tutorials/beginner/introyt/autogradyt_tutorial.html

    PyTorch: Automatic Differentiation with torch.autograd — https://docs.pytorch.org/tutorials/beginner/basics/autogradqs_tutorial

    PyTorch: Optimizing Model Parameters — https://docs.pytorch.org/tutorials/beginner/basics/optimization_tutorial.html

    PyTorch: Quickstart — https://docs.pytorch.org/tutorials/beginner/basics/quickstart_tutorial.html

    Li et al.: Mechanics of Next Token Prediction with Self-Attention — https://arxiv.org/abs/2403.08081


    Voice narration is AI-generated.


    5 min
  • Quick AI News - 10/06/2026 -Reflection AI's Beam, ChatGPT Ads, and AI Becoming Infrastructure



    This quick news update covers the AI developments from October 5 into October 6, 2026 worth knowing, from a new open-weight model to a critical security patch and a shift in how big tech companies use Anthropic's Claude internally.


    Reflection AI released details of Beam, its first open-weight model: a mixture-of-experts design with 501 billion total parameters but only about 23 billion active per token. Reflection says Beam is competitive with models like GLM 5.2 on coding and reasoning while using roughly 3 to 4 times less inference compute, though that efficiency comparison is the company's own claim rather than an independently verified benchmark. Weights are expected to follow later in October under an Apache 2.0 license.


    OpenAI announced a new advertising format for ChatGPT, which it says now reaches 1.2 billion people each week, with visual ads set to begin testing in the US later this month. The ads can appear alongside image generation, won't change model responses or user-generated images, and won't show for Plus, Pro, or Enterprise subscribers.


    On security, GitLab patched a critical vulnerability in its self-hosted AI Gateway, CVE-2026-90970, with a CVSS score of 9.9, that could let an authenticated user with Duo Agent Platform access escape the prompt-template sandbox and execute commands on the Gateway. Separately, researchers using Anthropic's Mythos model identified a vulnerability in the open-source Rejetto HFS file server involving weak random-number generation, enabling session forgery and remote code execution, with attackers probing it shortly after disclosure.


    On the business side, The Information reports Microsoft and Meta are both cutting internal use of Claude: Microsoft's expected internal Claude spending reportedly fell by more than a third, and Meta's internal Claude Code users reportedly dropped from about 60,000 to around 30,000, as both companies push employees toward their own AI tools. Separately, two former Groq engineers sued over Nvidia's roughly $20 billion 2025 deal with Groq, alleging the transaction favored insiders at other shareholders' expense.


    Sources & References

    Reflection AI: Introducing Beam: Reflection's 501B open-weight model — https://reflection.ai/blog/introducing-beam

    OpenAI: Building advertising for the way people use AI — https://openai.com/index/new-chatgpt-ads-format-and-measurement/

    GitLab: Critical Patch Release for Self-Hosted AI Gateway — https://docs.gitlab.com/releases/patches/other-patches/patch-release-gitlab-ai-gateway-19-4-1-released/

    Horizon3: Anthropic's Mythos and Rejetto HFS — https://horizon3.ai/attack-research/disclosures/anthropic-mythos-rejetto-hfs-rce/

    The Register: Anthropic's Mythos vulnerability story — https://www.theregister.com/security/2026/10/03/anthropics-super-bug-hunting-model-mythos-is-hardcore-good-at-math-as-latest-vuln-under-attack-shows/

    The Information: Microsoft Slashes Internal Claude Spending by a Third — https://www.theinformation.com/articles/meta-microsoft-work-wean-staff-anthropics-claude

    Financial Times: Nvidia's $20bn Groq Deal Faces Lawsuit — https://www.ft.com/content/93ee425d-9ac7-4548-8cc9-fef2e0670787


    Voice narration is AI-generated.


    5 min

About Learn AI in Bits

From the publisher's feed

AI explained in bits. Each episode takes one concept, like tokens, embeddings, hallucinations, or prompt injection, and explains it in about five minutes. No jargon, no filler. Just the idea, why it matters, and what to remember.