PR-MIM: Delving Deeper into Partial Reconstruction in Masked Image Modeling

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Zhong-Yu, Li, Yunheng, Fan, Deng-Ping, Cheng, Ming-Ming
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929603687219200
author Li, Zhong-Yu
Li, Yunheng
Fan, Deng-Ping
Cheng, Ming-Ming
author_facet Li, Zhong-Yu
Li, Yunheng
Fan, Deng-Ping
Cheng, Ming-Ming
contents Masked image modeling has achieved great success in learning representations but is limited by the huge computational costs. One cost-saving strategy makes the decoder reconstruct only a subset of masked tokens and throw the others, and we refer to this method as partial reconstruction. However, it also degrades the representation quality. Previous methods mitigate this issue by throwing tokens with minimal information using temporal redundancy inaccessible for static images or attention maps that incur extra costs and complexity. To address these limitations, we propose a progressive reconstruction strategy and a furthest sampling strategy to reconstruct those thrown tokens in an extremely lightweight way instead of completely abandoning them. This approach involves all masked tokens in supervision to ensure adequate pre-training, while maintaining the cost-reduction benefits of partial reconstruction. We validate the effectiveness of the proposed method across various existing frameworks. For example, when throwing 50% patches, we can achieve lossless performance of the ViT-B/16 while saving 28% FLOPs and 36% memory usage compared to standard MAE. Our source code will be made publicly available
format Preprint
id arxiv_https___arxiv_org_abs_2411_15746
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PR-MIM: Delving Deeper into Partial Reconstruction in Masked Image Modeling
Li, Zhong-Yu
Li, Yunheng
Fan, Deng-Ping
Cheng, Ming-Ming
Computer Vision and Pattern Recognition
Masked image modeling has achieved great success in learning representations but is limited by the huge computational costs. One cost-saving strategy makes the decoder reconstruct only a subset of masked tokens and throw the others, and we refer to this method as partial reconstruction. However, it also degrades the representation quality. Previous methods mitigate this issue by throwing tokens with minimal information using temporal redundancy inaccessible for static images or attention maps that incur extra costs and complexity. To address these limitations, we propose a progressive reconstruction strategy and a furthest sampling strategy to reconstruct those thrown tokens in an extremely lightweight way instead of completely abandoning them. This approach involves all masked tokens in supervision to ensure adequate pre-training, while maintaining the cost-reduction benefits of partial reconstruction. We validate the effectiveness of the proposed method across various existing frameworks. For example, when throwing 50% patches, we can achieve lossless performance of the ViT-B/16 while saving 28% FLOPs and 36% memory usage compared to standard MAE. Our source code will be made publicly available
title PR-MIM: Delving Deeper into Partial Reconstruction in Masked Image Modeling
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.15746