# Masked Vision-Language Transformer in Fashion

패션 분야의 마스크드 비전-언어 트랜스포머

Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool · arXiv · 2022년 10월 27일

- **연구 문제** 패션 도메인에서 기존 비전-언어 pre-training 모델은 세밀한 시각 속성을 충분히 학습하지 못하고 사전 추출 특징에 의존합니다.
- **연구 방법** BERT와 사전 추출 시각 모델 없이 원시 입력을 처리하는 피라미드 기반 종단간 인코더와 픽셀 수준 마스크 이미지 재구성 목표를 결합합니다.
- **주요 결과** Fashion-Gen 2018의 제로샷 TIR과 ITR에서 Kaleido-BERT보다 R@5를 약 17%포인트 높이고, 추가 파인튜닝한 인식 과제에서도 보고된 비교 대상보다 높은 정확도를 기록합니다.

## 패션 도메인 pre-training의 한계

패션 상품 검색과 인식에서는 일반 도메인 비전-언어 모델을 그대로 쓰기 어렵습니다. 저자들은 기존 모델이 두 가지 문제를 가진다고 설명합니다. 첫째, 일반 객체 중심의 거친 의미만 학습하면 소재나 칼라처럼 세밀한 속성을 구분하기 어렵습니다. 둘째, BERT 기반 모델이나 ResNet 같은 pre-training 시각 추출기는 패션 과제에 판별력이 낮은 특징을 주어 교차 모달 표현을 제약합니다.

이 논문은 이 두 문제를 줄이기 위해 BERT 대신 비전 트랜스포머 구조를 사용하고, 원시 텍스트 토큰과 이미지 패치를 직접 입력받는 종단간 패션 비전-언어 프레임워크인 MVLT를 제안합니다. 핵심 질문은 사전 추출 모델 없이도 패션 도메인에서 검색과 인식 성능을 확보할 수 있는지, 그리고 픽셀 수준 생성 목표가 세밀한 표현 학습에 도움이 되는지입니다.

## MVLT의 종단간 멀티모달 인코더

MVLT는 4단계로 구성된 피라미드형 VL 인코더입니다. 캡션은 토큰화된 뒤 \[MASK\]로 15% 가려지고, 맨 앞에 \[CLS\] 토큰이 붙으며, 길이 128로 패딩됩니다. 이미지는 H×W×3 입력을 격자형 패치로 나누고 일부 패치를 마스킹합니다. 각 단계에서 언어 임베딩 T\_k와 시각 임베딩 V\_k를 만든 뒤 두 특징을 이어 붙여 M\_k개의 VL 트랜스포머 인코더에 넣습니다. Table 1의 은닉 차원 D\_k는 단계별로 64, 128, 320, 512입니다.

![Figure 3: Pipeline of our MVLT framework. Our overall architecture consists of four stages containing language and visual embeddings and multiple transformer e…](https://refivu.com/papers/39eccadd-3753-47c1-9ac7-d525054ba0a4/figures/figure-b87ce6915592756ecdd6484a7484277b.png?thumb=512)

**Fig. 3** Pipeline of our MVLT framework. Our overall architecture consists of four stages containing language and visual embeddings and multiple transformer encoders (×Mk). Introducing the masking strategy for three sub-tasks, i.e., masked image reconstruction (MIR), image-text matching (ITM), and masked language modeling (MLM), our MVLT can be trained in an end-to-end manner. More details can be found in Sec. 3.

[원문](https://arxiv.org/abs/2210.15110v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool · Masked Vision-Language Transformer in Fashion · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

시각 쪽은 합성곱 투영으로 공간 해상도를 줄여 단계마다 피라미드 특징을 만듭니다. 이 설계는 ResNet 같은 사전 추출 모델 없이 원시 입력을 받는 것이 핵심입니다. 다만 모델은 ImageNet으로 사전학습된 PVT 가중치로 초기화되며, fine-tuning도 pre-training과 같은 종단간 방식으로 진행됩니다. 따라서 시각 백본을 고정한 설정과는 구분해서 읽어야 합니다.

![Figure 2: Comparison of MVLT to cutting-edge fashion-oriented VL frameworks. FashionBERT (a) utilizes a language-based encoder (i.e., BERT) to extract VL repre…](https://refivu.com/papers/39eccadd-3753-47c1-9ac7-d525054ba0a4/figures/figure-a96f0049d91d8303caac2d3584baab72.png?thumb=512)

**Fig. 2** Comparison of MVLT to cutting-edge fashion-oriented VL frameworks. FashionBERT (a) utilizes a language-based encoder (i.e., BERT) to extract VL representations with single-scale visual input ( i.e., image patches). Kaleido-BERT (b) extends it with two upgrades: adds ﬁve ﬁxed-scale inputs ( i.e., Kaleido patches) to acquire hierarchical visual features and designs Kaleido vision tasks to fully learn VL representations. However, the visual embedding of these models is frozen (i.e., without parameter updating), thus, a lack of domain-speciﬁc visual knowledge severely hinders their transferability. Diﬀerently, our MVLT (c) adaptively learns hierarchical features by introducing masked vision tasks in an end-to-end framework, signiﬁcantly boosting the VL-related understanding and generation.

[원문](https://arxiv.org/abs/2210.15110v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool · Masked Vision-Language Transformer in Fashion · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

마스킹 단위는 (α×P)² 크기의 겹치지 않는 블록이며, α는 1부터 8까지 설정할 수 있고 기본값은 α=4입니다. 전체 단위 수는 Q=HW/(α×P)²이며, 각 단위는 비율 r\_v로 선택되어 0에 가까운 값으로 채워집니다. 이 마스킹 방식은 PVT의 여러 해상도 특징을 활용하기 위해 설계되었습니다.

## MIR, ITM, MLM의 pre-training 목표

MVLT는 세 목표를 함께 학습합니다. 첫째, masked image reconstruction(MIR)은 마스킹된 시퀀스를 입력받아 전체 이미지를 픽셀 수준에서 복원하는 생성 목표입니다. 복원 디코더는 4단계 피라미드 시각 임베딩을 입력받는 U-Net 구조입니다. 손실은 smooth-ℓ1 형태로, 픽셀 차이의 크기가 1보다 작으면 0.5 곱하기 차이의 제곱을, 그렇지 않으면 차이의 절댓값에서 0.5를 뺀 값을 사용합니다. 저자들은 이 손실이 이상치에 덜 민감하다고 설명합니다.

![Figure 1: Diﬀerent visual reconstruction tasks for VL pre- training \[1, 2\] utilize masked image modeling (top) with the random masking strategy ( i.e., to use…](https://refivu.com/papers/39eccadd-3753-47c1-9ac7-d525054ba0a4/figures/figure-bc543f3208f6a7dc1afcbf9b1b8172ad.png?thumb=512)

**Fig. 1** Diﬀerent visual reconstruction tasks for VL pre- training \[1, 2\] utilize masked image modeling (top) with the random masking strategy ( i.e., to use M padding to replace raw vectors), which reconstructs pre-extracted visual semantics ( i.e., probabilities) at the feature-level. We introduce a generative task named masked image reconstruction (bottom), which directly reconstructs image patches at the pixel level.

[원문](https://arxiv.org/abs/2210.15110v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool · Masked Vision-Language Transformer in Fashion · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

![Figure 7: Visualization of samples generated by our MVLT. The gray blocks represent the masked regions](https://refivu.com/papers/39eccadd-3753-47c1-9ac7-d525054ba0a4/figures/figure-529f6c785c2ece14ac7be68b174b1286.png?thumb=512)

**Fig. 7** Visualization of samples generated by our MVLT. The gray blocks represent the masked regions.

[원문](https://arxiv.org/abs/2210.15110v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool · Masked Vision-Language Transformer in Fashion · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

둘째, Image-Text Matching(ITM)은 마지막 언어 임베딩의 분류 토큰을 이용해 이미지와 캡션이 짝인지 판별합니다. 양성 쌍은 같은 패션 범주에서, 음성 쌍은 무작위로 고릅니다. 셋째, Masked Language Modeling(MLM)은 가려진 텍스트 토큰을 나머지 토큰과 패치를 이용해 예측하며 교차 엔트로피로 학습합니다.

전체 목표는 다음과 같이 가중합됩니다.

\\\\\[ L\_{total}=w\_1 L\_{MIR}+w\_2 L\_{ITM}+w\_3 L\_{MLM} \\\\\]

논문은 w\_1=10, w\_2=1, w\_3=1을 사용해 서로 다른 크기의 손실을 맞춘다고 밝힙니다. 이 가중치는 본 논문의 pre-training 설정이며 다른 모델에 공통으로 적용된다고 보면 안 됩니다.

## 검색과 인식 과제의 평가 설계

평가는 Fashion-Gen 2018 데이터셋에서 수행됩니다. 원문은 학습 쌍으로 260,480개, 평가 쌍으로 35,528개를 사용한다고 밝힙니다. 검색 과제는 텍스트-이미지 검색(TIR)과 이미지-텍스트 검색(ITR)입니다. 두 과제 모두 정답 쌍 하나와 같은 하위 범주의 음성 쌍 100개를 후보로 두고 R@1, R@5, R@10을 측정하며, 이들을 합산한 SumR을 함께 봅니다. 이 검색 평가는 fine-tuning 없이 제로샷으로 수행됩니다.

인식 과제는 대분류 M-CR(48개)과 소분류 S-CR(122개)입니다. 두 인식 과제는 마지막 언어 임베딩 위에 독립된 완전연결 층을 두고 인식 라벨로 추가 파인튜닝한 뒤 정확도와 macro-F를 측정합니다. 따라서 검색 결과와 인식 결과는 학습 조건이 다르며 같은 설정으로 묶으면 안 됩니다.

비교 대상은 VSE, VSE++, SCAN, PFAN, ViLBERT, ImageBERT, FashionBERT, VL-BERT, OSCAR, Kaleido-BERT입니다. 이 가운데 인식 과제의 일부 모델은 결과가 없는 N/A로 표시됩니다.

## Kaleido-BERT 대비 검색과 인식 결과

검색 과제에서 MVLT는 TIR의 R@5가 78.00%, R@10이 89.50%를 기록했습니다. 이는 Kaleido-BERT의 60.60%, 68.59%보다 각각 17.40%포인트, 20.91%포인트 높은 값입니다. ITR에서는 R@5가 77.20%, R@10이 91.10%로 Kaleido-BERT의 60.09%, 68.37%보다 각각 17.11%포인트, 22.73%포인트 높습니다. SumR은 TIR에서 202.1, ITR에서 201.4입니다.

![Figure 5: Visualization results on the TIR and ITR tasks in terms of top-ﬁve ranked probabilities predicted by our MVLT. “Matched” indicates the ground-truth i…](https://refivu.com/papers/39eccadd-3753-47c1-9ac7-d525054ba0a4/figures/figure-bc0adb40214407631642be6b8324d9f3.png?thumb=512)

**Fig. 5** Visualization results on the TIR and ITR tasks in terms of top-ﬁve ranked probabilities predicted by our MVLT. “Matched” indicates the ground-truth image-text pair.

[원문](https://arxiv.org/abs/2210.15110v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool · Masked Vision-Language Transformer in Fashion · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

인식 과제에서는 M-CR의 정확도가 98.26%이고 macro-F가 0.896입니다. 최고 비교 모델인 Kaleido-BERT의 정확도 95.07%보다 3.19%포인트 높고, macro-F는 OSCAR의 0.727보다 0.169 높습니다. S-CR에서는 정확도 93.57%, macro-F 0.829를 기록해 Kaleido-BERT의 88.07%, 0.636보다 각각 5.50%포인트와 0.193 높습니다. 여기서 macro-F의 최고 비교 대상은 Kaleido-BERT와 다르다는 점을 함께 봐야 합니다.

![Figure 6: The visualization of main-/sub-category recognition results on Fashion-Gen. The green predictions hit the targets](https://refivu.com/papers/39eccadd-3753-47c1-9ac7-d525054ba0a4/figures/figure-3ea045493d5da876cc172dacc461c5ee.png?thumb=512)

**Fig. 6** The visualization of main-/sub-category recognition results on Fashion-Gen. The green predictions hit the targets.

[원문](https://arxiv.org/abs/2210.15110v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool · Masked Vision-Language Transformer in Fashion · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

이 수치는 Fashion-Gen 2018 데이터셋과 해당 후보 구성에서 얻은 결과입니다. 원문은 MVLT가 다른 데이터셋이나 다른 과제에서도 같은 우위를 보인다고 주장하지 않습니다. 정성 결과인 Fig. 5와 Fig. 6도 같은 데이터셋의 시각화입니다.

## 절제 실험으로 본 구성 요소의 역할

마스킹 비율 실험에서는 시각 마스킹 비율 r\_v가 0.10, 0.30, 0.70, 0.90일 때 TIR R@5가 각각 75.70%, 76.00%, 75.50%, 73.80%입니다. 기본값 0.50에서는 78.00%로 가장 높습니다. 따라서 마스킹 비율을 높이면 학습이 어려워지고, 너무 많이 가리면 시각 정보가 손실된다는 저자의 해석이 함께 제시됩니다.

마스킹 단위 실험에서는 α가 1, 2, 8, 16일 때 TIR R@5가 75.30%, 75.60%, 73.90%, 76.90%입니다. 기본 설정 α=4의 78.00%보다 낮습니다. 마스킹 방식 실험에서는 grid, stroke, center 방식이 각각 75.30%, 76.10%, 75.10%이며, 무작위 격자 마스킹이 78.00%로 가장 높습니다.

pre-training 목표 실험에서는 ITM만 사용한 경우 TIR R@5가 74.10%, ITM과 MIR을 함께 쓴 경우 76.00%, ITM과 MLM을 함께 쓴 경우 76.20%입니다. 세 목표를 모두 쓴 최종 모델은 78.00%입니다. 또한 PVT 가중치를 불러오지 않은 경우 TIR R@5가 72.20%로 떨어지고 ITR R@5도 71.50%로 낮아집니다. 이 결과는 해당 설정에서 사전 가중치의 효과를 보여 줍니다.

## 적용 범위와 남은 질문

첫째, 이 논문은 이미지 캡션 생성 실험을 수행하지 않았다고 명시합니다. 저자들은 MVLT가 텍스트 생성 같은 다른 과제에 적용될 수 있다고 제안하지만, 그 가능성은 이 논문에서 검증되지 않았습니다.

둘째, 주요 검색 결과는 fine-tuning 없는 제로샷 설정입니다. 인식 결과는 별도의 추가 fine-tuning을 거친 결과이므로 두 결과를 같은 조건의 성능으로 묶으면 안 됩니다.

셋째, 일반 도메인 실험은 MS-COCO 2014의 5K 테스트 검색 결과로 제시됩니다. 이 실험은 Unicoder-VL, UNITER, ViLT와 비교했지만 패션 평가와 같은 데이터나 조건이 아닙니다. 저자들은 추가 학습 데이터나 특수 검색 손실을 쓰지 않았다고 밝힙니다.

넷째, 결론에서 저자들은 대규모 전자상거래 웹사이트의 개발 및 비즈니스 효율이 약 50% 향상된다고 말합니다. 이 원문 구절은 해당 수치의 측정 조건을 자세히 제공하지 않으므로, 연구의 기술적 근거와 구분해 읽어야 합니다.

## 논문 정보

- **저자**: Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 10월 27일
- **등록일**: 2026년 11월 6일
- **수정일**: 2022년 10월 27일
- **버전**: v1
- **arXiv**: 2210.15110
- **DOI**: 10.1007/s11633-022-1394-4
- **분류**: cs.CV · cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2210.15110v1) · [원문 PDF ↗](https://arxiv.org/pdf/2210.15110v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

We present a masked vision-language transformer (MVLT) for fashion-specific multi-modal representation. Technically, we simply utilize vision transformer architecture for replacing the BERT in the pre-training model, making MVLT the first end-to-end framework for the fashion domain. Besides, we designed masked image reconstruction (MIR) for a fine-grained understanding of fashion. MVLT is an extensible and convenient architecture that admits raw multi-modal inputs without extra pre-processing models (e.g., ResNet), implicitly modeling the vision-language alignments. More importantly, MVLT can easily generalize to various matching and generative tasks. Experimental results show obvious improvements in retrieval (rank@5: 17%) and recognition (accuracy: 3%) tasks over the Fashion-Gen 2018 winner Kaleido-BERT. Code is made available at https://github.com/GewelsJI/MVLT.

## 원문 인용

Ge-Peng Ji, Mingcheng Zhuge, Dehong Gao, Deng-Ping Fan, Christos Sakaridis, Luc Van Gool (2022). Masked Vision-Language Transformer in Fashion. arXiv:2210.15110v1. https://doi.org/10.1007/s11633-022-1394-4

**BibTeX**

```
@article{ji2022masked,
  title = {{Masked Vision-Language Transformer in Fashion}},
  author = {Ge-Peng Ji and Mingcheng Zhuge and Dehong Gao and Deng-Ping Fan and Christos Sakaridis and Luc Van Gool},
  year = {2022},
  eprint = {2210.15110},
  archivePrefix = {arXiv},
  doi = {10.1007/s11633-022-1394-4},
  url = {https://arxiv.org/abs/2210.15110v1}
}
```

## 이 논문의 용어

- [U-Net](https://refivu.com/terms/f49a93d54ad5-u-net)
- [Image-Text Matching](https://refivu.com/terms/03de59c8e149-image-text-matching)
- [Image-Text Retrieval](https://refivu.com/terms/c720c3ef0248-image-text-retrieval)

## 다른 논문 해설

- [MSCoTDet: Language-driven Multi-modal Fusion for Improved Multispectral Pedestrian Detection](https://refivu.com/papers/a6c84909-767e-4c21-96d6-b2c2bf9a60ab-mscotdet-language-driven-multi-modal-fusion-for-improved.md)
- [Semiautomatic dimensional screening of plastic scintillator cubes using image analysis and robotics](https://refivu.com/papers/da6a016f-0839-4544-9dcf-2c97f57e25fe-semiautomatic-dimensional-screening-of-plastic-scintillator.md)
- [Fine-grained Visual-Text Prompt-Driven Self-Training for Open-Vocabulary Object Detection](https://refivu.com/papers/0c7a18dd-b942-4cf0-b81d-b217e1d3d405-fine-grained-visual-text-prompt-driven-self-training.md)
- [A Novel Incremental Learning Driven Instance Segmentation Framework to Recognize Highly Cluttered Instances of the Contraband Items](https://refivu.com/papers/5c05a20b-3290-43be-85ab-d7d378250990-a-novel-incremental-learning-driven-instance-segmentation.md)
- [IMITATE: Clinical Prior Guided Hierarchical Vision-Language Pre-training](https://refivu.com/papers/3b5c87ee-36ef-4925-a42d-40e276bdd963-imitate-clinical-prior-guided-hierarchical-vision-language.md)
- [Weak-Mamba-UNet: Visual Mamba Makes CNN and ViT Work Better for Scribble-based Medical Image Segmentation](https://refivu.com/papers/93d75c4b-8718-4e82-a756-38085547820b-weak-mamba-unet-visual-mamba-makes-cnn-and.md)
- [Artificial intelligence contribution to translation industry: looking back and forward](https://refivu.com/papers/bb8c5e97-6b4d-4494-8e95-7693f7754127-artificial-intelligence-contribution-to-translation-industry.md)
- [How can voting mechanisms improve the robustness and generalizability of toponym disambiguation?](https://refivu.com/papers/a7f985d4-b48e-45bf-a161-9f846cdf21b1-how-can-voting-mechanisms-improve-the-robustness-and.md)
- [An Evaluation of Estimative Uncertainty in Large Language Models](https://refivu.com/papers/0d144c86-50c2-4aaf-9bd1-8e8267322414-an-evaluation-of-estimative-uncertainty-in-large-language.md)
- [Kencorpus: A Kenyan Language Corpus of Swahili, Dholuo and Luhya for Natural Language Processing Tasks](https://refivu.com/papers/63ecaace-b12e-4c8f-8421-3ed079f7ba82-kencorpus-a-kenyan-language-corpus-of-swahili-dholuo.md)
- [Neural-Symbolic Reasoning over Knowledge Graphs: A Survey from a Query Perspective](https://refivu.com/papers/2cb7aa05-57a6-4b7b-a866-31b731a266e3-neural-symbolic-reasoning-over-knowledge-graphs-a-survey.md)
- [LM4OPT: Unveiling the Potential of Large Language Models in Formulating Mathematical Optimization Problems](https://refivu.com/papers/e3faa29c-1a8c-4fee-ad1f-d7419f8d27d3-lm4opt-unveiling-the-potential-of-large-language-models.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/39eccadd-3753-47c1-9ac7-d525054ba0a4-masked-vision-language-transformer-in-fashion)
