TMMax: High-performance modeling of multilayer thin-film structures using transfer matrix method with JAX
간접 관련 필름·전자재료 · (11) 배리어 필름 (13) 프리즘 필름(15) 디스플레이 패널재료
기본 정보
- 저자
- DOI
- 10.21105/joss.09088
- 저널
- The Journal of Open Source Software
- 발행년도
- 2025
- 발행기관
- Open Journals
- 피인용수
- 1
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.21105/joss.09088
- 토픽
- Optical Coatings and Gratings
- OpenAlex ID
- W4415591573
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 필름·전자재료 · (11) 배리어 필름
- 부 분야
- (13) 프리즘 필름, (15) 디스플레이 패널재료
- R&D 측면
- 분석·모델링
- 확신도
- 0.90
- 근거 용어
- multilayer thin-film structures, transfer matrix method, optical modeling, dielectric multilayer structures, reflectance/transmittance
- 판단 근거
- 이 논문은 다층 박막 구조의 광학적 특성(반사, 투과 등)을 시뮬레이션하는 고성능 모델링 소프트웨어(TMMax)에 관한 연구입니다. 이는 코오롱인더스트리의 배리어 필름, 광학 필름, 디스플레이 패널재료 개발 시 박막 설계 및 광학 성능 예측을 위한 분석 도구로 활용될 수 있습니다.
- R&D 활용 포인트
- 배리어 필름의 다층 코팅 구조 설계나 프리즘 필름의 광학적 특성 최적화 시, 고속 시뮬레이션을 통해 실험 횟수를 줄이고 설계 정밀도를 높이는 데 활용 가능합니다.
- 평가 입력
- 본문 11,486자
초록
본문 11,486자
본문 펼치기
섹션 본문 9문단 · 4,893자
(제목 없음)
1Optical multilayer thin-films are fundamental components that enable the precise control of reflectance, transmittance, and phase shift in the design of photonic systems.Rapid and accessible simulation of these structures holds critical importance for designing and analyzing complex coatings.While researchers commonly use the traditional transfer matrix method for designing these structures, its scalar approach to wavelength and angle of incidence causes redundant recalculations and inefficiencies in large-scale simulations.Furthermore, traditional method implementations do not support automatic differentiation, which limits their applicability in gradient-based inverse design approaches.Here, we present TMMax, a Python library that fully vectorizes and accelerates transfer matrix method using the high-performance machine learning library JAX.TMMax supports CPU, GPU, and TPU hardware, and includes a publicly available material database.Our approach, demonstrated through benchmarking, allows us to model thin-film stacks with hundreds of layers within seconds.This illustrates that our method achieves a simulation speedup of x100s over a baseline NumPy implementation, enabling optical engineers and thin-film researchers in optics and photonics to efficiently design complex dielectric multilayer structures through rapid and scalable simulations.
Statemement of need
2The Transfer Matrix Method (TMM) models multilayer optical thin films by applying Snell's law for light propagation and Fresnel equations to compute interface transmittance and reflectance.
3In TMM, the optical behavior of an N-layer multilayer structure composed of dielectric materials is obtained by computing the system matrix M, as shown in Equation ( 1).This matrix calculation, commonly referred to as the Abeles TMM [1], results from the successive multiplication of the transfer matrices of each layer (M i ) [2].
4arXiv:2507.11341v2 [physics.comp-ph]24 Oct 2025 In traditional TMM implementations, the stack of layers in Figure 1a is simulated using a single wavelength and angle of incidence, as shown in Figure 1b, and nested loops over wavelengths and angles lead to redundant calculations [3].TMMax removes these redundancies by vectorizing wavelengths and angles and all intermediate TMM operations via JAX [4].As seen in the schematic of the vectorized implementation in Figure 1c, we vectorize all intermediate operations in TMM and subsequently apply JAX's just-in-time (JIT) decorator.Instead of running the mapped TMM code sequentially over each batch element of wavelength and angle of incidence, jax.jit fuses all operations across the batch into a single XLA-compiled [5] kernel.This reduces function call overhead and provides a faster TMM implementation.TMMax replaces the conventional for-loop system-matrix calculation [6] with JAX's lax.scan, enabling JIT compilation and eliminating interpreter bottlenecks, while running efficiently on CPUs, GPUs, and TPUs without code changes.
5TMMax supports deep learning-based inverse design by keeping all computations on the GPU, avoiding costly CPU-GPU data transfers [7].Whereas NumPy-based [8] TMM packages that lack native gradients and require Autograd [9], TMMax natively computes gradients.Additionally, TMMax integrates a curated database of 30 extensively used dielectric materials, sourced from refractiveindex.info[10], thereby enabling optical engineers and thin-film researchers in optics and photonics to efficiently simulate complex multilayer structures through a scalable, JAX-accelerated implementation.
Benchmarks
6Runtime in TMM scales naturally with the number of layers, as well as the lengths of the wavelength and incidenceangle arrays, due to the increased number of transfer matrix multiplications.To benchmark TMMax, we used tmm library [3] as a reference.To assess how layer count affects computational performance, we sampled 20 multilayer structures ranging from 2 to 400 layers, with each layer randomly assigned one of seven materials and thicknesses between 100-500 nm.Spectral and angular domains were fixed at 20 points each, spanning 500-1000 nm and 0-π/2 radians, respectively.Figure 2 shows that while tmm runtime grows rapidly, TMMax scales efficiently, remaining nearly constant (∼1.0-1.2 s) for low-layer structures and achieving speedups from 18× (2 layers) to 700× (400 layers).
Figure 1 :
7Figure 1: Schematic of two strategies for calculating transmission, reflection, and absorption in multilayer thin-film simulations.The system (a) is modeled either by sequentially multiplying 2×2 transfer matrices for each wavelength and incidence angle (b) or by vectorizing these operations across both axes (c).
Figure 2 :
8Figure 2: Run time vs. layer count comparing tmm (orange) and TMMax (blue).
Figure 3 :
9Figure 3: The colormaps show the runtime performance of tmm and TMMax across varying simulation grid sizes, comparing 8-and 80-layer stacks in (a) and (b), respectively.
참고문헌 7건
- Accelerating the Dynamic Programming for the Matrix Chain Product on the GPU 2011 10.1109/icnc.2011.62
- General transfer-matrix method for optical multilayer systems with coherent, partially coherent, and incoherent interference Applied Optics · Optica Publishing Group · 2002 10.1364/ao.41.003978
- Multilayer optical calculations arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1603.02720
- Recherches sur la propagation des ondes électromagnétiques sinusoïdales dans les milieux stratifiés Annales de Physique · EDP Sciences · 1950 10.1051/anphys/195012050596
- Accelerating optics design optimizations with deep learning Optical Engineering · SPIE · 2019 10.1117/1.oe.58.6.065103
- Array programming with NumPy Nature · Nature Portfolio · 2020 10.1038/s41586-020-2649-2
- Refractiveindex.info database of optical constants Scientific Data · Nature Portfolio · 2024 10.1038/s41597-023-02898-2