LM-Fix:一种轻量级位翻转检测与快速恢复框架用于语言模型
LM-Fix: Lightweight Bit-Flip Detection and Rapid Recovery Framework for Language Models
AI总结:
LM-Fix通过轻量级检测和局部修复技术,有效提升大型语言模型在生产环境中的可靠性。
摘要:
本文提出了LM-Fix,一种用于大型语言模型(LLMs)故障检测和快速恢复的轻量级框架。现有的完整性方法往往对于现代LLMs来说过于沉重或缓慢。LM-Fix运行一个短测试向量通过,并使用哈希引导检查来检测位翻转故障,然后在不重新加载的情况下局部修复它们。在多个模型上,它在TVL=200时能检测超过94%的单比特翻转,并在约1%至7.7%的运行时间开销下检测近100%的多比特翻转;恢复速度比重新加载快超过100倍。这些结果表明,这是一种实用的、低开销的解决方案,可保持LLMs在生产环境中的可靠性。
英文摘要:
This paper presents LM-Fix, a lightweight detection and rapid recovery framework for faults in large language models (LLMs). Existing integrity approaches are often heavy or slow for modern LLMs. LM-Fix runs a short test-vector pass and uses hash-guided checks to detect bit-flip faults, then repairs them locally without a full reload. Across multiple models, it detects over 94% of single-bit flips at TVL=200 and nearly 100% of multi-bit flips with approximately 1% to 7.7% runtime overhead; recovery is more than 100x faster than reloading. These results show a practical, low-overhead solution to keep LLMs reliable in production
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。