Source-linked AI summary

Direct Optimization of a 3D Finite-Source Reflector via Neural-Network Parameterization

Roel Hacking, Lisa Kusch, Martijn Anthonissen, Wilbert IJzerman

arXiv:2609.00899v1physics.opticscs.LG

TL;DR

The paper addresses finite-étendue reflector design, where source extent blurs targets and the zero-étendue optimal-transport formulation does not directly apply. It directly optimizes a neural-network-parameterized three-dimensional reflector through differentiable ray tracing, using guaranteed intersections and an H^-1-weighted soft-histogram loss. The method converges within a few seconds on a single GPU across several examples, while remaining sensitive to initialization and surface-resolution limits.

  • Problem

    Finite-étendue sources have spatial and angular extent that blur target distributions and prevent the simpler zero-étendue optimal-transport formulation from applying directly.

  • Method

    The method directly optimizes an MLP reflector parameterization through differentiable ray tracing, with gnomonic emission coordinates, spline compilation, Newton intersections, implicit-function gradients, and an H^-1-weighted soft-histogram loss.

  • Results

    The method converges within a few seconds on a single GPU across several examples, with reported solve times of 2 to 8 seconds.

  • Takeaways & Limitations

    The framework supports fully three-dimensional finite-source reflector optimization for sources ranging from close-to-zero étendue to significant spatial and angular extent.

  • Takeaways & Limitations

    The non-convex optimization remains sensitive to initialization, and the fixed 64 × 64 spline grid bounds the finest surface detail the method can express.

Abstract

from arXiv · show

We present a direct optimization method for three-dimensional freeform reflectors that transform the light of a finite-étendue source into a prescribed far-field angular intensity distribution. The reflector profile is represented by a small neural network (a multilayer perceptron), which is trained end-to-end through a differentiable ray-tracing objective. We furthermore parameterize the emission directions in gnomonic coordinates, and show how we use this to ensure that every emitted ray intersects the reflector. At each iteration, the network is converted to a bicubic spline representation for ray-tracing efficiency, and intersections with this smooth surface are solved by a damped Newton solve, with gradients computed via the implicit function theorem. The traced output distribution is compared with the desired target on a 'soft' histogram, under an $H^{-1}$-type spectral weighting that emphasizes long-range transport of flux to improve convergence. Optimization is performed using a BFGS method with self-scaled Broyden updates and a plateau-perturbation rule to prevent stalling. The method converges reliably within seconds on a single GPU for all examples tested.

1. Introduction

Finite-étendue sources blur target distributions and invalidate the direct zero-étendue optimal-transport formulation. The paper addresses this with a fully three-dimensional differentiable optimization framework for freeform reflectors.

  • Finite-étendue sources have spatial and angular extent, producing blurred targets whose sharpness is fundamentally limited by étendue conservation.
  • Existing virtual-target methods incur entropic transport solves, restrict reflectors to convex shapes, and have so far been limited to two dimensions.
  • Iterative deconvolution methods require solving a zero-étendue subproblem at every iteration, becoming a two-dimensional optimal-transport or PDE problem in three dimensions.
  • The paper presents a fully three-dimensional finite-source reflector method that directly treats the four-dimensional source phase space and guarantees every emitted ray intersects the reflector.
  • Its MLP-to-spline ray-tracing pipeline uses damped Newton intersections with implicit-function gradients and compares soft histograms under H^-1 weighting to emphasize long-range flux transport.
  • Three numerical examples complete in 2 to 8 seconds on a single GPU, demonstrating the method’s reported performance and robustness.

2. Problem formulation

The paper formulates finite-source reflector design as a three-dimensional geometric-optics problem mapping a spatially and angularly extended source to a prescribed far-field distribution. It parameterizes reflector geometry and ray directions to guarantee coverage, then evaluates the design through forward ray tracing and a differentiable objective.

  • 2.1. Physical setting and source model: The model places a planar source at z=0 and designs a specular reflector above it to match a prescribed far-field angular intensity distribution.
  • 2.1. Physical setting and source model: The source occupies a compact spatial domain Ω and emits directions from the upper unit hemisphere, forming a four-dimensional phase space Ω × A.
  • 2.1. Physical setting and source model: Gnomonic emission coordinates make the ray–reflector intersection affine in p_s, simplifying coverage analysis while representing the same physical directions as stereographic coordinates.
  • 2.2. Reflector surface: The reflector is parameterized as r(q_t)=(q_t,0)+u(q_t)d̂(q_t), where u is distance along a prescribed direction field rather than a vertical height.
  • 2.2. Reflector surface: The direction field is defined by a componentwise affine map between the axis-aligned spatial and angular bounding boxes of Ω and A.
  • 2.3. Ray–reflector intersection and coverage condition: The shadow map F_p_s(q_t)=q_t+u(q_t)d_3(q_t)(β(q_t)−p_s) gives the source-plane footprint of a reflector point for an emission direction.
  • 2.3. Ray–reflector intersection and coverage condition: An outward-lean boundary condition guarantees that every emitted ray from Ω in A intersects the reflector; bounding-box construction preserves this guarantee for nonrectangular domains.
  • 2.4. Forward ray tracing and the design problem: Forward tracing emits, intersects, reflects, and stereographically projects each ray, defining T_θ and a marginal far-field distribution g_θ compared with the target using weighted quasi-Monte Carlo samples.

3. Method

The method directly optimizes a three-dimensional reflector represented by a neural network, using differentiable forward ray tracing and a smooth, spectrally weighted histogram loss. A deterministic quasi-Newton optimization loop combines GPU ray tracing, implicit intersection gradients, and plateau perturbations.

  • Neural-network parameterization: The reflector profile is parameterized by an MLP and bounded with a sigmoid, yielding 700 trainable parameters across all experiments.The network uses two hidden layers of 24 units, with u_min = 0.1, u_max = 8.0, and u_init = 2.0.
  • Soft-histogram loss: A soft 128 × 128 histogram uses compactly supported B-spline kernels so bin contents vary smoothly with ray positions and remain differentiable.The target reference histogram is precomputed with the same binning and kernel, preserving consistent smoothing on both distributions.
  • Soft-histogram loss: The H^-1-type spectral weighting emphasizes low spatial frequencies to provide gradient signals for longer-range transport when achieved and desired distributions are far apart.An auxiliary escaping-flux penalty encourages reflected rays to remain within the desired target domain.
  • Evaluation: Evaluation uses a hard histogram with 128 bins per axis and 226 fresh quasi-Monte Carlo samples to compute relative L2 error independently of training samples.The evaluation samples are independent from those used during optimization.
  • Quasi-Newton optimization: Optimization uses self-scaled Broyden updates, deterministic fixed ray samples, and plateau perturbations that reset the Hessian approximation when progress stalls.Continuation runs skip perturbations to remain in the inherited basin, while deterministic sampling preserves the assumptions of quasi-Newton line searches.

4. Numerical results

The method is evaluated on increasingly complex finite-source reflector tasks, with GPU implementation details enabling reproducible, fast optimization. Across examples, it achieves low relative L2 errors while showing graceful degradation as angular source extent increases.

  • Experimental setup: Three examples cover Gaussian-to-uniform redistribution, yin-yang image projection, and a systematic sweep over angular source extent.The examples increase in complexity and include continuation across source-radius settings.
  • Implementation: All examples use 222 quasi-Monte Carlo source samples and 128 × 128 soft-histogram bins on a single RTX 4090 GPU.Surface and ray computations use float32, while optimizer state is held in double precision on the host.
  • Implementation: Bitwise reproducibility across runs on a given GPU is obtained by accumulating histogram and adjoint sums with fixed-point integer arithmetic.Integer addition is exactly associative, making the objective and optimization trajectory reproducible.
  • Example A: 3.6% relative L2 error is reached within 2 seconds for the truncated-Gaussian-to-uniform task.The error falls below 7% within the first quarter second and improves steadily as reflector curvature redistributes central flux toward the edges.
  • Example B: 6.4% relative L2 error is reached within 2 seconds for the yin-yang target, whose main regions and dots are captured with visible blurring and ringing.The authors attribute the residual blur and artifacts to the source’s non-zero étendue and note that exact matching is likely impossible.
  • Example C: Across angular radii from 0 to 2, relative L2 error grows from 2.9% to 4.0%, only a 1.3-fold increase while angular extent grows tenfold.The monotone increase is consistent with étendue limiting attainable target sharpness; non-collimated cases are solved by continuation.

5. Discussion

The method combines a fast differentiable ray-tracing pipeline with optimization choices that support reliable convergence, while remaining subject to non-convexity, representation limits, and finite-étendue constraints.

  • Performance: 2 to 8 seconds: the method converges on a single GPU across the numerical experiments.A full loss-and-gradient evaluation with 222 rays takes well under a millisecond.
  • Optimization reliability: Gnomonic coordinates, H^-1 weighting, and plateau perturbations support reliable convergence in relatively few iterations.They respectively ensure ray intersection, provide a long-range transport signal, and reduce stalling or premature termination.
  • Method choice: The forward ray-tracing formulation avoids repeated two-dimensional quadrature required by lower-dimensional inverse mappings in fully three-dimensional settings.The inverse-mapping integrand also develops singular behavior as the angular source domain shrinks.
  • Limitations: 3.2% to 6.5%: different initial profile heights in Example A reach local optima with different errors.This reflects sensitivity to the basin entered early in the non-convex optimization landscape.
  • Limitations: A fixed 64 × 64 spline compilation grid bounds the finest surface detail the optimizer can express.An adaptive grid is proposed as a possible accuracy improvement, with greater implementation complexity.
  • Limitations: Non-zero étendue sources may not admit exact solutions, so the objective function determines how the irreducible error is distributed.The discussion identifies ringing reduction as one possible direction for future objective design.

6. Conclusion

The paper presents a fully three-dimensional direct optimization method for finite-source reflectors using neural surface parameterization and smooth spline-based differentiable ray tracing. It reports convergence within seconds on a single GPU with a deterministic, reproducible pipeline.

  • Conclusion: The method designs fully three-dimensional reflectors for sources with both spatial and angular extent using a neural surface parameterization compiled to smooth splines.Its loss uses an H^-1-weighted soft histogram for differentiable far-field optimization.
  • Conclusion: Convergence occurs within a few seconds on a single GPU across several examples.The pipeline is deterministic and exactly reproducible.
  • Availability and disclosures: The underlying results are not publicly available but may be obtained from the authors upon reasonable request.The paper declares no conflicts of interest and identifies project funding from Holland High Tech—TKI HSTM.
Loading 2609.00899v1…