cs.CVSep 28, 2026

Revisit to Segment: Working Memory Distillation for Reasoning Segmentation

Authors: Cilin Yan, Yilun Qiu, Wanyang Zhang, Rui Zu, Xiaolong Jiang, Jiayin Cai, Yao Hu

Organizations: Xiaohongshu · NTU · PKU

Abstract

Multimodal large language models (MLLMs) have approached image segmentation by reasoning about visual content and predicting target locations. Their generated responses contain reasoning traces and localization proposals that can serve as working memory when revisiting the same image and query. Our exploration reveals that MLLMs benefit from using this self-generated working memory as context, leading to enhanced reasoning segmentation. Motivated by this finding, we seek to strengthen the backbone model's reasoning segmentation capabilities by distilling the guidance gained from revisiting prior attempts, enabling it to benefit with or without working memory at inference time. To this end, we propose Reasoning Segmenter with Working Memory (SWiM), a working-memory distillation framework for reasoning segmentation. Specifically, SWiM selects rollouts based on segmentation quality to construct working memory and uses the memory-conditioned model as a teacher. The teacher provides token-level distributional supervision along student-generated trajectories, while the student receives only the original image and query. Joint optimization of on-policy self-distillation and outcome-based reinforcement learning combines working-memory guidance with direct feedback on segmentation quality. Extensive experiments on reasoning segmentation benchmarks demonstrate that SWiM achieves state-of-the-art performance, validating the effectiveness of working-memory distillation.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Reason Twice: Segmentation via Candidate Discovery and Comparative Reasoning

    Jun 8, 2026Xinyan Gao, Haoran Hao, Xiangyu YueNeural Mask EstimationMultimodal Large Language Models

  2. DGSeg: Dynamic Gating of Semantic-Spatial Guided Predictions for Reasoning Segmentation

    Jul 6, 2026Ruizhe Zeng, Siyu Cao, Lu Zhang +1Vision-Language Model GroundingObject-Centric Cues

  3. CR-Seg: Attention-Guided and CoT-Enhanced Coarse-to-Refined Reasoning Segmentation

    Jun 2, 2026Yifan Cao, Xiaocui Yang, Faxian Wan +3Chain-of-Thought Reasoning