Neural Interoperability Protocols: Specifying Compatibility Before Training
Organizations: Independent Researcher
Abstract
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.
Figures & tables
| Direction | Pairs | Native recovery | Transfer recovery | CI | |
|---|---|---|---|---|---|
| ResNet ConvNeXt | 16 | ||||
| ConvNeXt ResNet | 16 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Profile element | Illustrative public requirement |
|---|---|
| Identity and version | Unique protocol identifier and published version, including rules for identifying incompatible revisions. |
| Boundary and packet | Exchange boundary defined by computational role; four-dimensional packet schema specifying coordinate order, data type, and validity requirements. |
| Semantic interpretation | Public readout , semantic labels, and declared validity conditions, including requirements beyond decoder agreement where applicable. |
| Producer admission | Predeclared operational packet checks, evaluation inputs, and producer acceptance criteria. |
| Recipient continuation and acceptance | Supported continuation tasks, donor-packet substitution procedures, matched controls, evaluation endpoints, and acceptance criteria. |
| Evidence and limitations | Tested model and packet populations, uncertainty procedures, observed failures, and scope of the resulting compatibility claims. |
| Method | Uses incumbent reps.? | Pair-specific fitting? | Prior public contract? | Clean-room entrant? | Transfer advantage |
|---|---|---|---|---|---|
| Nonlinear 4D adapter | Yes | Yes | No | No | |
| Shared post-hoc 4D bus | Yes | No | No | No | |
| NIP-4, canonical exporter | No | No | Yes | Yes | |
| NIP-4, dense exporter | No | No | Yes | Yes |
| Direction | (95% CI) | Causal advantage (95% CI) | Positive-edge fraction |
|---|---|---|---|
| Res. Conv. | |||
| Conv. Res. |
| Direction (pairs) | Clean / control MSE | Recovery (95% CI) |
|---|---|---|
| Inc. Fut. (100) | ||
| Fut. Inc. (100) | ||
| Fut. Fut. (90) |
| Study | Evaluated population | Primary evidence | Evaluation chronology |
|---|---|---|---|
| dSprites | Incumbent and later cohorts | Bidirectional transplantation | Protocol and clean-room evaluation frozen before confirmatory cohorts |
| CIFAR-100 | 10 ResNets; 10 later ConvNeXts | Analytic-reference gap; model-node bootstrap | Development pair excluded; amended plan frozen before confirmatory training |
| Continuous memory | 30 incumbent; 30 later models | Direct exchange; model-node bootstrap | Protocol and primary endpoint frozen before training |
| Nonterminal continuation | Evaluated directed producer–recipient pairs | Withheld-information continuation | Controlled test; interval resampling requires record-level verification |
| Structured retrieval | Eight admitted models; two objectives | Held-out direct exchange | Family selected after development; source-disjoint evaluation after admission |
| Donor recipient | Pairs | Transfer | Corrupted |
|---|---|---|---|
| Task-only task-only | 12 | ||
| Task-only semantic-head | 16 | ||
| Semantic-head task-only | 16 | ||
| Semantic-head semantic-head | 12 |
| Producer recipient | Recovery | Donor excess MSE (95% CI) |
|---|---|---|
| ResNet ResNet | — | |
| ResNet ConvNeXt | ||
| ConvNeXt ConvNeXt | — | |
| ConvNeXt ResNet |
| Study | Direction | Pairs | Effect (95% CI) |
|---|---|---|---|
| Continuous memory | Incumbent Incumbent | 870 | 0.291 (0.286, 0.296) |
| Future Inc. | 900 | 0.291 (0.287, 0.296) | |
| Inc. Future | 900 | 0.291 (0.286, 0.295) | |
| Dense structured | Incumbent Incumbent | 2,450 | 0.469 (0.443, 0.496) |
| Future Inc. | 2,500 | 0.461 (0.438, 0.485) | |
| Inc. Future | 2,500 | 0.459 (0.433, 0.485) |