arXiv 论文解析深度网络如何在视觉与语言模型中共享编码并按条件选择性读取信息
How Do Deep Networks Encode and Selectively Use Information? Shared Encoding and Conditional Signed Readout in Vision and Language Models
搞机制可解释性的人可以看这篇,它把视觉分类器和 Qwen2.5 这类语言模型放在同一套框架下分析,方法做得很细,有拮抗单元衰减和剪枝恢复预测这类可复现的验证实验。做模型编辑或剪枝的工程师也能从中找到一些可操作的思路。
一篇发表于 arXiv 的研究探讨深度网络如何在内部表征中保留上下文信息,同时在决策时选择性使用。研究者通过对视觉分类器做背景纹理受控编辑,并在冻结的语言模型上做实体绑定编辑,发现因子扰动在预划分的互斥隐藏单元块中保持可识别结构:视觉通道块在同一纹理编辑下与同图互补块更匹配,语言块则能把在一种查询角色下拟合的关系方向迁移到另一角色下的留出名对上。
在机制层面,论文将局部输出变化分解为带符号的通道和路径贡献。卷积分类器中,通道级净增强(R^(512)>1)可在单张图像上与正负权重组之间的抵消(R^(2)<1)共存。在权重、配对关系编辑和红蓝答案词固定的条件下,切换提示呈现方式即可逆转 Qwen2.5 中的平均有限选择效应。
两项留出测试验证了该机制:衰减发育筛选出的拮抗单元会放大未见输入上的编辑效应;在视觉 transformer 中衰减同一组冻结单元,一类边距上背景编辑效应均值增大、另一类上减小(四格配对交互 +78.30×10⁻⁵ logit),第二组单元呈现相反模式。结合条件通道方差与固定下游读取权重,还能预测十次单通道剪枝后的恢复情况。
How Do Deep Networks Encode and Selectively Use Information? Shared Encoding and Conditional Signed Readout in Vision and Language Models
How can trained deep networks retain contextual information across internal representations while using it selectively in a decision? We study this question through controlled background-texture edits in vision classifiers and entity-binding edits in frozen language models. Across both modalities, factor perturbations preserve recognizable structure across pre-fixed, mutually disjoint blocks of hidden units: visual channel blocks match their complements more closely for the same image than for other images under the same texture edit, while language blocks transfer a relational direction fitted under one query role to rank relational states within held-out name pairs under the other role. We then decompose the local output change into signed channel and pathway contributions. In a convolutional classifier, net channel-level reinforcement ($R^{(512)}>1$) coexists on individual images with cancellation between positive- and negative-weight groups ($R^{(2)}<1$). Holding weights, the paired relation edit, and red/blue answer words fixed, switching prompt presentation reverses the mean finite selection effect in Qwen2.5. Two held-out tests validate this mechanism. Attenuating development-selected antagonistic units amplifies edit effects on unseen inputs; in a vision transformer, attenuating the same frozen units in one forward pass increases the mean magnitude of the background-edit effect on one class margin and reduces it on another, with the opposite pattern for a second group (four-cell paired interaction $+78.30\times 10^{-5}$ logit). Finally, combining conditional channel variance with fixed downstream readout weights predicts single-channel pruning recovery across ten cuts. These results show how shared encoding and conditional signed readout can coexist in vision and language models.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include interpretability, Qwen2.5, model editing.
Source attribution: curated from arXiv cs.LG (@Kaixiang Shu).