剪枝、解释、评估:一种跨层译码器原生框架,用于通过特征归因实现高效的电路发现
Prune, Interpret, Evaluate: A Cross-Layer Transcoder-Native Framework for Efficient Circuit Discovery via Feature Attribution
AI总结:
本文提出PIE框架,通过先剪枝后解释的方法,结合特征归因修补和协同意识重排序,提升电路发现效率和解释质量。
摘要:
现有的特征解释流程通常在均匀采样的单元或完整特征集上操作,导致与目标行为无关的单元成本高昂。为解决此问题,我们引入了首个CLT原生端到端剪枝框架PIE,开创了先剪枝后解释的范式。PIE连接剪枝、自动解释和解释评估,建立了一个全面的基准环境,系统地测量剪枝下的行为保真度和下游可解释性。在该框架中,我们采用强相关性基线并提出特征归因修补(FAP),一种基于修补的归因方法,通过聚合梯度加权写入贡献来评分CLT特征。此外,我们引入FAP-Synergy,一种系统性的协同意识重排序过程。我们通过KL散度行为保留和FADE类度量在IOI和Doc-String数据集上评估剪枝,并在K∈{50, 100, 200, 400, 800}的预算约束下进行严格基准测试。我们的严格基准测试揭示了不同的操作区域:虽然基础FAP和适应基线在放松预算下表现稳健,但FAP-Synergy在高约束、严格预算区域表现优异。关键的是,我们展示了实际的“有效预算”优势:在IOI任务中,对于Llama-3.2-1B和Gemma-2-2B,FAP-Synergy在K=50时的功能保真度与基线电路在K=75时相当。由于下游评估成本与每个特征成线性关系,协同有效地使流程获得25个“免费”特征,实现K=75保真度的同时减少解释成本33%。
英文摘要:
Existing feature-interpretation pipelines typically operate on uniformly sampled units or exhaustive feature sets, incurring massive costs on units irrelevant to target behaviors. To address this, we introduce the first CLT-native end-to-end pruning framework, PIE, which pioneers the paradigm of pruning first and interpreting later. PIE connects Pruning, automatic Interpretation, and interpretation Evaluation, establishing a comprehensive benchmarking environment to systematically measure behavioral fidelity and downstream interpretability under pruning. Within this framework, we adapt strong relevance baselines and propose Feature Attribution Patching (FAP), a patch-grounded attribution method that scores CLT features by aggregating gradient-weighted write contributions. Furthermore, we introduce FAP-Synergy, a systematic synergy-aware reranking procedure. We evaluate pruning using KL-divergence behavior retention and assess interpretation quality with FADE-style metrics across IOI and Doc-String datasets. Across budget constraints of K in {50, 100, 200, 400, 800}, our rigorous benchmarking reveals distinct operational regimes: while base FAP and adapted baselines perform robustly at relaxed budgets, FAP-Synergy excels in highly constrained, strict-budget regimes. Crucially, we demonstrate a practical "Effective Budget" advantage: on the IOI task for both Llama-3.2-1B and Gemma-2-2B, FAP-Synergy at K=50 functionally matches the behavioral fidelity of baseline circuits at K=75. Because downstream evaluation costs scale linearly per feature, Synergy effectively grants the pipeline 25 "free" features, achieving K=75 fidelity while reducing interpretation costs by 33%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。