Abstract
Deep optics has revolutionized camera design by jointly optimizing physical lens parameters and digital reconstruction algorithms. However, existing methods typically assume perfect manufacturing, leading to a significant performance gap when designs are fabricated. This paper introduces a novel end-to-end optimization framework that explicitly accounts for real-world manufacturing and assembly errors. By integrating differentiable tolerance modeling into the design loop, the proposed approach produces optical systems and AI decoders that are robust to lens imperfections, significantly improving manufacturing yields and real-world image quality.
Introduction
The co-design of hardware and software in deep optics has enabled compact, high-performance imaging systems. Despite these advances, a "design-to-manufacturing gap" persists. In practice, lenses suffer from manufacturing errors such as tilt, decentration, and variations in thickness or curvature. Traditional deep optics models, trained on "perfect" simulations, often fail when paired with these imperfect physical lenses. This mismatch results in severe image degradation and low manufacturing yields, as only a small fraction of produced lenses may meet the idealized performance criteria.
Methods
The authors address this gap through a two-stage, tolerance-aware optimization pipeline.
Explicit Tolerance Modeling
Four common manufacturing errors—decentration, tilt, central thickness, and curvature—are integrated directly into a differentiable ray-tracing engine. During training, the system uses Monte Carlo sampling, simulating 64 different error patterns per iteration to represent the statistical distribution of fabricated lenses.
Two-Stage Training and Loss Functions
The process begins with standard "perfect" pre-training to establish a baseline. This is followed by tolerance-aware fine-tuning, where both the lens parameters and the reconstruction network (decoder) are jointly optimized. To stabilize this process, the authors introduce:
- Spot Loss: Ensures the lens maintains basic imaging capability by constraining the spot size.
- PSF Similarity Loss: Uses cosine similarity to maintain consistency in the Point Spread Function (PSF) across different misalignment patterns, facilitating more stable deblurring by the decoder.
Results
The proposed framework demonstrates significant improvements in both simulation and real-world testing.
Performance and Yield
In simulations under random tolerances, the tolerance-aware method achieved a PSNR improvement of over 2dB compared to standard baselines. More importantly, it significantly increased manufacturing yield. While baseline performance fluctuated wildly with minor lens errors, the proposed approach maintained a PSNR above 26dB with 90% confidence.
Real-World Validation
Physical experiments using an industrial camera lens with controlled perturbations confirmed the framework's robustness. Decoders trained with tolerance awareness produced sharper, cleaner images than those trained only on idealized simulations. Furthermore, the differentiable ray-tracing model proved highly accurate, matching industry-standard Zemax software with errors of less than 1µm.
Conclusion
By bridging the gap between idealized design and physical manufacturing, tolerance-aware deep optics provides a path toward more reliable and higher-quality imaging systems. Future work will look to expand the scope of modeled errors to include environmental factors like temperature and complex surface roughness, as well as extending the framework to diffractive optical elements and metalenses.
Summary updated