arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.23027cs.AI
收藏

大语言模型调试的系统方法

A Systematic Approach for Large Language Models Debugging

IBM Research(IBM研究院)
Basel Shbita, Anna Lisa Gentile, Bing Zhang, Sungeun An, Shailja Thakur, Shubhi Asthana, Yi Zhou, Saptha Surendran, Farhan Ahmed, Rohan Kulkarni, Yuya Jeremy On… 展开作者

Basel Shbita, Anna Lisa Gentile, Bing Zhang, Sungeun An, Shailja Thakur, Shubhi Asthana, Yi Zhou, Saptha Surendran, Farhan Ahmed, Rohan Kulkarni, Yuya Jeremy Ong, Chad DeLuca, Hima Patel

AI总结:

本文提出系统化方法用于大语言模型调试,通过统一评估、可解释性和错误分析,帮助开发者迭代诊断模型弱点,优化提示和参数,并适应数据进行微调或评估,尤其在缺乏标准化基准时仍有效。

摘要:

大语言模型(LLMs)已成为现代AI工作流程的核心,驱动着从开放式文本生成到复杂基于代理的推理的应用。然而,由于其不透明和概率性质,以及在多样化任务和设置中诊断错误的困难,调试这些模型仍是一个持续的挑战。本文介绍了一种系统化的LLM调试方法,将模型视为可观察系统,提供结构化、模型无关的方法,从问题检测到模型优化。通过统一评估、可解释性和错误分析实践,我们的方法使从业者能够迭代诊断模型弱点,优化提示和模型参数,并调整数据用于微调或评估,即使在缺乏标准化基准和评估标准的环境中也有效。我们主张这种结构化方法不仅加快了故障排除,还促进了LLM系统部署中的可重复性、透明性和可扩展性。

英文摘要:

Large language models (LLMs) have become central to modern AI workflows, powering applications from open-ended text generation to complex agent-based reasoning. However, debugging these models remains a persistent challenge due to their opaque and probabilistic nature and the difficulty of diagnosing errors across diverse tasks and settings. This paper introduces a systematic approach for LLM debugging that treats models as observable systems, providing structured, model-agnostic methods from issue detection to model refinement. By unifying evaluation, interpretability, and error-analysis practices, our approach enables practitioners to iteratively diagnose model weaknesses, refine prompts and model parameters, and adapt data for fine-tuning or assessment, while remaining effective in contexts where standardized benchmarks and evaluation criteria are lacking. We argue that such a structured methodology not only accelerates troubleshooting but also fosters reproducibility, transparency, and scalability in the deployment of LLM-based systems.

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

↑