Tailor: Altering Skip Connections for Resource-Efficient Inference

Olivia Weng, Gabriel Marcano, Vladimir Loncar, Alireza Khodamoradi, Nojan Sheybani +5 more
1/18/2023
cs.CVcs.LGcs.NE

No confident code implementation found for this paper.

Abstract

Deep neural networks use skip connections to improve training convergence. However, these skip connections are costly in hardware, requiring extra buffers and increasing on- and off-chip memory utilization and bandwidth requirements. In this paper, we show that skip connections can be optimized for hardware when tackled with a hardware-software codesign approach. We argue that while a network's skip connections are needed for the network to learn, they can later be removed or shortened to provide a more hardware efficient implementation with minimal to no accuracy loss. We introduce Tailor, a codesign tool whose hardware-aware training algorithm gradually removes or shortens a fully trained network's skip connections to lower their hardware cost. Tailor improves resource utilization by up to 34% for BRAMs, 13% for FFs, and 16% for LUTs for on-chip, dataflow-style architectures. Tailor increases performance by 30% and reduces memory bandwidth by 45% for a 2D processing element array architecture.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{weng2023tailor,
  title  = {Tailor: Altering Skip Connections for Resource-Efficient Inference},
  author = {Olivia Weng and Gabriel Marcano and Vladimir Loncar and Alireza Khodamoradi and Nojan Sheybani and Andres Meza and Farinaz Koushanfar and Kristof Denolf and Javier Mauricio Duarte and Ryan Kastner},
  year   = {2023},
  eprint = {2301.07247},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.07247v2}
}

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/2301.07247.svg)](https://codeofpaper.com/paper/2301.07247)

Discussion