[Paper Review] Scheduled Sampling in Vision-Language Pretraining with Decoupled Encoder-Decoder Network
This paper proposes TDEN, a two-stream decoupled encoder-decoder network for vision-language pretraining that simultaneously enables vision-language understanding and generation. By using a novel two-pass scheduled sampling strategy to bridge the pretraining-fine-tuning discrepancy, TDEN achieves state-of-the-art performance across four downstream vision-language tasks, demonstrating superior generalization through decoupled cross-modal encoders and decoders for masked language modeling and masked sentence generation tasks.
Despite having impressive vision-language (VL) pretraining with BERT-based encoder for VL understanding, the pretraining of a universal encoder-decoder for both VL understanding and generation remains challenging. The difficulty originates from the inherently different peculiarities of the two disciplines, e.g., VL understanding tasks capitalize on the unrestricted message passing across modalities, while generation tasks only employ visual-to-textual message passing. In this paper, we start with a two-stream decoupled design of encoder-decoder structure, in which two decoupled cross-modal encoder and decoder are involved to separately perform each type of proxy tasks, for simultaneous VL understanding and generation pretraining. Moreover, for VL pretraining, the dominant way is to replace some input visual/word tokens with mask tokens and enforce the multi-modal encoder/decoder to reconstruct the original tokens, but no mask token is involved when fine-tuning on downstream tasks. As an alternative, we propose a primary scheduled sampling strategy that elegantly mitigates such discrepancy via pretraining encoder-decoder in a two-pass manner. Extensive experiments demonstrate the compelling generalizability of our pretrained encoder-decoder by fine-tuning on four VL understanding and generation downstream tasks. Source code is available at \url{https://github.com/YehLi/TDEN}.
Motivation & Objective
- To address the challenge of pretraining a universal encoder-decoder model that supports both vision-language understanding and generation tasks.
- To mitigate the pretraining-fine-tuning discrepancy caused by mask token usage in proxy tasks like MLM and MSG.
- To explore the effectiveness of a two-stream decoupled architecture that separately handles understanding and generation proxy tasks.
- To design a scheduled sampling strategy that improves generalization by simulating real token generation during pretraining.
- To validate the proposed method on multiple downstream vision-language tasks, showing improved performance over existing approaches.
Proposed method
- Proposes a two-stream decoupled architecture with shared object and sentence encoders, and separate cross-modal encoders and decoders for vision-language understanding and generation.
- Employs masked language modeling (MLM), masked object classification (MOC), and image-sentence matching (ISM) for understanding pretraining, and masked sentence generation (MSG) for generation pretraining.
- Introduces a two-pass pretraining scheme: in the first pass, the model generates predictions for masked tokens; in the second pass, these predictions are used as input instead of [MASK] tokens to simulate real inference.
- Applies scheduled sampling by replacing artificial [MASK] tokens with model-generated predictions from the prior pass, reducing exposure bias in pretraining.
- Uses the outputs of the shared object and sentence encoders for ISM, avoiding interference with the cross-modal encoders and improving performance.
- Employs a multi-task learning setup where the cross-modal encoder and decoder are jointly pre-trained on understanding and generation proxy tasks.
Experimental results
Research questions
- RQ1Can a decoupled encoder-decoder architecture improve the generalization of vision-language pretraining for both understanding and generation tasks?
- RQ2How does scheduled sampling during pretraining affect the performance of vision-language models on downstream tasks?
- RQ3Does pretraining the cross-modal encoder and decoder simultaneously yield better results than pretraining them separately?
- RQ4What is the impact of using model-generated tokens instead of [MASK] tokens during the second pass of pretraining?
- RQ5How does the choice of ISM implementation—using cross-modal encoder outputs versus object/sentence encoder outputs—affect overall performance?
Key findings
- TDEN achieves new state-of-the-art performance on all four downstream vision-language tasks: visual question answering, image captioning, video captioning, and image-text retrieval.
- Simultaneous pretraining of the cross-modal encoder and decoder outperforms separate pretraining, confirming the benefit of joint optimization across understanding and generation tasks.
- Using object and sentence encoder outputs for image-sentence matching (ISM) yields better results than using cross-modal encoder outputs, which suffer from distributional mismatch.
- The two-pass scheduled sampling strategy significantly improves downstream performance compared to standard pretraining without scheduled sampling.
- Among the three two-pass schemes evaluated, Two-Pass-C offers the best trade-off between performance and training cost, with only a minor drop in accuracy.
- Ablation studies confirm that the decoupled design and scheduled sampling are key to TDEN's success, with consistent improvements across all evaluated tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.