从表征几何标记诊断泛化失败
Diagnosing Generalization Failures from Representational Geometry Markers
AI总结:
通过分析表征几何标记,研究发现任务相关几何属性可预测模型在分布外数据上的泛化能力,为模型选择和AI可解释性提供新方向。
摘要:
泛化能力,即在训练上下文之外表现良好,是生物和人工智能的标志,但预见未见的失败仍然是核心挑战。传统方法往往采取一种“自下而上”的机械路线,通过逆向工程可解释的特征或回路来构建解释性模型。虽然有启发性,但这些方法往往难以提供高水平的预测信号,以预见现实世界中的失败。在这里,我们提出了一种受医学生物标记物启发的“自上而下”方法来研究泛化失败:识别系统层面的测量,作为模型未来表现的稳健指标。而不是映射出详细的内部机制,我们系统地设计并测试网络标记,以探测结构、功能链接,识别预测指标,并在现实世界中验证预测。在图像分类中,我们发现任务相关几何属性的分布内(ID)对象流形一致预测了分布外(OOD)泛化能力差。特别是,有效流形维度和效用的减少预测了在不同架构、优化器和数据集中的弱OOD表现。我们将这一发现应用于使用ImageNet预训练模型的迁移学习。我们一致发现,相同的几何模式比ID准确率更可靠地预测OOD迁移表现。这项工作证明了表征几何可以揭示隐藏的漏洞,为模型选择和人工智能可解释性提供更稳健的指导。
英文摘要:
Generalization, the ability to perform well beyond the training context, is a hallmark of biological and artificial intelligence, yet anticipating unseen failures remains a central challenge. Conventional approaches often take a ``bottom-up'' mechanistic route by reverse-engineering interpretable features or circuits to build explanatory models. While insightful, these methods often struggle to provide the high-level, predictive signals for anticipating failure in real-world deployment. Here, we propose using a ``top-down'' approach to studying generalization failures inspired by medical biomarkers: identifying system-level measurements that serve as robust indicators of a model's future performance. Rather than mapping out detailed internal mechanisms, we systematically design and test network markers to probe structure, function links, identify prognostic indicators, and validate predictions in real-world settings. In image classification, we find that task-relevant geometric properties of in-distribution (ID) object manifolds consistently forecast poor out-of-distribution (OOD) generalization. In particular, reductions in two geometric measures, effective manifold dimensionality and utility, predict weaker OOD performance across diverse architectures, optimizers, and datasets. We apply this finding to transfer learning with ImageNet-pretrained models. We consistently find that the same geometric patterns predict OOD transfer performance more reliably than ID accuracy. This work demonstrates that representational geometry can expose hidden vulnerabilities, offering more robust guidance for model selection and AI interpretability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。