Black Boxes with Ports: Port Propagation Generalizes Backpropagation for Brains and Machines
Name
bb_memo_ver1.4.pdf
Size
373.46 KB
Format
Adobe PDF
Checksum (MD5)
f38d0a9e3aba42c0808c8c89a2db3d0d
Author(s) •
Qianli Liao
Tomaso Poggio
Date Issued
October 28, 2026
Abstract
Many real-world systems are black boxes: analog hardware, physical and biological processes, simulators and software pipelines can be run but not differentiated. Yet many are not completely closed: they have ports, where intermediate signals can be observed and adjusted. Such systems are far more common than end-to-end differentiable ones; the brain may be one, with regions that adjust their own synapses but cannot compute derivatives through one another, and so may brains and machines joined into one system through a brain–computer interface. Describing black boxes by their ports gives a unified formulation that interpolates between two extremes—classical black-box optimization, which can only turn knobs, and the white box, in which everything is visible—and defines a family of new optimization problems in between. Black boxes with ports can be optimized in many ways; as a first approach we propose port propagation (PortProp), which relays credit from port to port and works with any scheme for approximating credit. Backpropagation is its most extreme special case: every component of the box is a port, everything between ports is visible and differentiable, and every relay uses the exact derivatives of the actual computation. Relaxing any of these requirements, as most real systems do, leaves the corner where backpropagation lives and enters the much larger space of black boxes with ports, where PortProp continues to work. In a typical use, credit is relayed through small models learned from the signals at the ports during normal operation; the models approximate the computation between ports without any knowledge of it. In deep networks with opaque operations between layers—from quantizers and 1-bit units to unknown nonlinearities and a noisy device—PortProp closes most of the gap between local training and backpropagation, succeeds where the straight-through estimator fails, and outperforms perturbation-based gradient estimates by a wide margin.
Subjects
Neural Networks
Backpropagation
Brain-computer Interface
MIT Department
Center for Brains, Minds, and Machines
McGovern Institute for Brain Research at MIT
Terms of Use
Creative Commons Attribution
Persistent DSpace Link