arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.00742cs.LG
收藏

评估大语言模型与提示策略用于从文本用户报告中自动诊断硬件故障

Evaluating LLMs and Prompting Strategies for Automated Hardware Diagnosis from Textual User-Reports

Laboratório de Sistemas e Banco de Dados (LSBD) Departamento de Computação / Universidade Federal do Ceará (UFC) -- Fortaleza -- CE -- Brazil(系统与数据库实验室(LSBD)计算机系/北卡罗来纳州立大学(UFC)——福塔莱扎——CE——巴西)

Carlos Caminha, Maria de Lourdes M. Silva, Iago C. Chaves, Felipe T. Brito, Victor A. E. Farias, Javam C. Machado

AI总结:

本研究评估了29个LLM在四种提示策略下从模糊文本用户报告中自动诊断硬件故障的能力,发现mistral-small-24b-instruct等三个模型在性能与资源占用间取得最佳平衡,f1-score最高达0.76。

摘要:

计算机制造商提供平台,让用户通过文本报告描述设备故障,例如“我的屏幕在闪烁”。从报告中识别故障组件对于自动化测试和改善用户体验至关重要。然而,此类报告往往含糊不清且缺乏细节,使该任务具有挑战性。大语言模型(LLMs)在解决此类问题上已展现出潜力。本研究评估了27个开源模型(1B-72B参数)和2个专有LLM,采用四种提示策略:零样本(Zero-Shot)、少样本(Few-Shot)、思维链(Chain-of-Thought,CoT)以及CoT+少样本(CoT+FS)。我们进行了98,948次推理,处理了超过5100万个输入token并生成了1300万个输出token。我们取得的f1-score最高达0.76。结果表明,有三个模型在规模与性能之间提供了最佳平衡:mistral-small-24b-instruct以及两个较小的模型——llama-3.2-1b-instruct和gemma-2-2b-it,它们以更低的VRAM占用提供了具有竞争力的性能,从而能够在配备NPU的现代笔记本电脑或智能手机等终端用户设备上实现高效推理。

英文摘要:

Computer manufacturers offer platforms for users to describe device faults using textual reports such as "My screen is flickering". Identifying the faulty component from the report is essential for automating tests and improving user experience. However, such reports are often ambiguous and lack detail, making this task challenging. Large Language Models (LLMs) have shown promise in addressing such issues. This study evaluates 27 open-source models (1B-72B parameters) and 2 proprietary LLMs using four prompting strategies: Zero-Shot, Few-Shot, Chain-of-Thought (CoT), and CoT+Few-Shot (CoT+FS). We conducted 98,948 inferences, processing over 51 million input tokens and generating 13 million output tokens. We achieve f1-score up to 0.76. Results show that three models offer the best balance between size and performance: mistral-small-24b-instruct and two smaller models, llama-3.2-1b-instruct and gemma-2-2b-it, that offer competitive performance with lower VRAM usage, enabling efficient inference on end-user devices as modern laptops or smartphones with NPUs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑