Deep Bayesian active learning using in-memory computing hardware
Labeling data is a time-consuming, labor-intensive and costly procedure for many artificial intelligence tasks. Deep Bayesian active learning (DBAL) boosts labeling efficiency exponentially, substantially reducing costs. However, DBAL demands high-bandwidth data transfer and probabilistic computing, posing great challenges for conventional deterministic hardware. Here we propose a memristor stochastic gradient Langevin dynamics in situ learning method that uses the stochastic of memristor modulation to learn efficiency, enabling DBAL within the computation-in-memory (CIM) framework. To prove the feasibility and effectiveness of the proposed method, we implemented in-memory DBAL on a memristor-based stochastic CIM system and successfully demonstrated a robot's skill learning task. The inherent stochastic characteristics of memristors allow a four-layer memristor Bayesian deep neural network to efficiently identify and learn from uncertain samples. Compared with cutting-edge conventional complementary metal-oxide-semiconductor-based hardware implementation, the stochastic CIM system achieves a remarkable 44% boost in speed and could conserve 153 times more energy.
Authors
- Jianshi Tang (ORCID: https://orcid.org/0000-0001-8369-0067)
- Bin Gao (ORCID: https://orcid.org/0000-0002-2417-983X)
- Huaqiang Wu (ORCID: https://orcid.org/0000-0001-8359-7997)
- Qingtian Zhang (ORCID: https://orcid.org/0000-0003-2732-3419)
- Yudeng Lin (ORCID: https://orcid.org/0000-0002-0013-6245)
- He Qian (ORCID: https://orcid.org/0000-0003-4816-3717)
Institutions
- Tsinghua University (CN)
Publication Details
- Journal
- Nature Computational Science
- Published
- 2024-12-23
- DOI
- https://doi.org/10.1038/s43588-024-00744-y
- Citations
- 18
- Primary Topic
- Advanced Memory and Neural Computing
- Type
- article
- Field-Weighted Citation Impact
- 3.76
Funders
- National Natural Science Foundation of China
- China Postdoctoral Science Foundation
- Tsinghua University
- National Postdoctoral Program for Innovative Talents