Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kubaty, Piotr, Wójcik, Bartosz, Krzepkowski, Bartłomiej, Michaluk, Monika, Trzciński, Tomasz, Pomponi, Jary, Adamczewski, Kamil
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2407.14320
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909654886383616
author Kubaty, Piotr
Wójcik, Bartosz
Krzepkowski, Bartłomiej
Michaluk, Monika
Trzciński, Tomasz
Pomponi, Jary
Adamczewski, Kamil
author_facet Kubaty, Piotr
Wójcik, Bartosz
Krzepkowski, Bartłomiej
Michaluk, Monika
Trzciński, Tomasz
Pomponi, Jary
Adamczewski, Kamil
contents Early exits enable the network's forward pass to terminate early by attaching trainable internal classifiers to the backbone network. Existing early-exit methods typically adopt either a joint training approach, where the backbone and exit heads are trained simultaneously, or a disjoint approach, where the heads are trained separately. However, the implications of this choice are often overlooked, with studies typically adopting one approach without adequate justification. This choice influences training dynamics and its impact remains largely unexplored. In this paper, we introduce a set of metrics to analyze early-exit training dynamics and guide the choice of training strategy. We demonstrate that conventionally used joint and disjoint regimes yield suboptimal performance. To address these limitations, we propose a mixed training strategy: the backbone is trained first, followed by the training of the entire multi-exit network. Through comprehensive evaluations of training strategies across various architectures, datasets, and early-exit methods, we present the strengths and weaknesses of the early exit training strategies. In particular, we show consistent improvements in performance and efficiency using the proposed mixed strategy.
format Preprint
id arxiv_https___arxiv_org_abs_2407_14320
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle How to Train Your Multi-Exit Model? Analyzing the Impact of Training Strategies
Kubaty, Piotr
Wójcik, Bartosz
Krzepkowski, Bartłomiej
Michaluk, Monika
Trzciński, Tomasz
Pomponi, Jary
Adamczewski, Kamil
Machine Learning
Early exits enable the network's forward pass to terminate early by attaching trainable internal classifiers to the backbone network. Existing early-exit methods typically adopt either a joint training approach, where the backbone and exit heads are trained simultaneously, or a disjoint approach, where the heads are trained separately. However, the implications of this choice are often overlooked, with studies typically adopting one approach without adequate justification. This choice influences training dynamics and its impact remains largely unexplored. In this paper, we introduce a set of metrics to analyze early-exit training dynamics and guide the choice of training strategy. We demonstrate that conventionally used joint and disjoint regimes yield suboptimal performance. To address these limitations, we propose a mixed training strategy: the backbone is trained first, followed by the training of the entire multi-exit network. Through comprehensive evaluations of training strategies across various architectures, datasets, and early-exit methods, we present the strengths and weaknesses of the early exit training strategies. In particular, we show consistent improvements in performance and efficiency using the proposed mixed strategy.
title How to Train Your Multi-Exit Model? Analyzing the Impact of Training Strategies
topic Machine Learning
url https://arxiv.org/abs/2407.14320