Year: 2024
Type: dissertation
Abstract: As AI models continue to evolve, Beyond-Convolutional Neural Network (Beyond-CNN) architectures have emerged.These architectures can represent complex relationships and dependencies, such as the irregular and non-grid data found in graphs and texts.By pushing the boundaries of traditional CNNs, they achieve state-of-the-art performance in various fields, including computer vision, natural language processing, graph representation learning, and more.However, the development of Beyond-CNNs raises challenges for edge devices.First, the increasing number of parameters in advanced Beyond-CNN models significantly elevates memory traffic workloads and on-chip memory size requirements.Second, hardware development has struggled to keep pace with the rapid evolution of Beyond-CNNs.Third, while sparse mechanisms have been thoroughly explored in CNNs, there remains room for exploration in Beyond-CNNs.Furthermore, hardware optimized for CNN's dense computations is not well-suited to handle the data access patterns, processing element (PE) utilization, and computational performance demands of sparse Beyond-CNN models.First, we introduce the Tensor-Train Decomposition (TTD) method to reduce the number of parameters in Vision MLPs, which are typical networks in the category of beyond-CNNs.TTD decomposes the weight matrix of fully-connected (FC) layers into a series of smaller matrices.We discuss the effectiveness and performance of different components within the decomposed MLPs.Additionally, we propose a specialized training method called Train-TTD-Train, which optimizes the training of TTD-based models and helps them achieve comparable accuracy with reduced memory usage.Our results demonstrate that this method offers a better trade-off than conventional TTD methods on ImageNet-1K and achieves comparable inference accuracy with memory reduction on CIFAR-10.Next, we explore another lightweight method called the Strong Lottery Ticket Hypothesis (SLTH) in the context of Graph Neural Networks (GNNs).SLTH discovers high-performance subnetworks within a randomly initialized model without any weight training.Based on SLTH, we propose Multicoated Supermasks (M-Sup), a scalar pruning mask method, and implement it in GNNs by developing a strategy for adaptively setting pruning thresholds.We also introduce a folding technique that demonstrates the existence of a folding structure within deep GNNs.Results on the Open Graph Benchmark (OGB) show that our study establishes a triple-win scenario for SLT-based GNNs: achieving high sparsity (≥ 90%), high memory reduction (≥ 98%), and comparable accuracy.On the other hand, we propose system architecture designs.The first architecture is for generative network acceleration, named GNA, which fully supports both convolutional (CONV) and deconvolutional (DeCONV) layers.In this study, we explore PE designs that support flexible precision, data mapping methods for assigning computations to PE arrays, and dataflow strategies for reusing data within the limitations of on-chip buffer size.Based on this architecture, we implement intra-PE processing, inter-PE processing, and cross-layer scheduling techniques.Specifically, we propose a dual convolution mapping method for CONV and DeCONV layers to maximize the utilization of available PE resources.A crosslayer scheduling method is also introduced to avoid extra off-chip memory access during residual block processing.Precision-adaptive PEs and buffer bandwidth reconfiguration are utilized to support flexible bitwidths for both inputs and weights.Owing to these optimization techniques, an ASIC-based implementation achieves an energy efficiency of 2.05 TOPS/W with 61% higher PE utilization compared to traditional methods in generative network acceleration.Building on the previous GNA architecture design, we extend it to support other Beyond-CNN architectures.For GNNs, computations include the combination stage, similar to fully-connected (FC) layers, and the aggregation stage, which involves sparse matrix-matrix multiplication (SpMM).We continue the GNA design for the combination stage and explore efficient mapping methods and PEs that efficiently support sparse multiplication.For the aggregation stage, we utilize a scatter-based mechanism for neighbor message passing.However, a real-time and large-scale GNN inference faces challenges due to the large size of node features and adjacency matrices, leading to memory communication and buffer size overheads caused by irregular memory access patterns.To overcome these limitations, we employ a multidimensional dynamic feature summarization method called Cross-Partition Message Quantization for inter-partition message passing.This approach eliminates irregular off-chip memory access without additional training or accuracy loss, even with fine-grained partitioning.Additionally, we optimize the SLT theory to achieve fine-grained sparsity and introduce a hardware architecture to exploit fine-grained sparsity for improved load balancing.The FPGA-based implementation shows that GCNBingo performs better than CPU (E5-2698) and GPU (A6000).Compared with the state-of-the-art accelerators, we also achieve a 1.71× speedup on graph-level tasks and a 1.38× speedup on node-level tasks.This thesis presents an algorithm-architecture collaborative approach to advancing Beyond-CNNs.On the algorithmic side, we explore lightweight methods such as TTD and the SLTH to reduce parameter workloads and investigate sparsity mechanisms within Beyond-CNNs.On the hardware architecture side, we propose practical implementations featuring optimizations in dataflow, PEs, memory hierarchy, and mapping strategies to support Beyond-CNNs and our proposed algorithms.These implementations demonstrate high energy efficiency and performance, as verified by FPGA and ASIC prototyping.The insights gained from this thesis are expected to impact AI model compression, hardwaresoftware co-design, and the development of scalable neural network acceleration.i v 5.18 Visual image about style-transfer net under different data precisions.(a) 16-bit w 16-bit.(b) 16-bit w 8-bit.(c) 8-bit w 8-bit. . . . . . . . . . . . .5.19 (a) Performance and (b) energy efficiency of optimization versus baseline.5.20 Performance improvement and PE utilization.(a) Style-transfer network.(b) Super-resolution network.(c) Fully convolutional network.(d) PE utilization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.21 LPDDR energy cost about a residual block. . . . . . . . . . . . . . . . .6.1 Numbers of intra-and inter-partition nodes per partition with increasing number of partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . .6.2 Total numbers of intra-partition (Inner + Outgoing) and inter-partition (Incoming) nodes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6.3 Comparison of different sampling methods. . . . . . . . . . . . . . . . .
Authors: YAN, JIALE, Yan, Jiale
Institution: Institute of Science Tokyo
Language: English
Subfield: Computer Vision and Pattern Recognition
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7035599039
