TL;DR
- I read this because.. : VLM์ ํ ์๊ฐ.. ์๋ง ์ฒซ interleaved image-text data. OpenFlamingo์์ ์ฌ์ฉ.
- task : data
- problem : open interleaved image-text data
- idea : common crawl์์ ์์ํด์ ์ด๋ฏธ์ง ์ทจ๋.
- input/output : sequence of images, sequence of texts -> text
- architecture : OpenFlamingo(3B) https://github.com/long8v/PTIR/issues/118 ,
- objective : CE loss
- baseline : LAION-2B๋ก๋ง trained๋ Flamingo
- data : Multimodal C4(mmc4), Multimodal C4 fewer-faces(mmc4-ff), mmc4-core, mmc4-core-ff -> COCO caption
- evaluation : zero-shot captioning, 4-, 8-shot captioning
- result : LAION-2B pretained๋ณด๋ค ์๋ฑํ ์ข์ ์ฑ๋ฅ (์ ๊ธฐํ๋น..)
- contribution : first public open interleaved image-text data
- etc. :
Details
mmc4
Data Curation Process
- source Common Crawl์ April 2019(๋ง์ด ์ฌ์ฉ๋๋ dump๋ผ๊ณ ํจ) ์ค์ clean ๋ฒ์ ์ธ c4 ์ฌ์ฉ(365M documents, 156B tokens)
- images c4์์ original web page ๋ค์ด ๋ฐ์ ๋ค์ ์ด๋ฏธ์ง ๋ค์ด๋ก๋ ํ์ฅ๋ช png / jpeg / jpg๋ง ๋จ๊ธฐ๊ณ logo, button, icon, plugin, widget์ด๋ ๊ธ์ ์์ผ๋ฉด ์ ๊ฑฐ. ์ฅ์ถ 800 pixel๋ก resize. -> 115M documents / 1.37B images
- dedup + small resolution
- dedup : https://gitlab.com/opennota/findimagedupes ์ฌ์ฉ
- small resolution : ๋จ์ถ์ด 150์ดํ๋ฉด ์ ๊ฑฐ.
- ์ฅ๋จ์ถ ๋น์จ์ด 2 ์ด์์ด๊ฑฐ๋ 0.5 ์ดํ๋ฉด ์ ๊ฑฐ(banner-like ads๋ฅผ ์ ๊ฑฐํ๋๋ฐ ๋์์ด ๋์๋ค๊ณ ํจ)
- 3.7K์ sample์ ๋ฝ์์ ํ์ธํ ๊ฒฐ๊ณผ 2.5% ์ ๋๊ฐ ๊ด๊ณ ์ธ๊ฑธ๋ก ํ์ธ
- NSFW
- dataset2metadata ํจํค์ง ์ฌ์ฉํด์ NSFW binary classifier๋ฅผ ์ฌ์ฉ
- LAION-2B์์ ๋ถ๋ฅํ NSFW ์ด๋ฏธ์ง๋ก classifier ํ์ตํด์ ๋ถ๋ฅ.
- Aligning images and sentences
- C4๋ ์ ์ฒ๋ฆฌ๋ ๋ฒ์ ์ด๊ณ ์ด๋ฏธ์ง๋ ์ ์ฒด ๋ค์ด๋ฐ์์ผ๋ฏ๋ก ์ด๋ฏธ์ง์ ํด๋นํ๋ ํ ์คํธ๊ฐ ์์ ์๋ ์์
- html์ DOM์ ๋ณด๊ณ ๋๊ธด ํ๋ฐ ๊ทธ๋ ๊ฒ ํ์ง ์์
- ์ผ๋จ ์ด๋ฏธ์ง์ ๋ชจ๋ ๋ฌธ์ฅ ๊ฐ์ pairwise correlation์ ๊ตฌํจ.
- ์ด๋ ํ ๋ฌธ์ฅ์ด๋ผ๋ ์ ์ฌ๋๊ฐ 0.15 ์๋๋ ์ด๋ฏธ์ง๋ผ๋ฉด ์ ๊ฑฐ
- ๊ทธ ๋ค์ bipartite matching์ ์์ผ์ ๊ฐ ๋ฌธ์ฅ์ด ๊ฐ์ง ์ ์๋ ์ด๋ฏธ์ง๋ ํ๊ฐ๊ฐ ๋๋๋ก assign
์ด๋ ๊ฒ ํ ๊ฒฝ์ฐ์ ๊ทธ๋ฅ ์ ์ฌ๋ maxํ๋ assign ํ๋ ๊ฒ๋ณด๋ค coverage๊ฐ ๋์์ง๋ค.
assign ํ ๋ค์ Flamingo์ ๋ฐฉ์์ ๋ฐ๋ผ ๋ฌธ์ฅ ์์ ๋๊ฑฐ๋ ๋ฌธ์ฅ ๋ค์ ๋
์ค์ ์์
Exploring mmc4
url source
topics LDA -> top frequent words -> GPT4๋ก ์ฃผ์
Result
Open Flamingo ์ฌ์ฉํด์ ํ์ตํ๊ณ LAION-2B๋ก ํ์ตํ ์ ์ ๋น๊ต
Retrieval
COCO caption
15M์ LAION-2B๋ก ํ์ต๋ ์ ๋ MSCOCO caption zero-shot / 4-/ 8-shot caption ํ์ต ํ ๊ฒ ๋น๊ต ๋นจ๊ฐ์์ด zero-shot ์ฑ๋ฅ. 4, 8 shot๋ณด๋ค ๋จ์ด์ง๋ ์ด์ ๋ LAION-2B๊ฐ ์งง์ ํ ์คํธ๋ก๋ง ํ์ต๋์ด์ ๊ธด ํ ์คํธ ๋์ค๋๊น ๋ชปํ๋๊ฑฐ ์๋๋ํจ 2B๋ก ๋น๊ตํด์ผ๋๋๊ฑฐ ์๋์ง;
(from FLAMINGO, coco dev set, 4shot)