BERTs are Generative In-Context Learners
<|reference_start|>BERTs are Generative In-Context Learners: This paper explores the in-context learning capabilities of masked language models, challenging the common view that this ability does not 'emerge' in them. We present an embarrassingly simple inference technique that enables DeBERTa to operate as a generative model without any additional training. Our findings demonstrate that DeBERTa can match and even surpass GPT-3, its contemporary that famously introduced the paradigm of in-context learning. The comparative analysis reveals that the masked and causal language models behave very differently, as they clearly outperform each other on different categories of tasks. This suggests that there is great potential for a hybrid training approach that takes advantage of the strengths of both training objectives.<|reference_end|>
@article{samuel2024berts,
    title={BERTs are Generative In-Context Learners},
    author={David Samuel},
    journal={arXiv preprint arXiv:2406.04823},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.04823},
    primaryClass={cs.CL cs.AI}
}