ATON QAI β€” Adaptive MZI Phase-Drift Controller (EWMA + 3-Seed MLP Reference Model)

Organization: ATON QAI (@ATON-QAI) Β· Research Paper: Paper 01 β€” When Simple Adaptive Filters Beat Neural Controllers in Drifting Mach-Zehnder Interferometers Β· Interactive Atlas: ATON-QAI/QAI-Research-Interactive-Atlas

This repository provides the open-source reference implementation and calibrated weights/hyperparameters from ATON QAI Research Paper 01, which audited adaptive phase stabilization of thermo-optically drifting Mach-Zehnder interferometers (MZIs) across 61,440 steps (192 episodes) and 6 perturbation regimes under a strictly equal probe budget (8,192 photons/episode).


Model Variants Included

  1. EWMADriftFilter (ewma_alpha = 0.25) β€” Lightweight exponentially weighted moving-average finite-difference phase estimator requiring 0 training parameters and executing in 12.2 us median latency (18.5 us P95).
  2. MLPDriftController (4 -> 16 -> 16 -> 1 Tanh MLP, 3-seed ensemble) β€” Reference neural residual phase controller (353 parameters per seed) executing in 20.0 us median latency (31.0 us P95).

Benchmark Summary Across 6 Perturbation Regimes (8,192 Probes / Episode)

Perturbation Regime EWMA Detection (%) 3-Seed MLP Detection (%) Static Baseline (%) EWMA RMSE (rad) MLP RMSE (rad)
1. Nominal Drift 74.16% 73.64% 73.21% 0.0612 0.1747
2. Fast Random-Walk Drift 73.76% 73.39% 58.19% 0.1535 0.2125
3. Discontinuous Phase Jump 73.23% 73.12% 61.04% 0.2404 0.2535
4. High Optical Loss 15.23% 15.07% 14.21% 0.1332 0.2518
5. Telemetry Dropout 74.15% 73.44% 73.18% 0.0647 0.2050
6. Delayed Actuation 74.11% 72.69% 73.05% 0.0783 0.2830

Quickstart Usage (Python / NumPy)

from modeling_mzi_controller import EWMADriftFilter, MLPDriftController

ewma = EWMADriftFilter(alpha=0.25, dither_rad=0.18, gain=0.55)
mlp = MLPDriftController.from_pretrained_json("weights.json", seed_index=0)

# Update controller using dithered photon counts (n_plus, n_minus)
u_ewma = ewma.step(counts_plus=21, counts_minus=11)
u_mlp = mlp.step(counts_plus=21, counts_minus=11)
print(f"EWMA phase correction: {u_ewma:.4f} rad | MLP correction: {u_mlp:.4f} rad")

Citation

@misc{aton_qai_mzi_controller_2026,
  title  = {When Simple Adaptive Filters Beat Neural Controllers in Drifting Mach-Zehnder Interferometers},
  author = {{ATON QAI Research}},
  year   = {2026},
  url    = {https://aton-qai.ai/research/p-ctrl-01-adaptive-mzi-control}
}
Downloads last month
33
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train ATON-QAI/QAI-MZI-Adaptive-Drift-Controller-v1

Collection including ATON-QAI/QAI-MZI-Adaptive-Drift-Controller-v1