Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
/OscarPublic archive

Oscar and VinVL

License

NotificationsYou must be signed in to change notification settings

microsoft/Oscar

Repository files navigation

VinVL: Revisiting Visual Representations in Vision-Language Models

Updates

04/17/2023: Visual instruction tuning with GPT-4 is released! Please check out the multimodal model LLaVA: [Project Page] [Paper] [Demo] [Data] [Model]

05/28/2020: Released finetuned models on downstream tasks, please checkMODEL_ZOO.md.
05/15/2020: Released pretrained models, datasets, and code for downstream tasks finetuning.
01/13/2021: our new workVinVL proposed OSCAR+, an improved version of OSCAR, and provided a better object-attribute detection model to extract features for V+L tasks. The VinVL work achieved SOTA performance on all seven V+L tasks here. Please stay tuned for the model and code release.
03/08/2021: Oscar+ pretraining code released, please check the last section inVinVL_MODEL_ZOO.md. All image features and model checkpoints in VinVL are also released. Please checkVinVL for details.
04/13/2021: OurScene Graph Benchmark Repo has been released. Welcome to use the code there to extract image features with VinVL pretrained models.

Introduction

This repository contains source code necessary to reproduce the results presented in the paperOscar: Object-Semantics Aligned Pre-training for Vision-Language Tasks.We propose a new cross-modal pre-training methodOscar (Object-Semantics Aligned Pre-training). It leveragesobject tags detected in images as anchor points to significantly ease the learning of image-text alignments. We pre-train Oscar on the public corpus of 6.5 million text-image pairs, and fine-tune it on downstream tasks, creating new state-of-the-arts on six well-established vision-language understanding and generation tasks. For more on this project, see theMicrosoft Research Blog post.

Performance

Taskt2it2ii2ti2tICICICICNoCapsNoCapsVQANLVR2GQA
MetricR@1R@5R@1R@5B@4MCSCStest-stdtest-Ptest-std
SoTA_S39.268.056.684.538.929.2129.822.461.59.270.9258.8063.17
SoTA_B54.080.870.091.140.529.7137.622.886.5812.3873.6779.30-
SoTA_L57.582.873.592.241.730.6140.024.5--74.9381.47-
--------------------------------------------
Oscar_B54.080.870.091.140.529.7137.622.878.811.773.4478.3661.62
Oscar_L57.582.873.592.241.730.6140.024.580.911.373.8280.05-
--------------------------------------------
VinVL_B58.183.274.692.640.930.9140.625.192.4613.0776.1283.0864.65
VinVL_L58.883.575.492.941.031.1140.925.2--76.6283.98-
gain1.30.71.90.6-0.70.50.90.75.90.71.692.511.48

t2i: text-to-image retrieval; i2t: image-to-text retrieval; IC: image captioning on COCO.

Download

We released pre-trained models, datasets, VinVL image features, and Oscar+ pretraining corpus for downstream tasks.Please checkVinVL_DOWNLOAD.md for details.

To download checkpoints for the Vanilla OSCAR, please checkDOWNLOAD.md for details.

Installation

CheckINSTALL.md for installation instructions.

Model Zoo

CheckMODEL_ZOO.md for scripts to run oscar downstream finetuning.

CheckVinVL_MODEL_ZOO.md for scripts to run oscar+ pretraining and downstream finetuning.

Citations

Please consider citing this paper if you use the code:

@article{li2020oscar,  title={Oscar: Object-Semantics Aligned Pre-training for Vision-Language Tasks},  author={Li, Xiujun and Yin, Xi and Li, Chunyuan and Hu, Xiaowei and Zhang, Pengchuan and Zhang, Lei and Wang, Lijuan and Hu, Houdong and Dong, Li and Wei, Furu and Choi, Yejin and Gao, Jianfeng},  journal={ECCV 2020},  year={2020}}@article{zhang2021vinvl,  title={VinVL: Making Visual Representations Matter in Vision-Language Models},  author={Zhang, Pengchuan and Li, Xiujun and Hu, Xiaowei and Yang, Jianwei and Zhang, Lei and Wang, Lijuan and Choi, Yejin and Gao, Jianfeng},  journal={CVPR 2021},  year={2021}}

License

Oscar is released under the MIT license. SeeLICENSE for details.


[8]ページ先頭

©2009-2025 Movatter.jp