Table of Contents
Fetching ...

A Transverse-Read-assisted Fast Valid-Bits Collection in Stochastic Computing MACs for Energy-Efficient in-RTM DNNs

Jihe Wang, Zhiying Zhang, Xingwu Dong, Danghui Wang

TL;DR

A neuron-architecture that utilizes parallel TRs to build an ultra-fast valid-bits collection scheme specifically targeted at Multiply-Accumulate (MAC) units for in-RTM DNNs, where the multiplication operation inherently involves two operands.

Abstract

It looks very attractive to coordinate racetrack-memory (RM) and stochastic-computing (SC) jointly to build an ultra-low power neuron-architecture.However, the above combination has always been questioned in a fatal weakness that the heavy valid-bits collection of RM-MTJ, a.k.a. accumulative parallel counters (APCs), cannot physically match the requirement for energy-efficient in-memory DNNs.Fortunately, a recently developed Transverse-Read (TR) provides a lightweight collection of valid-bits by detecting domain-wall resistance between a couple of MTJs on a single nanowire.In this work, we first propose a neuron-architecture that utilizes parallel TRs to build an ultra-fast valid-bits collection for SC, in which, a vector multiplication is successfully degraded as swift TRs.To solve huge storage for full stochastic sequences caused by the limited TR banks, a hybrid coding, pseudo-fractal compression, is designed to generate stochastic sequences by segments.To overcome the misalignment by the parallel early-termination, an asynchronous schedule of TR is further designed to regularize the vectorization, in which, the valid-bits from different lanes are merged in multiple RM-stacks for vector-level valid-bits collection.However, an inherent defect of TR, i.e., neighbor parts cannot be accessed simultaneously, could limit the throughput of the parallel vector multiplication, therefore, an interleaving data placement is used for full utilization of memory bus among different vectors.The results show that the SC-MAC assisted with TR achieves $2.88\times-4.40\times $speedup compared to CORUSCANT, at the same time, energy consumption is reduced by $1.26\times-1.42\times$.

A Transverse-Read-assisted Fast Valid-Bits Collection in Stochastic Computing MACs for Energy-Efficient in-RTM DNNs

TL;DR

A neuron-architecture that utilizes parallel TRs to build an ultra-fast valid-bits collection scheme specifically targeted at Multiply-Accumulate (MAC) units for in-RTM DNNs, where the multiplication operation inherently involves two operands.

Abstract

It looks very attractive to coordinate racetrack-memory (RM) and stochastic-computing (SC) jointly to build an ultra-low power neuron-architecture.However, the above combination has always been questioned in a fatal weakness that the heavy valid-bits collection of RM-MTJ, a.k.a. accumulative parallel counters (APCs), cannot physically match the requirement for energy-efficient in-memory DNNs.Fortunately, a recently developed Transverse-Read (TR) provides a lightweight collection of valid-bits by detecting domain-wall resistance between a couple of MTJs on a single nanowire.In this work, we first propose a neuron-architecture that utilizes parallel TRs to build an ultra-fast valid-bits collection for SC, in which, a vector multiplication is successfully degraded as swift TRs.To solve huge storage for full stochastic sequences caused by the limited TR banks, a hybrid coding, pseudo-fractal compression, is designed to generate stochastic sequences by segments.To overcome the misalignment by the parallel early-termination, an asynchronous schedule of TR is further designed to regularize the vectorization, in which, the valid-bits from different lanes are merged in multiple RM-stacks for vector-level valid-bits collection.However, an inherent defect of TR, i.e., neighbor parts cannot be accessed simultaneously, could limit the throughput of the parallel vector multiplication, therefore, an interleaving data placement is used for full utilization of memory bus among different vectors.The results show that the SC-MAC assisted with TR achieves speedup compared to CORUSCANT, at the same time, energy consumption is reduced by .
Paper Structure (31 sections, 5 equations, 18 figures, 7 tables, 1 algorithm)

This paper contains 31 sections, 5 equations, 18 figures, 7 tables, 1 algorithm.

Figures (18)

  • Figure 1: A 16-bit nanowire with four access ports for interval parallel TR TRop.
  • Figure 2: A simple LD-SC MAC that replaces APC with TR. Disadvantage: ❶ huge storage for full stochastic sequence; ❷ misalignment ET slowing the concurrency of vectors; ❸ inaccessible neighbor parts within nanowires for TR.
  • Figure 3: Proportion of computations based on fastest-to-slowest cycle wait ratio across DNN models.
  • Figure 4: LD-SC MAC assisted with TR Architecture. (a) shows the overview of our architecture. Different from the traditional architecture, the racetrack memory banks are divided into storage banks and TR banks, and MACs are redesigned. (b) shows the detailed design of our LD-SC MAC assisted with TR. The process includes ❶ fetch BNs; ❷ segment generation: encode SN to PFC and generate SN segments and UN segments on demand; ❸ stream computing: perform AND between SN segments and UN segments and write the result to TR banks; ❹ TR: execute parallel TRs on nanowires and accumulate TR results; and ❺ write back results.
  • Figure 5: Pseudo-Fractal compression.
  • ...and 13 more figures