From Introspection to Best Practices: Principled Analysis of Demonstrations in Multimodal In-Context Learning
<|reference_start|>From Introspection to Best Practices: Principled Analysis of Demonstrations in Multimodal In-Context Learning: Motivated by in-context learning (ICL) capabilities of Large Language models (LLMs), multimodal LLMs with additional visual modality are also exhibited with similar ICL abilities when multiple image-text pairs are provided as demonstrations. However, relatively less work has been done to investigate the principles behind how and why multimodal ICL works. We conduct a systematic and principled evaluation of multimodal ICL for models of different scales on a broad spectrum of new yet critical tasks. Through perturbations over different modality information, we show that modalities matter differently across tasks in multimodal ICL. Considering such modality impact, we further utilize modality-driven demonstration strategies to boost ICL performance. We also identify that demonstration selection is closely related to the models' ability to capture task inductive biases from multimodal ICL. Our principled analysis provides a comprehensive way of understanding the role of demonstrations in multimodal in-context learning, and sheds light on effectively improving multimodal ICL on a wide range of tasks even if those tasks are not seen in or even contradict pretraining data.<|reference_end|>
@article{xu2024from,
    title={From Introspection to Best Practices: Principled Analysis of
  Demonstrations in Multimodal In-Context Learning},
    author={Nan Xu, Fei Wang, Sheng Zhang, Hoifung Poon, Muhao Chen},
    journal={arXiv preprint arXiv:2407.00902},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.00902},
    primaryClass={cs.CV cs.AI cs.CL cs.LG}
}