long8v / PTIR

Paper Today I Read
19 stars 0 forks source link

[109] ๐Ÿฆฉ Flamingo: a Visual Language Model for Few-Shot Learning #118

Open long8v opened 1 year ago

long8v commented 1 year ago
image

paper

TL;DR

Details

introduction์— ์จ์žˆ๋Š”๊ฑฐ๋ž‘ ๋น„์Šทํ•œ ๋‚ด์šฉ. CLIP๋ฅ˜ ์—ฐ๊ตฌ๋ฅผ ํ–ˆ์—ˆ๋Š”๋ฐ ํ’€ ์ˆ˜ ์žˆ๋Š” task๊ฐ€ ํ•œ์ •์ ์ด์—ˆ๋‹ค. -> flamingo๋กœ ๋„˜์–ด๊ฐ ๊ฒฐ๊ตญ ์–ด๋–ค ์ธํ„ฐํŽ˜์ด์Šค๊ฐ€ ๋‹ค์–‘ํ•œ ํƒœ์Šคํฌ๋ฅผ ํ’€ ์ˆ˜ ์žˆ์„ ๊ฒƒ์ธ๊ฐ€? application์— ์ ํ•ฉํ•  ๊ฒƒ์ธ๊ฐ€?๋ฅผ ๋ฌธ์ œ์˜์‹์œผ๋กœ ์‚ผ์€ ๊ฒƒ ๊ฐ™๋‹น ๋ฌธ์ œ ์˜์‹์„ ์•„ํ‚คํ…์ณ๊ฐ€ ์•„๋‹ˆ๋ผ ํ’€ ์ˆ˜ ์žˆ๋Š” task ๋“ค๋กœ ์žก์€ ๋“ฏ~ ํ  ์ ์  ์•„ํ‚คํ…์ณ๊ฐ€ ์ค‘์š”ํ•œ๊ฒŒ ์•„๋‹ˆ๋ผ ๋ฐ์ดํ„ฐ/ํ•™์Šต/ํƒœ์Šคํฌ ๋“ฑ์ด ์ค‘์š”ํ•œ ๊ฒƒ ๊ฐ™๋„ค.. ๋‚˜๋Š” ์ด์ œ ๋ฌด์–ผ ์Œ“์•„์•ผ ํ•˜๋‚˜

Preliminaries

21๋…„๋„ deep mind์—์„œ image / video ๋“ฑ ๋‹ค์–‘ํ•œ modality๋ฅผ ํšจ์œจ์ ์œผ๋กœ ํ‘œํ˜„ํ•  ์ˆ˜ ์žˆ๊ฒŒ. ๋น„๋Œ€์นญ์ ์ธ attention ๋ชจ๋“ˆ์„ ์‚ฌ์šฉํ•ด์„œ a small set of latent units์œผ๋กœ ์ ์ฐจ CAํ•  ์ˆ˜ ์žˆ๋„๋ก(detr์ด๋ž‘ ๋น„์Šทํ•œ๋ฐ ๋””ํ…Œ์ผ์ด ์ข€ ๋‹ค๋ฅผ๋“ฏ) image classification / audio / point cloud ๋“ฑ์—์„œ comparable ์„ฑ๋Šฅ (c.f. Set Transformer๊ฐ€ most related work๋ผ๊ณ  ํ•˜๋ฉด์„œ ๊ณ„์† ์–ธ๊ธ‰)

image image

ํ•™์Šต ์ค‘๊ฐ„์— ๋ฐฐ์น˜ ์‚ฌ์ด์ฆˆ๋ฅผ ํ‚ค์›€ -> ์™œ? https://arxiv.org/pdf/2112.11446.pdf 120์ชฝ์งœ๋ฆฌ ์ฝ์œผ๋ฉด ์•Œ ์ˆ˜ ์žˆ์„๋“ฏ..

Dataset

image

Architecture

image image image image image

Objective

image

๊ฐ ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ gradient๋ฅผ accumulateํ•˜๋Š”๊ฒŒ ์ˆœ์ฐจ์ (round-robin)์œผ๋กœ ํ•˜๋Š”๊ฒƒ๋ณด๋‹ค ๋” ์ข‹์•˜์Œ ๊ทธ๋ฆฌ๊ณ  per-dataset weights์ธ $\lambda _m$์„ ํŠœ๋‹ํ•˜๋Š”๊ฒŒ ์„ฑ๋Šฅ์— ํฌ๋ฆฌํ‹ฐ์ปฌํ–ˆ๋‹ค๊ณ  ํ•˜๋„น

Results

image image image

Tanh gating

image

etc.

c.f. x-attn์—์„œ x๊ฐ€ ๋ญ์ง€ ํ•˜๊ณ  ๊ฒ€์ƒ‰ํ•˜๋‹ค ๋ฐœ๊ฒฌ ์ „์ฒด finetuning ์•ˆํ•˜๊ณ  CA์ชฝ๋งŒ ํ•ด๋„ ์„ฑ๋Šฅ์ด ์ข‹๋‹ค๋Š” ๋…ผ๋ฌธ. domain์€ MT Cross-Attention is All You Need: Adapting Pretrained Transformers for Machine Translation https://arxiv.org/pdf/2104.08771.pdf

long8v commented 1 year ago

๋…ผ๋ฌธ ์Šคํ„ฐ๋””์—์„œ ๋ฐœํ‘œํ•จ. google slide์— ๋” ๋งŽ์€ ๋””ํ…Œ์ผ.