Deep Feature Surgery: Towards Accurate and Efficient Multi-Exit Networks

Cheng Gong, Yao Chen, Qiuyang Luo, Ye Lu, Tao Li +3 more
2/14/2026

No official code found. Best implementation: GongCheng1919/dfs (3 stars, Apache-2.0, last commit 2025-03-06).

Abstract

Multi-exit network is a promising architecture for efficient model inference by sharing backbone networks and weights among multiple exits. However, the gradient conflict of the shared weights results in sub-optimal accuracy. This paper introduces Deep Feature Surgery (\methodname), which consists of feature partitioning and feature referencing approaches to resolve gradient conflict issues during the training of multi-exit networks. The feature partitioning separates shared features along the depth axis among all exits to alleviate gradient conflict while simultaneously promoting joint optimization for each exit. Subsequently, feature referencing enhances multi-scale features for distinct exits across varying depths to improve the model accuracy. Furthermore, \methodname~reduces the training operations with the reduced complexity of backpropagation. Experimental results on Cifar100 and ImageNet datasets exhibit that \methodname~provides up to a \textbf{50.00\%} reduction in training time and attains up to a \textbf{6.94\%} enhancement in accuracy when contrasted with baseline methods across diverse models and tasks. Budgeted batch classification evaluation on MSDNet demonstrates that DFS uses about $\mathbf{2}\boldsymbol{\times}$ fewer average FLOPs per image to achieve the same classification accuracy as baseline methods on Cifar100. The code is available at https://github.com/GongCheng1919/dfs.

View on arXivView PDF

Code Implementations(1)

GongCheng1919/dfsCommunity100%
Apache-2.0

[ECCV'24] Deep Feature Surgery: Towards Accurate and Efficient Multi-Exit Networks

30Shell, PythonAug 9, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{gong2026deep,
  title  = {Deep Feature Surgery: Towards Accurate and Efficient Multi-Exit Networks},
  author = {Cheng Gong and Yao Chen and Qiuyang Luo and Ye Lu and Tao Li and Yuzhi Zhang and Yufei Sun and Le Zhang},
  year   = {2026},
  eprint = {2407.13986},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.13986},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.13986.svg)](https://codeofpaper.com/paper/2407.13986)

Discussion