{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T19:28:07Z","timestamp":1795202887412,"version":"4.10.3"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"1","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Embed. Comput. Syst."],"published-print":{"date-parts":[[2026,1,31]]},"abstract":"<jats:p>Transformers have emerged as a dominant architecture in deep learning, demonstrating unparalleled success across a wide range of applications, including natural language processing (NLP), computer vision (CV), and scientific computing. By leveraging the self-attention mechanism, transformers achieve superior performance over traditional models such as recurrent neural networks (RNNs) and convolutional neural networks (CNNs). However, these performance gains come at a cost\u2014high computational complexity and substantial memory requirements, making transformers particularly challenging to deploy efficiently on conventional hardware. To address the increasingly intensive computational demands of attention-based transformers, there is growing interest in developing efficient and high-speed hardware accelerators. Silicon photonics has emerged as a promising alternative to digital electronics, offering high-bandwidth and low-latency computation while improving overall computational and energy efficiency. This work introduces ASTRA, the first optical hardware accelerator that leverages stochastic computing principles for transformer neural networks. ASTRA incorporates novel full-range optical stochastic multipliers and stochastic-analog compute-capable optical-to-electrical transducer units to efficiently handle both static and dynamic tensor computations in attention-based models. Through detailed performance analysis, we demonstrate that ASTRA achieves at least 7.6 \u00d7 speedup and 1.3 \u00d7 lower energy consumption compared to state-of-the-art transformer accelerators.<\/jats:p>","DOI":"10.1145\/3769092","type":"journal-article","created":{"date-parts":[[2025,9,22]],"date-time":"2025-09-22T11:33:20Z","timestamp":1758540800000},"page":"1-24","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["ASTRA: A Stochastic Transformer Neural Network Accelerator with Silicon Photonics"],"prefix":"10.1145","volume":"25","author":[{"ORCID":"https:\/\/orcid.org\/0009-0006-0376-8754","authenticated-orcid":false,"given":"Salma","family":"Afifi","sequence":"first","affiliation":[{"name":"Colorado State University","place":["Fort Collins, United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8059-3824","authenticated-orcid":false,"given":"Oluwaseun","family":"Alo","sequence":"additional","affiliation":[{"name":"University of Kentucky","place":["Lexington, United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7289-1530","authenticated-orcid":false,"given":"Ishan","family":"Thakkar","sequence":"additional","affiliation":[{"name":"University of Kentucky","place":["Lexington, United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0846-0066","authenticated-orcid":false,"given":"Sudeep","family":"Pasricha","sequence":"additional","affiliation":[{"name":"Colorado State University","place":["Fort Collins, United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,1,7]]},"reference":[{"key":"e_1_3_1_2_2","volume-title":"Proceedings of the Advances in Neural Information Processing Systems","author":"Vaswani A.","year":"2017","unstructured":"A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. 2017. Attention is all you need. In Proceedings of the Advances in Neural Information Processing Systems."},{"key":"e_1_3_1_3_2","unstructured":"J. Devlin M. W. Chang K. Lee and K. Toutanova. 2018. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies Volume 1 (Long and Short Papers). 4171--4186."},{"key":"e_1_3_1_4_2","unstructured":"J. Achiam S. Adler S. Agarwal L. Ahmad I. Akkaya F. L. Aleman D. Almeida J. Altenschmidt S. Altman S. Anadkat and R. Avila. 2023. Gpt-4 technical report. arXiv:2303.08774. Retrieved from https:\/\/arxiv.org\/abs\/2303.08774"},{"key":"e_1_3_1_5_2","article-title":"An image is worth 16x16 words: Transformers for image recognition at scale","author":"Dosovitskiy A.","year":"2020","unstructured":"A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, and J. Uszkoreit. 2020. An image is worth 16x16 words: Transformers for image recognition at scale. ICLR, Oct. 2020.","journal-title":"ICLR"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1109\/SOCC49529.2020.9524802"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICCAD51958.2021.9643586"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA53966.2022.00082"},{"key":"e_1_3_1_9_2","article-title":"Hardware accelerator for multi-head attention and position-wise feed-forward in the transformer","author":"Siyuan L.","year":"2020","unstructured":"L. Siyuan, M. Wang, S. Liang, J. Lin, and Z. Wang. 2020. Hardware accelerator for multi-head attention and position-wise feed-forward in the transformer. In 2020 IEEE 33rd International System-on-Chip Conference (SOCC). IEEE, 84--89.","journal-title":"2020 IEEE 33rd International System-on-Chip Conference (SOCC)"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1126\/science.aam9744"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC18074.2021.9586161"},{"key":"e_1_3_1_12_2","article-title":"Digital Electronics and Analog Photonics for Convolutional Neural Networks (DEAP-CNNs)","author":"Bangari V.","year":"2020","unstructured":"V. Bangari, B. A. Marquez, H. Miller, A. N. Tait, M. A. Nahmias, T. F. De Lima, H. T. Peng, P. R. Prucnal, and B. J. Shastri. 2020. Digital Electronics and Analog Photonics for Convolutional Neural Networks (DEAP-CNNs). IEEE JQE, 2020.","journal-title":"IEEE JQE"},{"key":"e_1_3_1_13_2","volume-title":"IEEE Computer Society Annual Symposium on VLSI (ISVLSI)","unstructured":"F. Sunny, M. Nikdast, and S. Pasricha. 2020. Reclight: A recurrent neural network accelerator with integrated silicon photonics. IEEE Computer Society Annual Symposium on VLSI (ISVLSI)."},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/3609097"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1109\/HPCA57654.2024.00059"},{"key":"e_1_3_1_16_2","volume-title":"Proceedings of the Great Lakes Symposium on VlSI","author":"Afifi S.","year":"2023","unstructured":"S. Afifi, F. Sunny, M. Nikdast, and S. Pasricha. 2023. Tron: Transformer neural network acceleration with non-coherent silicon photonics. Proceedings of the Great Lakes Symposium on VlSI."},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.23919\/DATE64628.2025.10993109"},{"key":"e_1_3_1_18_2","article-title":"Albert: A lite bert for self-supervised learning of language representations","author":"Lan Z.","year":"2019","unstructured":"Z. Lan, M. Chen, S. Goodman, K. Gimpel, P. Sharma, and R. Soricut. 2019. Albert: A lite bert for self-supervised learning of language representations. ICLR, (Sep. 2019).","journal-title":"ICLR"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO.2018.00062"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2024.3446719"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1109\/IPDPS54959.2023.00061"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA45697.2020.00040"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.23919\/DATE58400.2024.10546653"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISQED57927.2023.10129297"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISVLSI51109.2021.00045"},{"key":"e_1_3_1_26_2","article-title":"\u03bb-Size ITO and Graphene-Based Electro-Optic Modulators on SOI","author":"Ye C.","year":"2014","unstructured":"C. Ye, S. Khan, Z. R. Li, E. Simsek, and V. J. Sorger. 2014. \u03bb-Size ITO and Graphene-Based Electro-Optic Modulators on SOI. IEEE Journal of Selected Topics in Quantum Electronics 20, 4 (2014), 40--49.","journal-title":"IEEE Journal of Selected Topics in Quantum Electronics"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1364\/OE.27.005181"},{"key":"e_1_3_1_28_2","unstructured":"\u201cPic design and simulation software- lumerical interconnect \u201d Apr 2021. [Online]. Retrieved January 10 2025 from https:\/\/www.lumerical.com\/products\/interconnect\/"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1515\/nanoph-2022-0441"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISQED57927.2023.10129294"},{"key":"e_1_3_1_31_2","doi-asserted-by":"crossref","unstructured":"A. Sludds S. Bandyopadhyay Z. Chen Z. Zhong J. Cochrane L. Bernstein D. Bunandar P. B. Dixon S. A. Hamilton M. Streshinsky and A. Novack. 2022. Delocalized photonic deep learning on the inter net's edge. Science 378 6617 (2022) 270--276.","DOI":"10.1126\/science.abq8271"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1063\/5.0070992"},{"key":"e_1_3_1_33_2","article-title":"Photonic reconfigurable accelerators for efficient inference of CNNs with mixed-sized tensors","author":"Vatsavai S. S.","year":"2022","unstructured":"S. S. Vatsavai and I. G. Thakkar. 2022. Photonic reconfigurable accelerators for efficient inference of CNNs with mixed-sized tensors. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 41, 11 (2022), 4337--4348.","journal-title":"IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems"},{"key":"e_1_3_1_34_2","unstructured":"Lightelligence [Online]: Retrieved November 15 2024 from https:\/\/www.lightelligence.ai\/"},{"key":"e_1_3_1_35_2","unstructured":"Lightmatter [Online]: Retrieved November 15 2024 from https:\/\/lightmatter.co"},{"key":"e_1_3_1_36_2","unstructured":"Luminous [Online]: Retrieved November 15 2024 from https:\/\/www.luminous.com"},{"key":"e_1_3_1_37_2","unstructured":"Cognifiber [Online]: Retrieved November 15 2024 from https:\/\/www.cognifiber.com\/"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1515\/nanoph-2022-0049"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1364\/OL.29.001623"},{"key":"e_1_3_1_40_2","article-title":"A polymorphic electro-optic logic gate for high-speed reconfigurable computing circuits","author":"Praneeth Karempudi V. S.","year":"2023","unstructured":"V. S. Praneeth Karempudi, S. Sri Vatsavai, I. Thakkar, and J. T. Hastings. 2023. A polymorphic electro-optic logic gate for high-speed reconfigurable computing circuits. ISQED (2023), 1--8.","journal-title":"ISQED"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1038\/s41566-023-01244-7"},{"key":"e_1_3_1_42_2","unstructured":"HP Labs: CACTI. [Online]: Retrieved from https:\/\/github.com\/HewlettPackard\/cacti. Access date: 10\/1\/2025."},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1109\/JLT.2017.2757945"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1109\/VLSICircuits18222.2020.9163064"},{"key":"e_1_3_1_45_2","unstructured":"H. Xi C. Li J. Chen and J. Zhu. 2023. Training transformers with 4-bit integers. Advances in Neural Information Processing Systems (2023) 49146--49168."},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC56929.2023.10247913"},{"key":"e_1_3_1_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3459009"}],"container-title":["ACM Transactions on Embedded Computing Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3769092","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,7]],"date-time":"2026-01-07T15:59:02Z","timestamp":1767801542000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3769092"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,7]]},"references-count":46,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2026,1,31]]}},"alternative-id":["10.1145\/3769092"],"URL":"https:\/\/doi.org\/10.1145\/3769092","relation":{},"ISSN":["1539-9087","1558-3465"],"issn-type":[{"value":"1539-9087","type":"print"},{"value":"1558-3465","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,7]]},"assertion":[{"value":"2025-07-22","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-09-07","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-01-07","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}