arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.15764cs.LGcs.AI
收藏

当早期退出网络何时能够泛化?一种基于PAC-Bayesian理论的自适应深度理论

When Do Early-Exit Networks Generalize? A PAC-Bayesian Theory of Adaptive Depth

The University of Hong Kong, Hong Kong, China(香港大学);Brain Investing Limited, Hong Kong, China(Brain Investing有限公司)

Dongxin Guo, Jikun Wu, Siu Ming Yiu

AI总结:

本文提出基于PAC-Bayesian框架的自适应深度网络理论,通过熵基界、构造性常数、早期退出优势、近似标签独立性扩展以及实验验证,探讨早期退出网络的泛化能力。

摘要:

早期退出神经网络通过允许中间层自信预测退出,实现2-8倍的推理加速。尽管广泛应用,其泛化性质缺乏理论理解——这一缺口在最近的综述中被明确指出。本文建立了一种统一的PAC-Bayesian框架用于自适应深度网络。(1) 新的熵基界:我们证明了首个依赖于退出深度熵H(D)和期望深度E[D]而非最大深度K的泛化界,样本复杂度为O((E[D]·d + H(D))/ε²)。(2) 明确的构造性常数:我们的分析得出主导系数√(2ln2)≈1.177,并有完整推导。(3) 可证的早期退出优势:我们建立了自适应深度网络严格优于固定深度网络的充分条件。(4) 扩展到近似标签独立性:我们放松标签独立性假设到ε近似策略,扩大到学习路由的应用范围。(5) 全面验证:在6种架构和7个基准测试中,实验显示紧致比为1.52-3.87×(所有p<0.001)与经典界>100×,引导阈值选择匹配验证调优性能在0.1-0.3%内。

英文摘要:

Early-exit neural networks enable adaptive computation by allowing confident predictions to exit at intermediate layers, achieving 2-8$\times$ inference speedup. Despite widespread deployment, their generalization properties lack theoretical understanding -- a gap explicitly identified in recent surveys. This paper establishes a unified PAC-Bayesian framework for adaptive-depth networks. (1) Novel Entropy-Based Bounds: We prove the first generalization bounds depending on exit-depth entropy $H(D)$ and expected depth $\mathbb{E}[D]$ rather than maximum depth $K$, with sample complexity $\mathcal{O}((\mathbb{E}[D] \cdot d + H(D))/ε^2)$. (2) Explicit Constructive Constants: Our analysis yields the leading coefficient $\sqrt{2\ln 2} \approx 1.177$ with complete derivation. (3) Provable Early-Exit Advantages: We establish sufficient conditions under which adaptive-depth networks strictly outperform fixed-depth counterparts. (4) Extension to Approximate Label Independence: We relax the label-independence assumption to $ε$-approximate policies, broadening applicability to learned routing. (5) Comprehensive Validation: Experiments across 6 architectures on 7 benchmarks demonstrate tightness ratios of 1.52-3.87$\times$ (all $p < 0.001$) versus $>$100$\times$ for classical bounds. Bound-guided threshold selection matches validation-tuned performance within 0.1-0.3%.

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

↑