Opto-ViT-v2: Noise-Resilient On-Chip Fine-Tuning for Photonic Near-Sensor Vision Transformer Accelerators

Xuming Chen, Deniz Najafi, Mehrdad Morsali, Chengwei Zhou, Zahra Ghanaatianjobzari, Mahdi Nikdast, Shaahin Angizi, Gourav DattaarXiv 2026

TL;DR

Opto-ViT-v2 is the first framework to enable parameter-efficient fine-tuning (PEFT) directly on silicon-photonic Vision Transformer accelerators. By isolating heavy, pretrained weights on optical cores and routing a tiny set of trainable factors to the electronic domain, it bypasses the traditional bottlenecks of activation storage, slow weight write-backs, and analog device noise to achieve high-efficiency on-chip domain adaptation.

What Problem Does This Paper Address?

Silicon-photonic (SiPh) accelerators have emerged as a hardware savior for running massive Vision Transformers (ViTs) at the edge. By using microring-resonator (MRR) banks and wavelength-division multiplexing, these chips perform the heavy matrix multiplications of self-attention mechanisms at the speed of light and with extreme energy efficiency.

However, while these accelerators excel at inference, performing on-chip fine-tuning (training the model on new data at the sensor edge) has remained an unsolved challenge due to three fundamental hardware constraints:

  1. Activation Storage: Backpropagation requires storing intermediate activations from the forward pass. For a standard ViT, this footprint easily exceeds the tiny on-chip buffer capacity of photonic architectures.
  2. Weight Write-Back Latency: In standard fine-tuning, millions of weights must be updated and written back to the MRR banks after every single gradient step. Tuning these optical components via thermal or electro-optic mechanisms is prohibitively slow and power-hungry.
  3. Device Noise: Photonic components suffer from fabrication variations, laser intensity fluctuations, and thermal crosstalk. This analog noise corrupts both forward activations and backward gradient signals, severely degrading training convergence.

Methods

The authors introduce Opto-ViT-v2, a hardware-algorithm co-design framework that splits the training workload into a heavy, frozen optical component and a lightweight, trainable electronic component.

Figure 3: (a) Opto-ViT-v2 operations, and (b) photonic archi- tecture and corresponding interface signals for Opto-ViT-v2.

1. Tensorized Low-Rank Decomposition

Instead of updating the entire weight matrix ($W$), Opto-ViT-v2 expresses the fine-tuning update using a tensorized Tensor-Train decomposition: $$W_i = W_{0,i} + s \cdot U \mathbf{\Sigma}_i V^\top$$ The heavy, pretrained weights ($W_{0,i}$) remain completely static and are streamed onto the optical cores. Only the tiny global factors ($U, V$) and per-layer factors ($\mathbf{\Sigma}_i$) are trained, and they reside entirely within the electronic processing unit's SRAM.

2. Gradient-Accumulated Sparse Head

While low-rank decomposition slashes the backbone parameters, the task-specific classification head typically dominates the remaining training budget. Applying low-rank factorization here fails because it blurs the sharp boundaries needed for class discrimination. Instead, the authors propose a sparse training strategy: they warm up the head, accumulate gradient magnitudes over 10 mini-batches to estimate parameter importance, and then apply a one-shot top-$k$ mask—freezing the bottom 40% of low-importance classifier weights.

3. First System-Level Photonic Training Noise Model

To realistically evaluate training under hardware imperfections, the authors built a bottom-up noise model calibrated against more than 200 fabricated MRR devices. This model uniquely captures how input-dependent thermal drift and spatial crosstalk propagate through both the forward and backward optical passes.

Datasets

The framework was evaluated using an end-to-end device-to-application simulation framework across two major computer vision benchmarks:

  • VTAB-1K: A comprehensive benchmark spanning 19 diverse image classification tasks (including natural, specialized, and structured domains) with 1,000 training samples per task.
  • FGVC Few-Shot Benchmarks: Fine-Grained Visual Classification datasets including Food-101, Stanford Cars, Oxford Flowers-102, FGVC-Aircraft, and Oxford-IIIT Pets evaluated under 2- to 16-shot regimes.

Key Insights and Ideas

  • The Electronic Safe Haven: Confining all parameter updates to the electronic domain means the actual weight adjustments are completely immune to photonic noise. The electronic unit computes exact updates, even though it receives noisy operands from the optical cores.
  • Low-Rank Factorization as a Noise Filter: A fascinating finding is that updating low-rank factors is inherently more robust to analog noise than full fine-tuning. Because the updates are constrained to a low-dimensional factor space, the network naturally filters out random, high-frequency gradient noise introduced by the photonics.
  • Bypassing the Memory Wall: Because the factor gradients only depend on a projected intermediate space ($X_iU$) rather than the full activation tensor ($X_i$), the required activation caching drops by 192$\times$, allowing the entire training state to fit comfortably inside a standard 220 KB electronic SRAM buffer.

Key Results

  • Accuracy Recovery: Under realistic, measured photonic noise conditions, Opto-ViT-v2 recovers within 0.3% to 0.8% of the accuracy achieved by idealized, noise-free software baselines.
  • Massive Parameter Reduction: It operates with only 44K to 72K trainable parameters (a 3$\times$ to 8$\times$ reduction over prior state-of-the-art PEFT methods like LoRA or Adapter).
  • Efficiency Gains: By eliminating the need to constantly re-program the optical MRRs, Opto-ViT-v2 reduces weight programming events by $\sim 10^4\times$ compared to fully optical training models, enabling energy-efficient edge throughput exceeding 100 KFPS/W.

Limitations and Future Work

While Opto-ViT-v2 elegantly solves the primary physical bottlenecks of photonic training, a few limitations remain:

  • Hybrid Domain Scaling: As the rank ($r$) increases to capture more complex tasks, the electronic compute overhead scales quadratically ($\mathcal{O}(r^2)$). Finding the optimal crossover point where electronic overhead threatens to eclipse optical savings remains an open architectural question.
  • Physical Prototyping: The evaluation relies on a highly detailed, bottom-up simulation framework calibrated to real fabricated MRRs. A fully deployed, physical end-to-end training chip will be the ultimate validation of this co-design approach.

Summary updated

BibTeX
@misc{chen2026opto,
  author = {Xuming Chen and Deniz Najafi and Mehrdad Morsali and Chengwei Zhou and Zahra Ghanaatianjobzari and Mahdi Nikdast and Shaahin Angizi and Gourav Datta},
  title = {{Opto-ViT-v2: Noise-Resilient On-Chip Fine-Tuning for Photonic Near-Sensor Vision Transformer Accelerators}},
  year = {2026},
  eprint = {2607.19421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.19421},
}
Figure