Abstract
Flexible electronics, coupled with artificial intelligence, hold the potential to revolutionize robotics, wearable and healthcare devices1, human–machine interfaces2, and other emerging applications3,4. However, the development of flexible computing hardware that can efficiently execute neural-network-inference tasks using parallel computing remains a substantial challenge5. Here we present FLEXI, a thin, lightweight and robust flexible digital artificial intelligence integrated circuit to address this challenge. Our approach uses process-circuit-algorithm co-optimization and a digital dynamically reconfigurable compute-in-memory architecture. Key features include clock frequency operation of up to 12.5 MHz and power consumption as low as 2.52 mW, all while achieving subdollar-per-unit cost and an operational circuit yield of between approximately 70% and 92%. Our circuits can perform 1010 fixed and random multiplications without error, withstand over 40,000 bending cycles and maintain stable performance for a period exceeding 6 months. A one-shot on-chip neural network deployment eliminates the power consumption and latency associated with sequential weight writing, achieving up to 99.2% accuracy in temporal arrhythmia detection tasks on a single 1-kb chip. In addition, FLEXI demonstrates over 97.4% accuracy in human daily activity monitoring using multimodal physiological signals.
This is a preview of subscription content, access via your institution
Access options
Access Nature and 54 other Nature Portfolio journals
Get Nature+, our best-value online-access subscription
$32.99 / 30 days
cancel any time
Subscribe to this journal
Receive 51 print issues and online access
$199.00 per year
only $3.90 per issue
Buy this article
- Purchase on SpringerLink
- Instant access to the full article PDF.
USD 39.95
Prices may be subject to local taxes which are calculated during checkout




Similar content being viewed by others
Data availability
The data that support the plots within this paper and other finding of this study are available via Zenodo at https://doi.org/10.5281/zenodo.14268923 (ref. 51).
Code availability
The code that supports the plots within this paper and other finding of this study is available via GitHub at https://github.com/Adai2020/FLEXI.
References
Takeda, Y. et al. Fabrication of ultra-thin printed organic TFT CMOS logic circuits optimized for low-voltage wearable sensor applications. Sci. Rep. 6, 25714 (2016).
Musk, E. An integrated brain-machine interface platform with thousands of channels. J. Med. Internet Res. 21, e16194 (2019).
McGlynn, E. et al. The future of neuroscience: flexible and wireless implantable neural electronics. Adv. Sci. 8, 2002693 (2021).
Zhan, Y., Mei, Y. & Zheng, L. Materials capability and device performance in flexible electronics for the Internet of Things. J. Mater. Chem. C 2, 1220–1232 (2014).
Khan, A. I., Keshavarzi, A. & Datta, S. The future of ferroelectric field-effect transistor technology. Nat. Electron. 3, 588–597 (2020).
Liu, Z. et al. A three-dimensionally architected electronic skin mimicking human mechanosensation. Science 384, 987–994 (2024).
Jung, Y. H. et al. A wireless haptic interface for programmable patterns of touch across large areas of the skin. Nat. Electron. 5, 374–385 (2022).
Jiang, Y. et al. A universal interface for plug-and-play assembly of stretchable devices. Nature 614, 456–462 (2023).
He, J. et al. Scalable production of high-performing woven lithium-ion fibre batteries. Nature 597, 57–63 (2021).
Shi, R. et al. An integrated analog front-end system on flexible substrate for the acquisition of bio-potential signals. Adv. Sci. 10, 2207683 (2023).
Papadopoulos, N. et al. Touchscreen tags based on thin-film electronics for the Internet of Everything. Nat. Electron. 2, 606–611 (2019).
Wang, W. et al. Neuromorphic sensorimotor loop embodied by monolithically integrated, low-voltage, soft e-skin. Science 380, 735–742 (2023).
Dembo, H. et al. RFCPUs on glass and plastic substrates fabricated by TFT transfer technology. In IEEE International Electron Devices Meeting (IEDM) 125–127 (IEEE, 2005).
Karaki, N. et al. A flexible 8b asynchronous microprocessor based on low-temperature poly-silicon TFT technology. In IEEE International Solid-State Circuits Conference (ISSCC) 272–589 (IEEE, 2005).
Kurokawa, Y. et al. UHF RFCPUs on flexible and glass substrates for secure RFID systems. IEEE J. Solid State Circuit 43, 292–299 (2008).
Geng, D. et al. Thin-film transistors for large-area electronics. Nat. Electron. 6, 963–972 (2023).
Yan, A. et al. Thin-film transistors for integrated circuits: fundamentals and recent progress. Adv. Funct. Mater. 34, 2304409 (2024).
Biggs, J. et al. A natively flexible 32-bit Arm microprocessor. Nature 595, 532–536 (2021).
Celiker, H., Dehaene, W. & Myny, K. Multi-project wafers for flexible thin-film electronics by independent foundries. Nature 629, 335–340 (2024).
Ozer, E. et al. Bendable non-silicon RISC-V microprocessor. Nature 634, 341–346 (2024).
Ozer, E. et al. A hardwired machine learning processing engine fabricated with submicron metal-oxide thin-film transistors on a flexible substrate. Nat. Electron. 3, 419–425 (2020).
Ozer, E. et al. Malodour classification with low-cost flexible electronics. Nat. Commun. 14, 777 (2023).
Si, J. et al. A carbon-nanotube-based tensor processing unit. Nat. Electron. 7, 684–693 (2024).
Liu, J. et al. TFT-based near-sensor in-memory computing: circuits and architecture perspectives of large-area eDRAM and ROM CiM chips. IEEE Trans. Circuits Syst. I 71, 620–633 (2024).
Tang, W. et al. Low-power and scalable BEOL-compatible IGZO TFT eDRAM-based charge-domain computing. IEEE Trans. Circuits Syst. I 70, 5166–5179 (2023).
Sun, Z. et al. A full spectrum of computing-in-memory technologies. Nat. Electron. 6, 823–835 (2023).
Grossar, E., Stucchi, M., Maex, K. & Dehaene, W. Read stability and write-ability analysis of SRAM cells for nanometer technologies. IEEE J. Solid State Circuit 41, 2577–2588 (2006).
Liu, A. et al. Selenium-alloyed tellurium oxide for amorphous p-channel transistors. Nature 629, 798–802 (2024).
Myny, K. The development of flexible integrated circuits based on thin-film transistors. Nat. Electron. 1, 30–39 (2018).
Shulaker, M. et al. Carbon nanotube computer. Nature 501, 526–530 (2013).
Hills, G. et al. Modern microprocessor built from complementary carbon nanotube transistors. Nature 572, 595–602 (2019).
Shen, Y., Liu, X., Guo, X., Zhang, W. & Zhu, X. The back-channel effect in low temperature poly-Si thin film transistors. In SID Symposium Digest of Technical Papers 1418–1420 (IEEE, 2024).
Yan, B. et al. A 1.041-Mb/mm2 27.38-TOPS/W signed-INT8 dynamic-logic-based ADC-less SRAM compute-in-memory macro in 28nm with reconfigurable bitwise operation for AI and embedded applications. In IEEE International Solid-State Circuits Conference (ISSCC) 188–190 (IEEE, 2022).
Moody, G. & Mark, R. The impact of the MIT-BIH arrhythmia database. IEEE Eng. Med. Biol. Mag. 20, 45–50 (2001).
Zhong, Y. et al. A memristor-based analogue reservoir computing system for real-time and power-efficient signal processing. Nat. Electron. 5, 672–681 (2022).
Howard, A. G. Mobilenets: efficient convolutional neural networks for mobile vision applications. Preprint at https://arxiv.org/abs/1704.04861 (2017).
Iandola, F. N. SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5 MB model size. Preprint at https://arxiv.org/abs/1602.07360 (2016).
Xu, C. et al. Depth-based subgraph convolutional neural networks. In 2018 24th International Conference on Pattern Recognition (ICPR) 1024–1029 (IEEE, 2018).
Chollet, F. Xception: deep learning with depthwise separable convolutions. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 1251–1258 (IEEE, 2017).
Lin, M., Chen, Q., & Yan, S. Network in network. In 2nd International Conference on Learning Representations (ICLR, 2014).
Krizhevsky, A., Sutskever, I. & Hinton, G. ImageNet classification with deep convolutional neural networks. Commun. ACM 60, 84–90 (2017).
Jacob, B. et al. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2704–2713 (IEEE, 2018).
Hubara, I., Courbariaux, M., Soudry, D., El-Yaniv, R. & Bengio, Y. Quantized neural networks: training neural networks with low precision weights and activations. J. Mach. Learn. Res. 18, 187 (2018).
Bergstra, J., Bardenet, R., Bengio, Y. & Kégl, B. Algorithms for hyper-parameter optimization. Adv. Neural Inf. Process. Syst. 24, 2546–2554 (2011).
Absel, K., Manuel, L. & Kavitha, R. Low-power dual dynamic node pulsed hybrid flip-flop featuring efficient embedded logic. IEEE Trans. VLSI Syst. 21, 1693–1704 (2013).
Celiker, H., Sou, A., Cobb, B., Dehaene, W. & Myny, K. Flex6502: a flexible 8b microprocessor in 0.8mum metal-oxide thin-film transistor technology implemented with a complete digital design flow running complex assembly code. In IEEE International Solid-State Circuits Conference (ISSCC) 272–274 (IEEE, 2022).
Myny, K. et al. An 8-bit, 40-instructions-per-second organic microprocessor on plastic foil. IEEE J. Solid State Circuit 47, 284–291 (2012).
Bleier, N. et al. FlexiCores: low footprint, high yield, field reprogrammable flexible microprocessors. In 49th IEEE/ACM Annual International Symposium on Computer Architecture (ISCA) 831–846 (IEEE, 2022).
Myny, K. et al. 8b thin-film microprocessor using a hybrid oxide-organic complementary technology with inkjet-printed P2ROM memory. In IEEE International Solid-State Circuits Conference Digest of Technical Papers (ISSCC) 486–487 (IEEE, 2014).
Ozer, E. et al. Binary neural network as a flexible integrated circuit for odour classification. In 2nd IEEE International Conference on Flexible and Printable Sensors and Systems (FLEPS) 1–4 (IEEE, 2020).
Shen, P. A flexible all-digital compute-in-memory AI chip for edge-computing. Zenodo https://doi.org/10.5281/zenodo.14268923 (2024).
Acknowledgements
This work is supported in part by the National Key R&D Program of China (2022YFB3204100 and 2021YFC3002200), in part by the National Natural Science Foundation of China (U20A20168, U25A6021, 92580209, 51861145202, 92364102 and 92264201), in part by QYJS-2022-1600-B, in part by the Beijing National Research Center Youth Innovation Foundation (BNR2024RC01002), and in part by Beijing Nova Program. We thank the support from JCCDFSIT and STIC. The study protocol was thoroughly reviewed and approved by the ethical committee of Tsinghua University (project number THU01-20240160), and informed consent was obtained from all participants for all experiments. We thank L. Q. Tao, J. Pan and J. J. Yin for their suggestions during the revision of this article.
Author information
Authors and Affiliations
Contributions
T.-L.R., H.L. and B.Y. conceived of the concept and supervised the project. A.Y., J.Y. Y.F., P.S., H.L and B.Y. designed the chip architecture and circuits. A.Y. and J.Y. implemented physical layout of the chip. X.X. and F.Q. supervised the fabrication process, flexible PCB bonding and stability tests. A.Y., J.Y. E.Z., J.S. and Z.H. developed the test system. A.Y., J.Y., P.S., E.Z., J.S. and Z.P. developed the software tool chain, implemented the AI models on the chip and conducted all chip measurements. A.Y., J.Y., E.Z., J.S., Q.Z., D.L., Z.H. and Y.D. contributed to the test and analysis of chips. A.Y., Q.Z., J.S., X.L., Z.P. and H.L. conducted the data collection, data preprocess and interpretation of daily activities. Y.Y. and T.S. provided guidance on chip testing and text modification. All authors contributed to the writing and editing of the paper.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature thanks Antony Sou and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data figures and tables
Extended Data Fig. 1 Microscopic images of metal interconnections and a CMOS inverter.
a, Cross-sectional SEM image of the metallization layers (scalable to 5 metallization layers) and dielectric layers. M1 and M3 serve as the gate and source/drain metals of the TFT, respectively. b, Cross-sectional SEM images of an LTPS-TFT inverter and TEM image of the gate stacks with corresponding energy-dispersive spectroscopy (EDS). The cross-sectional TEM image and corresponding EDS analysis reveal well-defined multilayer gate stacks and uniform elemental distributions, contributing to the high mobility, excellent reliability, and large-scale uniformity of TFT chips. Scale bars, 1 μm (a); 2 μm (b, top inset); and 300 nm (b, bottom inset).
Extended Data Fig. 2 Equivalent circuit diagrams of FLEXI in memory and compute modes and performance comparison of FLEXI chip family with varying capacities on standard benchmarks.
a, Memory mode: write. b, Memory mode: read. c, Compute mode. The memory mode activates one row to enable WDs and SAs for data writing and reading, while the compute mode activates one row per compartment, enabling parallel VMM execution. d, Standard benchmarks including MIT-BIH arrhythmia, the Modified National Institute of Standards and Technology (MNIST), Google Speech Command (GSC), and Fashion-MNIST (FMNIST). All accuracy data is provided in Supplementary Table 2.
Extended Data Fig. 3 Single-ended writing and reading performance of an SRAM cell, microscope image, circuit diagram, and truth table of an RLPU, and energy breakdown analysis of FLEXI-4 in compute mode.
a,b, Probing test (a) represents writing ‘1’ in BL, and test (b) represents writing ‘0’, indicating the single-ended writing and reading in SRAM. The BL is driven as input, and the BLB is monitored as output. The observation that BLB follows BL suggests that the SRAM cell exhibits reliable switching behavior with low latency, even under a single-ended write of 10 ns. c, Microscope image and circuit diagram of an RLPU. d, Truth table of an RLPU. e, Energy breakdown of FLEXI-4 for a single multiplication at VDD = 5.5 V. Scale bars, 10 μm (c, top and bottom insets).
Extended Data Fig. 4 Data preprocessing pipeline of physiological data, equivalent reuse frequencies and distribution of weights deployed on FLEXI-1, and the confusion matrix of a four-channel 1D CNN.
a, Data preprocessing including filtering, peak detection, and smoothing. b, Equivalent reuse frequencies represent the square root of the computational time per bit of weight during a single on-chip inference. c, Distribution of weights visualizing the compute workload and allocation of weights. Weights computed more frequently are deployed in rows adjacent to the RLPU, where they exhibit better computational performance. d, Confusion matrix illustrating the classification accuracy for predicting each type of routine activity in the test set.
Supplementary information
Supplementary Information (download PDF )
Supplementary information providing extended descriptions of device performance, chip architecture, operation evaluation and system-level implementations supporting the findings presented in this work. This file contains Supplementary Notes 1–11, Figs. 1–47, Tables 1–10 and References.
Supplementary Data File 1 (download TXT )
This file contains the log of the endurance test performed using randomly generated input data. The log records more than 104 sets of hexadecimal random inputs applied to the FLEXI-4 chip. For each input set, the file documents the detailed computation counters and the corresponding timestamps for 106 multiplication operations.
Supplementary Video 1 (download MP4 )
Mechanical bending test of FLEXI-4. A FLEXI-4 chip was mounted on a bending mould with a bending radius of 1 mm and subjected to repeated bending between 0° and 180°. Both the bending mould and the automated bending system were supplied by Mars Testing Technology. The system also recorded the total number of bending cycles. The folding speed was maintained at 30–40 cycles per minute. The electrical performance of FLEXI-4 was measured before and after bending at VDD = 5 V, showing only minimal degradation.
Supplementary Video 2 (download MP4 )
Mechanical rolling test of FLEXI-1 on glass rods. A FLEXI-1 chip was repeatedly rolled around glass rods with small radii, down to 2 mm. In the video, the left panel shows the FLEXI-1 device connected to a testing PCB as it is wrapped and released on the glass rod. The right panel shows the testing program running on the testing PCB, which delivers a sequence of digital inputs to the chip. Each value is iteratively computed 10,000 times, and any resulting errors are automatically recorded. No computation errors were observed during the rolling process. Electrical measurements taken before and after rolling show only negligible variations, confirming the excellent operational stability of the FLEXI-1 chip.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Yan, A., Yan, J., Shen, P. et al. A flexible digital compute-in-memory chip for edge intelligence. Nature 649, 1165–1171 (2026). https://doi.org/10.1038/s41586-025-09931-x
Received:
Accepted:
Published:
Version of record:
Issue date:
DOI: https://doi.org/10.1038/s41586-025-09931-x


