MarkTechPost@AI 2024年12月30日
CMU Researchers Introduce TNNGen: An AI Framework that Automates Design of Temporal Neural Networks (TNNs) from PyTorch Software Models to Post-Layout Netlists
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

卡内基梅隆大学的研究人员推出了TNNGen,一个统一且自动化的框架,用于设计基于时序神经网络(TNN)的神经形态感官处理单元(NSPU)。该框架整合了基于PyTorch的软件功能仿真和硬件生成,简化了TNN的设计流程。TNNGen通过PyTorch模拟器模拟尖峰时序动态,并通过硬件生成器自动化RTL生成和布局设计。它利用TNN7自定义宏和多种库,显著提升了仿真速度和物理设计效率。TNNGen在聚类精度和硬件效率方面表现出色,为高效神经形态系统的创建提供了可行方案,并为边缘AI应用提供了更具可扩展性和可用性的工具。

⚙️ TNNGen框架整合了软件仿真和硬件生成,将原本分离的TNN开发流程统一起来,大大简化了设计过程。

🚀 该框架利用PyTorch构建功能模拟器,支持灵活的TNN配置,并采用GPU加速和精确的尖峰时序建模,确保了仿真的速度和准确性。

💡 TNNGen的硬件生成器可以将PyTorch模型转换为优化的RTL和物理布局,并兼容多种技术节点,如FreePDK45和ASAP7,实现了自动化综合和布局布线。

📊 TNNGen在时间序列聚类任务中表现出与深度学习技术相当的性能,并显著降低了计算资源的利用率,同时在芯片面积和泄漏功率方面实现了优化。

⏱️ TNNGen还提供了全面的预测工具,可以准确估计硬件参数,使得研究人员无需进行物理硬件程序即可评估设计的可行性。

Designing neuromorphic sensory processing units (NSPUs) based on Temporal Neural Networks (TNNs) is a highly challenging task due to the reliance on manual, labor-intensive hardware development processes. TNNs have been identified as highly promising for real-time edge AI applications, mainly because they are energy-efficient and bio-inspired. However, available methodologies lack automation and are not very accessible. Consequently, the design process becomes complex, time-consuming, and requires specialized knowledge. It is through overcoming these challenges that one can unlock the full potential of TNNs for efficient and scalable processing of sensory signals. 

The current approaches to TNN development are fragmented workflows, as software simulations and hardware designs are handled separately. Advancements such as ASAP7 and TNN7 libraries made some aspects of hardware efficient but remain proprietary tools that require significant expertise. The fragmentation of the process restricts usability, prevents the easier exploration of design configurations with increased computational overhead, and can’t be used for more application-specific rapid prototyping or large-scale deployment purposes.

Researchers at Carnegie Mellon University introduce TNNGen, a unified and automated framework for designing TNN-based NSPUs. The innovation lies in the integration of software-based functional simulation with hardware generation in a single streamlined workflow. It combines a PyTorch-based simulator, modeling spike-timing dynamics and evaluating application-specific metrics, with a hardware generator that automates RTL generation and layout design using PyVerilog. Through the utilization of TNN7 custom macros and the integration of a variety of libraries, this framework realizes considerable enhancements in simulation velocity as well as physical design. Additionally, its predictive abilities facilitate precise forecasting of silicon metrics, thereby diminishing the dependency on computationally demanding EDA tools. 

TNNGen is organized around two principal elements. The functional simulator, constructed using PyTorch, accommodates adaptable TNN configurations, allowing for swift examination of various model architectures. It has GPU acceleration and accurate spike-timing modeling, thus ensuring high simulation speed and accuracy. The hardware generator converts PyTorch models into optimized RTL and physical layouts. Using libraries such as TNN7 and customized TCL scripts, it automates synthesis and place-and-route processes while being compatible with multiple technology nodes like FreePDK45 and ASAP7. 

TNNGen achieves excellent performance in both clustering accuracy and hardware efficiency. The TNN designs for time-series clustering tasks show competitive performance with the best deep-learning techniques while drastically reducing the utilization of computational resources. The approach brings major energy efficiency improvements, obtaining a reduction in die area and leakage power compared to conventional approaches. In addition, the runtime of the design is dramatically reduced, especially for larger designs, which benefit most from the optimized workflows. Moreover, the comprehensive forecasting instrument provides accurate estimations of hardware parameters, allowing researchers to evaluate design viability without the necessity of engaging in physical hardware procedures. Taken together, these findings position TNNGen as a viable approach for streamlining and expediting the creation of energy-efficient neuromorphic systems. 

TNNGen is the next step in the fully automated development of TNN-based NSPUs by unifying simulation and hardware generation into an accessible, efficient framework. The approach addressed key challenges in the manual design process and made this tool much more scalable and usable for edge AI applications. Future work would involve extending its capabilities toward support for more complex TNN architectures and a much wider range of applications to become a critical enabler of sustainable neuromorphic computing. 


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. Don’t Forget to join our 60k+ ML SubReddit.

Trending: LG AI Research Releases EXAONE 3.5: Three Open-Source Bilingual Frontier AI-level Models Delivering Unmatched Instruction Following and Long Context Understanding for Global Leadership in Generative AI Excellence….

The post CMU Researchers Introduce TNNGen: An AI Framework that Automates Design of Temporal Neural Networks (TNNs) from PyTorch Software Models to Post-Layout Netlists appeared first on MarkTechPost.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

TNNGen 时序神经网络 神经形态计算 自动化设计 边缘AI
相关文章