arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10588cs.LGstat.ML
收藏

TRACE: 在协变量偏移效应下的理论风险归因

TRACE: Theoretical Risk Attribution under Covariate-shift Effects

Sharif University of Technology(谢里夫理工大学)

Hosein Anjidani, S. Yahya S. R. Tehrani, Mohammad Mahdi Mojahedian, Mohammad Hossein Yassaee

AI总结:

TRACE框架通过分解风险变化为四个因素,提供了一种在协变量偏移下评估模型性能变化的诊断工具。

摘要:

当一个在源域上训练的模型Q被在偏移数据上训练的模型Q~取代时,其在源域上的性能可能会发生不可预测的变化。为了解决这一问题,我们研究了在协变量偏移下两个模型的风险变化ΔR := R_P(\~Q) - R_P(Q)。我们引入了TRACE(在协变量偏移效应下的理论风险归因)框架,该框架将|ΔR|分解为一个可解释的上界。这种分解将风险变化分解为四个可操作的因素:两个泛化间隙,一个模型变化惩罚,以及一个协变量偏移惩罚,将边界转化为一个强大的诊断工具,用于理解性能为何发生变化。为了使TRACE成为完全可计算的诊断工具,我们实例化了每个术语。协变量偏移惩罚通过模型敏感性因子(来自高分位数输入梯度)和数据偏移度量来估计;我们默认使用特征空间最优传输(OT),并提供一个稳健的替代方案使用最大均值差异(MMD)。模型变化惩罚由两个模型在目标样本上的平均输出距离控制。泛化间隙在保留的数据上进行估计。我们在理想化的线性回归设置中验证了我们的框架,显示TRACE边界正确捕捉了真实风险差异与偏移幅度的缩放关系。在合成和视觉基准测试中,TRACE诊断是有效的,并且与真实性能退化保持强单调关系。关键的是,我们推导出一个部署门分数,该分数与|ΔR|有很强的相关性,并在门控决策中实现高AUROC/AUPRC,使安全、标签高效的模型替换成为可能。

英文摘要:

When a source-trained model $Q$ is replaced by a model $\tilde{Q}$ trained on shifted data, its performance on the source domain can change unpredictably. To address this, we study the two-model risk change, $ΔR := R_P(\tilde{Q}) - R_P(Q)$, under covariate shift. We introduce TRACE (Theoretical Risk Attribution under Covariate-shift Effects), a framework that decomposes $|ΔR|$ into an interpretable upper bound. This decomposition disentangles the risk change into four actionable factors: two generalization gaps, a model change penalty, and a covariate shift penalty, transforming the bound into a powerful diagnostic tool for understanding why performance has changed. To make TRACE a fully computable diagnostic, we instantiate each term. The covariate shift penalty is estimated via a model sensitivity factor (from high-quantile input gradients) and a data-shift measure; we use feature-space Optimal Transport (OT) by default and provide a robust alternative using Maximum Mean Discrepancy (MMD). The model change penalty is controlled by the average output distance between the two models on the target sample. Generalization gaps are estimated on held-out data. We validate our framework in an idealized linear regression setting, showing the TRACE bound correctly captures the scaling of the true risk difference with the magnitude of the shift. Across synthetic and vision benchmarks, TRACE diagnostics are valid and maintain a strong monotonic relationship with the true performance degradation. Crucially, we derive a deployment gate score that correlates strongly with $|ΔR|$ and achieves high AUROC/AUPRC for gating decisions, enabling safe, label-efficient model replacement.

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

↑