Back to the Barn with LLAMAs: Evolving Pretrained LLM Backbones in Finetuning Vision Language Models
Organizations: Pacific Northwest National Laboratory, Richland, WA 99352, USA
Abstract
Vision-Language Models (VLMs) have rapidly advanced by leveraging powerful pre-trained Large Language Models (LLMs) as core reasoning backbones. As new and more capable LLMs emerge with improved reasoning, instruction-following, and generalization, there is a pressing need to efficiently update existing VLMs to incorporate these advancements. However, the integration of new LLMs into VLMs, particularly how the evolving LLMs contribute to multimodal reasoning, alignment, and task-specific performance remains underexplored. Addressing this gap is important for VLM development, given the rapid evolution of pretrained LLM backbones. This study presents a controlled and systematic investigation of how changes in the pretrained LLM backbone affect downstream VLM task performance. By having the vision encoder, training data, and post-training algorithm remain same across LLAMA-1, LLAMA-2, and LLAMA-3 based VLMs, we find that newer LLM backbones do not always lead to better VLMs, but the performance depends on the downstream VLM task. For example, in visual question and answering tasks, newer LLM backbones tend to solve different questions rather than just more questions, and our analysis shows this is driven by differences in how the models process information, including better calibrated confidence and more stable internal representations. We also find that some VLM capabilities appear only in the newest LLM generation, while tasks that depend mainly on visual understanding see little benefit from a newer LLM backbone.
Figures & tables
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | NeVA Default (Image) | LLAMA 3.1 Instruct (8B) | LLAMA 2 (7B) | LLAMA 1 (7B) |
|---|---|---|---|---|
| Model Scale / Transformer Architecture | ||||
| encoder_seq_length | 4096 * | 8192 | 4096 | 2048 |
| num_layers | 24 * | 32 | 32 | 32 |
| hidden_size | 2048 * | 4096 | 4096 | 4096 |
| ffn_hidden_size | 5440 * | 14336 | 11008 | 11008 |
| num_attention_heads | 16 * | 32 | 32 | 32 |
| Model | BLEU ( ) | ROUGE ( ) |
|---|---|---|
| LLAMA 1 | ||
| LLAMA 2 | ||
| LLAMA 3 |
| Image | Query/Ground Truth Answer | LLAMA-1 Answer | LLAMA-2 Answer | LLAMA-3 Answer |
|---|---|---|---|---|
| Think about the magnetic force between the magnets in each pair. Which of the following statements is true? Context: The images below show two pairs of magnets. The magnets in different pairs do not affect each other. All the magnets shown are made of the same material, but some of them are different sizes and shapes. Options: (A) The magnitude of the magnetic force is the same in both pairs. (B) The magnitude of the magnetic force is smaller in Pair 1. (C) The magnitude of the magnetic force is smaller in Pair 2. | SOLUTION: Magnet sizes affect the magnitude of the magnetic force. Imagine magnets that are the same shape and made of the same material. The smaller the magnets, the smaller the magnitude of the magnetic force between them. Magnet A is the same size in both pairs. But Magnet B is smaller in Pair 1 than in Pair 2. So, the magnitude of the magnetic force is smaller in Pair 1 than in Pair 2. ### ANSWER: B. | SOLUTION: Magnet sizes affect the magnitude of the magnetic force. Imagine magnets that are the same shape and made of the same material. The smaller the magnets, the smaller the magnitude of the magnetic force between them. Magnet A is the same size in both pairs. But Magnet B is smaller in Pair 2 than in Pair 1. So, the magnitude of the magnetic force is smaller in Pair 2 than in Pair 1. ### ANSWER: C. | SOLUTION: Magnet sizes affect the magnitude of the magnetic force. Imagine magnets that are the same shape and made of the same material. The smaller the magnets, the smaller the magnitude of the magnetic force between them. Magnet A is the same size in both pairs. But Magnet B is smaller in Pair 1 than in Pair 2. So, the magnitude of the magnetic force is smaller in Pair 1 than in Pair 2. ### ANSWER: B. | |
| Is the following statement about our solar system true or false? The largest planet is made mainly of ice. Context: Use the data to answer the question below. Options: (A) true (B) false | SOLUTION: The table tells you that the largest planet is Jupiter and that Jupiter is made mainly of gas. So, the largest planet is made mainly of gas. ### ANSWER: A. | SOLUTION: To decide which planet is the largest, look at the volumes and compare the exponents. Jupiter’s volume has an exponent of 15, which is the largest of all the planets. So, the largest planet is Jupiter. Jupiter is made mainly of gas. So, the largest planet is made mainly of gas. ### ANSWER: B. | SOLUTION: The table tells you that the largest planet is Jupiter and that Jupiter is made mainly of gas. So, the largest planet is made mainly of gas. ### ANSWER: B. |
| Image | Query/Ground Truth Answer | LLAMA-1 Answer | LLAMA-2 Answer | LLAMA-3 Answer |
|---|---|---|---|---|
| As per the exposure map, what is the latitude and longitude of the origin (star) of the epicenter in the seismic event ”M 5.7 - 82 km NE of Pangai, Tonga” Answer: Latitude: 19.361S Longitude: 173.728W | Pangai, Neiafu, Nuku’alofa | Pangai, Nuku’alofa | Latitude: 13.764S Longitude: 172.533W | |
| As per the exposure map, determine whether the epicenter (star) of the seismic event ”M 5.7 - 82 km NE of Pangai, Tonga” is on the land or water Answer: water | water | water | water | |
| As per the exposure map, what is the latitude and longitude of the origin (star) of the epicenter in the seismic event ”M 5.5 - Izu Islands, Japan region” Answer: Latitude: 31.217N Longitude: 142.438E | Tokyo, Nagoya | Tokyo, Nagoya | Latitude: 32.827N Longitude: 130.754E | |
| As per the exposure map, determine whether the epicenter (star) of the seismic event ”M 5.5 - Izu Islands, Japan region” is on the land or water Answer: water | water | water | water |
Vision-Language Models
Vision-language models connect visual inputs with text for retrieval, question answering, generation, and grounded multimodal reasoning.
See all 736 papers