浅层神经网络与深层窄网络的精确等价转换方法(含卷积架构扩展)
Trading Width for Depth: Exact and Approximate Serialization of Shallow Neural Networks into Deep Narrow Networks, with an Extension to Convolutional Architectures
AI 导读
arXiv 论文提出将训练好的浅层宽神经网络转换为计算相同函数的深层窄网络,可精确等价或在给定均匀误差 ε 内近似。方法将 N 个隐藏单元分成 L 个块逐层计算,ReLU 激活下转换在全体 R^d 上精确,宽度为 ⌈N/L⌉+2d+2K。理论扩展到卷积网络,通过掩码通道消除零填充边界问题且常数与图像分辨率无关;合成数据实验验证了 ReLU 网络的精确性及 tanh 网络的 δ² 收敛率。
正文 · 原文
Abstract:We study how a trained shallow and wide neural network can be transformed into a deeper and narrower network that computes the same function, either exactly or up to a prescribed uniform error~$\varepsilon$. The construction partitions the $N$ hidden units of the shallow network into $L$ blocks, evaluates one block per layer of the deep network, carries the input forward through dedicated channels and accumulates the partial output sums in further channels. For the ReLU activation the transformation is exact on all of $\R^d$ and yields width $\lceil N/L\rceil+2d+2K$, where $d$ and $K$ are the input and output dimensions. We transfer the theory to convolutional neural networks. The development culminates in a quantitative theorem for convolutional networks with smooth activations, in which an additional mask channel removes a boundary obstruction caused by zero padding and all constants are independent of the image resolution. Numerical experiments on synthetic data confirm exactness for ReLU networks, the predicted $\delta^2$ convergence rate for $\tanh$ networks, and preserved classification accuracy.
| Subjects: | Artificial Intelligence (cs.AI); Machine Learning (cs.LG); Neural and Evolutionary Computing (cs.NE) |
| Cite as: | arXiv:2612.05557 [cs.AI] |
| (or arXiv:2612.05557v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2612.05557 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Julian Stier [view email]
[v1]
Thu, 3 Dec 2026 12:11:57 UTC (33 KB)
来源:arXiv cs.AI · arxiv.org