TERDNet: Transformer Encoder-Recurrent Decoder Network for Scene Change Detection

Jiae Yoon, Ue-Hwan KimarXiv 2026

TL;DR

TERDNet introduces a novel Transformer Encoder-Recurrent Decoder architecture for Scene Change Detection (SCD) that overcomes the limitations of traditional single-step decoders. By combining a foundation-model encoder with a custom 3-gate-GRU recurrent decoder and a specialized feature fusion module, it iteratively refines change masks to achieve state-of-the-art accuracy. This approach provides a highly robust and computationally balanced solution for robotic perception in dynamic environments.

What Problem Does This Paper Address?

Scene Change Detection (SCD) aims to calculate a pixel-level change mask between two images of the same location taken at different times ($t0$ and $t1$). It is a core capability for autonomous robots and vehicles that must continuously map and navigate environments undergoing real-world shifts (such as moved furniture or new obstacles). Unlike standard semantic segmentation, SCD must explicitly compare two distinct temporal inputs, making it conceptually similar to optical flow.

However, current deep-learning-based SCD models suffer from three main flaws:

  1. Uniform Feature Treatment: They treat multi-level feature maps uniformly, ignoring the fact that different layers carry varying levels of importance for extracting fine edges versus abstract semantic changes.
  2. Single-Pass Decoders: They rely on single-update decoders which limit the model's ability to progressively clean up noise and refine detailed boundaries.
  3. Unclear Pretraining Strategies: There has been a lack of systematic analysis regarding which pretraining strategies (e.g., classification vs. segmentation foundation models) translate best to the SCD task.

Methods

The authors propose TERDNet (Transformer Encoder-Recurrent Decoder Network), which consists of four main building blocks:

  1. Foundation Model Encoder: Uses a Vision Transformer (ViT) backbone to extract multi-level feature maps from intermediate layers. Unlike CNN feature pyramids, transformer-based encoders produce features of uniform spatial resolution, ensuring consistent representation across scales.
  2. Feature Fusion Module: Integrates individual image feature maps with a narrow-range correlation volume (adapted from optical flow techniques) to capture explicit pixel-level relationships between the two timestamps efficiently.
  3. Recurrent 3-gate-GRU Decoder: Instead of a single-pass decoder, the authors introduce a recurrent structure tailored for SCD. It adds a novel feature gate ($pt$) to the standard GRU reset and update gates. This gate dynamically weights the importance of different layers from the feature pyramid based on a "Ratios for Reflection" block that evaluates temporal differences ($m_0 - m_1$).
  4. Combined Upsampler: Progressively restores the resolution from the bottleneck ($H/16 \times W/16$) back to the original size by alternating between $3\times3$ convolutions and bilinear interpolation, preventing the artifacts caused by sudden 16x upscaling.

The model is trained using a sequential weighted cross-entropy loss to handle both the iterative nature of the decoder and the inherent class imbalance of SCD (where changes are usually sparse compared to static backgrounds).

The architecture of the proposed TERDNet, featuring a foundation model encoder, feature fusion module, recurrent decoder, and combined upsampler.

Datasets

The model was evaluated on four public benchmarks representing diverse indoor and outdoor environments:

  • VL-CMU-CD: Real-world outdoor street-view images capturing everyday scene variations.
  • TSUNAMI: Outdoor images showing more abrupt, severe changes.
  • PSCD (Pixel-level Scene Change Detection): Real-world outdoor imagery.
  • ChangeSim: A synthetic indoor dataset simulating industrial warehouse environments with challenging lighting and occlusions.

Key Insights and Ideas

  • Recurrence Matters for Masks: Single-step decoders throw away a lot of fine-grained boundary information. Iterative refinement via a GRU allows the model to "re-integrate" lost details over multiple steps, peaking in performance at 5 iterations.
  • Segmentation Pretraining Wins: Ablation studies revealed that encoders pretrained on large-scale segmentation datasets (like Segment Anything's SA-1B) vastly outperform those pretrained on classification (ImageNet) or self-supervised vision tasks (DINOv2). Features learned for finding object boundaries translate naturally to finding change boundaries.
  • Keep the Encoder Frozen: Counter-intuitively, full-parameter finetuning or layer-wise learning rate decay led to overfitting and worse performance. Keeping the foundation model encoder frozen yielded the most stable and accurate results, proving that rich foundation features are already highly generalizable.
  • Local Relationships are Enough: There was negligible performance difference between using a local (narrow-range) correlation volume versus a global one. For SCD, distant pixel relationships don't matter much because the task is about local appearance/disappearance, not long-range tracking.

Key Results

  • Quantitative Performance: TERDNet achieved state-of-the-art results across all four benchmarks. On VL-CMU-CD, it achieved an F1-score of 83.4% (outperforming the previous best, C-3PO, at 80.2%). On TSUNAMI, it hit 89.5% F1. On the PSCD and ChangeSim datasets, it achieved top mIoU scores of 80.5% and 64.7% respectively.
  • Efficiency Balance: With a ViT-b backbone, TERDNet totals 102M parameters and ~2004 GFLOPs (at 5 iterations). This makes it significantly lighter and faster than massive ViT-h foundation models (like ZSSCD or GeSCD with >600M parameters and tens of thousands of GFLOPs) while delivering superior accuracy.
  • Qualitative & Robustness: Visually, TERDNet produces significantly cleaner boundaries and completely fills in changed regions where prior models fail. It also demonstrated remarkable robustness to geometric distortions, maintaining stable change masks even when images were misaligned by up to 100 pixels via translation or homography without any task-specific finetuning.
Qualitative comparison showing TERDNet's ability to resolve clean boundaries and complete regions compared to prior methods.

Limitations and Future Work

  • Diminishing Returns on Scale: Scaling up the backbone from ViT-b (86M) to ViT-h (632M) provided very marginal performance gains (83.4% vs 84.0% F1), suggesting that simply throwing parameters at the encoder isn't the solution to perfect SCD.
  • Overfitting with Iterations: Increasing the recurrent decoder iterations beyond 5 caused a slight decline in F1-score due to overfitting on the training data.
  • Future Directions: The authors suggest that exploring how carefully designed encoder fusion and recurrent decoding mechanisms behave over long-term robotic perception tasks is a promising next step.

Summary updated

BibTeX
@misc{yoon2026terdnet,
  author = {Jiae Yoon and Ue-Hwan Kim},
  title = {{TERDNet: Transformer Encoder-Recurrent Decoder Network for Scene Change Detection}},
  year = {2026},
  eprint = {2605.20822},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.20822},
}
Figure