Skip to content
From Model Weights to Agent Workflows: Charting the New Frontier of Optimization in Large Language Models episode artwork

Aug 12, 2025 16 min

From Model Weights to Agent Workflows: Charting the New Frontier of Optimization in Large Language Models

from Best AI papers explained Hosted by Enoch H. Kang

We discusse a significant shift in artificial intelligence, moving from optimizing single, monolithic **Large Language Models (LLMs)** to optimizing complex, multi-component **LLM agents**. Previously, optimization focused on tuning model **weights ($\theta$)** using methods like **Reinforcement Learning from Human Feedback (RLHF)**, which relied on a clear mathematical objective including **KL-regularized expected reward**. However, the emerging paradigm of agent optimization involves tuning an entire **workflow program ($\Pi$)**, which includes textual prompts, tool usage, and control flow logic. This creates a challenging, **non-differentiable** and **combinatorial optimization space** that lacks a clear mathematical objective. The text then analyzes two prominent frameworks, **DSPy** and **LLM-AutoDiff**, which attempt to bring structure to this new problem by treating it as either a **program search problem** (DSPy) or by introducing a **"calculus of prompts"** with **"textual gradients"** (LLM-AutoDiff), although the latter still relies on semantic, rather than strictly mathematical, objectives.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

From Model Weights to Agent Workflows: Charting the New Frontier of Optimization in Large Language Models

0:00 16:51

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Best AI papers explained?

This episode is 16 minutes long.

When was this Best AI papers explained episode published?

This episode was published on August 12, 2025.

Can I download this Best AI papers explained episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.