Efficient Inference with Hardwired Physical Neural Networks

This direction is merged into another direction: fixed-function hardware rigidity. Its last version stays readable and citable here.

Version 1 of 1109 papers119 conceptsfrozen 2026-10-04

As deep learning models scale toward trillions of parameters, the energy and latency costs of traditional silicon-based computing are becoming prohibitive. To break through these limits, researchers are "rebooting" hardware by embedding neural network weights directly into physical substrates—ranging from optical waveguides to the metal interconnects of a chip.

This shift promises orders-of-magnitude improvements in efficiency, but it introduces a fundamental constraint: immutability. Unlike a GPU, where weights are bits in memory that can be updated in nanoseconds, these physical networks are often "physically-fixed" during fabrication. Understanding this research direction requires looking at how we can build, deploy, and adapt models when the "software" is literally written in stone—or light.

The Physicality of Weight Storage

In a standard processor, a "weight" is a value fetched from DRAM and moved to a logic unit. In the emerging class of hardwired accelerators, the weight is the logic unit.

For example, Yongwei Zhao and colleagues developed the Hardwired-Neurons Language Processing Unit (HNLPU), which encodes Large Language Model (LLM) weights into the metal interconnects of the chip. By eliminating the energy-intensive "memory wall"—the process of fetching weights—they achieved a 5,555× boost in throughput compared to high-end GPUs.

Similarly, in the optical domain, Kun Liao and Xiaoyong Hu demonstrated all-optical convolutional networks where the weights are determined by the permanent geometric dimensions of silicon waveguides. In these systems, mathematical operations happen at the speed of light as photons propagate through the medium, consuming almost zero energy during the calculation itself.

Computing at the Edge of Perception

One of the most compelling applications for hardwired networks is "in-sensor" computing. By embedding the first layers of a neural network directly into the hardware that captures data, researchers can discard irrelevant information before it is even digitized.

  • Optical Front-ends: Huaijin Chen and the team behind ASP Vision used "Angle Sensitive Pixels" to compute convolutions optically. This allows a sensor to "see" features like edges and textures directly, reducing data bandwidth by 90%.
  • Incoherent Light: While many optical systems require precise lasers, Kaiyu Cui developed a Spectral Convolutional Neural Network chip that works with natural, incoherent light, effectively turning a camera lens into a pre-trained feature extractor.
  • Nanoscale Magnetics: Md Abdullah-Al Kaiser and Pedram Khalili Amiri have proposed using magnetic tunnel junctions to perform processing-in-pixel, replacing power-hungry analog-to-digital converters with physical neural layers.

The Rigidity Problem

The trade-off for this extreme efficiency is a lack of reconfigurability. As Florent Krzakala and Sylvain Gigan note in their review of optical AI, these accelerators often lack the architectural flexibility of digital processors.

This rigidity is particularly challenging for modern architectures like Transformers. Hanqing Zhu points out that photonic tensor cores are typically optimized for static weights, making them ill-suited for dynamic mechanisms like self-attention, where weights must change based on the input sequence.

Strategies for Post-Fabrication Adaptation

How do you update a model that is physically etched into a chip? Recent research has focused on "software-defined" flexibility for "hardware-fixed" systems.

1. Weight Permutation

If you cannot change the values of the weights, can you change their order? Yongqiang Cai and Gaohang Chen provided a theoretical breakthrough by proving that neural networks trained by weight permutation are universal approximators. This suggests that hardware with fixed-value components can still be highly versatile if the routing between those components is programmable.

2. Hybrid Digital-Analog Adapters

Another approach is to keep the "heavy" weights on fixed physical hardware and use a small, flexible digital layer to "steer" the model. Chen Li and Elena Ferro developed AHWA-LoRA, which uses tiny digital adapters to compensate for the noise and static nature of analog in-memory computing, allowing models as large as LLaMA 3.1 to run with high accuracy.

3. Forward-Only Adaptation

When gradient-based updates are impossible due to hardware constraints, researchers look to inference-time shifts. Shuaicheng Niu and Peilin Zhao proposed Forward-Optimization Adaptation (FOA), which adapts models to new data distributions using only forward passes and activation shifting, bypassing the need to modify internal parameters.

Conclusion

The move toward hardwired physical neural networks represents a shift from general-purpose computing to domain-specific physical substrates. While the lack of reconfigurability remains a hurdle, the work of researchers like Shanglin Zhou on physical rotation for multi-task learning and Zhong Yin on composable diffractive networks suggests a future where hardware is rigid, but the way we use it is remarkably fluid.

Papers in this version

Showing 60 of 109 papers.

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_efficient_inference_with_hardwired_physi_859fb9dc,
  title = {Efficient Inference with Hardwired Physical Neural Networks},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/efficient-inference-with-hardwired-physical-neural-networks/rdr_859fb9dc2490489796a7b0c0cc6ff41d},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-03},
}

This exact version (version 1, frozen text):

@misc{lacuna_efficient_inference_with_hardwired_physi_859fb9dc_v1,
  title = {Efficient Inference with Hardwired Physical Neural Networks},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/efficient-inference-with-hardwired-physical-neural-networks/rdr_859fb9dc2490489796a7b0c0cc6ff41d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-03},
}