# Detection and imaging of chemicals and hidden explosives using terahertz time-domain spectroscopy and deep learning

**Authors:** Xinghe Jiang, Yuhang Li, Yuzhu Li, Che-Yung Shen, Aydogan Ozcan, Mona Jarrahi

PMC · DOI: 10.1038/s41377-026-02190-z · 2026-01-22

## TL;DR

This paper introduces a system combining terahertz spectroscopy and deep learning to accurately detect hidden chemicals and explosives in real-world conditions.

## Contribution

A novel chemical imaging system using THz-TDS and deep learning for robust, pixel-level explosive detection.

## Key findings

- The system achieved 99.42% average classification accuracy across eight chemicals in blind testing.
- It maintained 88.83% accuracy for explosives concealed under opaque paper coverings.
- The system offers a 96 dB dynamic range and 4.5 THz bandwidth for practical stand-off detection.

## Abstract

Detecting concealed chemicals and explosives remains a critical challenge in global security. Terahertz time-domain spectroscopy (THz-TDS) offers a promising non-invasive and stand-off detection technique owing to its ability to penetrate optically opaque materials without causing ionization damage. While many chemicals exhibit distinct spectral features in the terahertz range, conventional terahertz-based detection methods often struggle in real-world environments, where variations in sample geometry, thickness, and packaging can lead to inconsistent spectral responses. In this study, we present a chemical imaging system that integrates THz-TDS with deep learning to enable accurate pixel-level identification and classification of different explosives. Operating in reflection mode and enhanced with plasmonic nanoantenna arrays, our THz-TDS system achieves a peak dynamic range of 96 dB and a detection bandwidth of 4.5 THz, supporting practical, stand-off operation. By analyzing individual time-domain pulses with deep neural networks, the system exhibits strong resilience to environmental variations and sample inconsistencies. Blind testing across eight chemicals—including pharmaceutical excipients and explosive compounds—resulted in an average classification accuracy of 99.42% at the pixel level. Notably, the system maintained an average accuracy of 88.83% when detecting explosives concealed under opaque paper coverings, demonstrating its robust generalization capability. These results highlight the potential of combining advanced terahertz spectroscopy with neural networks for highly sensitive and specific chemical and explosive detection in diverse and operationally relevant scenarios.

## Full-text entities

- **Genes:** RDX (radixin) [NCBI Gene 479446]
- **Chemicals:** DCP (MESH:C494366), KNO3 (MESH:C023844), aluminum (MESH:D000535), cyclotrimethylene trinitramine (MESH:C009160), MAN (MESH:D008353), microcrystalline cellulose (MESH:C109691), TNT (MESH:D014303), DC (MESH:D003841), DL125 (-), PETN (MESH:D010417), polyethylene (MESH:D020959), VIVAPUR (MESH:C477445), IBU (MESH:D007052), gold (MESH:D006046)
- **Species:** Canis lupus familiaris (dog, subspecies) [taxon 9615]

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12824377/full.md

---
Source: https://tomesphere.com/paper/PMC12824377