WhoBuilt

Stop Fine-Tuning to Fix Retrieval Problems

Oct 4, 2026· 20 min· 7.1K views·Watch on YouTube

Speaker

Anant Srivastava of AI Engineer explains how enterprise teams should decide whether knowledge belongs in prompts, memory, or model weights.

How architecture decisions accumulate

Srivastava says enterprise AI architecture is shaped by how knowledge reaches inference: through prompts, retrieval or memory, and fine-tuning. Teams often make these choices incrementally, without deciding where information belongs. In his support assistant example, product catalog details leaked into the model’s weights through training on old support tickets, so the assistant kept giving outdated product names after a catalog update.

Use prompts for stable behavior

Prompts should hold small, stable instructions about behavior, tone, and persona, rather than facts such as a product catalog. He gives the example of a support agent that uses a professional tone, offers escalation after three failures, and provides concrete next steps. His definition of prompts includes authored instructions in Markdown files as well as system prompts.

Use memory for changing, citable knowledge

Memory is for knowledge that is current, too large for the prompt, or needs to be cited, including enterprise data and information scoped to particular users. A code assistant should retrieve from repositories instead of fine-tuning on code that changes frequently. Srivastava recommends code-aware chunking and metadata filters, such as repository and user permissions, to retrieve relevant chunks without confusing the model.

Fine-tune stable patterns and reflexes

Srivastava says rate of change is the key test for what belongs in model weights. Runbooks and procedures are facts that can become outdated, so if an assistant answers them incorrectly, teams should fix retrieval instead of fine-tuning on the documentation. Fine-tuning can fit stable patterns in tasks such as moderation or claims processing, especially when human decisions have converged, but teams should monitor for drift.

Build a loop among prompt, memory, and weights

Srivastava summarizes the distinction as prompts for behavior, memory for facts, and weights for reasoning reflexes, while noting exceptions. Over time, useful information can move from context into durable memory, and repeated retrieval patterns can become part of a fine-tuned model. Once the model knows a format reflexively, teams may no longer need to retrieve examples of that format each time.

Takeaways

  • Put stable tone, persona, and response rules in authored prompts.
  • Store large, changing, citable facts in memory, with access controls where needed.
  • When factual answers are wrong, inspect retrieval quality before fine-tuning.
  • Fine-tune stable decision patterns or reflexes, and watch for drift.
  • Review how knowledge moves among prompts, memory, and weights as the system evolves.

Mentioned in this talk

Search inside this talk

What was claimed 5

  • feature
    Anant Srivastava: Fine-tuning on support tickets can embed outdated product catalog information in model weights.
    “the product catalog leaked into the weights when you fine-tuned on your support tickets.”
    YouTube
    Unverified1 source· Talk
  • feature
    Anant Srivastava: Prompts are for small, stable behavior and tone instructions; memory is for current, large, citable knowledge; weights are for stable patterns and reflexes.
    “Prompt is more about behavior, memory is about what to know and facts, and weights are about how to reason.”
    YouTube
    Unverified1 source· Talk
  • feature
    Anant Srivastava: When incorrect answers result from retrieval problems, fix retrieval instead of fine-tuning the model.
    “This was actually a retrieval problem. If the model wasn’t giving the right answer, it needed the right chunks.”
    YouTube
    Unverified1 source· Talk
  • feature
    Anant Srivastava: Fine-tuning can encode stable patterns after human decisions converge, while contested cases still need human review.
    “That center is something you can fine-tune your model on. But when you do that, you have to monitor for drift.”
    YouTube
    Unverified1 source· Talk
  • metric
    Anant Srivastava: ICD-10 has 70,000 codes.
    “There are 70,000 such codes, by the way.”
    YouTube
    Unverified1 source· Talk

Related talks