AffineLens:捕捉神经网络中的连续分段仿射函数
AffineLens: Capturing the Continuous Piecewise Affine Functions of Neural Networks
AI总结:
本文提出AffineLens框架,用于计算神经网络中分段仿射函数的超平面排列和多面体结构,通过可视化区域划分和决策边界,提供对神经网络表达性的深入分析。
摘要:
分段仿射神经网络(PANNs)通过将输入-输出映射表示为连续分段仿射(CPA)函数,为神经网络的表达性提供了系统性的几何视角。然而,现有的可解释性和表达性分析通常依赖间接代理(如激活统计或理论上限),很少提供实际准确的工具来枚举和可视化诱导区域划分。本文提出AffineLens,一个统一框架,用于计算PANNs底层的超平面排列和多面体结构。给定一个校准的(有界)输入多面体,AffineLens识别出神经元诱导的超平面中与域相交的子集,按层顺序枚举由此产生的仿射子区域,并返回可证明非空的最大CPA区域及其内部代表。该框架进一步提供了区域划分和决策边界的可视化,使定性检查与定量区域计数相结合。通过利用CPA网络在固定激活模式下的仿射限制属性,AffineLens支持广泛现代组件,包括批量归一化、池化、残差连接、多层感知机和卷积层。最后,我们利用AffineLens对网络架构的表达性进行了系统性的经验研究,通过区域复杂度度量比较网络,并揭示了设计选择如何影响学习函数的几何特性。
英文摘要:
Piecewise affine neural networks (PANNs) provide a principled geometric perspective on neural network expressivity by characterizing the input--output map as a continuous piecewise affine (CPA) function whose complexity is governed by the number, arrangement, and shapes of its affine regions. However, existing interpretability and expressivity analyses often rely on indirect proxies (e.g., activation statistics or theoretical upper bounds) and rarely offer practical, accurate tools for enumerating and visualizing the induced region partition under realistic architectures and bounded input domains. In this work, we present AffineLens, a unified framework for computing the hyperplane arrangements and polyhedral structures underlying PANNs. Given a calibrated (bounded) input polytope, AffineLens identifies the subset of neuron-induced hyperplanes that intersect the domain, enumerates the resulting affine sub-regions in a layer-wise manner, and returns provably non-empty maximal CPA regions together with interior representatives. The framework further provides visualizations of region partitioning and decision boundaries, enabling qualitative inspection alongside quantitative region counts. By exploiting the affine restriction property of CPA networks under fixed activation patterns, AffineLens supports a broad class of modern components, including batch normalization, pooling, residual connections, multilayer perceptrons, and convolutional layers. Finally, we use AffineLens to perform a systematic empirical study of architectural expressivity, comparing networks through region complexity metrics and revealing how design choices influence the geometry of learned functions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。