关注Viz:对变压器的全球视野 关注
IEEE transactions on visualization and computer graphics
|October 26, 2023
概括
研究人员开发了AttentionViz,这是一个新的工具,通过检查联合查询键嵌入来可视化变压器自我注意力机制. 这种方法揭示了全球模式,增强了对变换器如何学习数据中的上下文关系的理解.
科学领域:
- 机器学习 机器学习
- 人工智能的人工智能
- 计算机视觉 计算机视觉
- 自然语言处理自然语言处理.
背景情况:
- 变压器模型是人工智能中广泛使用的强大的深度学习架构.
- 变压器中的自我注意力机制对于学习上下文关系至关重要,但仍然不太了解.
- 现有的注意力机制可视化技术在分析全球模式方面存在局限性.
研究的目的:
- 介绍一种新的可视化技术,以了解变压器模型中的自我注意力机制.
- 为了能够在多个输入序列中分析注意力的全球模式.
- 为研究人员提供一个工具,以更深入地了解变压器的可解释性.
主要方法:
- 开发了一种新的可视化方法,该方法基于在变压器中联合嵌入查询和关键向量.
- 创建了一个名为AttentionViz的交互式可视化工具 (http://attentionviz.com).
- 应用该技术来分析语言和视觉转换器模型中的注意力机制.
主要成果:
- 联合查询键嵌入可视化有效地捕获全球关注模式.
- 注意力Viz促进了对自我注意力机制的更全面的理解.
- 通过几个应用场景和积极的专家反来证明它的实用性.
结论:
- 拟议的可视化技术为理解变压器模型提供了显著的改进.
- 关注Viz为自我注意力中的查询键交互提供了新的见解.
- 这种方法提高了基于变压器的AI系统的可解释性和可靠性.
相关概念视频
Types Of Transformers
987
Transformers can provide desired voltages to a circuit by modifying the number of turns in the secondary windings.
If the ratio of the number of turns in the secondary winding to that of the primary winding is greater than one, then the transformer is said to be a step-up transformer. In a step-up transformer, the voltage at the secondary winding is greater than the voltage applied at the primary winding.
However, if this ratio is less than one, the transformer is said to be a step-down...
If the ratio of the number of turns in the secondary winding to that of the primary winding is greater than one, then the transformer is said to be a step-up transformer. In a step-up transformer, the voltage at the secondary winding is greater than the voltage applied at the primary winding.
However, if this ratio is less than one, the transformer is said to be a step-down...
987
Transformers
1.1K
A device that transforms voltages from one value to another using induction is called a transformer. A transformer consists of two separate coils, or windings, wrapped around the same soft iron core. However, they are electrically insulated from each other.
The iron core has a substantial relative permeability. Therefore, the magnetic field lines generated due to the current in one winding are almost entirely confined within the core, such that the same magnetic flux permeates each turn of both...
The iron core has a substantial relative permeability. Therefore, the magnetic field lines generated due to the current in one winding are almost entirely confined within the core, such that the same magnetic flux permeates each turn of both...
1.1K
Transformers in Distribution System
105
Transformers in distribution systems can be broadly categorized into distribution substation transformers and other distribution transformers. They are crucial for stepping down high transmission voltages to levels suitable for distribution and end-user applications.
Distribution substation transformers come in various ratings and typically use mineral oil for insulation and cooling. To prevent moisture and air from entering the oil, some transformers use an inert gas like nitrogen to fill the...
Distribution substation transformers come in various ratings and typically use mineral oil for insulation and cooling. To prevent moisture and air from entering the oil, some transformers use an inert gas like nitrogen to fill the...
105
The Ideal Transformer
407
In single-phase two-winding transformers, two windings are coiled around a magnetic core characterized by cross-sectional area A and magnetic permeability μ. A phasor current i1 enters the left winding while i2 exits the right winding, establishing the fundamental working of the transformer through electromagnetic principles.
Ampere's Law forms the basis of understanding the magnetic field within the transformer. It states that the integral of the magnetic field intensity's...
Ampere's Law forms the basis of understanding the magnetic field within the transformer. It states that the integral of the magnetic field intensity's...
407
Energy Losses in Transformers
883
In an ideal transformer, it is assumed that there are no energy losses, and, hence, all the power at the primary winding is transferred to the secondary winding. However, in reality, the transformers always have some energy losses, and, hence, the output power obtained at the secondary winding is less than the input power at the primary winding due to energy losses.
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the...
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the...
883
Transformers with Off-Nominal Turns Ratios
162
In scenarios involving parallel transformers with disparate ratings, developing per-unit models requires accommodating off-nominal turns ratios. This situation arises when the selected base voltages are not proportional to the transformer’s voltage ratings. Consider a transformer where the rated voltages are related by the term a. If the chosen voltage bases satisfy a relationship involving term b, term c is defined as the ratio of these bases. This ratio is then substituted into the...
162


