Training Auto-Encoder-Based Optimizers for Terahertz Image Reconstruction

Tak Ming Wong, Matthias Kahl, Peter Haring Bolívar, Andreas Kolb, Michael Möller

TL;DR

This paper introduces a model-based autoencoder that drastically speeds up Terahertz (THz) image reconstruction by replacing slow, classical optimization with a neural network. By fixing the decoder to a known physical model, the authors enable unsupervised training on real data, achieving a 140x speedup in parameter estimation and providing a superior initialization for traditional optimizers to reach better local minima twice as fast.

What Problem Does This Paper Address?

Terahertz (THz) imaging is a powerful tool for "seeing" through materials, used in everything from semiconductor inspection to medical analysis. However, the raw data captured by these sensors isn't an image—it’s a complex signal that must be decoded to find physically meaningful parameters like surface depth, pulse width, and material reflectivity.

Traditionally, this is treated as an inverse problem: for every single pixel, you run a non-convex optimization algorithm to fit a physical model to the measured data. Because a typical image contains hundreds of thousands of pixels, this process is agonizingly slow. For instance, reconstructing a modest 446x446 image can take nearly three hours using standard MATLAB solvers. Furthermore, because the problem is non-convex, these solvers often get stuck in "local minima"—mathematical dead ends that result in poor image quality.

Methods

The authors propose a Model-Based Autoencoder (AE). In a standard autoencoder, both the encoder and decoder are learned. Here, the authors make a clever tweak:

  1. The Encoder: A neural network that takes the raw THz signal as input and predicts the four physical parameters ($\hat{e}, \sigma, \mu, \phi$).
  2. The Decoder: This is fixed to the actual physical model (a sinc-based function describing THz wave reflection). It is not learned.

Because the decoder is the physical model, the network can be trained in an unsupervised manner. The loss function simply measures how well the reconstructed signal (from the decoder) matches the original input signal.

The architecture uses $1 \times 1$ convolutions to process pixels independently, which allows for massive parallelism on a GPU. To ensure physical validity, they apply an absolute value function to the predicted amplitude to keep it non-negative.

Datasets

The researchers evaluated their approach on two real-world datasets acquired with an FMCW-THz 3D imaging system:

  • MetalPCB: A copper target etched onto a circuit board (based on the USAF MIL-STD-150A target). This provides a mix of metallic and dielectric materials.
  • StepChart: An aluminum object with sharp, stair-like edges, used specifically to test the accuracy of depth measurements and handle highly specular (mirror-like) reflections.

Key Insights and Ideas

  • Physics as a Loss Function: By embedding the physical model directly into the architecture as a fixed decoder, the researchers bypass the need for "ground truth" labels. The laws of physics act as the supervisor.
  • Implicit Scaling: One major headache in optimization is that different parameters (like phase vs. amplitude) have different scales. The autoencoder approach handles this implicitly because the loss is calculated in the "signal space" rather than the "parameter space."
  • The Hybrid Approach (AE+TRA): The authors found that while the network is fast, it might not always find the absolute perfect fit. However, using the network's prediction as a starting point for a classical Trust-Region Algorithm (TRA) yields the best results: it converges to a deeper minimum than the classical method alone and does so in half the time.

Key Results

  • Incredible Speedup: The encoder network performs inference over 140 times faster than the classical Trust-Region Algorithm when evaluated on a CPU.
  • High Accuracy: The unsupervised network alone achieves objective values within a 25% margin of the classical optimizer.
  • Better Convergence: When used as an initialization for classical methods (AE+TRA), the system reached lower (better) loss values across all regions of the test images compared to starting from a standard heuristic initialization.
  • Generalization: Even though the network was only trained on the MetalPCB dataset, it performed well on the entirely different StepChart dataset, proving it learned the underlying physics rather than just memorizing a specific image.

Limitations and Future Work

The primary limitation noted is the simplicity of the physical model. The current model (a sinc function) doesn't account for complex phenomena like multi-path interference—where THz waves bounce off multiple surfaces before returning. This was evident in the StepChart results, where errors were higher at the physical edges of the object.

Future Work: * Spatial Context: The current model processes pixels individually ($1 \times 1$ convolutions). Incorporating spatial information (neighboring pixels) could help with denoising and sharpening. * Advanced Physics: Integrating more complex reflection models to handle scattering and interference. * End-to-End Tasks: Moving beyond parameter estimation to joint denoising and super-resolution within the same framework.

Summary updated

BibTeX
@inproceedings{wong2019training,
  author = {Tak Ming Wong and Matthias Kahl and Peter Haring Bolívar and Andreas Kolb and Michael Möller},
  title = {{Training Auto-Encoder-Based Optimizers for Terahertz Image Reconstruction}},
  booktitle = {GCPR},
  year = {2019},
  url = {https://openreview.net/forum?id=VCkvM9t5x5q},
}

Loading related content...

Figure