使用TorchLens提取和可视化PyTorch模型的隐藏激活和计算图
JohnMark Taylor1, Nikolaus Kriegeskorte2
1Zuckerman Mind Brain Behavior Institute, Columbia University, 3227 Broadway, New York, NY, 10027, USA. johnmarkedwardtaylor@gmail.com.
Scientific reports
|September 1, 2023
概括
TorchLens是一个新的Python包,可以从PyTorch中的深度神经网络模型 (DNN) 中提取和表征隐藏层激活. 该工具提供了对DNN计算的全面分析,有助于人工智能和神经科学的研究.
科学领域:
- 人工智能的人工智能
- 计算神经科学是一种神经科学.
- 机器学习 机器学习
背景情况:
- 深度神经网络 (DNN) 对人工智能至关重要,并作为生物神经网络的模型.
- 了解DNN内部表示对于人工智能和神经科学研究至关重要.
- 目前的方法缺乏对DNN内部操作的全面提取和描述.
研究的目的:
- 介绍TorchLens,这是PyTorch的一个开源Python包.
- 允许DNN中隐藏层激活的详尽提取和表征.
- 促进对DNN内部计算和表示的更深入的理解.
主要方法:
- 开发了TorchLens,这是一个PyTorch模型的Python包.
- 实施了所有中间操作结果的详尽提取.
- 计算图形和元数据的集成直观可视化.
- 包括对激活精度的算法验证.
- 确保自动适用于各种PyTorch模型架构.
主要成果:
- TorchLens 详尽地提取所有中间操作,提供一个完整的计算图表记录.
- 该软件包可视化了计算图形,并提供了用于分析的元数据.
- 内置验证确保了提取的激活的准确性.
- TorchLens无适用于各种PyTorch模型,包括复杂的架构.
结论:
- TorchLens简化了DNN内部表示和操作的分析.
- 它是人工智能和神经科学研究人员的宝贵工具.
- 该套餐促进了模型开发,分析和深度学习教育.
更多相关视频
08:32Neurovascular Network Explorer 2.0: A Simple Tool for Exploring and Sharing a Database of Optogenetically-evoked Vasomotion in Mouse Cortex In Vivo
Published on: May 4, 2018
6.4K
12:49A Method for 3D Reconstruction and Virtual Reality Analysis of Glial and Neuronal Cells
Published on: September 28, 2019
12.8K
相关概念视频
Lampbrush Chromosomes
2.5K
2.5K
Vision
53.6K
Vision is the result of light being detected and transduced into neural signals by the retina of the eye. This information is then further analyzed and interpreted by the brain. First, light enters the front of the eye and is focused by the cornea and lens onto the retina—a thin sheet of neural tissue lining the back of the eye. Because of refraction through the convex lens of the eye, images are projected onto the retina upside-down and reversed.
53.6K
