因果机制约简:用于神经网络剪枝和抽象的机制替换
Causal Mechanism Reduction: Mechanism Replacement for Neural Network Pruning and Abstraction
AI总结:
研究神经网络哪些内部机制可替换以保持计算,引入因果机制约简框架,将训练网络视为因果模型,替换变量并编译成更小网络,推导统一目标,其特殊情况涵盖多种方法,还揭示不变性要求,实验表明该框架有优势。
摘要:
神经网络的哪些内部机制在保留其执行的计算时可以被替换?结构化剪枝要求更小的可部署网络;因果抽象要求与干预可交换的高级模型。我们引入因果机制约简(CMR),一个将训练好的网络视为确定性结构因果模型并通过保留变量的常数或仿射函数替换选定内部变量的框架。这些替换通过偏差和权重折叠精确编译成更小的密集网络,并诱导可通过互换干预测试的约简因果模型。我们推导了一个统一的二阶替换风险目标,其特殊情况恢复了均值替换、基于方差的剪枝(VBP)、对数似然扭曲评分和仿射神经元合并,以及一个将对数似然扭曲与互换干预一致性联系起来的基于余量的证书。该框架还揭示了一个基本不变性要求:功能相同的ReLU网络应诱导相同的约简。在精确的正缩放重新参数化下,VBP的保留集坍缩到机会水平重叠,而对数似然扭曲评分则完全不变。从经验上看,在ImageNet-100上对DeiT-Tiny进行匹配微调时,CMR变体与VBP具有竞争力;在不变性和互换测试中出现了更明显的分离,其中对数似然扭曲评分保留了保留集并持续提高了分布保真度。因此,CMR为剪枝、编译和因果抽象验证提供了一个共同的优化和验证目标。
英文摘要:
Which internal mechanisms of a neural network can be replaced while preserving the computation it performs? Structured pruning asks for smaller deployable networks; causal abstraction asks for high-level models that commute with interventions. We introduce causal mechanism reduction (CMR), a framework that treats a trained network as a deterministic structural causal model and replaces selected internal variables by constants or affine functions of retained variables. These replacements compile exactly into smaller dense networks by bias and weight folding, and induce reduced causal models testable with interchange interventions. We derive a unified second-order replacement-risk objective whose special cases recover mean replacement, variance-based pruning (VBP), logit-distortion scoring, and affine neuron merging, together with a margin-based certificate linking logit distortion to interchange-intervention agreement. The framework also exposes a basic invariance requirement: functionally identical ReLU networks should induce the same reduction. Under exact positive-scaling reparameterizations, VBP's kept set collapses to chance-level overlap while the logit-distortion score is exactly invariant. Empirically, CMR variants are competitive with VBP under matched fine-tuning of DeiT-Tiny on ImageNet-100; the clearer separation appears in the invariance and interchange tests, where the logit-distortion score preserves kept sets and consistently improves distributional fidelity. CMR thus gives pruning, compilation, and causal-abstraction verification a common object to optimize and verify.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。