News for hackers. Stuff that matters.
Re:Auto-Differentiating Any LLM Workflow: A Farewell to Manu... by stevage on Saturday February 01, 2025 @06:45AM (#42897670)
Can anyone ELI5? Or at least a kind of layman's explanation?
Re:Auto-Differentiating Any LLM Workflow: A Farewell to Manu... by rsfern on Saturday February 01, 2025 @07:55AM (#42897948)
Consider a complex LLM pipeline with multiple steps. each LLM evaluation has an associated prompt to shape the style/context of the response. Conventionally these prompts are treated like hyperparameters that have to be manually adjusted to get the desired behavior from the LLM.

This work introduces a way to treat these prompts like trainable parameters, updating them through automatic differentiation of some kind of supervised training loss.

For me it kind of feels like deep dream or style transfer, which use autograd to optimize the model inputs (instead of the parameters) to achieve some goal (like mixing the style and content of two input images)

Re:Auto-Differentiating Any LLM Workflow: A Farewell to Manu... by alankarmisra on Saturday February 01, 2025 @09:57AM (#42898769)
This paper suggests that LLMs can be trained to handle multi-stage questioning by automatically optimizing prompts using feedback-based methods, improving their ability to process complex, multi-step interactions.
Re:Auto-Differentiating Any LLM Workflow: A Farewell to Manu... by deadbabe on Saturday February 01, 2025 @11:00AM (#42899358)
less words makes more prompt