ResNSC:为Transformer异构资源分配引入残差上下文的神经谱容量方法
Neural Spectral Capacity with Residual Context for Heterogeneous Resource Allocation within Transformers
研究者提出ResNSC,用规格推导的统计参考刻画累积残差更新,修正NSC对同一层配置重排给出相同评分的问题。配套的ResNSC-DP在资源预算下联合分配残差宽度与前馈宽度,在121M和374M预训练规模上,所选架构在FineWeb-Edu、WikiText-2和LAMBADA上的平均困惑度低于均匀、变宽和锥形分配。在LLaMA-7B剪枝中,八任务平均准确率较NSC提升3.28–5.46个百分点。
arXiv:2610.30823v1 Announce Type: new Abstract: Predicting relative trained performance from architectural specifications can guide design when training costs limit experimentation. Neural Spectral Capacity (NSC) provides such a heuristic, but scores projections independently and assigns identical scores to compatible reorderings of the same layer configurations. We introduce Residual-Aware Neural Spectral Capacity (ResNSC) for Transformers, using a specification-derived statistical reference for accumulated residual updates to determine the input and residual-state statistics in each projection's capacity calculation, while retaining additive evaluation without data or instantiated weights. When residual widths vary, earlier choices affect later scores, so we augment NSC's allocator (NSC-DP) with residual history beyond its layer-and-budget state. ResNSC-DP jointly allocates residual and feed-forward widths under a resource budget, with certified bounds on the best numerically evaluated ResNSC score within a specified finite candidate set. At the 121M and 374M pretraining scales, selected architectures achieve lower mean perplexity than uniform, variable-width, and tapered allocations on FineWeb-Edu, WikiText-2, and LAMBADA at comparable parameter budgets. In inherited-weight LLaMA-7B pruning using the LoNAS supernet, ResNSC-DP improves eight-task average accuracy over NSC by 3.28--5.46 percentage points across eight matched parameter budgets. Paired reversals preserve the projection shapes and NSC scores yet worsen performance in both settings, exposing performance differences hidden by position-independent scoring. The code for this work is available at https://github.com/Optima-CityU/neural-spectral-capacity.
来源:arXiv (AI + Vision + Imaging) · arxiv.org