Skip to main content
QUICK REVIEW

[Paper Review] VTA: An Open Hardware-Software Stack for Deep Learning.

Thierry Moreau, Tianqi Chen|arXiv (Cornell University)|Jul 11, 2018
Parallel Computing and Optimization TechniquesComputer Science15 references50 citations
TL;DR

VTA is an open, extensible hardware-software stack for deep learning that uses a parametrizable architecture with a two-level ISA—task-level and microcode-level—to enable flexible, high-performance inference on edge FPGAs. Integrated into Apache TVM, it supports JIT compilation and design space exploration for customized hardware and software stacks, achieving optimized performance on object classification and style transfer workloads.

ABSTRACT

Specialized Deep Learning (DL) acceleration stacks, designed for a specific set of frameworks, model architectures, operators, and data types, offer the allure of high performance while sacrificing flexibility. Changes in algorithms, models, operators, or numerical systems threaten the viability of specialized hardware accelerators. We propose VTA, a programmable deep learning architecture template designed to be extensible in the face of evolving workloads. VTA achieves this flexibility via a parametrizable architecture, two-level ISA, and a JIT compiler. The two-level ISA is based on (1) a task-ISA that explicitly orchestrates concurrent compute and memory tasks and (2) a microcode-ISA which implements a wide variety of operators with single-cycle tensor-tensor operations. Next, we propose a runtime system equipped with a JIT compiler for flexible code-generation and heterogeneous execution that enables effective use of the VTA architecture. VTA is integrated and open-sourced into Apache TVM, a state-of-the-art deep learning compilation stack that provides flexibility for diverse models and divergent hardware backends. We propose a flow that performs design space exploration to generate a customized hardware architecture and software operator library that can be leveraged by mainstream learning frameworks. We demonstrate our approach by deploying optimized deep learning models used for object classification and style transfer on edge-class FPGAs.

Motivation & Objective

  • To address the inflexibility of specialized deep learning accelerators that become obsolete with changes in models, frameworks, or data types.
  • To design a programmable architecture that supports evolving workloads through parametrization and extensibility.
  • To enable efficient code generation and heterogeneous execution via a JIT compiler and two-level instruction set architecture (ISA).
  • To integrate the stack into Apache TVM for interoperability with mainstream deep learning frameworks.
  • To support automated design space exploration for generating optimized hardware and software stacks tailored to specific models and hardware backends.

Proposed method

  • Design a two-level ISA: a task-ISA for orchestrating concurrent compute and memory operations, and a microcode-ISA for single-cycle tensor-tensor operations.
  • Implement a parametrizable architecture that allows customization for different workloads, data types, and hardware constraints.
  • Develop a JIT compiler for dynamic code generation and runtime optimization of kernels on VTA.
  • Build a runtime system that enables heterogeneous execution across VTA and host processors.
  • Integrate VTA into Apache TVM to leverage its compilation stack for diverse models and hardware backends.
  • Use a design space exploration flow to automatically generate optimized hardware configurations and software operator libraries.

Experimental results

Research questions

  • RQ1How can a deep learning accelerator maintain high performance while remaining flexible to changes in models, operators, and data types?
  • RQ2What architectural and compilation techniques enable efficient support for diverse workloads on reconfigurable hardware like FPGAs?
  • RQ3Can a two-level ISA with task-level orchestration and microcode-level operations achieve both performance and extensibility?
  • RQ4How effective is the integration of VTA into Apache TVM for enabling end-to-end optimization across frameworks and hardware?
  • RQ5To what extent can design space exploration automate the generation of optimized VTA configurations for specific deep learning workloads?

Key findings

  • VTA enables high-performance inference on edge-class FPGAs for object classification and style transfer models, demonstrating practical applicability.
  • The two-level ISA allows efficient expression of complex deep learning operators through single-cycle tensor-tensor operations in microcode.
  • The JIT compiler enables flexible and efficient code generation, adapting to varying model and hardware configurations.
  • Integration with Apache TVM allows seamless deployment across mainstream deep learning frameworks and diverse hardware backends.
  • Design space exploration successfully generates customized VTA architectures and software libraries, reducing manual tuning effort.
  • The parametrizable architecture supports extensibility across evolving workloads without requiring redesign of the underlying hardware.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.