About this episode
May 2025
MLG 036 Autoencoders
Auto encoders are neural networks that compress data into a smaller "code," enabling dimensionality reduction, data cleaning, and lossy compression by reconstructing original inputs from this code. Advanced auto encoder types, such as denoising, sparse, and variational auto encod ... Show More
1h 5m
Jul 2025
MLA 025 AI Image Generation: Midjourney vs Stable Diffusion, GPT-4o, Imagen & Firefly
The AI image market has split: Midjourney creates the highest quality artistic images but fails at text and precision. For business use, OpenAI's GPT-4o offers the best conversational control, while Adobe Firefly provides the strongest commercial safety from its exclusively licen ... Show More
1h 12m
Jul 2025
MLA 026 AI Video Generation: Veo 3 vs Sora, Kling, Runway, Stable Video Diffusion
Google Veo leads the generative video market with superior 4K photorealism and integrated audio, an advantage derived from its YouTube training data. OpenAI Sora is the top tool for narrative storytelling, while Kuaishou Kling excels at animating static images with realistic, hig ... Show More
40m 2s
Nov 2024
Self-Evolving LLMs
<p>Could large language models (LLMs) continue improving after training? New innovations like test-time computing and self-evolving models suggest the possibility. OpenAI’s Orion and DeepSeek’s R1 light push reasoning boundaries, while Writer introduces "self-evolving" LLMs that ... Show More
16m 56s
Nov 2023
NVIDIA’s Annamalai Chockalingam on the Rise of LLMs - Ep. 206
Generative AI and large language models (LLMs) are stirring change across industries — but according to NVIDIA Senior Product Manager of Developer Marketing Annamalai Chockalingam, “we’re still in the early innings.” In the latest episode of NVIDIA’s AI Podcast, host Noah Kravitz ... Show More
38m 32s
Feb 2025
LLMs and Graphs Synergy
<p>In this episode, Garima Agrawal, a senior researcher and AI consultant, brings her years of experience in data science and artificial intelligence. Listeners will learn about the evolving role of knowledge graphs in augmenting large language models (LLMs) for domain-specific t ... Show More
34m 47s
Jun 2025
What is RAG in AI? Complete Guide to Retrieval-Augmented Generation (2025)
Discover how Retrieval-Augmented Generation (RAG) is revolutionizing artificial intelligence by combining external knowledge retrieval with AI generation. Unlike traditional AI models limited by training data, RAG systems access real-time information to deliver accurate, transpar ... Show More
14m 21s
Apr 2025
Teaching LLMs to Self-Reflect with Reinforcement Learning with Maohao Shen - #726
Today, we're joined by Maohao Shen, PhD student at MIT to discuss his paper, “Satori: Reinforcement Learning with Chain-of-Action-Thought Enhances LLM Reasoning via Autoregressive Search.” We dig into how Satori leverages reinforcement learning to improve language model reasoning ... Show More
51m 45s
Sep 2023
Interested in trying AI to write? It's as easy as opening a document
When lawyers hear the term "LLM," their first thought may go to a master of law degree that a person earns after law school. However, the acronym also stands for “large language model,” which is technology that generates and creates writing for offerings that include ChatGPT and ... Show More
36m 35s
Aug 2025
Redis and AI Agent Memory with Andrew Brookins
A key challenge with designing AI agents is that large language models are stateless and have limited context windows. This requires careful engineering to maintain continuity and reliability across sequential LLM interactions. To perform well, agents need fast systems for storin ... Show More
48m 36s
Dec 2024
How LLMs Actually Work
<p>Ever wondered what really powers LLMs like ChatGPT, Claude, or Gemini?</p> <p>In this episode, Courtney Baker, David DeWolf, and Mohan Rao are joined by John Fowler (Knownwell's Chief Science Officer) and Ramsri Goutham Golla (Lead Data Scientist) to break down the mechanics o ... Show More
35m 12s
Dec 2023
706: AI and ML - The Pieces Explained
In this episode of Syntax, Wes and Scott talk about understanding the integration of different components in AI models, the choice between traditional models and Language Learning Models (LLM), the relevance of the Hugging Face library, demystify Llama, discuss spaces in AI, and ... Show More
33m 1s
Aug 2024
Metrics Driven Development
How do you systematically measure, optimize, and improve the performance of LLM applications (like those powered by RAG or tool use)? Ragas is an open source effort that has been trying to answer this question comprehensively, and they are promoting a “Metrics Driven Development” ... Show More
42m 12s
At inference, large language models use in-context learning with zero-, one-, or few-shot examples to perform new tasks without weight updates, and can be grounded with Retrieval Augmented Generation (RAG) by embedding documents into vector databases for real-time factual lookup using cosine similarity. LLM agents autonomously plan, act, and use external tools via orchestrated loops with persistent memory, while recent benchmarks like GPQA (STEM reasoning), SWE Bench (agentic coding), and MMMU (multimodal college-level tasks) test performance alongside prompt engineering techniques such as chain-of-thought reasoning, structured few-shot prompts, positive instruction framing, and iterative self-correction.
Links
In-Context Learning (ICL)
- Definition: LLMs can perform tasks by learning from examples provided directly in the prompt without updating their parameters.
- Types:
- Zero-shot: Direct query, no examples provided.
- One-shot: Single example provided.
- Few-shot: Multiple examples, balancing quantity with context window limitations.
- Mechanism: ICL works through analogy and Bayesian inference, using examples as semantic priors to activate relevant internal representations.
- Emergent Properties: ICL is an "inference-time training" approach, leveraging the model's pre-trained knowledge without gradient updates; its effectiveness can be enhanced with diverse, non-redundant examples.
Retrieval Augmented Generation (RAG) and Grounding
- Grounding: Connecting LLMs with external knowledge bases to supplement or update static training data.
- Motivation: LLMs' training data becomes outdated or lacks proprietary/specialized knowledge.
- Benefit: Reduces hallucinations and improves factual accuracy by incorporating current or domain-specific information.
- RAG Workflow:
- Embedding: Documents are converted into vector embeddings (using sentence transformers or representation models).
- Storage: Vectors are stored in a vector database (e.g., FAISS, ChromaDB, Qdrant).
- Retrieval: When a query is made, relevant chunks are extracted based on similarity, possibly with re-ranking or additional query processing.
- Augmentation: Retrieved chunks are added to the prompt to provide up-to-date context for generation.
- Generation: The LLM generates responses informed by the augmented context.
- Advanced RAG: Includes agentic approaches—self-correction, aggregation, or multi-agent contribution to source ingestion, and can integrate external document sources (e.g., web search for real-time info, or custom datasets for private knowledge).
LLM Agents
- Overview: Agents extend LLMs by providing goal-oriented, iterative problem-solving through interaction, memory, planning, and tool usage.
- Key Components:
- Reasoning Engine (LLM Core): Interprets goals, states, and makes decisions.
- Planning Module: Breaks down complex tasks using strategies such as Chain of Thought or ReAct; can incorporate reflection and adjustment.
- Memory: Short-term via context window; long-term via persistent storage like RAG-integrated databases or special memory systems.
- Tools and APIs: Agents select and use external functions—file manipulation, browser control, code execution, database queries, or invoking smaller/fine-tuned models.
- Capabilities: Support self-evaluation, correction, and multi-step planning; allow integration with other agents (multi-agent systems); face limitations in memory continuity, adaptivity, and controllability.
- Current Trends: Research and development are shifting toward these agentic paradigms as LLM core scaling saturates.
Multimodal Large Language Models (MLLMs)
- Definition: Models capable of ingesting and generating across different modalities (text, image, audio, video).
- Architecture:
- Modality-Specific Encoders: Convert raw modalities (text, image, audio) into numeric embeddings (e.g., vision transformers for images).
- Fusion/Alignment Layer: Embeddings from different modalities are projected into a shared space, often via cross-attention or concatenation, allowing the model to jointly reason about their content.
- Unified Transformer Backbone: Processes fused embeddings to allow cross-modal reasoning and generates outputs in the required format.
- Recent Advances: Unified architectures (e.g., GPT-4o) use a single model for all modalities rather than switching between separate sub-models.
- Functionality: Enables actions such as image analysis via text prompts, visual Q&A, and integrated speech recognition/generation.
Advanced LLM Architectures and Training Directions
- Predictive Abstract Representation: Incorporating latent concept prediction alongside token prediction (e.g., via autoencoders).
- Patch-Level Training: Predicting larger "patches" of tokens to reduce sequence lengths and computation.
- Concept-Centric Modeling: Moving from next-token prediction to predicting sequences of semantic concepts (e.g., Meta's Large Concept Model).
- Multi-Token Prediction: Training models to predict multiple future tokens for broader context capture.
Evaluation Benchmarks (as of 2025)
- Key Benchmarks Used for LLM Evaluation:
- GPQA (Diamond): Graduate-level STEM reasoning.
- SWE Bench Verified: Real-world software engineering, verifying agentic code abilities.
- MMMU: Multimodal, college-level cross-disciplinary reasoning.
- HumanEval: Python coding correctness.
- HLE (Human's Last Exam): Extremely challenging, multimodal knowledge assessment.
- LiveCodeBench: Coding with contamination-free, up-to-date problems.
- MLPerf Inference v5.0 Long Context: Throughput/latency for processing long contexts.
- MultiChallenge Conversational AI: Multiturn dialogue, in-context reasoning.
- TAUBench/PFCL: Tool utilization in agentic tasks.
- TruthfulnessQA: Measures tendency toward factual accuracy/robustness against misinformation.
Prompt Engineering: High-Impact Techniques
- Foundational Approaches:
- Few-Shot Prompting: Provide pairs of inputs and desired outputs to steer the LLM.
- Chain of Thought: Instructing the LLM to think step-by-step, either explicitly or through internal self-reprompting, enhances reasoning and output quality.
- Clarity and Structure: Use clear, detailed, and structured instructions—task definition, context, constraints, output format, use of delimiters or markdown structuring.
- Affirmative Directives: Phrase instructions positively ("write a concise summary" instead of "don't write a long summary").
- Iterative Self-Refinement: Prompt the LLM to review and improve its prior response for better completeness, clarity, and factuality.
- System Prompt/Role Assignment: Assign a persona or role to the LLM for tailored behavior (e.g., "You are an expert Python programmer").
- Guideline: Regularly consult official prompting guides from model developers as model capabilities evolve.
Trends and Research Outlook
- Inference-time compute is increasingly important for pushing the boundaries of LLM task performance.
- Agentic LLMs and multimodal reasoning represent the primary frontiers for innovation.
- Prompt engineering and benchmarking remain essential for extracting optimal performance and assessing progress.
- Models are expected to continue evolving with research into new architectures, memory systems, and integration techniques.