# Integrated electro-optic attention nonlinearities for transformers

- **DOI:** [10.48550/arxiv.2604.09512](https://doi.org/10.48550/arxiv.2604.09512)
- **Rating:** Sound (3.3 out of 5)
- **Verdict:** Modulator-based attention nonlinearities approach digital baselines in simulation, but measured analog noise blocks straightforward deployment at the projected high-speed operating point.
- **Framework version:** v5.13
- **Pipeline version:** v0.4
- **Evaluation date:** 2026-11-25
- **Evaluation page:** https://www.nabu.science/paper/10.48550%2Farxiv.2604.09512

## Key claims

1. Our high-speed nonlinearities based on the intrinsic sinusoidal MZM response achieve performance close to digital baselines in Vision Transformers and GPT-2, even under 4-bit input and output quantization.
   - Support: Tentative
   - Type: Primary finding
   - Basis: simulated model performance does not establish near-baseline operation in an integrated system under measured high-speed noise
   - Location: Abstract
2. Accounting for the full signal chain, our analysis indicates more than an order of magnitude lower latency relative to previous custom electronic and photonic Softmax implementations.
   - Support: Supported
   - Type: Secondary
   - Basis: consistent analytical comparison at n = 64 with assumed component delays rather than measured end-to-end timing
   - Location: Abstract; Discussion; Table I; Appendix S5
3. Language modeling proved markedly more noise-sensitive than image classification, degrading beyond σ > 0.01, below the measured noise floor at 10 GBaud.
   - Support: Tentative
   - Type: Secondary
   - Basis: short-budget simulated noise sweep with unstated replication and conflicting training-duration labels
   - Location: Results, Language Modeling; Fig. 4e

## Strengths

- **Physical nonlinearities tested across transformer tasks** Measured modulator responses inform differentiable attention replacements evaluated in Vision Transformers and GPT-2. The combination establishes a concrete feasibility result beyond transfer-function approximation alone.
  - Dimension: contribution
  - Location: Figures 2–4; Methods
- **Controlled comparisons expose the noise bottleneck** Digital baselines receive matched output quantization, and vision experiments average three training seeds. Noise sweeps distinguish quantization alone from the damaging interaction between additive noise and low-bit attention outputs.
  - Dimension: methodological rigour
  - Location: Methods; Figures 3d–e and 4d–e; Appendix S4
- **Alternatives and deployment limitations receive attention** The discussion engages competing electronic and photonic implementations, acknowledges SOFTONIC's lower energy, and explains why additive noise activates otherwise suppressed attention weights. Appendix S1 also acknowledges the benefit of fused GPU kernels.
  - Dimension: positioning
  - Location: Introduction; Discussion; Table I; Appendices S1 and S4

## Limitations

- **Headline performance obscures measured noise limitations** Close 4-bit model performance is principally a noiseless simulation result. Without noise-aware training, vision accuracy falls below 23% at σ = 0.02 and GPT-2 degrades beyond σ > 0.01, below the measured 10-GBaud noise level near 0.1.
  - Dimension: reporting
  - Location: Abstract; Figures 2e, 3e, and 4e
- **Full hardware chain remains experimentally untested** Bench measurements characterize a single modulator rather than the complete two-modulator Optmax normalization circuit. Table I's latency advantage is a component-level projection at n = 64, not an integrated timing measurement.
  - Dimension: methodological rigour
  - Location: Methods, High-speed RF characterization; Table I; Appendices S2 and S5
- **Language experiments lack replication and reporting precision** GPT-2 run counts and across-run uncertainty are not stated. Figure 4e labels the noise study as 5,000 steps while Methods specifies 2,500, and Appendix S7 names bias −5.93 as optimal although Table IX's minimum is at −3.93.
  - Dimension: methodological rigour
  - Location: Results, Language Modeling; Figure 4e; Methods; Appendix S7, Table IX

## Reliability checks

Caveats (3 of 4 checks).

- **Results check:** Noted
  - "b = −7.93 for Sigmoid and b = −5.93 for Optmoid" (Appendix S7, Causal Language Modeling (Optmoid bias)) vs "Optmoid transfer function fsig(x) using the full min-to-max MZM swing with bias b = −3.93" (Fig. S3 caption, panel (e)). Table IX gives Optmoid validation loss 5.967 at bias −5.93 and a lower minimum of 5.713 at −3.93, consistent with Figure S3e but not the stated optimum. The effect on the result is unclear.
  - "5k Steps Quantization Full precision 4 bit" (Figure 4e) vs "The noise study used 2,500 steps." (Methods, Model training, quantization, and noise emulation). Figure 4e labels the noise experiment as 5,000 steps, whereas Methods and the figure caption specify 2,500 steps, leaving the actual training duration unverified. The effect on the result is unclear.
- **Reporting and transparency:** Clean. Competing interests are disclosed, and named public locations are supplied for code and data. Human- or animal-subject ethics approval is not applicable to the described device and simulation study.
  - Conflict of interest: declared · Data availability: declared · Code availability: declared
- **Reference integrity:** Not checked. Reference integrity check could not run: no references section detected in extracted text.
  - 0 references in manuscript

## Post-publication record

- **Status:** Clean
- **Summary:** No retraction or expression of concern found in Crossref (includes Retraction Watch).
- **Last checked:** 2026-11-25
