Shouyi Yin

Shouyi Yin


Research Focus & Metrics

Academic Career Length

22Years (2005-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
14 December 2017 in IEEE Journal of Solid-State Circuits
Verified
Journal Article
Closed access
SYShouyi Yin
Shouyi Yin
POPeng Ouyang
Peng Ouyang
STShibin Tang
Shibin Tang
FTFengbin Tu
Fengbin Tu
XLXiudong Li
Xiudong Li
SWShaojun Wei
Shaojun Wei
Hybrid neural networks (hybrid-NNs) have been widely used and brought new challenges to NN processors. Thinker is an energy efficient reconfigurable hybrid-NN processor fabricated in 65-nm technology. To achieve high energy efficiency, three optimization techniques are proposed. First, each processing element (PE) supports bit-width adaptive computing to meet various bit-widths of neural layers, which raises computing throughput by 91% and improves energy efficiency by 1.93x on average. Second, PE array supports on-demand array partitioning and reconfiguration for processing different NNs in parallel, which results in 13.7% improvement of PE utilization and improves energy efficiency by 1.11x. Third, a fused data pattern-based multi-bank memory system is designed to exploit data reuse and guarantee parallel data access, which improves computing throughput and energy efficiency by 1.11x and 1.17x, respectively. Measurement results show that this processor achieves 5.09-TOPS/W energy efficiency at most.

17 June 2023
Verified
Conference Paper
Open access
YQYubin Qin
Yubin Qin
YWYang Wang
Yang Wang
DDDazheng Deng
Dazheng Deng
ZZZhiren Zhao
Zhiren Zhao
XYXiaolong Yang
Xiaolong Yang
SYShouyi Yin
Shouyi Yin
Transformer model is becoming prevalent in various AI applications with its outstanding performance. However, the high cost of computation and memory footprint make its inference inefficient. We discover that among the three main computation modules in a Transformer model (QKV generation, attention computation, FFN), it is the QKV generation and FFN that contribute to the most power cost. While the attention computation, focused by most previous works, only has decent power share when dealing with extremely long inputs. Therefore, in this paper, we propose FACT, an efficient algorithm-hardware co-design optimizing all three modules of Transformer. We first propose an eager prediction algorithm which predicts the attention matrix before QKV generation. It further detects the unnecessary computation in QKV generation and assigns mixed-precision FFN with the predicted attention, which helps improve the throughput. Further, we propose FACT accelerator to efficiently support eager prediction with three designs. It avoids the large overhead of prediction by using log-based add-only operations for prediction. It eliminates the latency of prediction through an out-of-order scheduler that makes the eager prediction and computation work in full pipeline. It additionally avoids memory access conflict in the mixed-precision FFN with a novel diagonal storage pattern. Experiments on 22 benchmarks show that our FACT improves the throughput of the whole Transformer by 3.59× on the geomean average. It achieves an enviable 47.64× and 278.1× energy saving when computing attention, compared to previous attention-optimization-only SOTA works ELSA and Sanger. Further, FACT achieves an energy efficiency of 4388 GOPS/W performing the whole Transformer layer on average, which is 94.98× higher than Nvidia V100 GPU.

28 October 2022 in IEEE Journal of Solid-State Circuits
Verified
Journal Article
Closed access
FTFengbin Tu
Fengbin Tu
ZWZihan Wu
Zihan Wu
YWYiqi Wang
Yiqi Wang
LLLing Liang
Ling Liang
YDYufei Ding
Yufei Ding
SYShouyi Yin
Shouyi Yin
Transformer models achieve excellent results in the fields like natural language processing, computer vision, and bioinformatics. Their large numbers of matrix multiplications (MMs) lead to substantial data movement and computation. Although computing-in-memory (CIM) has proven to be an efficient architecture for MM computation, transformer’s attention mechanism raises new challenges in memory access and computation aspects: the dynamic MM in attention layers causes redundant OFF-chip memory access; Attention layers dominate transformer’s computation and require high precision. Thus, we design a bitline-transpose CIM-based transformer accelerator TranCIM with pipeline/parallel reconfigurable modes. The pipeline mode alleviates off-chip access for attention layers. The parallel mode is used by fully-connected (FC) layers for high parallelism. The full-digital CIM supports INT16 for attention layers and INT8 for FC layers, without analog CIM’s nonideal issues. Moreover, a sparse attention scheduler (SAS) is proposed to reduce attention computation. The fabricated TranCIM chip only consumes 15.59 $\mu \text{J}$ /Token for the bidirectional encoder representations from transformer (BERT)-base model, achieving $12.08\times $ – $36.82\times $ lower energy than prior CIM-based accelerators.

2 December 2022 in IEEE Journal of Solid-State Circuits
Verified
Journal Article
Closed access
FTFengbin Tu
Fengbin Tu
YWYiqi Wang
Yiqi Wang
ZWZihan Wu
Zihan Wu
LLLing Liang
Ling Liang
YDYufei Ding
Yufei Ding
SYShouyi Yin
Shouyi Yin
Cloud AI acceleration has drawn great attention in recent years, as big models are becoming a popular trend in deep learning. Cloud AI runs high-efficiency inference, high-accuracy inference and training, in demand of flexible floating-point (FP)/integer (INT) multiply–accumulation (MAC) support Many computing-in-memory (CIM) processors have been proposed for efficient AI acceleration. They usually rely on analog CIM techniques that are only suitable for high-efficiency neural network (NN) inference with low-precision INT MAC support. Since cloud AI demands high efficiency, high accuracy, and high flexibility simultaneously, we propose an innovative architecture reconfigurable digital CIM (ReDCIM) that meets all three requirements. We design the first CIM-based cloud AI processor, ReDCIM, which constructs a unified FP/INT pipeline architecture based on exponent pre-alignment and reconfigurable in-memory accumulation. Bitwise in-memory Booth multiplication is proposed to reduce computation on CIM. The fabricated ReDCIM chip achieves a state-of-the-art energy efficiency of 29.2 TFLOPS/W at BF16 and 36.5 TOPS/W at INT8.

4 July 2018 in IEEE Transactions on Magnetics
Verified
Journal Article
Closed access
YPYu Pan
Yu Pan
POPeng Ouyang
Peng Ouyang
YZYinglin Zhao
Yinglin Zhao
WKWang Kang
Wang Kang
SYShouyi Yin
Shouyi Yin
SWShaojun Wei
Shaojun Wei
Due to additive operation’s dominated computation and simplified network in binary convolutional neural network (BCNN), it is promising for Internet of Things scenarios which demand ultralow power consumption. By means of fully exploiting the in-memory computing advantages and low current consumption design using multilevel cell (MLC) spin-toque transfer magnetic random access memory (STT-MRAM), this paper proposes an MLC-STT-computing in-memory-based computing in-memory architecture to achieve convolutional operation for BCNN to further reduce the power consumption. Simulation results show that compared with the resistive random access memory (RRAM)- and spin orbit torque-STT-MRAM-based counterparts, the architecture proposed in this paper reduces power consumption by ~ $35{\times}$ and 59% in Modified National Institute of Standards and Technology data set, respectively.

6 January 2020 in IEEE Transactions on Signal Processing
Verified
Journal Article
Closed access
LLLeibo Liu
Leibo Liu
GPGuiqiang Peng
Guiqiang Peng
PWPan Wang
Pan Wang
SZSheng Zhou
Sheng Zhou
QWQiushi Wei
Qiushi Wei
SWShaojun Wei
Shaojun Wei
Minimum-mean-square-error (MMSE) detection is increasingly relevant for massive multiple-input multiple-output (MIMO) systems. MMSE suffers from high computational complexity and low parallelism because of the increasing number of users and antennas in massive MIMO systems. This paper proposes a recursive conjugate gradient (RCG) method to iteratively estimate signals. First, a recursive conjugate gradient detection algorithm is proposed that achieves high parallelism and low complexity through iteration. Second, a quadrant-certain-based initial method that improves detection accuracy without added complexity is proposed. Third, an approximated log likelihood ratio (LLR) computation method is proposed to achieve simplified calculation. The analyses show that compared with related methods, the proposed RCG algorithm reduces computational complexity and exploits the potential parallelism. RCG is mathematically demonstrated to achieve low approximated error. Based on the RCG method, an architecture is proposed in a 128×8 64-QAM massive MIMO system. First, a parallel processing element array with single-sided input is adopted; this array eliminates the throughput limitation. Second, a deeply pipelined user-level method based on the recursive conjugate gradient method is proposed. Third, an approximated architecture is proposed to compute the soft output. The architecture is verified on an FPGA and fabricated on ${\rm{1.87\times1.87 mm^{2}}$ silicon with TSMC 65 nm CMOS technology. The chip achieves 2.69 Mbps/mW and 1.09 Mbps/kG energy efficiency (throughput/power) and area efficiency (throughput/area), respectively, which are 2.39 to 10.60× and 1.15 to 8.81× those of the normalized state-of-the-art designs.