LensDesigner: A Self-Improving Agent for Optical Lens Design
Organizations: INSAIT, Sofia University “St. Kliment Ohridski” · Zhejiang University
Abstract
Optical lens design is a complex, non-convex optimization challenge that relies heavily on human experience and intuition. Existing optimized-based automatic lens design methods struggle to navigate this vast parameter space without meticulous manual tuning. In this paper, we present LensDesigner, an autonomous agent framework that mirrors the problem-solving workflow of expert opticians. To overcome the initial cold start problem, we construct LensLib100K, an extensive optical lens library, and employ Optics-Aware Retrieval to supply physically valid structural seeds. Within an interactive physical simulation environment, the agent executes macroscopic orchestration while receiving immediate optical feedback. Furthermore, we introduce a continuous self-evolving mechanism guided by a curriculum agent. By iteratively solving design tasks with progressively increasing difficulty, the agent autonomously extracts, accumulates, and reuses design heuristics, effectively evolving its optical lens design expertise over time. At the evaluation level, we introduce LensArena, a standardized evaluation benchmark comprising diverse optical design tasks, covering extreme configurations. Extensive experiments on this benchmark demonstrate that LensDesigner significantly outperforms publicly available baseline algorithms, achieving superior success rates and optimization efficiency. We hope this work sheds light on the emerging field of intelligent optics. The code will be publicly available.
Figures & tables
| Success Rate (%) | Avg RMS ( ) | |||||
| Method | Easy | Medium | Hard | Easy | Medium | Hard |
| [Existing Baselines] | ||||||
| LensNet Côté et al. (2021) | 50.0 | 39.3 | 30.0 | 3.89 | 8.99 | 7.99 |
| QGSO Gao et al. (2025a) | 25.0 | 22.7 | 13.3 | 24.2 | 17.7 | 11.1 |
| DeepLens Yang et al. (2024b) | 4.2 | 1.5 | 0 | 29.6 | 41.1 | - |
| [In Context Learning Baselines] | ||||||
| Success Rate (%) | Avg RMS ( ) | |||||
| Method | Easy | Medium | Hard | Easy | Medium | Hard |
| w/o LensLib100K | 25.0 | 39.3 | 26.7 | 89.6 | 194.4 | 293.4 |
| w/ LensLib100K + Vanilla RAG | 58.3 | 51.5 | 40.0 | 35.1 | 128.1 | 189.6 |
| w/o Optical Tool Suite | 66.7 | 63.6 | 26.7 | 37.1 | 54.7 | 68.9 |
| w/o Macro Orchestration | 80.0 | 69.7 | 33.3 | 21.8 | 34.2 | 87.9 |
| [Self-Envolving] | ||||||
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Guardrail Type | Trigger Condition and Action |
|---|---|
| Stop Surface Recognition | Rejects semi-diameter edits on non-stop surfaces. |
| Aperture Scaling Limits | Rejects semi-diameter scaling outside the ratio. |
| Dynamic F-number Sync | Synchronizes system F-number automatically after aperture edits. |
| Material Whitelist | Rejects non-catalog glasses (restricted to verified H- and D- types). |
| Loop Prevention | Rejects identical edits repeated times, prompting a strategy shift. |
| Operand | Target | Weight | Physical Justification |
|---|---|---|---|
| RSCE (Per Field) | 0 | 4 / 5 / 6 | Escalating weights for challenging marginal fields. |
| EFFL / WFNO | User Spec | 1.0 / 2.0 | Weak anchoring to prevent macroscopic drift. |
| OPLT (Max TOTR) | Max Limit | 2.0 | Unilateral penalty applied only when exceeding limits. |
| MNCG | 50.0 | Hard constraint for minimum manufacturable glass thickness. |
Self-Improving Agents
Self-improving agents use experience and feedback to update their models, memories, skills, or workflows for better future task performance.
See all 167 papers