When a laser welds or 3D-prints metal, it digs a narrow vapor cavity called a keyhole into the molten pool. If that cavity's back wall collapses, a gas bubble is pinched off. The bubble either rides the pool's flow up to the surface and escapes, or it freezes in place as a pore that weakens the part. High-speed X-ray imaging shows that collapse in the risky "transition" regime is driven by fast radial wobbles of the keyhole at roughly 2.5–10 kHz (Huang et al.). Factories cannot use X-rays. They need ordinary cameras and photodiodes, and those sensors pose a domain problem. A detector trained on one alloy, machine, or camera sees different brightness, emissivity, plume glow and spatter on the next one, and it fails.
Computer vision has a well-tested remedy. Take the Fourier transform of the image. Then adjust the amplitude spectrum, the "how much of each frequency" part, toward a reference, and keep the phase spectrum, the "where things are" part (FDA, TF-Cal). Applied to melt pool video, that remedy has a flaw: in this setting, the amplitude of one specific band of temporal frequencies is the defect signal itself. We propose a band-protected version. Calibrate the amplitude of the space-time Fourier spectrum toward a source prototype everywhere except a physically specified keyhole-oscillation band, which is left untouched. We then test whether this lets a small detector of collapse and bubble trapping transfer across alloys, cameras, and bubble-escape interventions such as beam oscillation.
Core Claim
Domain shift in surface melt pool sensing lives mostly in low spatial and low temporal frequencies. Examples are camera gain, emissivity changes, slow plume brightening, and the 120 Hz modulation added by an oscillating beam. The precursor of collapse lives in the amplitude of a 2.5–10 kHz temporal band. Our specific claim has two parts. First, standard test-time amplitude calibration, applied to the whole spectrum, should harm cross-domain detection of collapse and trapped bubbles. Second, protecting the physics band restores and improves transfer. If the first part fails, meaning naive calibration does not hurt, then band protection is unnecessary, and we would report that.
Write $X(k,\omega)=A(k,\omega)e^{i\Phi(k,\omega)}$ for the 3D Fourier transform of a short thermal-video clip, where $k$ is spatial frequency and $\omega$ is temporal frequency. Let $\bar A_s$ be the mean source amplitude, $\lambda\in[0,1]$ the calibration strength, and $M(k,\omega)\in[0,1]$ a smooth mask. The calibrated clip is
$$\hat X(k,\omega)=\big[(1-\lambda M)\,A_t+\lambda M\,\bar A_s\big]\,e^{i\Phi_t(k,\omega)}.$$
The mask $M$ is near 1 at low $(k,\omega)$ and tapers to 0 inside the protected temporal band. The taper is a raised-cosine edge, used because hard spectral masks cause ringing (Fourmer). The phase $\Phi_t$ of the test clip is never altered, following the evidence that structure lives in phase (Phase Consistent Ecological Domain Adaptation).
Relation to Prior Work
Three spectral methods supply the technique. FDA swaps the low-frequency amplitude of source and target images. TF-Cal interpolates test amplitude toward a source prototype and mixes amplitudes during training. AST does the same inside network layers. All three work on 2D still images where every amplitude band counts as style. We add a time axis and declare one band off-limits on physical grounds.
Two other papers motivate the band choice. FAMNet and FFR show that particular frequency bands carry task information worth keeping. Our band comes from a measured physical frequency rather than from cross-modality similarity statistics.
On the manufacturing side, three monitoring papers motivate the gap and form the competitors, and none separates frequencies or tests transfer. Ogoke et al. predict subsurface melt pool contours from 22,500 fps thermal video with a ResNet-plus-Transformer. Akhavan et al. denoise plume and spatter with a fast spatial autoencoder. A ViT masked autoencoder classifies porous DED melt pools (In-Situ Melt Pool Characterization).
VIMPS constrains the design. It shows that rolling variance of mean pixel intensity at 233 Hz is enough for second-scale humping. That warns us that simple signal statistics are competitive, though its frame rate is far below the keyhole band.
The bubble-escape interventions are part of our test conditions, not a methods source. These are infinity-shaped beam oscillation (Ai et al.), defocusing (Chen Shu-ling et al.), and arc-driven upward vortices (Xu et al.). A useful detector must keep working when these are switched on, because they change the signal statistics.
Research Program
The work has three parts, and the dataset is the main cost.
Data collection. No public dataset in our file pairs surface sensing with subsurface pore ground truth at keyhole time scales. We will co-record three streams at a synchrotron X-ray beamline in the style of Huang et al.: X-ray imaging at 50 kfps, an off-axis high-speed thermal camera at 22.5 kfps or faster, and a coaxial photodiode. The material is Ti-6Al-4V and an aluminum alloy, the two materials whose collapse thresholds Huang et al. characterized. The scan parameters will sweep from the quasi-stable through the unstable regime, with and without beam oscillation.
Annotators working from the X-ray frames will label each collapse event and track each pinched bubble until it either escapes or is still present when the front solidifies. This gives two targets. The first is "collapse in the next 1 ms window." The second is "a pinched bubble will be retained."
A sampling constraint bounds the claim. A camera at 22.5 kfps resolves temporal frequencies up to about 11 kHz. The protected band is therefore observable only on high-speed cameras and photodiodes. Our claims will not extend to slow industrial cameras such as the 233 Hz sensor used by VIMPS.
Calibration method. On top of the data we build a very small detector, kept under 100K parameters in the spirit of FA+Net. It is a few Fourier-convolution layers applied to calibrated clips. Training uses amplitude mixing outside the protected band, analogous to TF-Cal's amplitude augmentation. The band edges come from Huang et al. and are widened to 2–11 kHz with tapers, because the band may shift between alloys.
Analysis. We will check which parts of the spectrum actually separate domains and which separate outcomes. Specifically, we compute domain-discriminability scores per band, analogous to AST's analysis, and compare them with outcome-discriminability scores. The method's premise is that these two maps barely overlap.
Baselines
The naive reference point is a detector of the same architecture trained on the source domain and applied to the target with no calibration and no adaptation. This gives the floor that all transfer gains are measured against.
The strongest existing method is TF-Cal/TAF-Cal applied as published: amplitude interpolation toward the source prototype over the whole spectrum, with amplitude mixing during training. On the unseen Utrecht site of the MICCAI WMH challenge, it raised Dice from 0.183 for DeepAll to 0.736, and it reached 86.73% on PACS against 84.51% for FACT (Zhao et al.). It is the closest competitor because it addresses exactly test-time style shift with no target labels. We will extend it to 3D clips so that the only difference from our method is the mask $M$. This baseline is also the ablation that isolates our key ingredient: same detector, same training data, same $\lambda$ search, protection removed.
The strongest spatial-learning competitor is a ResNet-plus-temporal-Transformer in the style of Ogoke et al., trained with brightness and contrast augmentation. We will run it with the same training clips and the same hyperparameter search budget in GPU-hours.
The strongest signal-processing competitor is band power of the photodiode signal, and of the mean intensity of a keyhole-rim region in the video, in the 2.5–10 kHz band. This feeds logistic regression with per-domain z-scoring.
No reported result was found on Lacuna for surface-sensor detection of keyhole collapse or bubble retention against X-ray labels. Every number on our new benchmark will therefore be measured. Beating the baselines means a statistically separated gain in event-level F1 and area under the ROC curve (AUROC) on held-out target domains, with run-to-run confidence intervals, over both TF-Cal and band power. We also require that in-source performance stay within noise of the uncalibrated model.
Why not just…?
Why not just bandpass the photodiode signal and threshold it? This is the real threat. If keyhole wobble already dominates a single scalar signal, a 2.5–10 kHz bandpass filter with a per-machine threshold might do everything we propose at no learning cost. Our argument against it is spatial. Plume flicker and spatter also inject broadband energy into a whole-pool scalar, whereas the collapse precursor is localized at the rear wall. A clip-level spectrum with its phase intact can tell the two apart. The band-power baseline above settles the question directly. If it matches our detector across domains, the honest conclusion is that the gain comes from choosing the physics band, not from spectral separation of video, and we would recommend the cheaper method.
Why not just normalize each clip or match histograms? Per-clip intensity normalization removes global gain but not shifts that depend on spatial frequency, such as differences in emissivity texture or optics blur. It also rescales the protected band together with everything else. We include per-clip z-scoring and histogram matching as cheap calibration variants on the same detector. If they close the gap, the Fourier machinery is not needed.
Why not just fine-tune on a few labeled target clips? Labels for collapse and bubble retention require X-ray time on the target machine. A production machine never has that, which is precisely the setting that motivates test-time calibration. We still report a few-shot fine-tuning upper bound using 1%, 5% and 10% of target labels. This shows how much of the label-free gap band-protected calibration recovers.
Why not just use plain TF-Cal? The tension identified in the file is that vision pipelines treat high frequencies as removable style, while here they carry the physics. Plain TF-Cal tests that tension directly. If it performs as well as our method, protection is unnecessary, and the clean experimental contrast is what makes that a reportable result.
Proposed Experiments
The main evaluation trains on Ti-6Al-4V without oscillation and tests on three held-out shifts: the aluminum alloy, infinity-shaped oscillation on the same alloy, and a second camera model. It also reports in-domain results. Metrics are event-level F1 and AUROC for 1 ms collapse windows, AUROC for bubble retention, detection lead time before X-ray-visible collapse, and false alarms per millimeter of track.
The oscillation split matters most for the bubble-escape question. Ai et al. report that oscillation cuts pore density, but they reported no overall porosity percentage. A detector that transfers to oscillating scans would let one measure escape-versus-retention rates per collapse event under different interventions, using surface sensors alone. We will validate that measurement against the X-ray counts.
Three checks would confirm or refute the mechanism.
The first is a phase-scrambling test. Randomizing test phase while keeping amplitude should drop collapse detection toward chance, and randomizing amplitude outside the band should barely matter.
The second is a band-transplant test. Copy the protected-band amplitude from a quasi-stable clip into a transition-regime clip. If the detector reads the physics rather than style, its collapse score should fall accordingly.
The third is a sweep over band placement. Shifting the protected band away from 2.5–10 kHz, or learning it freely in the manner of FAMNet, should show whether the physically chosen band is near the best one. A learned band that lands elsewhere would mean either that Huang et al.'s frequency range does not carry over to surface signals or that our labels capture something else. Either outcome is worth knowing.
As a secondary sanity check, we apply the same calibration to the 316L contour task of Ogoke et al., where the reported IoU is 0.77. This tests whether band-protected calibration leaves geometry predictions intact when the target shift is purely optical.
References
- Keyhole fluctuation and pore formation mechanisms during laser powder bed fusion additive manufacturing
- FDA: Fourier Domain Adaptation for Semantic Segmentation
- Test-time Fourier Style Calibration for Domain Generalization
- Fourmer: An Efficient Global Modeling Paradigm for Image Restoration
- Phase Consistent Ecological Domain Adaptation
- Amplitude Spectrum Transformation for Open Compound Domain Adaptive Semantic Segmentation
- FAMNet: Frequency-aware Matching Network for Cross-domain Few-shot Medical Image Segmentation
- FFR: Frequency Feature Rectification for Weakly Supervised Semantic Segmentation
- Deep Learning for Melt Pool Depth Contour Prediction From Surface Thermal Images via Vision Transformers
- TDIP: Tunable Deep Image Processing, a Real Time Melt Pool Monitoring Solution
- In-situ melt pool characterization via thermal imaging for defect detection in Directed Energy Deposition using Vision Transformers
- Monitoring Variability in Melt Pool Spatiotemporal Dynamics (VIMPS): Towards Proactive Humping Detection in Additive Manufacturing
- The Analysis of Energy Distribution Characteristics of Molten Pool in Welding of Aluminum Alloy with Oscillating Laser
- Effect of beam defocusing on porosity formation in laser-MIG hybrid welded TA2 titanium alloy joints
- Influence of Arc Power on Keyhole-Induced Porosity in Laser + GMAW Hybrid Welding of Aluminum Alloy: Numerical and Experimental Studies
- Five A+ Network: You Only Need 9K Parameters for Underwater Image Enhancement