betaFeedback

WorksPhysics and Astronomy

A Multimode-Fiber Speckle Sensing Node with a Press-Robust Quantized Network for Liquid-Cooling Thermal Monitoring

Abstract

Liquid-cooled AI and HPC racks concentrate heat at cold plates and manifolds, below the granularity of facility sensors. We present a self-contained edge node that turns one multimode fiber into a distributed thermal-event sensor over nine pipe segments, with a 450 nm laser, a camera and a Zynq UltraScale+ device that captures, infers, displays and reports over MQTT. The speckle decorrelates within tens of seconds at constant temperature, and a press can change it as much as a 1 degree Celsius rise. The node averages each 20 s window and feeds two planes, the mean pattern and a 19-dimensional temporal-feature map, to a 61.6k-parameter int8 convolutional neural network (CNN) that treats presses as hard negatives and runs in the programmable logic at 565 microseconds per frame. On a 59-session, 70,148-window dataset, session-held-out validation gives a pooled AUC of 0.961 against 0.876 for decorrelation, no alarm during the hold or the 45 s rebound in 23 press trials against 6 and 16, and a mean per-fold step detection of 83.8% at 0.4 false alarms per hour.

Figure 1. A speckle frame (left) and its residual against a frame 30 s later (right), in pseudo-color; ΔT=0.57 ∘C\Delta T = 0.57\,^\circ\mathrm{C} and 1−r=0.511-r=0.51.

Introduction

Power density has pushed data-center cooling to chip-level liquid cooling [1]. Published energy data for Frontier exposes only loop-level temperatures [2], and cooling benchmarks use the same aggregates [3]. The sensors that reveal a blocked cold plate sit at the manifold and plate level, where every point costs wiring or a coolant penetration.

A multimode fiber is a good transducer, since a temperature change anywhere alters the modal phases and the exit speckle [4]. Speckle has been used for strain [5], curvature [6], wavelength [7], [8] and, with learned demodulation, temperature [9], [10], [11]; distributed sensing [12], [13] resolves meters, not cold plates. A node needs one fiber, one camera and a board.

Two properties defeat naive demodulation. The speckle drifts, the correlation falling to 0.6–0.7 after 60 s at constant temperature [7], [8], and a press can decorrelate it as much as a 1 °C rise. We contribute a complete node, a 59-session dataset with press and acoustic distractors, a two-plane Speckle Pattern Inference Engine (SPINE) at 2.6-million-multiply-accumulate (MMAC) whose inference runs in the programmable logic (PL), and comparisons against feature-based, backbone and foundation models.

Device and Architecture

A 450 nm laser feeds 3 m of multimode fiber wound on nine heated pipe segments. Sixteen 12 V/5 W heaters are switched by metal-oxide-semiconductor field-effect transistors (MOSFETs), and thirteen DS18B20 probes are recorded on an eighteen-channel frame, nine as feedback. An STM32F103 runs the 1 Hz proportional-integral-derivative (PID) loop and de-energizes all heaters on any fault. An OV9281 camera images the exit facet at 640 × 800 RAW8 over one MIPI lane; exposure is locked and five frames within 0.5 s are median-fused to 1 Hz, which keeps brightness from becoming a shortcut.

Fig. 2 shows the node; the PL receives the Mobile Industry Processor Interface (MIPI) D-PHY stream, parses Camera Serial Interface 2 (CSI-2) with error-correcting-code (ECC) and cyclic-redundancy-check (CRC) checks, and writes frames to DDR4 by video direct memory access (VDMA) at 149.8 fps. The SPINE core reads 2×56×562 \times56 \times56 over Advanced eXtensible Interface (AXI) direct memory access (DMA), keeps every feature map on chip and pipelines frames between layers. The processing system (PS) runs the window buffer, the nineteen temporal features, the alarm rule and MQTT; a PL compositor builds the 800 × 480 screen. The testbed reproduces stepped heating, and a quiescent channel shows a detrended noise of 0.059 °C (Figure 3). At 100 MHz a frame takes 565 μ\mus in simulation, 1.12 ms for the first and 1.33 ms on a host round trip. The design uses 28.8% look-up tables (LUTs), 14.2% flip-flops (FFs), 24.8% block random-access memory (BRAM) and 30.0% digital-signal-processing (DSP) slices at +2.55 ns worst slack; on-chip power is 2.99 W, the inference core about 0.21 W, or 0.29 mJ per 1.33 ms inference.

Figure 3. Thermal testbed. (a) Stepped heating of three segments. (b) Quiescent channel, detrended σ=0.059\sigma= 0.059 °C.

The sensing node

Figure 2. The sensing node. The thermal testbed is used for collection and calibration only.

Dataset

A session is one recording under one configuration and is the unit of splitting. A window is heating when any feedback channel moves by at least 1.0 °C within 120 s, in either direction, and normal when no channel moves more than 0.25 °C and no setpoint changed within 300 s. Press trials are cued, and the interval runs to 45 s after release to cover the acrylic rebound.

The corpus has 59 sessions and 57 413 labelled windows in five laser power-on domains.

Let ZtZ_t be the normalized frame at time tt and A,BA,B two window means. Their similarity is

r(A,B)=∑i(Ai−Aˉ)(Bi−Bˉ)∑i(Ai−Aˉ)2∑i(Bi−Bˉ)2,(1)r(A,B) = \frac{\sum_i(A_i-\bar{A})(B_i-\bar{B})}{\sqrt{\sum_i(A_i-\bar{A})^2}\sqrt{\sum_i(B_i-\bar{B})^2}}, \tag*{(1)}

and the decorrelation is d=1−rd = 1-r. The detection task is to decide, from windows alone, whether any of the nine feedback points moved by at least 1 °C within 120 s.

Two properties of the data set the task. Time drift: at constant temperature the frame correlation falls from 0.99 at 1 s to 0.45 at 60 s and 0.23 at 300 s, while a heating session decays faster. Amplitude overlap: window 1−r1-r separates normal from heating, but light presses sit between the two and heavy presses reach the heating level (Figure 4c), so a heavy press is as decorrelating as a 1 °C rise and 1−r1-r alone gives an area under the receiver operating characteristic curve (AUC) of 0.53. Together they motivate comparing window means and learning the temporal signature rather than thresholding amplitude. Figure 5 shows a 74-min heating session: the score follows every step and the detector raises one alarm per step.

Dataset characteristics

Figure 4. Dataset characteristics. (a) Window composition by session type. (b) Labelled windows per fold. (c) Median window 1−r1-r by class.

Alarm process of a 74-min heating session

Figure 5. Alarm process of a 74-min heating session. Top, maximum temperature change, with shaded bands where the rise exceeds 1 ∘C1\,^\circ\mathrm{C}. Bottom, the score z1−z0z_1-z_0 with 11-point median smoothing; the dashed line is the 99th-percentile threshold and triangles mark raised alarms.

Method

Frames are row-binned to 400×640400 \times640, divided by a Gaussian-blurred copy (σ=40\sigma= 40 px) and standardized. Plane 0 is the window mean

Zˉw=1∣w∣∑t∈wZt,(2)\bar{Z}_w = \frac{1}{|w|}\sum_{t\in w} Z_t, \tag*{(2)}

cropped to 392 × 392, block-averaged to 56 × 56 and quantized with scale 40 and zero point 128. Plane 1 holds nineteen temporal features, six multiscale decorrelations, three adjacent-frame statistics, a 10 s mean ratio, four within-window deviations, recovery, monotonicity and brightness and contrast changes, quantile-normalized and mapped to 8-bit by

q(x)=clip⁡(round⁡(x−ℓh−ℓ255),0,255),(3)q(x)=\operatorname{clip}\left(\operatorname{round}\left(\frac{x-\ell}{h-\ell}255\right),0,255\right), \tag*{(3)}

with ℓ,h\ell,h the 2nd and 98th training percentiles, then tiled to 56 × 56.

The network is four 3×3/23 \times3/2 convolutions with 16/32/64/64 channels, a 4×44 \times4 global average pooling (GAP) layer and two fully connected (FC) layers, giving 61.6k parameters and 2.6-million-multiply-accumulate (MMAC). Channel 0 is normal, 1 heating, 4–8 a five-dimensional embedding. Training uses class-weighted cross entropy; presses are duplicated six times as hard negatives, the embedding is regularized by Deep SAD [14], and the last 8 of 38 epochs are quantization-aware [15] with int8 weights and 12-bit activations. The score is

st=z1(t)−z0(t),(4)s_t=z_1(t)-z_0(t), \tag*{(4)}

thresholded at the 99th percentile θ\theta of training-fold normal windows; an alarm is raised when

at=I{st>θ, st−1>θ, st−2>θ},(5)a_t=\mathbb{I}\{s_t>\theta,\ s_{t-1}>\theta,\ s_{t-2}>\theta\}, \tag*{(5)}

evaluated every 2 s with a 300 s cooldown.

Experiments

All results use twelve-fold session-held-out validation; thresholds are set on training folds. Baselines are 1−r1-r, gradient boosting and logistic regression on the same features.

Table I and Figure 6 summarize. Pooled AUC rises from 0.876 to 0.961, recall at 1% false alarms from 28.4% to 41.3%, and the press fraction above the 90%-recall threshold falls from 77.8% to 10.8%. Gradient boosting reaches 0.965 and 44.6%, on par with the SPINE but requiring a CPU pipeline; logistic regression reaches 0.942 yet only 4.6% at 1% false alarms. The SPINE is the only compared model whose inference runs in the PL. Parameter matching isolates the gain. A 61.6k-parameter CNN on the same planes reaches 0.777, and a 66.7k-parameter MLP on the features reaches 0.957; neither rejects presses.

Performance comparison

Figure 6. (a) Pooled ROC over the first 20% of the false-alarm axis. (b) Press-trial alarms. (c) Event-level trade-off.

MethodAUCDetected (%)Delay (s)Platform
SPINE (ours)0.96183.8179PL
MLP (66.7k)0.957––GPU
TinyCNN (61.6k)0.777––GPU
1−r1-r0.87685.0148PS
LGBM0.96587.2174CPU
LR0.94262.8214CPU
TabICL0.970––GPU
TabPFN0.970––GPU

Table I. Comparison under the same twelve-fold, session-held-out split. AUC is pooled; detection is the mean per-fold step-event rate and delay its median, reported for event-level runs.

At the event level the SPINE detects 83.8% per fold at 0.4 false alarms per hour, against 85.0% at 0.8 for 1−r1-r, 87.2% at 1.8 for boosting and 62.8% at 3.5 for logistic regression, matching detection at half the false alarms. The median delay is 179 s, with a 2.9 ∘C2.9\,^\circ\mathrm{C} change at the alarm. Over 23 press trials the deployed detector alarms 6 times during the hold and 16 times within 45 s of release, while the SPINE alarms in none of the 23 during the hold or the rebound window.

Table I compares all methods under the same split. SPINE reaches 0.961 and needs 2.6 MMAC per inference, or 1.33 ms on the board; gradient boosting and logistic regression reach 0.965 and 0.942 with microsecond CPU inference, and TabICL [16] and TabPFN [17] reach 0.970 at sub-millisecond latency on a GPU. SPINE is the only model whose inference runs on the board and the only one trained to reject presses.

Discussion

SPINE gains its margin from two choices. The window mean removes the fast component of laser drift, and the nineteen temporal features expose the rise-versus-transient signature that a single decorrelation value lacks; sixfold press duplication then pushes transients to the non-heating side. A detector at 2.6 MMAC rejects presses and holds 0.4 false alarms per hour, while the foundation models need a host GPU for a 0.009 AUC gain. A control experiment with ResNet-18 and MobileNetV3-S trained on the same 56 × 56 planes reached only 0.57–0.66 AUC at 5–127 MMAC, so raw capacity does not replace the two-plane design.

Conclusion

We described a multimode-fiber speckle node, a 59-session dataset with press and acoustic distractors, and SPINE. It removes press-induced alarms during the hold and rebound, holds 0.4 false alarms per hour at 83.8% step detection, and reaches a pooled AUC of 0.961.

References

  1. [1]R. Kong, H. Zhang, M. Tang, H. Zou, C. Tian, and T. Ding, “Enhancing data center cooling efficiency and ability: A comprehensive review of direct liquid cooling technologies,” Energy, vol. 308, p. 132846, 2024.
  2. [2]J. Sun, Z. Gao, D. Grant, K. Nawaz, P. Wang, C.-M. Yang, P. Boudreaux, S. Kowalski, and S. Huff, “Energy dataset of Frontier supercomputer for waste heat recovery,” Scientific Data, vol. 11, p. 1077, 2024.DOI
  3. [3]A. Naug, A. Guillen-Perez, V. Kumar, S. Greenwood, W. Brewer, S. Ghorbanpour, A. Ramesh Babu, V. Gundecha, R. Luna Gutierrez, and S. Sarkar, “LC-Opt: Benchmarking reinforcement learning and agentic AI for end-to-end liquid cooling optimization in data centers,” in Advances in Neural Information Processing Systems 38 (NeurIPS), Datasets and Benchmarks Track, 2025, pp. 176 897–176 946.arxiv.org/abs/2511.00116
  4. [4]B. Redding, S. M. Popoff, and H. Cao, “All-fiber spectrometer based on speckle pattern reconstruction,” Optics Express, vol. 21, no. 5, pp. 6584–6600, 2013.DOI
  5. [5]M. J. Murray, A. Davis, C. Kirkendall, and B. Redding, “Speckle-based strain sensing in multimode fiber,” Optics Express, vol. 27, no. 20, pp. 28 494–28 506, 2019.DOI
  6. [6]E. Fujiwara and T. D. Cabral, “Optical fiber specklegram sensor for multi-point curvature measurements,” Applied Optics, vol. 61, no. 23, pp. 6787–6794, 2022.DOI
  7. [7]N. K. Metzger, R. Spesytsev, G. D. Bruce, B. Miller, G. T. Maker, G. Malcolm, M. Mazilu, and K. Dholakia, “Harnessing speckle for a sub-femtometer resolved broadband wavemeter and laser stabilization,” Nature Communications, vol. 8, p. 15610, 2017.DOI
  8. [8]G. D. Bruce, L. O’Donnell, M. Chen, and K. Dholakia, “Overcoming the speckle correlation limit to achieve a fiber wavemeter with attometer resolution,” Optics Letters, vol. 44, no. 6, pp. 1367–1370, 2019.DOI
  9. [9]L. Yang, X. Wang, T. Wu, H. Lin, S. Luo, Z. Chen, Y. Liu, and J. Pu, “Deep learning-based multimode fiber distributed temperature sensing,” Sensors, vol. 25, no. 9, p. 2811, 2025.DOI
  10. [10]F. J. Vélez Hoyo, J. D. Arango, V. H. Aristizábal, C. Trujillo, and J. A. Herrera-Ramírez, “Enhancing temperature sensing in fiber specklegram sensors using multi-dataset deep learning models: Data scaling analysis,” Photonics, vol. 13, no. 1, p. 84, 2026.DOI
  11. [11]H. Gao, H. Hu, and Q. Zhan, “Tailoring temperature response for a multimode fiber,” Opto-Electronic Science, vol. 4, no. 1, p. 2400004, 2025.DOI
  12. [12]X. Bao and L. Chen, “Recent progress in distributed fiber optic sensors,” Sensors, vol. 12, no. 7, pp. 8601–8639, 2012.pubmed.ncbi.nlm.nih.gov/23012508
  13. [13]H. Gemeinhardt and J. Sharma, “Machine-learning-assisted leak detection using distributed temperature and acoustic sensors,” IEEE Sensors Journal, vol. 24, no. 2, pp. 1520–1531, 2024.DOI
  14. [14]L. Ruff, R. A. Vandermeulen, N. Görnitz, A. Binder, E. Müller, K.-R. Müller, and M. Kloft, “Deep semi-supervised anomaly detection,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2020.arxiv.org/abs/1906.02694
  15. [15]B. Jacob, S. Kligys, B. Chen, M. Zhu, M. Tang, A. Howard, H. Adam, and D. Kalenichenko, “Quantization and training of neural networks for efficient integer-arithmetic-only inference,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2018, pp. 2704–2713.arxiv.org/abs/1712.05877
  16. [16]J. Qu, D. Holzmüller, G. Varoquaux, and M. Le Morvan, “TabICL: A tabular foundation model for in-context learning on large data,” in Proc. 42nd Int. Conf. Mach. Learn. (ICML), ser. PMLR, vol. 267, 2025, pp. 50 817–50 847.arxiv.org/abs/2502.05564
  17. [17]N. Hollmann, S. Müller, L. Purucker, A. Krishnakumar, M. Körfer, S. B. Hoo, R. T. Schirrmeister, and F. Hutter, “Accurate predictions on small data with a tabular foundation model,” Nature, vol. 637, no. 8045, pp. 319–326, 2025.DOI

Paper details

vlnc:W_3np92xmz
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY-SA 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents