CoCa: Contrastive Captioners are Image-Text Foundation Models

计算机科学 隐藏字幕 人工智能 编码器 深度学习 变压器 语音识别 语言模型 特征学习 自然语言处理 图像(数学) 量子力学 操作系统 物理 电压
作者
Jiahui Yu,Zirui Wang,Vijay K. Vasudevan,Legg Yeung,Mojtaba Seyedhosseini,Yonghui Wu
出处
期刊:Cornell University - arXiv 被引量:428
标识
DOI:10.48550/arxiv.2205.01917
摘要

Exploring large-scale pretrained foundation models is of significant interest in computer vision because these models can be quickly transferred to many downstream tasks. This paper presents Contrastive Captioner (CoCa), a minimalist design to pretrain an image-text encoder-decoder foundation model jointly with contrastive loss and captioning loss, thereby subsuming model capabilities from contrastive approaches like CLIP and generative methods like SimVLM. In contrast to standard encoder-decoder transformers where all decoder layers attend to encoder outputs, CoCa omits cross-attention in the first half of decoder layers to encode unimodal text representations, and cascades the remaining decoder layers which cross-attend to the image encoder for multimodal image-text representations. We apply a contrastive loss between unimodal image and text embeddings, in addition to a captioning loss on the multimodal decoder outputs which predicts text tokens autoregressively. By sharing the same computational graph, the two training objectives are computed efficiently with minimal overhead. CoCa is pretrained end-to-end and from scratch on both web-scale alt-text data and annotated images by treating all labels simply as text, seamlessly unifying natural language supervision for representation learning. Empirically, CoCa achieves state-of-the-art performance with zero-shot transfer or minimal task-specific adaptation on a broad range of downstream tasks, spanning visual recognition (ImageNet, Kinetics-400/600/700, Moments-in-Time), crossmodal retrieval (MSCOCO, Flickr30K, MSR-VTT), multimodal understanding (VQA, SNLI-VE, NLVR2), and image captioning (MSCOCO, NoCaps). Notably on ImageNet classification, CoCa obtains 86.3% zero-shot top-1 accuracy, 90.6% with a frozen encoder and learned classification head, and new state-of-the-art 91.0% top-1 accuracy on ImageNet with a finetuned encoder.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
shiqi1108完成签到 ,获得积分10
1秒前
小谭完成签到 ,获得积分10
3秒前
时舒完成签到 ,获得积分10
3秒前
4秒前
彩色的紫丝完成签到 ,获得积分10
4秒前
4秒前
阿枫发布了新的文献求助30
5秒前
6秒前
我是老大应助小黄采纳,获得10
7秒前
9秒前
幸福果汁完成签到,获得积分10
9秒前
Bin_Liu发布了新的文献求助10
9秒前
没有名称发布了新的文献求助10
10秒前
ding应助萨拉斐尔采纳,获得10
11秒前
wjxcl发布了新的文献求助10
11秒前
往前走别回头完成签到,获得积分10
13秒前
revew666完成签到,获得积分10
14秒前
共享精神应助guangshuang采纳,获得10
15秒前
冷静的胜完成签到,获得积分10
15秒前
情怀应助老夫子采纳,获得10
17秒前
冰糖葫芦完成签到 ,获得积分10
17秒前
Lucas应助NINISO采纳,获得10
18秒前
天天发布了新的文献求助10
18秒前
没有名称完成签到,获得积分10
19秒前
20秒前
伶俐的雁蓉完成签到,获得积分10
21秒前
NEM嬛嬛驾到完成签到,获得积分10
21秒前
orixero应助梁山第一好汉采纳,获得10
22秒前
23秒前
23秒前
tian发布了新的文献求助10
25秒前
26秒前
美丽心情完成签到,获得积分10
26秒前
26秒前
wwsybx完成签到 ,获得积分10
27秒前
小南完成签到 ,获得积分10
28秒前
单薄的咖啡完成签到 ,获得积分10
28秒前
格物致知发布了新的文献求助10
29秒前
29秒前
小黄发布了新的文献求助10
29秒前
高分求助中
【此为提示信息,请勿应助】请按要求发布求助,避免被关 20000
Technologies supporting mass customization of apparel: A pilot project 450
Mixing the elements of mass customisation 360
Периодизация спортивной тренировки. Общая теория и её практическое применение 310
the MD Anderson Surgical Oncology Manual, Seventh Edition 300
Nucleophilic substitution in azasydnone-modified dinitroanisoles 300
Political Ideologies Their Origins and Impact 13th Edition 260
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3781094
求助须知:如何正确求助?哪些是违规求助? 3326508
关于积分的说明 10227563
捐赠科研通 3041675
什么是DOI,文献DOI怎么找? 1669546
邀请新用户注册赠送积分活动 799100
科研通“疑难数据库(出版商)”最低求助积分说明 758734