Home

Awesome

MUTR: A Unified Temporal Transformer for Multi-Modal Video Object Segmentation

Official implementation of 'Referred by Multi-Modality: A Unified Temporal Transformer for Video Object Segmentation'.

The paper has been accepted by AAAI 2024 šŸ”„.

<!-- <div align="center"> <h1> <b> Referred by Multi-Modality: A Unified Temporal <br> Transformer for Video Object Segmentation </b> </h1> </div> -->

Introduction

We propose MUTR, a Multi-modal Unified Temporal transformer for Referring video object segmentation. With a unified framework for the first time, MUTR adopts a DETR-style transformer and is capable of segmenting video objects designated by either text or audio reference. Specifically, we introduce two strategies to fully explore the temporal relations between videos and multi-modal signals, which are low-level temporal aggregation (MTA) and high-level temporal interaction (MTI). On Ref-YouTube-VOS and AVSBench with respective text and audio references, MUTR achieves +4.2% and +4.2% J&F improvements to state-of-the-art methods, demonstrating our significance for unified multi-modal VOS.

<p align="center"><img src="docs/network.png" width="800"/></p>

Update

Requirements

We test the codes in the following environments, other versions may also be compatible:

Installation

Please refer to install.md for installation.

Data Preparation

Please refer to data.md for data preparation.

After the organization, we expect the directory struture to be the following:

MUTR/
ā”œā”€ā”€ data/
ā”‚   ā”œā”€ā”€ ref-youtube-vos/
ā”‚   ā”œā”€ā”€ ref-davis/
ā”œā”€ā”€ davis2017/
ā”œā”€ā”€ datasets/
ā”œā”€ā”€ models/
ā”œā”€ā”€ scipts/
ā”œā”€ā”€ tools/
ā”œā”€ā”€ util/
ā”œā”€ā”€ train.py
ā”œā”€ā”€ engine.py
ā”œā”€ā”€ inference_ytvos.py
ā”œā”€ā”€ inference_davis.py
ā”œā”€ā”€ opts.py
...

Get Started

Please see Ref-YouTube-VOS and Ref-DAVIS 2017 for details.

Model Zoo and Results

Note:

--backbone denotes the different backbones (see here).

--backbone_pretrained denotes the path of the backbone's pretrained weight (see here).

Ref-YouTube-VOS

To evaluate the results, please upload the zip file to the competition server.

BackboneJ&FJFModelSubmission
ResNet-5061.960.463.4modellink
ResNet-10163.661.865.4modellink
Swin-L68.466.470.4modellink
Video-Swin-T64.062.265.8modellink
Video-Swin-S65.163.067.1modellink
Video-Swin-B67.565.469.6modellink
ConvNext-L66.764.868.7modellink
ConvMAE-B66.964.769.1modellink

Ref-DAVIS17

As described in the paper, we report the results using the model trained on Ref-Youtube-VOS without finetune.

BackboneJ&FJFModel
ResNet-5065.362.468.2model
ResNet-10165.361.968.6model
Swin-L68.064.871.3model
Video-Swin-T66.563.070.0model
Video-Swin-S66.162.669.8model
Video-Swin-B66.462.870.0model
ConvNext-L69.065.672.4model
ConvMAE-B69.265.672.8model

Acknowledgement

This repo is based on ReferFormer. We also refer to the repositories Deformable DETR and MTTR. Thanks for their wonderful works.

Citation

@inproceedings{yan2024referred,
  title={Referred by multi-modality: A unified temporal transformer for video object segmentation},
  author={Yan, Shilin and Zhang, Renrui and Guo, Ziyu and Chen, Wenchao and Zhang, Wei and Li, Hongyang and Qiao, Yu and Dong, Hao and He, Zhongjiang and Gao, Peng},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={38},
  number={6},
  pages={6449--6457},
  year={2024}
}

Contact

If you have any question about this project, please feel free to contact tattoo.ysl@gmail.com.