In Situ Training of Optical Neural Networks by Coding Agents
Summary
This paper introduces 'optics as code', a method where a coding agent trains an optical neural network from measurements alone by reparametrizing it with interpretable optical elements, outperforming gradient-free methods and approaching backpropagation accuracy at lower cost without per-device calibration.
View Cached Full Text
Cached at: 11/20/26, 07:36 PM
Paper page - In Situ Training of Optical Neural Networks by Coding Agents
Source: https://huggingface.co/papers/2611.23875
Abstract
A coding agent trains an optical neural network from measurements alone by reparametrizing it with interpretable optical elements, achieving better classification and image encoding than gradient-free methods and approaching backpropagation through a calibrated model at lower cost.
Optical neural networkspromise fast, energy-efficient computing, but every device departs from its design and must be trained with the hardware.In situ trainingrelies on an expert-builtcalibrated digital modelof each device or ongradient-free trial and error.Coding agents,large language modelsthat write and run programs, have shown an emergent ability to understand and edit the weights of digital neural networks. Here we introduceoptics as code, a method in which a coding agent trains an optical neural network from measurements alone, through a harness that returns camera images of its probes and requires a hypothesis per request. We discovered that the agent forms a physical understanding of the optics and reparametrizes the network withinterpretable optical elementstuned on the hardware. It outperforms gradient-free methods in classification and image encoding, approachingbackpropagationthrough a calibrated model at a fraction of the cost. Needing neitherper-device calibrationnor gradients through the hardware, and improving with more capable models,optics as codeoffers a practical route to large,scalable optical neural networksand a general tool for calibrating and optimizing optical experiments.
View arXiv pageView PDFProject pageAdd to collection
Get this paper in your agent:
hf papers read 2611\.23875
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2611.23875 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2611.23875 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2611.23875 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
@NVIDIAAI: We gave a coding agent a goal and a time budget: build a training environment and teach a vision model to count colored…
NVIDIA demonstrated a coding agent that autonomously built a training environment and taught Qwen3-VL-2B to count colored stars, improving accuracy from 25% to 96.9% using NeMo RL and NeMo Gym frameworks.
AI coding agents can autonomously direct robot training
AI coding agents using the open-source ENPIRE framework can autonomously train robots to perform tasks like installing GPUs and cutting zip-ties, with the system self-improving overnight.
A case study of evaluating AI agents on a neuroscience data-to-discovery pipeline
This paper presents an empirical study evaluating general-purpose coding agents on a fly optogenetics data-to-discovery pipeline, finding that while agents can automate individual stages, they struggle with end-to-end tasks requiring scientific judgment and resource management.
@InnocFrancesco: Interested in local learning algorithms? In work accepted at #ICML2026 , we show that predictive coding computes the sa…
This paper shows that predictive coding networks compute the same gradients as backpropagation in the limit of width much larger than depth, bridging biological learning and standard neural network training.
Neural Ideals and Neural Codes: An Algebraic Framework for Neural Network Classification and Feature Interpretation
This paper introduces an algebraic framework using neural ideals and neural codes to classify and interpret features in neural networks, with practical applications on the MNIST dataset and an open-source visualization tool.