arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.08448cs.LG
收藏

探索预测模型性能和泛化能力的跨模型神经元相关性

Exploring Cross-model Neuronal Correlations in the Context of Predicting Model Performance and Generalizability

University of California, Los Angeles(加州大学洛杉矶分校);University of California, Santa Barbara(加州大学圣巴巴拉分校)

Haniyeh Ehsani Oskouie, Sajjad Ghiasvand, Lionel Levine, Majid Sarrafzadeh

AI总结:

本文提出通过跨模型神经元相关性评估模型性能和泛化能力,验证了表示对齐作为轻量级兼容性检查的可行性。

摘要:

随着人工智能(AI)模型越来越多地集成到关键系统中,建立AI可信度的稳健框架的需求日益重要。尽管协同努力已经建立了此类框架的概念基础,但在开发具体、技术上稳健的方法来评估AI模型质量和性能方面仍存在显著差距。本文介绍了一种新的方法,该方法通过计算神经网络之间的相关性来评估新训练模型的性能。所提出的方法通过确定对于一个网络中的每个神经元是否存在另一个网络中的神经元产生相似输出来评估相关性。这种方法对内存效率有影响,当不同大小的网络之间存在较高的相关性时,可以使用较小的网络。在五个全连接网络和一个在MNIST家庭数据集上训练的两层CNN上进行的实验表明,与CNN的更高对齐性跟踪更强的性能,并在黑盒转移攻击下具有更小的退化。在ImageNet预训练的ResNets和DenseNets上进行的部分层比较恢复了直观的架构亲和力,表明该过程在合理的近似下可扩展。这些结果支持表示对齐作为轻量级兼容性检查,补充了标准的准确性、校准和鲁棒性评估,并使新模型的早期外部验证成为可能。代码可在https://github.com/aheldis/Cross-model-Correlation.git上获得。

英文摘要:

As Artificial Intelligence (AI) models are increasingly integrated into critical systems, the need for a robust framework to establish the trustworthiness of AI is increasingly paramount. While collaborative efforts have established conceptual foundations for such a framework, there remains a significant gap in developing concrete, technically robust methods for assessing AI model quality and performance. This paper introduces a novel approach for assessing a newly trained model's performance based on another known model by calculating correlation between neural networks. The proposed method evaluates correlations by determining if, for each neuron in one network, there exists a neuron in the other network that produces similar output. This approach has implications for memory efficiency, allowing for the use of smaller networks when high correlation exists between networks of different sizes. Experiments on five fully connected networks and a two layer CNN trained on MNIST family datasets show that higher alignment with the CNN tracks stronger performance and smaller degradation under black box transfer based attacks. On ImageNet pretrained ResNets and DenseNets, partial layer comparisons recover intuitive architectural affinities, indicating that the procedure scales with reasonable approximations. These results support representational alignment as a lightweight compatibility check that complements standard accuracy, calibration, and robustness evaluations and enables early external validation of new models. Code is available at https://github.com/aheldis/Cross-model-Correlation.git.

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

↑