更智能,而非更大:细调的RAG增强LLM用于汽车HIL测试
Smarter, not Bigger: Fine-Tuned RAG-Enhanced LLMs for Automotive HIL Testing
AI总结:
本文提出HIL-GPT,一种基于RAG的细调LLM系统,用于提升汽车HIL测试的效率与准确性,挑战了更大模型更优的传统观念。
摘要:
硬件在环(HIL)测试对于汽车验证至关重要,但面临碎片化和利用率低下的测试 artifacts 问题。本文提出了HIL-GPT,一种整合了领域适应性大语言模型(LLMs)与语义检索的检索增强生成(RAG)系统。HIL-GPT利用嵌入微调,结合通过启发式挖掘和LLM辅助合成构建的领域特定数据集,以及向量索引,实现可扩展、可追溯的测试用例和需求检索。实验表明,经过微调的紧凑模型,如bge-base-en-v1.5,在准确率、延迟和成本之间取得了优于更大模型的权衡,挑战了“更大更好”的传统观念。一项A/B用户研究进一步证实,RAG增强的助手在帮助性、真实性及满意度方面均优于通用LLM。这些发现为在工业HIL环境中部署高效、领域对齐的LLM助手提供了见解。
英文摘要:
Hardware-in-the-Loop (HIL) testing is essential for automotive validation but suffers from fragmented and underutilized test artifacts. This paper presents HIL-GPT, a retrieval-augmented generation (RAG) system integrating domain-adapted large language models (LLMs) with semantic retrieval. HIL-GPT leverages embedding fine-tuning using a domain-specific dataset constructed via heuristic mining and LLM-assisted synthesis, combined with vector indexing for scalable, traceable test case and requirement retrieval. Experiments show that fine-tuned compact models, such as \texttt{bge-base-en-v1.5}, achieve a superior trade-off between accuracy, latency, and cost compared to larger models, challenging the notion that bigger is always better. An A/B user study further confirms that RAG-enhanced assistants improve perceived helpfulness, truthfulness, and satisfaction over general-purpose LLMs. These findings provide insights for deploying efficient, domain-aligned LLM-based assistants in industrial HIL environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。