Memristor-Based Circuit Implementation and Circuitry Optimized Algorithm for Mamba Language Network

记忆电阻器 计算机科学 网络分析 电子工程 算法 电气工程 工程类
作者
J. J. Zhang,Zheyuan Sheng,Huajun Sun,Chuanbo Zhu,Liangyu Chen,Zhenyu Hu,Xiangshui Miao
出处
期刊:IEEE Transactions on Circuits and Systems I-regular Papers [Institute of Electrical and Electronics Engineers]
卷期号:73 (1): 425-438 被引量:1
标识
DOI:10.1109/tcsi.2025.3584247
摘要

Language networks are crucial in artificial intelligence, with the novel Mamba architecture significantly reducing computations and consumption compared to the traditional transformer network. However, a full-circuit implementation of the Mamba network has not been proposed due to the complexity of computations and data storage. Additionally, optimized hardware-aware parallel algorithms for Mamba inference in circuits remain undeveloped. This work addresses these challenges by presenting a memristor-based full-circuit implementation of the Mamba network and introducing a computing-in-memory parallel-aware algorithm tailored for circuit-level inference. The implementation includes: 1) Standard 1T1M memristor crossbar and depthwise separable convolution memristor crossbar for different convolutions. 2) Computing-in-memory implicit latent state circuits for the computation and transition of latent states. 3) Functional circuits for SiLU activation, RMS normalization, and multi-layer multiply-accumulate operations. 4) Optimized algorithm and circuit implementation for hardware-aware inference, achieving parallel scanning and hardware awareness in circuits. The proposed circuit enables analog signal computations and eliminates redundant analog-to-digital conversions and intermediate storage. A basic single-sentence generation task was simulated in PSPICE, validating the circuit’s correctness. Analyses of analog computation accuracy, circuit stability, and power consumption demonstrate the proposed circuit’s advantages, highlighting its potential as a fundamental module for large-scale circuit integration and complex text generation tasks.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
NexusExplorer的应助被Firsterchao采纳,获得30
1秒前
shuangshuang完成签到,获得积分10
1秒前
悦耳的涫发布了新的文献求助10
1秒前
223老师发布了新的文献求助10
2秒前
2秒前
2秒前
Monica发布了新的文献求助10
2秒前
空人有情发布了新的文献求助10
3秒前
铮铮铁骨完成签到,获得积分10
3秒前
研友_VZG7GZ的应助被1028181661采纳,获得10
4秒前
4秒前
xushanqi完成签到,获得积分10
4秒前
5秒前
万能图书馆的应助被qingsan采纳,获得10
5秒前
6秒前
6秒前
6秒前
朱春阳发布了新的文献求助10
7秒前
9秒前
mx发布了新的文献求助10
9秒前
yan完成签到,获得积分10
10秒前
丘比特的应助被和谐归尘采纳,获得10
10秒前
Joel发布了新的文献求助10
10秒前
克灵杰完成签到,获得积分10
11秒前
CipherSage的应助被223老师采纳,获得10
11秒前
12秒前
12秒前
喵喵喵完成签到,获得积分10
12秒前
沛公帐下左将军樊哙完成签到,获得积分10
12秒前
13秒前
13秒前
14秒前
e00ec发布了新的文献求助10
14秒前
14秒前
15秒前
zz完成签到,获得积分10
15秒前
星辰大海的应助被忧虑的海豚采纳,获得10
16秒前
迅速迎南完成签到,获得积分10
16秒前
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of Sport Coaching Research 1000
突发性耳聋患者听觉障碍相关症状群管理的最佳证据总结 500
Orthognathic Surgery - 2 Volume Set 500
Sex, Aging, and Death in a Medieval Medical Compendium: Trinity College Cambridge MS R.14.52, Its Texts, Language, and Scribe 450
Approaches to Qualitative Research 400
改訂11版 化学・バイオ特許の出願戦略 全文 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8206605
求助须知:如何正确求助?哪些是违规求助? 9589993
关于积分的说明 21925904
捐赠科研通 7810876
什么是DOI,文献DOI怎么找? 3441674
关于科研通互助平台的介绍 2563922
邀请新用户注册赠送积分活动 2489219