Shallow-Deep Networks: Understanding and Mitigating Network Overthinking
Not on the map. Why?
Abstract (arXiv)
We characterize a prevalent weakness of deep neural networks (DNNs)---overthinking---which occurs when a DNN can reach correct predictions before its final layer. Overthinking is computationally wasteful, and it can also be destructive when, by the final layer, a correct prediction changes into a misclassification. Understanding overthinking requires studying how each prediction evolves during a DNN's forward pass, which conventionally is opaque. For prediction transparency, we propose the Shallow-Deep Network (SDN), a generic modification to off-the-shelf DNNs that introduces internal classifiers. We apply SDN to four modern architectures, trained on three image classification tasks, to characterize the overthinking problem. We show that SDNs can mitigate the wasteful effect of overthinking with confidence-based early exits, which reduce the average inference cost by more than 50% and preserve the accuracy. We also find that the destructive effect occurs for 50% of misclassifications on natural inputs and that it can be induced, adversarially, with a recent backdooring attack. To mitigate this effect, we propose a new confusion metric to quantify the internal disagreements that will likely lead to misclassifications.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Oct 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 3; 2024: 0; 2025: 1; 2026: 2.
6 papers.
- 2023F-PABEE: Flexible-patience-based Early Exiting for Single-label and Multi-label text Classification Taskscited by 18
- 2023SHARCS: Efficient Transformers through Routing with Dynamic Width Sub-networkscited by 6
- 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generationcited by 5
- 2025Energy-Aware Deep Learning on Resource-Constrained Hardwarecited by 3
- 2023ACRoBat: Optimizing Auto-batching of Dynamic Deep Learning at Compile Timecited by 1
- 2026A Comparative Study of CNN Optimization Methods for Edge AI: Exploring the Role of Early Exitscited by 0
- 2026A Comparative Study of CNN Optimization Methods for Edge AI: Exploring the Role of Early Exits16 Apr 2026
- 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generation19 Jan 2026
- 2025Energy-Aware Deep Learning on Resource-Constrained Hardware18 May 2025
- 2023SHARCS: Efficient Transformers through Routing with Dynamic Width Sub-networks18 Oct 2023
- 2023F-PABEE: Flexible-patience-based Early Exiting for Single-label and Multi-label text Classification Tasks21 May 2023
- 2023ACRoBat: Optimizing Auto-batching of Dynamic Deep Learning at Compile Time17 May 2023