Paper: 2606.17028 Authors: Alper Yıldırım Categories: cs.LG, cs.AI, cs.AR
The Gap
Recent work in long-horizon forecasting has shown that simple linear models (e.g., DLinear, FEDformer’s frequency components) often match or beat transformer-based architectures, despite transformers dominating NLP and vision. Mechanistic studies even suggest that the necessary forecasting operator is low-complexity and approximately linear — so why are we still burning compute on dense, learned digital attention? Prior approaches all sit in the digital domain: they train neural networks with millions of parameters to learn temporal mixing layers (self-attention, convolutions, MLPs). This creates a mismatch: if the core operator is simple, why implement it with a heavy learned digital model?
This paper asks the substrate-level question: can the forecasting itself be performed by a passive physical process — specifically, by diffractive optics — with no learned digital sequence mixing at inference? The logical path is straightforward:
Problem: digital temporal mixing is heavy for a simple operator
|
v
Assumption: the forecasting operator is low-complexity and ~linear
|
v
Method: replace digital mixing with passive optical diffraction
|
v
Evidence: on ETTm2 and ETTh2, optical core beats digital baselines
|
v
Conclusion: a passive optical core can serve as a forecasting engine
The Increment
One sentence: Before this paper, forecasting meant training a digital neural network with a temporal mixing layer; after this paper, forecasting can be done by a single passive optical propagation pass through trainable phase masks — no digital mixing at inference.
Core Mechanism
HAMON encodes the input historical sequence onto an optical aperture. The key trick: future time steps are left dark (no amplitude or phase encoded for them). Then the light passes through a cascade of trainable phase masks with free-space diffraction between them — standard Fourier optics. The output field at the aperture’s image plane directly contains the forecast: the intensity distribution across spatial positions corresponds to predicted values at future time steps. At inference, you literally shine light through the device and measure the pattern. No digital mixing layer, no neural network forward pass — just physics.
The components: (1) Input encoder: maps each historical value to a phase shift at a specific aperture location (phase modulation preserves light intensity for readout). (2) Trainable phase masks: typically 2–4 layers of phase pixels that are optimized via a differentiable simulator (TorchOptics). (3) Diffraction propagation: modeled by the angular spectrum method. (4) Output detector: captures the intensity field at the forecast positions.
Input sequence (historical)
|
+---------+
| Encoder | (phase modulation per time step)
+---------+
| light
+---------+ +---------+ +---------+
| Phase | --> | Free | --> | Phase | ...
| Mask 1 | | Space | | Mask 2 |
+---------+ +---------+ +---------+
| (cascaded diffraction)
v
+---------+
| Output | (intensity = forecast values)
+---------+
Structural metaphor: Think of HAMON as an old-fashioned slide projector. The historical sequence is a photographic slide where each time step is a tiny region that either blocks or transmits light. But here, instead of just blocking, we twist the phase of the light (like using a piece of etched glass). The trainable phase masks are like a set of lenses and patterned filters that you slide in between the light source and the screen. Each mask bends the light in a specific way. When you put the slide (encoded history) in the projector and turn on the light, the beam passes through the lens stack and projects the forecast image onto the screen. The crucial difference: the lenses (phase masks) are not designed by a human engineer but learned through simulation. And the screen isn’t showing a picture of the past — it shows the future values. You never compute anything electronically during projection; the light does all the work.
Key Concepts
-
Passive optical computation: Computation that uses only the propagation of light through static or quasi-static optical elements. No electro-optical modulation at inference time; the light itself performs the mathematical operation (here, a learned transformation from input sequence to output forecast). The advantage: near-zero energy consumption per inference (only the light source and detector need power), and potentially high throughput because light propagates at the speed of light.
-
Diffractive neural network (D2NN): A class of optical neural networks where layers are thin, trainable phase masks and the inter-layer “activation” is free-space diffraction. Each mask modulates the phase of the wavefront, and diffraction implements a linear transformation (convolution with a free-space kernel). The entire system is differentiable through a physical simulator, allowing end-to-end training with backpropagation. HAMON applies this idea to time-series forecasting: the input is a one-dimensional sequence, not an image.
-
Forecasting as a spatial mapping: HAMON reinterprets time-series prediction as a spatial transformation: historical values are placed at spatial positions (aperture), and the forecast values appear at other spatial positions (output plane). This is unlike digital models that process time as a temporal dimension. It’s a neat trick because optics naturally operates in space; by encoding time as space, the diffraction can “mix” the sequence without temporal recurrence.
Framework Shift
Here’s the structural difference between mainstream digital forecasting and HAMON:
Before (mainstream approach): After (this paper):
+--------------------------------+ +--------------------------------+
| Input: historical values | | Input: historical values |
| (time series) | | encoded as phase on aperture |
| | | | | |
| +---------+ | | +---------+ |
| | Digital | learned | | | Phase | trainable |
| | Temporal| mixing | | | Masks | but passive |
| | Mixing | (e.g. attn) | | | + Free | during |
| | Layer | requires | | | Space | inference |
| +---------+ energy | | +---------+ |
| | per inference | | | no digital mixing |
| +---------+ | | +---------+ |
| | Output | digital | | | Output | intensity only |
| | Layer | neurons | | | Field | (photons) |
| +---------+ | | +---------+ |
+--------------------------------+ +--------------------------------+
One sentence: From learned digital temporal mixing (heavy compute per inference) to passive optical spatial mixing (light does the work), the core shift is offloading the forecasting operator to physical optics, eliminating the need for any digital sequence-mixing layer at runtime.
Expert Assessment
Problem choice: Real gap. The observation that simple models often win on forecasting benchmarks is well-documented, yet the community continues to propose ever larger digital models. Questioning the substrate is smart — it points to a mismatch between the computational tool and the problem’s complexity. However, the gap is more about engineering practicality than scientific depth; the paper’s true novelty is in asking “why not optics?” rather than in the optical technique itself (diffractive networks exist).
Method maturity: Clever insight but not fully baked. The optical core is trained via simulator and then (presumably) would be fabricated as a static optical element. The paper doesn’t address fabrication tolerances, misalignment, or material dispersion — all real issues for deployment. The ablations (phase scrambling, intensity readout) are well done, showing that the optical field carries the information, not a digital post-processing head. But the cross-simulator check is weak: only one alternative simulator (TorchOptics) and no experimental validation. A simpler approach might be using a digital linear model with a fixed kernel, which would achieve similar performance with much less hassle.
Experimental integrity: Reasonable. Baselines are standard: DLinear, FEDformer, Informer, etc. The results show HAMON beating the strongest baselines on ETTm2 (all horizons) and ETTh2 (all but longest). That’s a strong claim. The author includes MSE improvement percentages (up to 14%) and shows consistent outperformance across horizons, not cherry-picked points. However, on Weather the model is only competitive, and on Traffic/Electricity (high channel count) it trails significantly. This suggests the optical approach struggles with multivariate series — a limitation not deeply discussed. Also, the hyperparameter search for the optical system (number of masks, pixel size) seems limited; there may be better optical designs.
Writing quality: Clear and to the point. The abstract and introduction are well-motivated. The method section is concise given the complexity. Where the authors cut corners is in the “Discussion” section: they barely address practical limitations (noise, coherence, CMOS readout, scaling to high channels). Rewriting that section with honest trade-offs would greatly strengthen the paper’s credibility.
Verdict: Weak accept — provocative idea that reframes the forecasting problem, but flinches on implementation reality and leaves big practical questions open.
Takeaways
-
The “substrate question”: When a task has inherently low complexity, ask whether your computational substrate (digital, analog, optical) is overkill. Hammering nails with a microscope might be elegant, but a rock works too. This paper gives a concrete example of matching substrate to operator simplicity.
-
Space-time duality for time series: Encoding time steps as spatial positions and using spatial propagation (diffraction) to mix them is a transferable trick. Any researcher dealing with sequential data that has a short history could consider a fixed spatial transform (e.g., a convolution with a learned kernel) rather than a full recurrent or attention mechanism. The optics angle is exotic, but the core idea — replace temporal mixing with spatial mixing — applies to digital architectures too (e.g., treating time as a spatial dimension for CNNs).
-
Passive inference as a design goal: Even if you never build the optics, the mindset of eliminating active compute during inference is valuable. Could you precompute a transformation that is applied as a fixed matrix multiply (like a linear time-invariant filter) instead of a neural network forward pass? HAMON shows that for forecasting, the performance might be good enough.
论文: 2606.17028 作者: Alper Yıldırım 分类: cs.LG, cs.AI, cs.AR
缺口
现有时间序列预测研究已被Transformer和复杂模型主导。 但近期证据反复表明:简单的线性模型(如DLinear)和频域方法(如FEDformer)在长程预测中往往不输甚至击败Transformer。 机制层面的研究暗示,预测的核心算子可能天生就是低复杂度的、近似线性的。 既然如此,为何还要用密集的、学习的数字时间混合层(自注意力、卷积)来实现它?
本文提出的问题是基板层面的:如果算子很简单,是不是根本不需要用数字模型来学习时间混合?能不能用被动物理过程——具体来说,衍射光学——来直接做预测?逻辑链如下:
问题:数字时间混合对简单算子来说太重
|
v
假设:预测算子是低复杂度且近似线性的
|
v
方法:用被动光学衍射替代数字混合
|
v
证据:在ETTm2和ETTh2上光学核心优于数字基线
|
v
结论:被动光学核心可以充当预测引擎
增量
一句话:这篇论文之前,预测意味着训练一个带有时间混合层的数字神经网络;这篇论文之后,预测可以通过单次被动光学传播(经过可训练的相位掩模)完成——推理时没有任何数字时间混合层。
核心机制
HAMON将输入的历史序列编码到一个光学孔径上。 关键技巧:未来的时间步被留作暗区(不对它们编码振幅或相位)。 然后,光通过一系列可训练的相位掩模,掩模之间是自由空间衍射——标准傅里叶光学。 输出平面上的光强分布直接对应未来时间步的预测值。 推理时,只需让光通过器件并测量图案——没有神经网络前向传播,只有物理过程。
组件包括: (1) 输入编码器:将每个历史值映射到孔径特定位置的相位调制(相位调制保持光强,便于读出)。 (2) 可训练相位掩模:通常2-4层,通过可微分模拟器(TorchOptics)优化。 (3) 衍射传播:用角谱方法建模。 (4) 输出探测器:捕获预测位置的光强。
输入序列(历史)
|
+---------+
| 编码器 | (每个时间步的相位调制)
+---------+
| 光
+---------+ +---------+ +---------+
| 相位 | --> | 自由 | --> | 相位 | ...
| 掩模1 | | 空间 | | 掩模2 |
+---------+ +---------+ +---------+
| (级联衍射)
v
+---------+
| 输出 | (光强 = 预测值)
+---------+
结构性比喻:把HAMON想象成一台老式幻灯片投影仪。 历史序列是一张幻灯片,每个时间步是幻灯片上的一个小区域——但这里不是挡住光,而是扭曲光的相位(像用一块刻花玻璃)。 可训练的相位掩模就像一组透镜和带图案的滤光片,你把它们插在光源和屏幕之间。 每个掩模以特定方式弯曲光线。 你把幻灯片(编码的历史值)放进投影仪,打开光源,光束通过透镜组,在屏幕上投射出预测图像。 关键不同:透镜(相位掩模)不是光学工程师设计的,而是通过模拟学习得到的。 而且屏幕上不是过去的图像——而是未来的数值。 在整个投影过程中,你不做任何电子计算;光自己完成了所有工作。
关键概念
-
被动光学计算:仅利用光通过静态或准静态光学元件的传播来完成计算。 推理时不需要电光调制;光本身执行数学运算(这里是从输入序列到输出预测的学习变换)。 优势:每次推理几乎不消耗能量(仅需光源和探测器供电),且因为光以光速传播,可能有高吞吐量。
-
衍射神经网络(D2NN):一类光学神经网络,层是薄的可训练相位掩模,层间“激活”是自由空间衍射。 每个掩模调制波前的相位,衍射实现线性变换(与自由空间核的卷积)。 整个系统通过物理模拟器可微分,从而用反向传播端到端训练。 HAMON将这个想法应用于时间序列预测:输入是一维序列,而非图像。
-
预测作为空间映射:HAMON将时间序列预测重新解释为空间变换:历史值被放置于空间位置(孔径),预测值出现在其他空间位置(输出平面)。 这与数字模型不同——数字模型把时间当作维度来处理。 这是个巧妙转换,因为光学天然工作在空间域;将时间编码为空间后,衍射就可以“混合”序列,而无需时间递归。
框架转变
以下是主流数字预测与HAMON的结构差异:
之前(主流方法): 之后(本文方法):
+--------------------------------+ +--------------------------------+
| 输入:历史值(时间序列) | | 输入:历史值编码为孔径上的相位|
| | | | | |
| +---------+ | | +---------+ |
| | 数字时间 | 学习到的 | | | 相位掩模 | 可训练但推理时 |
| | 混合层 | 混合(如注意力)| | | +自由空间 | 被动 |
| | | 每次推理耗能 | | | | |
| +---------+ | | +---------+ |
| | | | | |
| +---------+ | | +---------+ |
| | 输出层 | 数字神经元 | | | 输出光强 | 光子读出 |
| +---------+ | | +---------+ |
+--------------------------------+ +--------------------------------+
一句话:从学习到的数字时间混合(推理时计算量大)到被动光学空间混合(光完成工作),核心转变是将预测算子卸载到物理光学上,消除了运行时任何数字序列混合层的需要。
专家评审
选题眼光:真缺口。 简单模型在预测基准上常胜Transformer这一观察已被充分验证,但社区仍在堆更大的数字模型。 质疑基板的选择是聪明的——它指出了计算工具与问题复杂度之间的不匹配。 不过,这一缺口更多是工程实用性的问题,而非科学深度;论文的真正新意在于问“为什么不用光学?”,而非光学技术本身(衍射网络已存在)。
方法成熟度:巧思但未完全成熟。 光学核心通过模拟器训练,然后(大概)会被制造为静态光学元件。 论文没有讨论制造公差、失准或材料色散——这些都是实际部署中的问题。 消融实验(相位打乱、强度读出)做得好,表明信息确实来自光学场,而非数字后处理头。 但跨模拟器验证很弱:只用了TorchOptics一个替代模拟器,没有实验验证。 一个更简单的方法可能是使用固定核的数字线性模型——性能可能差不多,但麻烦少得多。
实验诚意:合理。 基线是标准的:DLinear、FEDformer、Informer等。 结果显示HAMON在ETTm2(所有预测长度)和ETTh2(除最长外)上都击败最强基线,MSE最高改善14%,且跨预测长度一致,不是孤立点。 但在Weather上仅持平,在Traffic和Electricity(高通道数)上明显落后。 这说明光学方法在多变量序列上有局限——论文没有深入讨论。 另外,光学系统的超参数搜索(掩模数量、像素尺寸)似乎有限,可能存在更好的光学设计。
写作功力:清晰直接。 摘要和引言动机充分。 方法部分在复杂度范围内写得简洁。 作者偷懒的地方在“讨论”部分:几乎没提实际限制(噪声、相干性、CMOS读出、高通道数缩放)。 把那段重写,诚实地列出权衡,会大大提升论文可信度。
判决:弱接收——这是一个挑衅性的想法,重新定义了预测问题,但在实现现实上退缩了,留下了巨大的实际问题未解答。
要点总结
-
“基板问题”:当任务复杂度本质上很低时,问问你的计算基板(数字、模拟、光学)是否杀鸡用牛刀。 用显微镜钉钉子很优雅,但石头也行。 这篇论文给出了一个具体例子,将基板与算子简单性匹配。
-
时间序列的空间-时间对偶:将时间步编码为空间位置,用空间传播(衍射)来混合它们——这是一个可迁移的技巧。 任何处理短历史序列的研究者都可以考虑用一个固定的空间变换(比如一个学习过的卷积核)来代替全递归或注意力机制。 光学角度很另类,但核心想法——用空间混合替代时间混合——同样适用于数字架构(比如把时间看作CNN的空间维度)。
-
被动推理作为设计目标:即使你永远不会造出光学器件,消除推理时的主动计算这一思想也是有价值的。 能否预计算一个变换,然后在推理时作为一个固定的矩阵乘法(像一个线性时不变滤波器)应用,而不是做一次神经网络前向传播? HAMON表明,对于预测,这种方式的性能可能已经足够了。