Understanding Three Methods to Improve AI Model Responses
This IBM Technology video, hosted by Martin Keen, breaks down three practical approaches for getting better answers from large language models: Retrieval Augmented Generation (RAG), fine-tuning, and prompt engineering. Rather than treating these as abstract concepts, Keen uses a relatable opening—asking an LLM "Who is Martin Keen?"—to show how different models produce wildly different results depending on their training data and knowledge cutoff dates. The video walks through real-world scenarios where each method shines, comparing their strengths and trade-offs so you can decide which fits your needs.
This resource suits developers, data engineers, and anyone building or deploying AI systems who needs to understand when to retrieve external data, when to invest in specialized model training, or when careful prompt design alone will do the job. If you're considering adopting an LLM for a specific task—whether that's technical support, legal document review, or internal knowledge retrieval—this video clarifies which optimization path makes practical and financial sense.
Key Moments
Key Concepts and Demonstrations in This Video
- RAG explained as a three-step process: retrieval of external information, augmentation of the original prompt, and generation of a response using enriched context
- How vector embeddings work to find semantically similar documents even when exact keywords don't match (example: finding "quarterly sales" when asked about "revenue growth")
- Fine-tuning mechanics: updating a model's internal weights through supervised learning on specialized datasets, using thousands of input-output pairs as examples
- The risk of catastrophic forgetting when fine-tuning—models can lose general capabilities while learning specialized ones
- Prompt engineering techniques like asking models to "think step-by-step" to activate patterns learned during training without changing the model itself
- A real-world legal AI system example showing all three methods working together: RAG retrieving case law, prompt engineering enforcing document format, and fine-tuning teaching firm-specific policies

What You Should Know Before Choosing a Method
- RAG performance cost: The retrieval step adds latency to each query compared to prompting a model directly; it also requires infrastructure investment in vector databases and document processing
- Fine-tuning resource requirements: Demands thousands of high-quality training examples, substantial computational power (multiple GPUs), and ongoing maintenance when knowledge needs updating
- Prompt engineering has no infrastructure overhead: All optimization happens on the user side, and you see immediate results—but trial-and-error is unavoidable, and you cannot teach the model genuinely new or outdated information
- Common hybrid approach: The video emphasizes these three methods are often combined rather than used in isolation; the right solution depends on your specific constraints around speed, budget, and knowledge freshness
Common Questions About These AI Optimization Strategies
What exactly is RAG, and when should I use it?
RAG (Retrieval Augmented Generation) searches through a corpus of your own documents—spreadsheets, PDFs, internal wikis—and converts both your question and those documents into vector embeddings to find semantically similar matches. Use RAG when you need up-to-date information or domain-specific facts that weren't in the model's original training data. The trade-off is added latency and infrastructure cost.
How is fine-tuning different from simply training a model from scratch?
Fine-tuning starts with an existing model that already has broad knowledge, then makes small adjustments to its weights using additional specialized training on a focused dataset. You're not building a model from zero—you're adapting an already-capable foundation. This is much faster than pre-training from scratch, but it still requires substantial compute resources and thousands of high-quality examples.
Can prompt engineering teach a model new information?
No. Prompt engineering activates existing knowledge the model already learned during training by directing its attention through better phrasing, examples, context, and format instructions. It cannot add truly new facts or correct outdated information. If your knowledge base is old or incomplete, RAG or fine-tuning are necessary.
What is catastrophic forgetting in the context of fine-tuning?
Catastrophic forgetting occurs when a model loses some of its general capabilities while learning specialized knowledge. By focusing too heavily on domain-specific patterns, the model can degrade its broader problem-solving abilities. This is one reason fine-tuning requires careful balance and is why maintenance is challenging.
Should I always combine all three methods?
Not necessarily. The video uses a legal AI system as an example of all three working together, but your choice depends on your budget, inference speed requirements, and how often your knowledge needs to change. Prompt engineering alone might suffice for many use cases; RAG is ideal for frequently updated information; fine-tuning excels when you need deep domain expertise but can afford the training cost.

