Photonic chips lose light because etching leaves nanometer-scale ripples on waveguide walls. In thin-film lithium niobate, bulk absorption has been pushed low enough to support quality factors near $1.8\times10^8$, yet fabricated devices stall around $5\times10^6$, and the cap comes from sidewall scattering (Reduced Material Loss in Thin-film Lithium Niobate Waveguides). Automated design tools ignore this. Diffusion-based and rule-constrained inverse design enforce minimum feature sizes on perfectly smooth geometries (AdjointDiffusion; strict foundry constraints). The honest check, simulating many random rough copies of each candidate in three dimensions, is too expensive to run inside a design loop.
This note proposes a cascade of evaluators rather than a cascade of language models. Each candidate design first gets a cheap score: a roughness-loss estimate computed from how much optical field sits on the walls of a smooth simulation. A statistically calibrated rule then decides whether that cheap score can be trusted or whether the design must be escalated to a smooth 3D simulation, and possibly to an ensemble of explicitly rough 3D simulations. The design proposer is a code-writing agent that edits parametric geometry scripts. It receives spatially resolved feedback about which wall segments scatter most. The main question is whether this roughness-aware cascade finds designs that perform as well under realistic roughness as designs found by always running the rough ensemble, at a small fraction of the compute. A second question is whether the upfront cost of labeled calibration data pays for itself.
Core Claim
To first order, roughness scattering is a weak random change in permittivity confined to the core–cladding boundary. The scattered power is therefore quadratic in the perturbation, consistent with the scaling $P_{\text{scatter}}\propto(\Delta n)^2\sigma^2$ described for high-contrast waveguides. It is weighted by the unperturbed field that the smooth design already places on its walls. This gives a proxy that costs essentially nothing beyond a smooth solve:
$$L_{\text{proxy}} = \frac{\sigma^2\,(\Delta\varepsilon)^2\, S(L_c)}{P_{\text{guided}}}\oint_{\partial\Omega} |E_0(s)|^2\, ds .$$
Here $\sigma$ is the RMS sidewall roughness, $\Delta\varepsilon$ is the core–cladding permittivity difference, and $S(L_c)$ is a spectral factor set by the roughness correlation length $L_c$. $E_0$ is the field of the smooth design, $\partial\Omega$ is the etched boundary with arc length $s$, and $P_{\text{guided}}$ is the guided power.
The claim has three parts. First, $L_{\text{proxy}}$ ranks candidates well enough to serve as the confidence signal of a verifier cascade. Second, conformal calibration of the gap between each tier and the rough-ensemble ground truth can decide escalation with a guaranteed error rate. Third, the integrand $|E_0(s)|^2$ provides localized, physically meaningful repair instructions to a code-refinement agent. None of the connecting works in the file does any of these. MAPS pairs low- and high-fidelity data statically and does not model roughness. SkillPCF runs one agent against a single simulator with scalar outcomes. EcoAssistant escalates between language models on a hard-coded failure count, for software APIs only.
Research Program
The cascade has three tiers. Tier 0 runs a design-rule check, then a 2D frequency-domain solve in Ceviche, which yields smooth transmission plus $L_{\text{proxy}}$. Tier 1 runs a smooth 3D time-domain solve in FDTDX, with the proxy recomputed on the 3D sidewall field. Tier 2 runs FDTDX on $K$ independent rough realizations. Each realization is drawn from a Gaussian-correlated boundary displacement with parameters $(\sigma, L_c)$, and vertical striations are extruded through the etch depth to mimic the mask-to-sidewall transfer described in High density lithium niobate photonic integrated circuits. Tier 2 reports the mean and the lower-decile transmission across realizations. The lower decile is the quantity designers care about, since it reflects the worse devices a fab run will produce.
Tier 2 is the costly ground truth. Resolving $\sigma$-scale ripples requires fine meshes, and this cost is exactly the "simulation tax" the synthetic-data literature complains about.
The escalation rule borrows from language-model cascades but changes the object being routed. C3PO uses distribution-free conformal bounds to cascade reasoning models under cost constraints. Gatekeeper tunes the cheap model's confidence. RouteLLM thresholds a learned win probability. All three route among generators of text. Here we route among verifiers whose outputs are physical numbers with measurable residuals, and that makes conformal intervals natural.
For each tier $k$ we fit a small regression from that tier's outputs to the Tier 2 lower-decile transmission. We compute split-conformal intervals on a calibration set. A candidate escalates only when its interval straddles the decision boundary, meaning the acceptance threshold or the current best design. Otherwise it is accepted or rejected at the cheaper tier.
The calibration set is the synthetic-data overhead, and we account for it explicitly. We compare calibration designs sampled uniformly at random against designs sampled along perturbed optimization trajectories. MAPS found that trajectory sampling raised surrogate gradient similarity from about 0.08 to about 0.42. We report the break-even number of design queries at which calibration cost is repaid.
The design proposer is a code-refinement agent that writes FDTDX-compatible parametric geometry: splines, arcs, and tapers. Parametric boundaries are smooth by construction and make the boundary integral well defined, which pixel grids with staircasing do not. After each evaluation, the agent receives the tier's verdict. It also receives the three wall segments that contribute most to $L_{\text{proxy}}$, with their coordinates and share of the loss. Rollback to the last accepted script follows Fang et al., which guards against the 3–5-iteration plateaus reported by Yan et al..
Baselines
The naive reference optimizes against smooth Tier 1 transmission only. It then evaluates the final design with Tier 2. This measures how much performance roughness silently removes. The file gives no reported result for roughness-degraded efficiency, so we must produce this number ourselves.
The strongest existing smooth-design results serve as competitors, run on the same bend task. AdjointDiffusion reports 98.00% average conversion efficiency on a 2D bent waveguide, against 86.98% for SLSQP and 61.97% for MMA. FDTDX reports a 3D silicon bend at 92% efficiency (−0.36 dB) in 1.6 µm². We rerun both approaches, lifting AdjointDiffusion designs to 3D by extrusion, and score everything under Tier 2 at matched $(\sigma, L_c)$.
"Beating" a baseline means higher lower-decile rough transmission at equal or lower total GPU-hours. Calibration cost is included in that total.
The compute-unconstrained reference is the same agent with every candidate sent to Tier 2. This is the quality ceiling the cascade must approach. A fixed-escalation cascade in the EcoAssistant style promotes the top-$m$ candidates every $N$ iterations. It isolates whether conformal calibration beats a hand-set rule.
Two further baselines address the alternatives below. One is adjoint topology optimization with $L_{\text{proxy}}$ added as a differentiable penalty, using Schubert-style design-rule brushes. The other is a NeurOLight-style surrogate trained offline on the same number of Tier 2 labels as our calibration set.
All methods receive the same total GPU-hour budget, the same roughness statistics, and the same device specifications. Hyperparameters for each method get the same number of tuning trials.
Ablations remove one ingredient each. The first drops the proxy from Tier 0 and Tier 1, leaving smooth transmission only. The second replaces conformal intervals with uncalibrated thresholds. The third gives the agent only the scalar verdict instead of the localized wall feedback.
Why not just…?
Why not just optimize the smooth design, since roughness might degrade all candidates roughly equally? If roughness only rescales losses, then smooth ranking suffices and the whole cascade is unnecessary. The boundary-integral form argues otherwise. Designs that squeeze light against walls, such as tight bends and narrow tapers, should lose disproportionately. However, this is an empirical claim. We measure how often the smooth ranking and the Tier 2 ranking disagree across $\sigma$ and index contrast. If rank reversals are rare, we report that and the proposal reduces to a post-hoc check.
Why not just add the roughness proxy to classical topology optimization and skip the agent? This is a real threat. The proxy is optimizer-agnostic, and adjoint gradients of it are cheap. Our partial answer is structural. In density-based optimization the boundary only becomes sharp at binarization, so the penalty is ill-defined during most of the run. Moreover, the foundry-constraint work documents performance cliffs at binarization. We run exactly this baseline. If it matches the agent, we conclude that the proxy and the verifier cascade are the contribution and the code agent is dispensable.
Why not just train an offline surrogate on rough simulations? MAPS shows that offline surrogates depend heavily on how training data is sampled. Surrogates also drift on unconventional geometries, which is where an optimizer ends up. Our matched-label baseline tests this directly. The key question is whether the same Tier 2 labels are better spent calibrating a cascade that always leaves a path to ground truth, or training a model that has none.
Proposed Experiments
The tasks are a compact 90° bend and a 1×2 splitter, each in a high-contrast silicon-like regime and a lower-contrast thin-film lithium niobate-like regime. We sweep $\sigma$ and $L_c$ as parameters rather than fixing them to values not reported in the file. The two index-contrast regimes test whether the method follows the $(\Delta n)^2$ scaling.
The first decisive check comes before any optimization. On a few hundred trajectory-sampled designs, we measure the Spearman rank correlation between $L_{\text{proxy}}$ and Tier 2 loss, and the rank-reversal rate between smooth and rough scores. If the proxy does not rank well, the cheap tier fails and the project stops.
The second decisive check asks whether the conformal cascade reaches within one percentage point of the always-Tier-2 agent's lower-decile transmission. We track the fraction of candidates escalated to Tier 2, the empirical coverage of the intervals, and GPU-hours per accepted design including calibration.
The third check compares localized against scalar feedback. It measures iterations to acceptance and the frequency of the refinement plateaus reported by Yan et al.
Fabrication is out of scope. All roughness conclusions therefore apply to the stochastic model, and we state them as such.
References
- Reduced material loss in thin-film lithium niobate waveguides
- Physics-guided and fabrication-aware inverse design of photonic devices using diffusion models
- Inverse design of photonic devices with strict foundry fabrication constraints
- MAPS: Multi-Fidelity AI-Augmented Photonic Simulation and Inverse Design Infrastructure
- Learning Design Skills as Memory Policies for Agentic Photonic Inverse Design
- EcoAssistant: Using LLM Assistant More Affordably and Accurately
- A flexible framework for large-scale FDTD simulations: open-source inverse design for 3D nanostructures
- High density lithium niobate photonic integrated circuits
- C3PO: Optimized Large Language Model Cascades with Probabilistic Cost Constraints for Reasoning
- Gatekeeper: Improving Model Cascades Through Confidence Tuning
- RouteLLM: Learning to Route LLMs from Preference Data
- MEIC: Re-thinking RTL Debug Automation using LLMs
- CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translation