页面简介
Learn how fine-tuning customizes AI models using real business data that improves accuracy, tone, and performance for voice agent conversations.
正文摘录
Home/Glossary/AI Model Fine-TuningAI Model Fine-TuningLearn how fine-tuning customizes AI models using real business data that improves accuracy, tone, and performance for voice agent conversations.No items found.What is AI Model Fine-Tuning?AI Model Fine-Tuning is the process of adapting a pre-trained large language model (LLM) to your specific business use case by training it on custom datasets—like real conversations, knowledge bases, and brand-specific vocabulary.Think of it as narrowing the AI’s focus. Instead of asking it to handle every possible type of conversation, you’re teaching it to perform exceptionally well in the conversations your business actually has—whether that’s healthcare support, SaaS onboarding, or insurance claims.Why is AI Model Fine-Tuning important?Generic AI agents may speak fluently, but they don’t understand your customers, your product, or your tone. Without fine-tuning, their responses can feel off-brand, incomplete, or irrelevant.Fine-tuned models help your AI voice agents:Sound Like Your Team: Align with your brand’s tone and language.Understand Nuance: Catch subtle cues, industry terms, or policy references.Reduce Errors: Minimize hallucinations and irrelevant replies.How to fine-tune AI models for voice agents:Collect Domain-Specific DataUse historical support calls, CRM notes, or help center content that reflects real interactions.Structure and AnnotateTag examples by category (intent, sentiment, resolution type) to make the training process more effective.Train the ModelUse machine learning pipelines to fine-tune the model’s weights based on your data and desired behaviors.Evaluate and RetrainUse call testing, feedback scores, and human review to continuously refine the model’s performance.AI Model Fine-Tuning in action:A real estate firm trains their voice agent on thousands of lead qualification calls. The fine-tuned model learns how to ask the right questions, handle objections, and hand off hot leads directly to a human rep with all context preloaded.A worked example: three training stages for a phone-call LLMFine-tuning is often several stages run in sequence, each one fixing what the stage before it could not. Retell AI's technical post on Tell-1, Retell's own LLM, built for phone calls, describes three stages run on curated production conversations: supervised fine-tuning, preference tuning and reinforcement learning.Supervised fine-tuning (SFT)Supervised fine-tuning shows the model an input together with the output you want, then adjusts the model's weights so its own output moves closer to that example. It is the usual way to teach a format or a style. In Retell's post, this stage teaches the reply format: a spoken lead, then reasoning, then the rest of the reply.Preference tuning with DPOPreference tuning shows the model two responses to the same prompt, one preferred and one rejected, and trains it to make the preferred one more likely. Direct Preference Optimization (DPO), introduced by Rafailov et al. (2023), does this with a simple classification loss, without building a separate reward model or running reinforcement learning. In Retell's post, this stage targets the errors SFT leaves behind, using preference pairs ranked by a panel of LLM judges.Reinforcement learning (RL)Reinforcement learning lets the model generate its own responses, scores each one with a reward, and shifts the model toward the responses that scored higher. Group Relative Policy Optimization (GRPO), introduced by Shao et al. (2024), samples a group of responses to the same prompt and uses the group's average reward as the baseline, so each response is judged against the others in its group. Two later papers adjust it. Dr. GRPO (Liu et al., 2025) removes two normalization terms that, the authors show, bias training toward longer responses, especially wrong ones. DAPO (Yu et al., 2025) adds four techniques for training at scale, including dynamic sampling and a token-level policy gradient loss.In Retell's post, this stage uses Dr. GRPO and DAPO with rewards specific to calls. For each moment in a call the model writes eight responses and every one is scored, with rewards for correct tool calls, no hallucination, instruction following and sounding natural. The post also shows why the stage is worth running. Before RL, on 200 conversations from Retell's instruction-following evaluation, the model passed 77.5% of the time with one try and 93.0% when given eight tries. The right answer was often within reach but was not the model's first answer, and RL trains it to come first.StageWhat the model learns fromIts job in Retell's postMethod paperSupervised fine-tuningInputs paired with the desired outputLearn the reply format: spoken lead, reasoning, rest of the replyStandard practicePreference tuningPairs of responses, one preferred and one rejectedFix the errors SFT leaves behindDPOReinforcement learningIts own responses, each scored by a rewardOptimize for call quality: tool calls, no hallucination, instruction following, natural speechGRPO, Dr. GRPO, DAPOMost teams that deploy voice agents never run these stages themselves. They are worth knowing when you compare models, because they show what a model was trained to get right.Related AI Voice Agent Terms:Training DataLarge Language Model (LLM)Prompt EngineeringHuman-in-the-Loop (HITL)Security & compliance for regulated deploymentsHow Retell handles audits, data retention and access control.Add Retell AI as a preferred source on GoogleFurther ReadingCalls and contact centersCaller IDCaller ID shows a call's number and sometimes a name. How the number and name arrive, what STIR/SHAKEN A, B and C mean, and what a business controls.Calls and contact centersNo Caller IDNo Caller ID means the caller withheld their number, so no digits reach your phone. How it differs from Unknown and Spam Likely, and what causes it.Calls and contact centersSilent CallA silent call is an outbound call where nobody speaks when you answer. Why predictive dialers cause them and what the FTC's abandonment rules require.Calls and contact centersHold TimeHold time is how long a caller waits on hold during a call. How to measure average hold time, where it sits in handle time, and how AI agents change it.How voice agents workBarge-InBarge-in is when a caller starts talking while a voice agent or IVR is still speaking. How it works, why it matters, and how to tune it.Calls and contact centersDead AirDead air is silence on a call when neither side is speaking. What causes it for human and AI voice agents, why it matters, and how to reduce it.Calls and contact centersWhat Is an AI Call Summary?What an AI call summary is, how AI turns a call transcript into a summary, what a good one includes, and how Retell AI summarizes every call.Calls and contact centersSIP TrunkA SIP trunk is a direct SIP connection between two phone systems. See how it lets you keep your carrier and numbers while routing calls to AI voice agents.Calls and contact centersPublic Switched Telephone Network (PSTN)The PSTN is the global phone network that connects landline and mobile numbers. How a PSTN call reaches an AI voice agent through a carrier and a gateway.Calls and contact centersWebRTCWebRTC is the open standard for live audio and video in browsers and apps. See how browser calls reach AI voice agents and how WebRTC differs from SIP.Calls and contact centersSession Initiation Protocol (SIP)SIP is the signaling protocol that sets up, changes, and ends internet phone calls. How SIP messages, headers, and trunks connect calls to AI voice agents.Calls and contact centersSession Border Controller (SBC)A session border controller (SBC) is the secure entry point for SIP calls. It protects the network, routes each call, and smooths phone system differences.Calls and contact centersVoice AI GatewayA voice AI gateway connects phone networks and browsers to AI voice agents over SIP and WebRTC. What it does, where it sits in a call, and related terms.Calls and contact centersWhat Is Call Queue Management?What call queue management is, how a queue works, the metrics that matter (wait time, abandonment), and what changes when an AI voice agent answers first.Calls and contact centersWhat Is Workforce Optimization (WFO)?What workforce optimization means in a contact center, how WFO differs from WFM and WEM, and how AI voice agents change staffing and QA plans.Calls and contact centersWhat Is a CSAT Score?What a CSAT score is, the formula with a worked example, what counts as a good score, CSAT vs NPS vs CES, and how to collect it after a phone call.What Is SSML?What SSML is, the tags that control pauses, pronunciation and emphasis, where speech engines differ, and how voice agents say names and numbers right.What Is Interleaved Reasoning?Interleaved reasoning (interleaved thinking) lets an LLM reason between tool calls or parts of its answer. How it differs from think-first reasoning.What Is Speculative Decoding?What speculative decoding is, how a draft model and the full model work together, why the output is unchanged, and when it speeds up an LLM.What Is Session Affinity (Sticky Sessions)?Session affinity sends each client's requests to the same server. How cookies, IP hash and consistent hashing do it, the trade-offs, and LLM caching.What Is LLM as a Judge?LLM as a judge means one model grades another's output against written criteria. How rubrics, pairwise ranking and judge panels score voice agent calls.What Is Tool Calling (Function Calling)?Tool calling, also called function calling, lets an LLM ask software to act. How it works, how the two terms differ, and what changes on a phone call.What Is Prompt Caching?Prompt caching reuses the work a model already did on the start of a prompt. How it relates to prefix caching and the KV cache, and why calls need it.What Is Time to First Token (TTFT)?Time to first token (TTFT) is how long an LLM takes to start its reply. See how it differs from time to first sen