Revisit to Segment: Working Memory Distillation for Reasoning Segmentation
Cilin Yan, Yilun Qiu, Wanyang Zhang, Rui Zu, Xiaolong Jiang, Jiayin Cai, Yao Hu
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.
Create a lesson
Related papers
CIRKDV2: Cross-Image Relational Knowledge Distillation with Contextual Modeling for Efficient Semantic Segmentation
Shared title terminologycs.CVChuanguang Yang, Yu Wang, Chengqing Yu et al.
SAM Meets VLM: Parameter-Decoupled Full-Parameter Training for Unified Medical Reasoning and Segmentation
Shared title terminologycs.CVXuyang Cao, Enyou Liu, Jun Zhao et al.
Spatial-OPSD: Self-Improving Spatial Reasoning via Label-Free Self-Distillation
Shared title terminologycs.CVZhenyu Liu, Zhangquan Chen, Keyi Chen et al.
Latent Multimodal Memory Reasoning
Shared title terminologycs.CVCai Ke, Xinghao Chen, Yuanchen Bei et al.
Compress to Remember: Learning Compact Memory via On-Policy Distillation for Long Video Generation
Shared title terminologycs.CVXiaoyu Wu, Weihang Guo, Yifei Wang et al.
Learning to Reason with Persistent Object States for Video Instance Segmentation
Shared title terminologycs.CVYongxue Xu, Boxue Yang, Ziqian Liu et al.