arXiv:2411.00186cs.LGcs.AI2024-11NeurIPS被引 14

让机器学习系统自动诊断并修复性能下降问题

Self-Healing Machine Learning: A Framework for Autonomous Adaptation in Real-World Environments

  • 通过推理数据生成结构实现故障自诊断
  • 基于诊断结果提出针对性修复动作,降低漂移风险
  • 适合需要长期稳定运行的工业级模型

真实世界的机器学习系统常因数据生成过程的分布变化导致性能退化。现有方法如概念漂移适应,受限于无原因依赖的决策机制,仅从预设动作集中选择,忽视退化成因,难以精准应对。本文提出自愈机器学习(SHML)新范式,实现自主诊断与修复。将自愈建模为在适配动作空间中最小化漂移下期望风险的优化问题。构建基于大语言模型的代理系统H-LLM,利用其推理能力分析数据生成结构以进行自诊断,并提出、评估修复策略。实验验证了各组件有效性,揭示了自愈机制的工作原理与适用场景。

原文摘要 · Abstract (English)

Real-world machine learning systems often encounter model performance degradation due to distributional shifts in the underlying data generating process (DGP). Existing approaches to addressing shifts, such as concept drift adaptation, are limited by their reason-agnostic nature. By choosing from a pre-defined set of actions, such methods implicitly assume that the causes of model degradation are irrelevant to what actions should be taken, limiting their ability to select appropriate adaptations. In this paper, we propose an alternative paradigm to overcome these limitations, called self-healing machine learning (SHML). Contrary to previous approaches, SHML autonomously diagnoses the reason for degradation and proposes diagnosis-based corrective actions. We formalize SHML as an optimization problem over a space of adaptation actions to minimize the expected risk under the shifted DGP. We introduce a theoretical framework for self-healing systems and build an agentic self-healing solution H-LLM which uses large language models to perform self-diagnosis by reasoning about the structure underlying the DGP, and self-adaptation by proposing and evaluating corrective actions. Empirically, we analyze different components of H-LLM to understand why and when it works, demonstrating the potential of self-healing ML.

自愈系统模型漂移大模型应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。