研究问题
常见叙述把伪特征视为‘比核心特征容易’,但容易的含义、相关强度 \(\lambda\) 和 feature complexity 如何共同改变 gradient descent dynamics 并不清楚。本文问:伪特征更简单或与标签更相关时,核心特征的收敛会怎样改变?网络内部是否形成相互分离的 core/spurious subnetworks? 第二个问题直接关系到 debiasing:若伪特征只在 early phase 短暂出现,JTT/SPARE 一类早期识别策略可能有效;若伪与核心学习阶段重叠,且伪权重在核心已学会后仍保留,这一假设就会失效。
模型与方法
作者构造 Boolean Spurious Features Dataset,把输入拆成互不重叠的 core coordinates \(x_{c}\)、spurious coordinates \(x_{s}\) 与无关 coordinates。标签由 balanced Boolean core function \(f_{c}\) 决定;以概率 \(\lambda\) 令 \(f_{s}\)(\(x_{s}\)) 与 \(f_{c}\)(\(x_{c}\)) 同号,以 1−\(\lambda\) 令两者异号。\(\lambda=0.5\) 表示无相关,\(\lambda\) 越接近 1 表示 confounder 越强。 复杂度通过 parity degree 或 staircase Fourier learning order 控制。实验测量模型输出与 \(f_{c}\)/\(f_{s}\) 的 correlation、从 hidden representation 线性解码出的 correlation、达到 0.95 core correlation 所需 epochs,以及单神经元权重轨迹。覆盖小型 MLP、CIFAR-MNIST Domino、Waterbirds,并比较随机初始化与 ImageNet 预训练。 理论部分聚焦 one-hidden-layer ReLU 学习 XOR/parity 的受控情形,在假定 core 与 spurious neuron groups 保持分离等条件下分析 margin/weight dynamics;它解释若 \(\lambda\) 较大,spurious weights 为什么不会在 core confident 后自动消失,以及平衡数据重训最后层为何能减弱它们。
核心结果与证据
Figure 3 显示核心特征达到 0.95 correlation 所需的训练时间随伪相关及复杂度变化;左侧 staircase 面板的 core degree 为 14,中间 parity 面板为 10,更简单的伪 parity 或 staircase 也更显著拖慢 core learning。左侧两面板每根柱来自 30 次重复,结果支持‘复杂度与相关强度共同控制收敛’而非只有相关强度。 Figure 2/4 的输出、解码和 neuron trajectories 表明网络会形成以 core coordinates 或 spurious coordinates 为主的两类子网络;但 staircase 与真实图像组合中,两种特征的学习阶段未必清晰分离。Figure 5 进一步显示低 \(\lambda\) 时伪 decoded correlation 可能回落,高 \(\lambda\) 时则持续保留。 Figure 6 的对照指出,依赖 early spurious spike 识别 minority examples 的 JTT/SPARE 在简单 parity 情形更成功,在复杂 staircase/Domino 上受限。Figure 7 与理论分析支持 balanced retraining 尤其在高 \(\lambda\)、core margin 较弱时降低 spurious margin;这是一项机制解释,不等于对所有真实数据的普遍最优保证。
Figure 3 · 图示为固定 core complexity 的代表面板;正文还扫描其他 degrees。
物理解读:The plot measures convergence time in the controlled Boolean setup, not an invariant real-dataset law.
来源:paper.pdf \(p\). 6, Figure 3
有效性与局限
合成数据刻意令 core 与 spurious coordinates 完全分离,并用 parity/staircase 的训练次序代表复杂度;真实特征可能共享像素、语义和因果路径,无法唯一拆成两个 Boolean functions。Domino/Waterbirds 是补充证据,但不足以校准这一抽象。 理论不是完整 end-to-end proof:作者明确假设部分未知 feature-learning 行为,尤其 core/spurious subnetworks 始终分离仍难严格证明。有限数据、optimizer、width/depth、pretraining 会改变动力学;附录也显示预训练模型对 \(\lambda\) 与伪复杂度更不敏感。 ‘spurious’由实验构造定义,并不意味着所有相关特征都应删除。约 2,500 GPU-hours 的大量扫描提高内部稳定性,但本卡未独立复现;0.95 threshold、hyperparameters 与选取的 decoder 仍可能影响时间尺度比较。
复现与资源
原文:https://arxiv.org/abs/2403.03375;代码:https://github.com/NayutaQiu/Boolean_Spurious。官方 \(v_{3}\) PDF SHA-256:ed62f3a36bd2179fe93b160892c6a8f915b6ab4586cc433161999c8a5a0bd20b。 最小复现可取 \(deg(f_{c})=10\),扫描 deg(\(f_{s}\)) 与 \(\lambda\),以同一优化步数训练 two-layer 100-neuron MLP;逐 epoch 保存 core/spurious output correlation、hidden linear probes 和每个 neuron 对两组 coordinates 的权重范数。需按 seed 报告达到 0.95 core correlation 的分布,并同时呈现不出现清晰 early spike 的 staircase case。Evidence status: full-text verified; no independent reproduction performed.
阅读指南
先看 Section 3 的数据生成与 Figure 1,再读 Figures 2–5 建立四项动力学结论;接着看 Figure 6 的 debiasing failure mode。理论阅读应先列出 Section 4 的分离假设,再判断结论哪些是实验观察、哪些由受控 XOR 模型推出。
← 上一篇 The training process of many deep networks explores the same low-dimensional manifold
下一篇 → Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
Discussion
评论与讨论
评论公开保存在 GitHub Discussions;阅读无需登录,发表评论需要 GitHub 账号。