Flow-CDNet: A Novel Network for Detecting Both Slow and Fast Changes in Bitemporal Images

Haoxuan Li, Chenxu Wei, Haodong Wang, Xiaomeng Hu, Boyuan An, Lingyan Ran, Baosen Zhang, Jin Jin, Omirzhan Taukebayev, Amirkhan Temirbayev, Junrui Liu, Xiuwei ZhangarXiv 2025 · DOI

Introduction

In remote sensing and computer vision, change detection (CD) has traditionally focused on binary outcomes: identifying the appearance or disappearance of structures, often referred to as "fast changes." However, in high-stakes monitoring scenarios such as dam safety, landslide prediction, or tailings pond stability, the most critical indicators are often "slow changes." These are subtle, pixel-level shifts or deformations that precede catastrophic failure.

Existing methodologies typically specialize in either motion estimation (optical flow) or semantic segmentation (change detection), but rarely both. Optical flow models excel at tracking movement but fail during occlusions or when objects disappear. Conversely, standard CD networks are often insensitive to continuous, subtle transformations. Flow-CDNet addresses this gap by proposing a unified dual-branch architecture that handles both types of temporal variation simultaneously.

Methodology

The Flow-CDNet architecture integrates two specialized branches to provide a comprehensive analysis of bitemporal images ($T_0^0$ and $T_0^1$):

  1. Optical Flow Branch (OFbranch): Utilizing a RAFT-based architecture, this branch constructs a 4D correlation volume of all pixel pairs between the two images. A convolutional GRU then iteratively refines a dense motion map, capturing the "slow" displacements between frames.
  2. Change Detection Branch (CDbranch): This branch identifies "fast" changes by analyzing the residual differences between the original image and a version of the second image that has been "warped" to align with the first using the estimated flow.
Overview of the Flow-CDNet architecture showing the interaction between the Optical Flow (OF) and Change Detection (CD) branches.

The network is trained end-to-end using a composite loss function that combines an L2 norm for flow accuracy and a Tversky loss to address the class imbalance inherent in change detection tasks.

Key Architectural Insights

A core innovation of Flow-CDNet is the use of Motion Compensation as a Filter. By warping the second image ($T_0^1$) back to the first ($T_0^0$) based on the flow predicted by the OFbranch, the network effectively "subtracts" expected movement. As shown in the detailed CDbranch architecture, the input to the ResNet-50 backbone is the difference between the original first image and this warped counterpart. Any remaining significant differences are classified as high-confidence "fast" changes.

Detailed view of the CDbranch, illustrating how motion compensation (warping) is used to isolate categorical changes.

Ablation studies confirmed a mutual enhancement effect: the CD branch helps the flow branch handle regions where motion is undefined (such as disappearing objects), while the flow branch allows the CD branch to ignore "noise" caused by camera movement or perspective shifts.

Experimental Evaluation

Datasets

To evaluate the model, the authors developed the Flow-Change Dataset, as no existing public dataset provided ground-truth labels for both categorical changes and dense optical flow. This synthetic dataset (11,736 training pairs) uses backgrounds from FlyingChairs and foreground objects from PASCAL VOC 2007 with random transformations. For real-world validation, the authors curated a set of 20 bitemporal pairs from 12 dam sites using UAVs and trail cameras.

Results

Flow-CDNet demonstrated superior performance on the Flow-Change dataset, achieving an F1-score of 0.892 and a mean End-Point Error (mEPE) of 1.027, outperforming standalone models like RAFT and CDNet. On real-world dam imagery, the model maintained a high F1-score of 0.8126, successfully identifying both abrupt collapses and gradual surface deformations.

For practical deployment, the model achieves 14.08 FPS on an NVIDIA RTX 4090, with lightweight variants (Flow-CDNet-S and Flow-CDNet-L) reaching up to 33.33 FPS for edge computing applications.

Conclusion

Flow-CDNet represents a significant step forward in unified temporal monitoring. By leveraging the synergy between optical flow and change detection, it provides a robust tool for identifying both precursors and actual occurrences of structural failure. Future work will focus on improving robustness against environmental noise, such as extreme lighting and motion blur, and exploring self-supervised learning to reduce the dependency on synthetic training data.

Summary updated

Abstract

Change detection typically involves identifying regions with changes between bitemporal images taken at the same location. Besides significant changes, slow changes in bitemporal images are also important in real-life scenarios. For instance, weak changes often serve as precursors to major hazards in scenarios like slopes, dams, and tailings ponds. Therefore, designing a change detection network that simultaneously detects slow and fast changes presents a novel challenge. In this paper, to address this challenge, we propose a change detection network named Flow-CDNet, consisting of two branches: optical flow branch and binary change detection branch. The first branch utilizes a pyramid structure to extract displacement changes at multiple scales. The second one combines a ResNet-based network with the optical flow branch's output to generate fast change outputs. Subsequently, to supervise and evaluate this new change detection framework, a self-built change detection dataset Flow-Change, a loss function combining binary tversky loss and L2 norm loss, along with a new evaluation metric called FEPE are designed. Quantitative experiments conducted on Flow-Change dataset demonstrated that our approach outperforms the existing methods. Furthermore, ablation experiments verified that the two branches can promote each other to enhance the detection performance.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Flow-ChangeFlow-CDNetF1-score0.892Quantitative comparison on the Flow-Change dataset; reported in Table 1.
Source quote
L226: Flow-CDNet │ 0.892 │ 1.027 │ 0.869
Flow-ChangeFlow-CDNetmEPE1.027Quantitative comparison on the Flow-Change dataset; reported in Table 1.
Source quote
L226: Flow-CDNet │ 0.892 │ 1.027 │ 0.869
Flow-ChangeFlow-CDNetFEPE0.869Quantitative comparison on the Flow-Change dataset; reported in Table 1.
Source quote
L226: Flow-CDNet │ 0.892 │ 1.027 │ 0.869
Flow-ChangeFlow-CDNet-S (SpyNet+CDNet)F1-score0.860Quantitative comparison on the Flow-Change dataset; reported as the second-best F1-scor…
Source quote
L225: Flow-CDNet-S(SpyNet+CDNet) │ 0.860 │ 2.798 │ 0.308
Flow-ChangeRAFTmEPE2.409Optical-flow backbone result in the Flow-Change quantitative comparison table.
Source quote
L223: RAFT\cite{C6} │ 2.409
Real-world dam-bank test setFlow-CDNetF1-score0.8126split: test · fine-tuned
Source quote
L266: This complementary interplay between the two branches—one focusing on binary regional change and the other on continuous motion modeling—underscores the design rationale of Flow-CDNet. Despite the absence of separate GT for fast versus slow changes, the model demonstrates strong performance in capturing both types under a unified evaluation metric. After selecting appropriate change thresholds for different scenes, the final evaluation yields an F1-score of 0.8126, thereby quantitatively affirming the effectiveness of the proposed method. These findings validate the model’s applicability to diverse real-world scenarios and confirm its capability to generalize to complex, uncontrolled environments where both discrete and continuous changes co-occur.
BibTeX
@misc{li2025flow,
  author = {Haoxuan Li and Chenxu Wei and Haodong Wang and Xiaomeng Hu and Boyuan An and Lingyan Ran and Baosen Zhang and Jin Jin and Omirzhan Taukebayev and Amirkhan Temirbayev and Junrui Liu and Xiuwei Zhang},
  title = {{Flow-CDNet: A Novel Network for Detecting Both Slow and Fast Changes in Bitemporal Images}},
  year = {2025},
  eprint = {2507.02307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.02307},
}
Figure