TSTM: Temporal Segmentation for Task-relevant Mask in Visual Reinforcement Learning Generalization

Wei Du, Wenjia Meng, Zhengzhe Zhang, Yi-Long Yin, Xian-Kai Lu
1/1/2026
rl

No confident code implementation found for this paper.

Abstract

Achieving strong policy generalization to unseen environments remains a core challenge in visual reinforcement learning, and segmenting task-relevant regions to mitigate the influence of irrelevant visual cues has emerged as a promising direction. However, existing methods rely solely on the current observation, lack temporal information, and fail to exploit preceding observations, leaving learned policies susceptible to task-irrelevant background variations and ultimately degrading policy performance.

Show full abstract

In this paper, we propose temporal segmentation for task-relevant mask in visual reinforcement learning, named TSTM, which extracts task-relevant regions from sequential observations by exploiting temporal information, thereby producing more reliable masks and improving policy generalization. TSTM introduces a temporal segmentation network with an encoder-temporal-decoder architecture, where a convolutional LSTM module captures temporal dependencies across observations. To reduce inference overhead, we further develop a lightweight student network as an efficient substitute for the teacher network. The resulting task-relevant masks are encoded by a CNN-based encoder, and invariant representation learning is employed to improve robustness by enforcing consistency between representations of the original and augmented observation sequences. With these task-relevant representations, we train an actor-critic agent to learn a policy with strong generalization capability. Experimental results demonstrate that TSTM achieves superior generalization performance over existing state-of-the-art methods on most visual RL tasks.

Semantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{du2026tstm,
  title  = {TSTM: Temporal Segmentation for Task-relevant Mask in Visual Reinforcement Learning Generalization},
  author = {Wei Du and Wenjia Meng and Zhengzhe Zhang and Yi-Long Yin and Xian-Kai Lu},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:c2f787b93f42ec55d449e50b9ef8c02505a7d6c8},
  journal = {Computer Vision and Pattern Recognition}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/c2f787b93f42ec55d449e50b9ef8c02505a7d6c8.svg)](https://codeofpaper.com/paper/c2f787b93f42ec55d449e50b9ef8c02505a7d6c8)

Discussion