Neural Interoperability Protocols:在训练前定义模型间的兼容规范
Neural Interoperability Protocols: Specifying Compatibility Before Training
微软研究院之外少见这种思路:把神经网络当软件组件,先写接口契约再训练,实验里接收模型甚至能用到捐赠方没有的信息。做模型蒸馏、模型组合或跨模型迁移的工程师值得对照自己的流程看看。
论文提出 Neural Interoperability Protocols(NIPs),把神经网络之间的兼容性定义为公开的接口义务,而不是从特定模型对的迁移表现中事后推断。NIP 明确交换边界、交换数据包的语义与准入条件,以及接收方必须支持的下游计算,且与实现它的具体架构和训练流程解耦。作者通过检索、视觉和连续记忆三组受控实验验证框架,实验涉及独立训练的模型、不同架构与目标函数,以及不同训练批次。
实验得出三个关键发现:匹配能力对照组显示,模型在原生任务上的成功并不保证可互操作;共享语义监督能在评估场景中带来可观直接迁移;信息隐藏实验表明接收方可以在交换时继续依赖捐赠方并不具备的信息完成计算。部分契约实验和数据包干预进一步说明,观察到的兼容性依赖于被评估的语义、数据包分布和接收方后续计算。
这项工作与表示对齐或特征兼容等既有方法的区别在于:迁移成功本身不构成规范,NIP 主张先声明契约再训练,为未来模型组件的可复用交换提供设计依据。
Neural Interoperability Protocols: Specifying Compatibility Before Training
Neural networks are increasingly developed as reusable components, yet their intermediate representations remain difficult to exchange across independently trained models. Existing approaches can align representations or encourage compatible features, but successful transfer between particular models does not by itself define what future implementations must satisfy to interoperate. We introduce Neural Interoperability Protocols (NIPs), a specification-first framework that treats neural compatibility as a set of public interface obligations rather than a property inferred solely from model-pair performance. A NIP specifies an exchange boundary, the semantics and admissibility conditions of exchanged packets, and the downstream computations that recipients must support, independently of the architectures and training procedures implementing it. We investigate this distinction through controlled retrieval, vision, and continuous-memory experiments involving independently trained models, differing architectures and objectives, and later training cohorts. Matched-competence controls demonstrate that native task success does not ensure interoperability, while shared semantic supervision enables substantial direct transfer in the evaluated settings. Withheld-information experiments show that recipient models can continue computations requiring information unavailable to donors at exchange time. Partial-contract experiments and packet interventions further establish that observed compatibility is conditional on the semantics, packet populations, and recipient continuations being evaluated. Together, these results support public neural interface specifications as a framework for designing prospective component exchange and distinguishing demonstrated interoperability from stronger conformance claims.
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Neural Interoperability Protocols, representation learning, open-source models.
Source attribution: curated from arXiv cs.LG (@Alireza Bagheri).