PostDeg:在LayerNorm GNN中位置胜过参数化
Placing Degree Scales After LayerNorm
AI总结:
发现LayerNorm会擦除拓扑信号,而后LayerNorm位置可保留信号;提出无参数的后LayerNorm逆度缩放PostDeg,在三个组合优化任务上提升显著,且四个证伪测试均未触发。
摘要:
基于LayerNorm的GNN通常会擦除节点选择策略应依赖的拓扑信号(度、中心性、$k$-核),但文献尚未定位擦除发生在残差块中的何处。我们回答了这个问题:在LayerNorm之前插入的正逐节点标量会被除以一个稳定项,而同一标量在LayerNorm之后插入会作为表示幅度到达分数头。幸存的位置是后LayerNorm位置。我们通过PostDeg实例化它,这是一种无参数的后LayerNorm逆度缩放,并预先注册了四个证伪器(图级标量、额外LayerNorm、表达能力相同的槽位、与骨干无关的来源),这些证伪器将拒绝该规则。PostDeg在影响力最大化、网络瓦解和最大独立集上比LN骨干分别提升$+3.5\%/+2.5\%/+5.6\%$,每个任务在10/10配对种子中获胜;四个证伪器均未触发。结论是,增益来自位置而非参数化——这是一个小的不变性检查,可推广到任何归一化残差堆栈中的任何正拓扑标量。
英文摘要:
Graph neural networks (GNNs) are widely used to learn node-selection policies on graphs, and most stack graph attention (GAT) blocks with LayerNorm. On degree-sensitive tasks, LayerNorm tends to remove the degree signal these models need to rank nodes. Much recent work addresses this by redesigning normalizers or aggregators, which changes what these components compute but does not ask where, relative to LayerNorm, a degree scale should be applied. In this paper, we show that the answer follows from a single algebraic fact about LayerNorm. When a positive per-node scale is applied before LayerNorm, LayerNorm divides it out, and it never reaches the model's output. Applied after LayerNorm, the same scale comes through and reaches the score head as magnitude. From this placement rule we derive PostDeg, a parameter-free inverse-degree scale that we add as the single change to a fixed GAT backbone. PostDeg multiplies each node's normalized representation by an inverse function of its degree, and we compare it against controls in the same position. At every evaluation size, PostDeg improves over the LayerNorm backbone on influence maximization, network dismantling, and maximum independent set, and these controls show where the improvement comes from. The same scale before LayerNorm stays at the backbone, as the absorption identity predicts, and a constant scale after LayerNorm stays there too on all but the most heavy-tailed graphs, so the effect needs both the position after LayerNorm and a degree-dependent scale. The exact form of the scale matters much less, so we recommend PostDeg, which needs no tuning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。