Training data attribution (TDA) techniques find influential training data for the model's prediction on the test data of interest. They approximate the impact of down- or up-weighting a particular training sample. While conceptually useful, they are hardly applicable to deep models in practice, particularly because of their sensitivity to different model initialisation. In this paper, we introduce a Bayesian perspective on the TDA task, where the learned model is treated as a Bayesian posterior and the TDA estimates as random variables. From this novel viewpoint, we observe that the influence of an individual training sample is often overshadowed by the noise stemming from model initialisation and SGD batch composition. Based on this observation, we argue that TDA can only be reliably used for explaining deep model predictions that are consistently influenced by certain training data, independent of other noise factors. Our experiments demonstrate the rarity of such noise-independent training-test data pairs but confirm their existence. We recommend that future researchers and practitioners trust TDA estimates only in such cases. Further, we find a disagreement between ground truth and estimated TDA distributions and encourage future work to study this gap. Code is provided at https://github.com/ElisaNguyen/bayesian-tda.
BALANCE: Bayesian Linear Attribution for Root Cause Localization
Ant Group(蚂蚁集团);Ocean Base(OceanBase(海洋基))
根本原因分析(RCA)在分布式数据系统的维护和操作中起着不可或缺的作用,因为它在故障检测和系统恢复之间架起了一座桥梁。现有的工作主要研究多维定位或基于图的根本原因定位。本文开辟了利用最近开发的可解释人工智能(XAI)的RCA的目的框架的可能性。特别是,我们提出了BALANCE(BALANCE Linear Attribution for root CausE localization),它通过XAI中的归因镜头来阐述RCA问题,并试图通过候选根本原因的行为来解释目标KPI中的异常。平衡由三个创新组成部分。首先,我们提出了一个贝叶斯多共线性特征选择(BMFS)模型预测目标KPI给定的候选根本原因,以向前的方式,同时促进稀疏性,并同时注意候选根本原因之间的相关性。其次,我们引入归因分析,以向后的方式计算每个候选人的归因得分。第三,如果有多个KPI,我们合并与每个KPI相关的估计根本原因。我们广泛评估了一个合成数据集以及三个现实世界的RCA任务,即坏SQL本地化,容器故障定位和故障类型诊断Exathlon的建议的平衡方法。结果表明,BALAANCE在准确性方面优于最先进的(SOTA)方法,并且运行时间最少,并且对于实际任务至少实现了比SOTA方法显着更高的准确性的$6\%$。BALANCE已被部署到生产环境中,以解决现实世界的RCA问题,在线结果进一步倡导将其用于分布式数据系统中的实时诊…