より低い精度の使用は、複雑なディープニューラルネットワーク(DNN)の計算およびストレージ要件を最適化する一般的な手法として浮上しています。より低い精度を求めて、最近の研究では、3値DNN(重み付き3値で重み付けとアクティブ化を表す)が有望なスイートスポットを表し、複雑なタスクで完全精度ネットワークに近い精度を実現することが示されています。三元DNNを実行するために特別に設計されたプログラム可能なインメモリアクセラレータであるTiM-DNNを提案します。 TiM-DNNは、非加重-1,0,1、対称加重-a、0、a、非対称加重-a、0、bの3元システムを含む、さまざまな3元表現をサポートしています。 TiM-DNNの構成要素はTiMタイルです。これは、1回のアクセスで超並列符号付き3元ベクトルマトリックス乗算を実行する特殊なメモリ配列です。 TiMタイルは、3値ストレージユニットと符号付き3値乗算ユニットの両方として機能するビットセルであるTernary Processing Cell(TPC)で構成されます。 SPICEシミュレーションとRTL合成でキャリブレーションされたアーキテクチャシミュレータを使用して、32 nmテクノロジでのTiM-DNNの実装を評価します。 TiM-DNNを、深い畳み込みおよび再帰型ニューラルネットワークの両方を含む一連の最先端のDNNベンチマークで評価します。 TiM-DNNの32タイルインスタンスは、114 TOPs / sのピークパフォーマンスを達成し、0.9Wの電力を消費し、1.96mm2のチップ面積を占有します。これは、TOPS / WおよびTOPS / mm2のそれぞれ300倍および388倍の改善を表します。 NVIDIA Tesla V100 GPU。特殊なDNNアクセラレータと比較して、TiM-DNNは、それぞれTOPS / WおよびTOPS / mm2で55X-240Xおよび160X-291Xの改善を実現します。最後に、Tinary DNNの最適化されたニアメモリアクセラレータと比較すると、TiM-DNNは、システムレベルのエネルギーが3.9x-4.7x向上し、3.2x-4.2xが高速化していることを示しています。 DNN。
The use of lower precision has emerged as a popular technique to optimize the compute and storage requirements of complex Deep Neural Networks (DNNs). In the quest for lower precision, recent studies have shown that ternary DNNs (which represent weights and activations by signed ternary values) represent a promising sweet spot, achieving accuracy close to full-precision networks on complex tasks. We propose TiM-DNN, a programmable in-memory accelerator that is specifically designed to execute ternary DNNs. TiM-DNN supports various ternary representations including unweighted -1,0,1, symmetric weighted -a,0,a, and asymmetric weighted -a,0,b ternary systems. The building blocks of TiM-DNN are TiM tiles -- specialized memory arrays that perform massively parallel signed ternary vector-matrix multiplications with a single access. TiM tiles are in turn composed of Ternary Processing Cells (TPCs), bit-cells that function as both ternary storage units and signed ternary multiplication units. We evaluate an implementation of TiM-DNN in 32nm technology using an architectural simulator calibrated with SPICE simulations and RTL synthesis. We evaluate TiM-DNN across a suite of state-of-the-art DNN benchmarks including both deep convolutional and recurrent neural networks. A 32-tile instance of TiM-DNN achieves a peak performance of 114 TOPs/s, consumes 0.9W power, and occupies 1.96mm2 chip area, representing a 300X and 388X improvement in TOPS/W and TOPS/mm2, respectively, compared to an NVIDIA Tesla V100 GPU. In comparison to specialized DNN accelerators, TiM-DNN achieves 55X-240X and 160X-291X improvement in TOPS/W and TOPS/mm2, respectively. Finally, when compared to a well-optimized near-memory accelerator for ternary DNNs, TiM-DNN demonstrates 3.9x-4.7x improvement in system-level energy and 3.2x-4.2x speedup, underscoring the potential of in-memory computing for ternary DNNs.