arXiv:2507.04889cs.LG2025-07被引 1

用模拟数据微调比复杂提示更有效塑造语音助手语气

Fine-tuning on simulated data outperforms prompting for agent tone of voice

  • 用合成数据微调小模型,实现自然对话风格
  • 仅100样本即达高对话率,内容质量无下降
  • 8位量化微调更快收敛,适合资源有限场景

在面向客户语音应用中,语言模型需具备流畅对话能力并遵循特定风格。传统依赖复杂系统提示的方法常因指令遵循能力弱和上下文偏见而效果不佳。本研究比较了微调与提示对语言模型语气对齐的效果,目标是使其适配语音交互的自然对话风格。我们使用从维基百科生成的合成数据集,通过低秩适配(LoRA)微调一个小型开源模型(Llama3.2-1B-Instruct),并微调两个闭源模型(gpt-4o-mini、gpt-4.1-mini)。结果表明,微调显著优于系统提示,在仅使用100个训练样本的情况下仍能实现高比例的对话式回复。语义相似性分析显示,微调未降低内容质量。有趣的是,采用8位整数量化进行微调比使用bfloat16精度收敛更快,可能源于隐式正则化效应。结论:在模拟数据上微调小型开源模型是高效、省数据地赋予特定风格的有效方法,优于复杂提示策略,适用于需要精细响应风格的实际部署。

原文摘要 · Abstract (English)

Deploying language models (LMs) in customer-facing speech applications requires conversational fluency and adherence to specific stylistic guidelines. This can be challenging to achieve reliably using complex system prompts due to issues like instruction following limitations and in-context bias. This study investigates the effectiveness of fine-tuning versus system prompting for aligning LMs with a specific behavioral target: responding in a natural, conversational tone suitable for voice interactions. We fine-tuned a small, open-weights model (`Llama3.2-1B-Instruct`) using Low-Rank Adaptation (LoRA) on a synthetically generated dataset derived from Wikipedia. Additionally, we fine-tuned two closed-source models (`gpt-4o-mini`, `gpt-4.1-mini`). Our results demonstrate that fine-tuning outperformed system prompting, achieving a high percentage of conversational responses, even when trained on only 100 data samples. Semantic similarity analysis confirmed that fine-tuning did not degrade content quality. Interestingly, fine-tuning with 8-bit integer quantization converged faster towards the target style than using bfloat16 precision, potentially due to implicit regularization effects. We conclude that fine-tuning small, open-weights LMs on simulated data is a highly effective and data-efficient method for instilling specific stylistic behaviors, offering a preferable alternative to complex system prompting for practical applications requiring nuanced response styles.

微调语音助手风格控制小模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。