Ekka: LLM推理中静默错误的自动诊断
Ekka: Automated Diagnosis of Silent Errors in LLM Inference
AI总结:
提出Ekka系统,通过差分调试对齐比较中间执行状态,自动诊断LLM推理框架中的静默错误,在真实错误基准上达到80% pass@1和88% pass@5的诊断准确率。
摘要:
LLM服务框架随着复杂的软件栈和大量优化而快速发展。快速开发过程可能引入静默错误,即输出质量在没有任何显式错误信号的情况下悄然下降。由于高层症状与底层根本原因之间存在巨大的语义鸿沟,诊断静默错误非常困难。我们观察到,通过利用语义正确的参考实现,静默错误的诊断可以有效地构建为差分调试问题。我们提出了Ekka,一个自动诊断系统,通过系统地对齐和比较目标框架与参考框架之间的中间执行状态来识别根本原因。我们构建了一个来自流行服务框架的真实静默错误基准,Ekka显示出80%的pass@1诊断准确率和88%的pass@5诊断准确率,优于现有系统。Ekka还诊断了服务框架中的4个新静默错误,所有错误均已得到开发者确认。
英文摘要:
LLM serving frameworks are quickly evolving with a complex software stack and a vast number of optimizations. The rapid development process can introduce silent errors where output quality silently degrades without any explicit error signals. Diagnosing silent errors is notoriously difficult due to the substantial semantic gap between the high-level symptoms and the low-level root causes. We observe that diagnosis of silent errors can be effectively framed as a differential debugging problem by leveraging the existence of semantically correct reference implementations. We propose Ekka, an automated diagnosis system that identifies root causes by systematically aligning and comparing intermediate execution states between a target and a reference framework. We constructed a benchmark of real-world silent errors from popular serving frameworks, where Ekka shows 80% pass@1 diagnosis accuracy and 88% pass@5 diagnosis accuracy, outperforming state-of-the-art systems. Ekka also diagnoses 4 new silent errors from serving frameworks, all of which have been confirmed by the developers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。