One form of comparing the expressiveness of rectifier networks is by the number of linear regions, or pieces, of the piecewise linear functions modeled by such networks. However, enumerating these regions is prohibitive in practice and the known analytical bounds on their numbers are identical for networks having the same dimensions. In this work, we approximate the number of linear regions of rectifier networks through empirical bounds based on features of the trained network and probabilistic inference. Our first contribution is an algorithm for probabilistic lower bounds of mixed-integer linear sets, which is several orders of magnitude faster than exact counting and obtain values reaching similar orders of magnitude. Our second contribution is a tighter activation-based bound for the maximum number of linear regions, which is particularly stronger in networks with narrow layers. Combined, these bounds yield a reasonable proxy for the number of linear regions and the accuracy of the networks.
翻译:比较整形网络的清晰度的一种形式是,以这种网络模型的线性区域或线性函数的碎片数量来比较整形网络的清晰度。然而,列举这些区域在实践中是令人望而却步的,对于具有相同维度的网络来说,其数字的已知分析界限是相同的。在这项工作中,我们根据经过训练的网络的特点和概率推论,通过经验界限来估计整形网络的直线性区域的数量。我们的第一个贡献是混合整形线性组的概率较低界限的算法,它比精确的计算速度快几个数量级,并获得达到类似数量级的值。我们的第二个贡献是,对最大线性区域(在窄层的网络中特别强)进行更严格的激活约束。这些界限对线性区域的数目和网络的准确性提供了合理的替代。