Efficient Non-Linear Adder for Stochastic Computing with Approximate Spatial-Temporal Sorting Network. Hu, Y., Zhang, T., Li, M., Wei, R., Lai, L., Wang, Y., Wang, R., & Huang, R. In 2023 60th ACM/IEEE Design Automation Conference (DAC), pages 1–6, July, 2023.
Efficient Non-Linear Adder for Stochastic Computing with Approximate Spatial-Temporal Sorting Network [link]Paper  doi  abstract   bibtex   
End-to-end stochastic computing (SC) enables fault-tolerant and area-efficient neural acceleration by conducting non-linear addition, including accumulation and activation functions, in SC bitstreams. However, existing non-linear adder designs suffer from a high hardware cost, accounting for a major portion of the datapath power and area, and may also have limited computation accuracy and flexibility. In this paper, we propose an accurate yet efficient non-linear adder design. We analyze the redundancy in existing designs and propose a parameterized approximate non-linear adder design space. By systematic design space exploration, we develop non-linear adders that are significantly more efficient than existing designs with negligible computation error. We further propose a spatial-temporal architecture to improve the design flexibility and efficiency for a wide range of network sizes. To support state-of-the-art networks, e.g., ResNet18, we demonstrate that our design can reduce the datapath area by 2.16× compared with the baseline designs. Our design can also reduce the area-delay product (ADP) of the non-linear adder by 4.13× and 23.29× for large and small convolution layers in ResNet18, respectively.
@inproceedings{hu_efficient_2023,
	title = {Efficient {Non}-{Linear} {Adder} for {Stochastic} {Computing} with {Approximate} {Spatial}-{Temporal} {Sorting} {Network}},
	url = {https://ieeexplore.ieee.org/document/10247826},
	doi = {10.1109/DAC56929.2023.10247826},
	abstract = {End-to-end stochastic computing (SC) enables fault-tolerant and area-efficient neural acceleration by conducting non-linear addition, including accumulation and activation functions, in SC bitstreams. However, existing non-linear adder designs suffer from a high hardware cost, accounting for a major portion of the datapath power and area, and may also have limited computation accuracy and flexibility. In this paper, we propose an accurate yet efficient non-linear adder design. We analyze the redundancy in existing designs and propose a parameterized approximate non-linear adder design space. By systematic design space exploration, we develop non-linear adders that are significantly more efficient than existing designs with negligible computation error. We further propose a spatial-temporal architecture to improve the design flexibility and efficiency for a wide range of network sizes. To support state-of-the-art networks, e.g., ResNet18, we demonstrate that our design can reduce the datapath area by 2.16× compared with the baseline designs. Our design can also reduce the area-delay product (ADP) of the non-linear adder by 4.13× and 23.29× for large and small convolution layers in ResNet18, respectively.},
	urldate = {2023-11-13},
	booktitle = {2023 60th {ACM}/{IEEE} {Design} {Automation} {Conference} ({DAC})},
	author = {Hu, Yixuan and Zhang, Tengyu and Li, Meng and Wei, Renjie and Lai, Liangzhen and Wang, Yuan and Wang, Runsheng and Huang, Ru},
	month = jul,
	year = {2023},
	pages = {1--6},
}

Downloads: 0