arXiv:2512.04198cs.LGcs.AI2025-12

让神经网络在不损失性能的前提下,逐步替换为另一种架构。

Network of Theseus (like the ship)

  • 用表示相似性度量逐步替换网络组件,保持性能不变
  • 可将卷积网络转为全连接网,或GPT-2转为RNN
  • 适合追求高效部署或探索新架构的研究者

深度学习中普遍假设神经网络的归纳偏置需从训练到推理保持一致,即所训练的架构就是所部署的架构。这一假设限制了对具有理想效率或设计特性的架构的选择,因优化困难而难以实现。本文提出网络忒修斯(NoT),一种可逐步将训练过的(甚至未训练的)引导网络架构逐部分转换为完全不同的目标架构的方法,同时保持原网络性能。每一步通过表示相似性度量对齐引导网络组件与目标架构模块。该过程在大规模架构变换下仍能基本保留功能,例如将卷积网络转化为多层感知机,或将GPT-2转化为循环神经网络。通过解耦优化与部署,NoT扩展了可行推理架构空间,为更优的精度-效率权衡提供可能,并支持对架构设计空间的更定向探索。

原文摘要 · Abstract (English)

A standard assumption in deep learning is that the inductive bias introduced by a neural network architecture must persist from training through inference. The architecture you train with is the architecture you deploy. This assumption constrains the community from selecting architectures that may have desirable efficiency or design properties due to difficulties with optimization. We challenge this assumption with Network of Theseus (NoT), a method for progressively converting a trained, or even untrained, guide network architecture part-by-part into an entirely different target network architecture while preserving the performance of the guide network. At each stage, components in the guide network architecture are incrementally replaced with target architecture modules and aligned via representational similarity metrics. This procedure largely preserves the functionality of the guide network even under substantial architectural changes-for example, converting a convolutional network into a multilayer perceptron, or GPT-2 into a recurrent neural network. By decoupling optimization from deployment, NoT expands the space of viable inference-time architectures, opening opportunities for better accuracy-efficiency tradeoffs and enabling more directed exploration of the architectural design space.

架构转换模型压缩高效部署

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。