Reproduce “DCP: Learning Accelerator Dataflow for Neural Network via Propagation” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Peng Xu, Wenqi Shao, Mingyu Ding, Ping Luo

The Dataflow Code Propagation (DCP) framework, developed by researchers from the University of Hong Kong and Shanghai AI Laboratory, optimizes DNN hardware accelerator dataflows using a differentiable, gradient-based approach. This method finds optimal dataflows in seconds, achieving over 200x performance improvement in energy-delay product compared to prior search methods and demonstrating strong generalization to unseen hardware configurations.

Key insights

  • Translating discrete hardware dataflow configurations into a continuous, differentiable code enables efficient gradient-based optimization, transforming a complex combinatorial search into a continuous task.
  • A trained neural predictor can accurately and rapidly model intricate hardware performance metrics, decoupling the dataflow search process from time-consuming hardware simulations.
  • The differentiable nature of the approach, combined with the predictor, allows for direct and efficient optimization of dataflow parameters, leading to superior performance and generalization capabilities.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.