Human–AI Collaborative Thermal Anomaly Detection: Active Learning Frameworks for Adaptive Infrared Diagnostics

Infrared thermography (IRT) is a popular tool for diagnosing thermal anomalies in building envelopes, but its practical application is hindered by inconsistent imaging conditions and ill-defined anomaly boundaries. Training a unified, robust model that can adapt to diverse building scenarios and conditions is particularly challenging, leading to high costs associated with pixel-level annotation. This paper presents an expert-in-the-loop, human–artificial intelligence (AI) collaborative framework for thermal anomaly segmentation within IRT, leveraging active learning (AL) and weakly supervised expert annotation to efficiently fine-tune a pretrained benchmark model, the capsule network–based deep learning model (CapsLab). Built on CapsLab, the proposed framework integrates a query-by-committee (QBC)-based AL strategy using three backbones—ResNet101, dilated residual networks (DRNs), and MobileNetV2—whose prediction disagreement is explicitly used to iteratively select the most informative thermal images and compare three fine-tuning (FT) schemes: baseline (FT-B), lightweight (FT-L), and aggressive (FT-A). A simple linear iterative clustering (SLIC)-based human-in-the-loop interface enables inspectors to cross-check and correct model-segmented anomaly superpixels using scribble-based weak annotations, substantially reducing labeling effort while preserving expert oversight. To better capture the instance-level nature of thermal anomalies, the framework uses different evaluation metrics and identifies Instant-level Anomaly Identification Metric for Precision (Instant-AIM-P) as the most stable and sensitive indicator of segmentation performance. Experiments on a new drone-based IRT data set from a residential community demonstrate that FT-L achieves the best balance between accuracy and efficiency, improving Instant-AIM-P from 0.646 (pretrained CapsLab) to 0.829 using only 14 actively selected images, corresponding to a 75% reduction in annotation workload. The results show that the proposed human–AI collaborative workflow effectively adapts thermal anomaly segmentation models to new scenarios while minimizing human labeling effort, providing a practical path toward adaptive, scalable, and intelligent detection of building energy inefficiencies.

Authors

Institutions

Publication Details

Journal
Journal of Computing in Civil Engineering
Published
2026-11-30
DOI
https://doi.org/10.1061/jccee5.cpeng-8081
Primary Topic
Thermography and Photoacoustic Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Human–AI Collaborative Thermal Anomaly Detection: Active Learning Frameworks for Adaptive Infrared Diagnostics

Tarek Rakha, Kaiwen Chen, Yining Wen, Jiannan Cai
Journal of Computing in Civil Engineering
Thermography and Photoacoustic Techniques
article

Human–AI Collaborative Thermal Anomaly Detection: Active Learning Frameworks for Adaptive Infrared Diagnostics

Tarek Rakha, Kaiwen Chen, Yining Wen, Jiannan Cai
article en

Abstract

Infrared thermography (IRT) is a popular tool for diagnosing thermal anomalies in building envelopes, but its practical application is hindered by inconsistent imaging conditions and ill-defined anomaly boundaries. Training a unified, robust model that can adapt to diverse building scenarios and conditions is particularly challenging, leading to high costs associated with pixel-level annotation. This paper presents an expert-in-the-loop, human–artificial intelligence (AI) collaborative framework for thermal anomaly segmentation within IRT, leveraging active learning (AL) and weakly supervised expert annotation to efficiently fine-tune a pretrained benchmark model, the capsule network–based deep learning model (CapsLab). Built on CapsLab, the proposed framework integrates a query-by-committee (QBC)-based AL strategy using three backbones—ResNet101, dilated residual networks (DRNs), and MobileNetV2—whose prediction disagreement is explicitly used to iteratively select the most informative thermal images and compare three fine-tuning (FT) schemes: baseline (FT-B), lightweight (FT-L), and aggressive (FT-A). A simple linear iterative clustering (SLIC)-based human-in-the-loop interface enables inspectors to cross-check and correct model-segmented anomaly superpixels using scribble-based weak annotations, substantially reducing labeling effort while preserving expert oversight. To better capture the instance-level nature of thermal anomalies, the framework uses different evaluation metrics and identifies Instant-level Anomaly Identification Metric for Precision (Instant-AIM-P) as the most stable and sensitive indicator of segmentation performance. Experiments on a new drone-based IRT data set from a residential community demonstrate that FT-L achieves the best balance between accuracy and efficiency, improving Instant-AIM-P from 0.646 (pretrained CapsLab) to 0.829 using only 14 actively selected images, corresponding to a 75% reduction in annotation workload. The results show that the proposed human–AI collaborative workflow effectively adapts thermal anomaly segmentation models to new scenarios while minimizing human labeling effort, providing a practical path toward adaptive, scalable, and intelligent detection of building energy inefficiencies.

Journal of Computing in Civil EngineeringVol. 41(2)
Georgia Institute of Technology (US), University of Alabama (US), Lamar University (US), Lamar Community College (US), The University of Texas at San Antonio (US)
Thermography and Photoacoustic Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon