Paper: 2606.17037 Authors: Alper Yıldırım Categories: cs.CV, cs.AI, cs.LG

The Gap

Oppenheim and Lim (1981) showed that natural images are almost entirely identified by their Fourier phase; magnitude alone is nearly unrecognizable. This asymmetry is a known property of pixel-level structure, but nobody had asked whether it survives inside the hidden layers of trained classifiers. Prior work on feature importance used saliency maps, ablation, or linear probes – these are correlational, not causal. They tell you that a feature matters, but not which component (phase vs magnitude) carries the identity. The gap: no causal test for the phase/magnitude role within the network itself.

[Problem: Do hidden layers replicate image-level phase dominance?]
    |
    v
[Assumption: Phase/sign carries identity, magnitude is background]
    |
    v
[Method: Internal Oppenheim-Lim test - transplant phase of image A
         onto magnitude of image B at a chosen layer L]
    |
    v
[Evidence: In ViT, GFNet, PRISM2D -> prediction follows phase donor.
          In ResNet -> ReLU masks phase; need pre-ReLU intervention,
          then same result. Deleting image-specific magnitude barely drops accuracy.]
    |
    v
[Conclusion: Yes - all architectures share a phase/sign identity code.
            Differences arise from rectification and readout geometry,
            explaining the texture-shape gap between CNNs and attention models.]

The Increment

One sentence: Before this paper, we only knew that pixel-phase matters for images; now we know that the *same principle holds inside neural network representations, and the shape-vs-texture preference of different architectures is a side effect of how they expose the phase code.

Core Mechanism

The method is a causal intervention on hidden-layer activations. Pick any intermediate layer L. Given two input images, run the network up to L for each, obtaining two activation tensors. For each spatial location and channel, decompose into magnitude (absolute value) and phase (for complex representations like PRISM2D) or sign (for real-valued activations after ReLU). Now construct a hybrid tensor: take the phase/sign of image A and the magnitude of image B, combine them element-wise, and feed the result into the remaining layers (L+1 onward). Record which image the final prediction matches. If the prediction follows the phase donor, then phase/sign carries the identity at that layer. A stronger test: delete all image-specific magnitude by setting it to a constant (e.g., the layer-wide mean) and measure accuracy change.

[Input A] --- [Layer L extract] --- [Compute phase/sign(A)]
                                          |
                                          |   combine
                                          v
     [Input B] --- [Layer L extract] --- [Compute magnitude(B)] -> [Hybrid tensor]
                                                                        |
                                                                        v
                                                                  [Forward L+1..end]
                                                                        |
                                                                        v
                                                                  [Prediction -> follows A or B?]

Structural metaphor: Think of neural layer activations as a stage play. The phase/sign is the actor’s performance – the gestures, the tone, the timing. The magnitude is the scenery – the backdrop, the lighting levels. You can swap the scenery completely (set magnitude to a constant) and the audience still knows who’s on stage. But if you give the scenery from one play to a different actor (swap phase onto someone else’s magnitude), the audience will think they’re watching the actor’s play. In this paper, the “audience” is the network’s readout head, and the play is the classification. The surprising result: even in deep layers, the actor (phase/sign) alone tells the story; the scenery (magnitude) is near-irrelevant.

For ResNet, the ReLU activation acts like a mask that clips all negative “gestures” to zero, effectively hiding the actor’s expression. So you have to look before the mask (pre-ReLU), where the full sign code still exists. Once you do, ResNet behaves just like the others.

Key Concepts

  • Phase / Sign decomposition: For complex-valued representations (e.g., Fourier features in GFNet or PRISM2D), the phase is the complex argument. For real-valued activations, replace phase with the sign (positive/negative). The idea: sign preserves the *direction of deviation from the mean, while magnitude (absolute value) captures only how far from zero. The paper shows that sign carries almost all identity information; magnitude is just a global scale.

  • Causal intervention vs correlation: Earlier methods (saliency, probing) only show that a feature is *correlated with the output. By physically swapping components and seeing the prediction flip, this paper proves causation. If prediction follows phase, then phase is directly controlling the output – a much stronger statement.

  • The texture-shape gap: Convolutional networks (like ResNet) are biased toward texture; vision transformers (like ViT) toward shape. This paper provides a mechanistic account: both architectures encode identity in phase/sign, but ReLU in CNNs discards the sign of negative activations, forcing the readout to rely on a channel-wise spatial average (a DC component) that is more sensitive to texture-like statistics. Transformers keep the full sign, so they can exploit shape-correlated phase patterns.

Framework Shift

Before (mainstream approach):                       After (this paper):
+-----------------------------+                    +-------------------------------+
| Train model, freeze, then   |                    | Train model, decompose hidden  |
| use saliency / probing to   |                    | layer activations into phase   |
| infer which features matter |                    | and magnitude, then swap or    |
| (correlational)             |                    | delete magnitude (causal).     |
+-----------------------------+                    +-------------------------------+
| Result: "Feature X is       |                    | Result: "Phase/sign causes     |
| important for class Y."     |                    | identity; magnitude is         |
| No insight into *what       |                    | disposable. The texture-shape  |
| component* of the feature   |                    | gap is a byproduct of how      |
| carries identity.           |                    | different architectures expose |
+-----------------------------+                    | the same phase code."          |
                                                   +-------------------------------+

One sentence: From correlational feature scoring to causal component swapping, the core shift is disentangling phase from magnitude as the true causal carrier of identity.

Expert Assessment

Problem choice: Excellent – the Oppenheim-Lim phenomenon is a classic result in signal processing, and extending it to neural representations is both elegant and overdue. The gap is real, not manufactured.

Method maturity: Clever and minimal. No heavy machinery – just a decomposition and a swap. The authors resist the urge to over-engineer. However, a simpler approach (e.g., just zeroing out magnitude) would have been even cleaner; they did that as a control, which is good.

Experimental integrity: Fair baselines (including a DC-only control that rules out trivial magnitude independence). The ResNet nuance is correctly handled. One red flag: the paper tests only four architectures (PRISM2D, GFNet, ViT-B/16, ResNet-50). A broader sweep (ConvNeXt, MLP-Mixer, Swin) would strengthen the claim of universality.

Writing quality: Solid, but the abstract and introduction are dense; they assume familiarity with Fourier analysis and causal testing. The section on ResNet’s ReLU masking is the best-written part – clear and convincing. If I could rewrite one section, it would be the results: more space for tables showing accuracy after deletion vs after swap, and a clearer visual of the hybrid tensor construction.

Verdict: weak accept – A refreshing causal perspective on a classic question. The core discovery (phase dominance inside networks) is novel and mechanistically informative, even if the experimental scope is narrower than ideal.

Takeaways

  • Measurement technique: If you work on interpretability, adopt the phase/sign decomposition + swap as a standard tool for checking which component of a hidden representation carries semantics. It’s model-agnostic and cheap.
  • Design insight: If you want a model to use shape (like ViT), avoid nonlinearities that discard sign (e.g., ReLU). Consider using pre-activation gating or complex-valued layers to preserve phase information.
  • For practitioners in other domains (NLP, speech): The same decomposition applies to hidden states. You can test whether token-level phase (or sign) dominates task identity. This could reveal which architectures are optimal for tasks where phase patterns (e.g., word order, prosody) are critical.

论文: 2606.17037 作者: Alper Yıldırım 分类: cs.CV, cs.AI, cs.LG

缺口

Oppenheim和Lim(1981)证明自然图像的识别几乎完全由傅里叶相位决定;仅靠幅度几乎无法辨认。 这种不对称性是像素级结构的已知性质,但从未有人提问它是否在训练好的分类器的隐藏层中依然成立。 此前的特征重要性研究使用显著性图、消融或线性探针——这些都是相关性分析,而非因果分析。 它们告诉你某个特征 重要,但没说哪个分量(相位还是幅度)承载了身份信息。 缺口是:缺乏网络内部相位/幅度角色的因果测试。

[问题:隐藏层是否复现了图像级的相位主导性?]
    |
    v
[假设:相位/符号承载身份,幅度是背景]
    |
    v
[方法:内部Oppenheim-Lim测试——将图像A的相位移植到图像B的幅度上(选定层L)]
    |
    v
[证据:ViT、GFNet、PRISM2D -> 预测跟随相位捐赠者。
    ResNet -> ReLU掩盖了相位;需在ReLU前干预,
    然后得到相同结果。删除图像专属的幅度后准确率几乎不变。]
    |
    v
[结论:是的——所有架构共享相位/符号身份编码。
    差异源于整流操作和读出几何,解释了CNN与注意力模型之间的纹理-形状差距。]

增量

一句话: 这篇论文之前,我们只知道像素相位对图像重要;现在我们知道同样的原理在神经网络表示内部也成立,且不同架构的形状vs纹理偏好只是它们暴露相位编码方式的副作用。

核心机制

该方法是对隐藏层激活的因果干预。选择一个中间层L。给定两张输入图像,分别运行网络到L层,获得两个激活张量。对每个空间位置和通道,分解为幅度(绝对值)和相位(对于复数表示如PRISM2D)或符号(对于ReLU后的实数激活)。然后构造混合张量:取图像A的相位/符号与图像B的幅度,逐元素组合,将结果送入剩余层(L+1及以后)。记录最终预测匹配哪张图像。如果预测跟随相位捐赠者,则说明在该层相位/符号携带身份。更严格的测试:将所有图像专属的幅度设为常数(例如层内均值)并测量准确率变化。

[输入A] --- [提取L层] --- [计算相位/符号(A)]
                                |
                                |  合成
                                v
[输入B] --- [提取L层] --- [计算幅度(B)] -> [混合张量]
                                              |
                                              v
                                        [前向L+1..输出]
                                              |
                                              v
                                        [预测 -> 跟随A还是B?]

结构性比喻: 把神经网络层的激活想象成一场戏剧。相位/符号是演员的表演——手势、语调、节奏。幅度是舞台布景——背景、灯光亮度。你可以完全替换布景(将幅度设为常数),观众仍然知道舞台上是谁。但如果把一出戏的布景给另一个演员(把相位移植到别人的幅度上),观众会以为他们看的是原来演员的戏。在这篇论文里,“观众”是网络的读出头,“戏剧”是分类。令人惊讶的是:即使在深层,演员(相位/符号)独自就能讲述故事;布景(幅度)几乎无关紧要。

对于ResNet,ReLU激活就像一个面具,把所有负向“手势”剪裁为零,实际上隐藏了演员的表情。所以必须在面具之前(ReLU前)观察,那里完整的符号编码仍然存在。一旦这样做,ResNet就和其它模型表现一致。

关键概念

  • 相位/符号分解: 对于复数表示(如GFNet或PRISM2D的傅里叶特征),相位是复数的辐角。对于实数激活,用符号(正/负)替代相位。核心思想:符号保留了偏离均值的**方向*,而幅度(绝对值)只捕捉了距零多远。论文表明符号几乎携带了所有身份信息;幅度只是一个全局尺度。

  • 因果干预 vs 相关性: 此前的方法(显著性、探针)只能说明某个特征与输出**相关*。通过物理地交换分量并看到预测翻转,本文证明了因果关系。如果预测跟随相位,那么相位就直接控制了输出——这是一个强得多的声明。

  • 纹理-形状差距: 卷积网络(如ResNet)偏向纹理;视觉Transformer(如ViT)偏向形状。本文提供了一个机制性解释:两种架构都将身份编码在相位/符号中,但CNN中的ReLU丢弃了负激活的符号,迫使读出层依赖通道级的空间平均值(直流分量),这种分量对类似纹理的统计更敏感。Transformer保留了完整符号,因此可以利用与形状相关的相位模式。

框架转变

之前(主流方法):                      之后(本文方法):
+-----------------------------+      +-------------------------------+
| 训练模型,冻结,用显著性/        |      | 训练模型,将隐藏层激活分解为    |
| 探针推断哪些特征重要(相关分析) |      | 相位和幅度,然后交换或删除幅度  |
+-----------------------------+      | (因果)。                     |
| 结果:“特征X对类别Y重要”         |      +-------------------------------+
| 但没有关于特征“哪个分量”         |      | 结果:“相位/符号引起身份;     |
| 携带身份信息的洞察。            |      | 幅度可丢弃。纹理-形状差距     |
+-----------------------------+      | 是不同架构暴露相同相位编码     |
                                     | 的副产品。”                    |
                                     +-------------------------------+

一句话: 从 相关性的特征评分因果性的分量交换,核心转变是 将相位从幅度中解耦出来,作为身份的真正因果载体

专家评审

选题眼光: 优秀——Oppenheim-Lim现象是信号处理的经典结果,将其扩展到神经网络表示既优雅又有必要。缺口真实,非人造。

方法成熟度: 巧妙而极简。没有重型装备——只是一个分解加一次交换。作者克制了过度工程化的冲动。不过,一个更简单的方法(例如直接将幅度置零)会更干净;他们将其作为控制实验做了,这是好的。

实验诚意: 基线公平(包括DC-only控制,排除了幅度完全独立于图像的平凡情况)。ResNet的细节处理得当。一个值得警惕之处:论文只测试了四种架构(PRISM2D、GFNet、ViT-B/16、ResNet-50)。更广泛的覆盖(ConvNeXt、MLP-Mixer、Swin)将增强“普遍性”声明的力度。

写作功力: 扎实,但摘要和引言偏密集;假设读者熟悉傅里叶分析和因果测试。关于ResNet中ReLU掩蔽的部分写得最好——清晰且有说服力。如果让我重写一个部分,那会是结果部分:更多空间用于展示删除后和交换后的准确率表格,以及混合张量构造的更清晰可视化。

判决: 弱接收——对一个经典问题的因果视角焕然一新。核心发现(网络内部相位主导性)是新颖且具有机制性意义的,尽管实验范围比理想情况窄。

要点总结

  • 测量技术: 如果你做可解释性研究,采用相位/符号分解+交换作为检查隐藏表示哪个分量携带语义的标准工具。它模型无关且成本低。
  • 设计见解: 如果你希望模型使用形状(如ViT),避免丢弃符号的非线性(如ReLU)。考虑使用预激活门控或复数层来保留相位信息。
  • 对其他领域(NLP、语音)的实践者: 同样的分解适用于隐藏状态。你可以测试token级的相位(或符号)是否主导任务身份。这可能揭示哪些架构最适合相位模式(如词序、语调)至关重要的任务。