TL;DR
This paper introduces "DeepLens," a novel curriculum learning approach for designing complex optical lenses from scratch, eliminating the need for manual starting points. By progressively increasing design complexity, DeepLens successfully designs both classical and advanced computational lenses, including an extended depth-of-field (EDOF) camera, demonstrating a significant step towards fully automated optical design.
What Problem Does This Paper Address?
Designing optical lenses, especially complex compound lenses with multiple refractive elements, is a challenging task. Traditional methods often require significant human expertise to define good initial designs, and the optimization process is prone to getting stuck in local minima, leading to suboptimal solutions. Existing deep learning approaches for optical design have been limited to simpler systems like diffractive optical elements or metalenses, or have relied on fine-tuning pre-existing designs. The core problem this paper addresses is the lack of a fully automated method to design complex refractive optical systems ab initio (from scratch) without human intervention or good initial guesses, which is crucial for unlocking the full potential of joint optical and computational imaging systems.
Methods
The paper presents a "DeepLens" design method that leverages curriculum learning for automated lens design. The core idea is to break down the complex design problem into a series of progressively easier tasks. This curriculum involves:
- Progressive Difficulty Increase: The design process starts with simpler specifications (smaller aperture, narrower field-of-view) and gradually increases them to meet the final target specifications. This is achieved using a sine-based curriculum path.
- Optical Regularization: To prevent the formation of degenerate or physically impractical lens shapes (like self-intersecting surfaces or overly aggressive aspheric profiles), several regularization terms are introduced. These penalize ray obliquity, insufficient surface separation, and steep surface gradients.
- Re-weighting Mask: To help the optimization escape local minima, a spatially re-weighting mask is employed. This mask dynamically focuses the optimization on image regions with higher errors during training, effectively guiding the process towards better solutions.
For end-to-end design of computational cameras, they also incorporate:
- Hybrid Surface Design: A novel surface type is introduced, combining classical aspheric models with odd-polynomial terms. This allows for controlled image blur that can be computationally corrected, enabling EDoF capabilities.
- Differentiable Ray-Tracing: The entire framework relies on differentiable ray-tracing to simulate image formation and backpropagate gradients for optimization.
- Adjoint Rendering: To address memory constraints in high-resolution simulations, an adjoint rendering technique is used, which recalculates ray-tracing during backpropagation to reduce memory footprint.
Datasets
The paper utilizes the DIV2K dataset for experiments involving both classical lens design and EDoF lens design. The processed test images and network checkpoints are made available for download.
Key Insights and Ideas
- Curriculum Learning is Key for "Ab Initio" Design: The most significant insight is that a curriculum learning strategy is highly effective in guiding the optimization of complex optical systems from random initializations. This overcomes the "cold start" problem that plagues many optimization techniques.
- Regularization Prevents Degeneracy: The combination of optical regularization terms is crucial for ensuring that the automated design process yields physically realizable and manufacturable lenses, avoiding common pitfalls like self-intersections.
- Targeted Optimization Escapes Local Minima: The re-weighting mask provides a mechanism to actively push the optimization out of suboptimal solutions by focusing on the most challenging parts of the image.
- Hybrid Surfaces Enable New Functionality: The introduction of hybrid surfaces with odd-polynomial terms is a novel way to achieve EDoF in a compact optical system, paving the way for advanced computational cameras.
- End-to-End Optimization Unlocks Synergies: Jointly optimizing the optical design and the image reconstruction network allows for a more holistic approach, leading to better overall system performance than optimizing each component in isolation.
Key Results
- Automated Classical Lens Design: The curriculum learning approach successfully designed classical optical lenses with specifications of 80.8°, F/2.0, and a short back focal length, achieving a significant reduction in RMS spot size compared to baseline methods, especially when combined with regularization and re-weighting. For instance, the Avg RMS spot size was reduced to 15.74 µm with the full curriculum strategy.
- EDOF Computational Camera Design: The method was used to design a compact EDoF camera capable of clear imaging from 10 cm to 10 m. This EDoF lens, when paired with a reconstruction network, achieved higher PSNR and SSIM scores across various depths compared to a classical lens and a lens using a cubic plate for EDoF. For example, at 10m depth, the hybrid surface EDOF lens achieved a PSNR/SSIM of 21.97/0.599 in simulation and 32.52/0.923 in reconstruction.
- Robustness: The approach demonstrated robustness by successfully designing lenses even with perturbations to optical parameters, simulating potential manufacturing inaccuracies.
Limitations and Future Work
- ISP Integration: The current study focuses solely on optical design and does not consider the impact of the image signal processing (ISP) module, which plays a significant role in final image quality. Future work could integrate ISP models into the optimization.
- Manufacturing Considerations: While the method aims for manufacturability by introducing perturbations, a deeper integration with manufacturing constraints could further improve practical applicability.
- ISP Alternatives: The paper notes that the reconstruction network can be seen as a stand-in for sophisticated ISPs. Exploring differentiable implementations of existing ISP functionalities or developing new ones could be a future direction.
- Broader Applications: While demonstrated for classical and EDoF lenses, the curriculum learning framework has the potential to be applied to a wider range of computational imaging tasks and optical system designs.
Summary updated