Full text
A Review of Multimodal Vision–Language Models: Foundations, Applications, and Future Directions Gurpreet Singh1 October 2025 1Independent Researcher Abstract Large Language Models (LLMs) have rapidly become a central focus in both research and practical applications, owing to their remarkable ability to understand and generate text with a level of fluency comparable to human communication. Recently, these models have evolved into multimodal large language models (MM-LLMs), extending their capabilities beyond text to include images, audio, and video. This advancement has enabled a wide array of applications, including text-to-video synthesis, image captioning, and text-to-speech systems. MM-LLMs are developed either by augmenting existing LLMs with multi-modal functionality or by designing multi-modal architectures from the ground up. This paper presents a comprehensive review of the current landscape of LLMs with multi-modal capabilities, highlighting both foundational and cutting-edge MM-LLMs. It traces the historical development of LLMs, emphasizing the transformative impact of transformer-based architectures such as OpenAI’s GPT series and Google’s BERT, as well as the role of attention mechanisms in improving model performance. The review also examines key strategies for adapting pre-trained models to specific tasks, including fine-tuning and prompt engineering. Ethical challenges, including data bias and the potential for misuse, are discussed to stress the importance of responsible AI deployment. Finally, we explore the implications of open-source versus proprietary models for advancing research in this field. By synthesizing these insights, this paper underscores the significant potential of MM-LLMs to reshape diverse applications across multiple domains. Keywords: Large Language Models (LLMs), Multi-Modal Large Language Models (MM-LLMs), Transformer Architecture, GPT, BERT, Attention Mechanism, Fine-Tuning, Prompt Engineering, Text-to-Video Generation, Image Captioning, Text-to-Speech, Ethical AI, Open-Source Models, Proprietary Models 1
1 Introduction Large Language Models (LLMs) have emerged as one of the most prominent topics in contemporary artificial intelligence (AI) research, with growing interest not only in academic circles but also in the broader public. Their visibility has been amplified by the release of ChatGPT in 2022 [ 1 ], which showcased the potential of LLMs to generate coherent, human-like text. By LLMs, we refer specifically to language models built on the Transformer architecture, such as OpenAI’s Generative Pre-trained Transformers (GPT), which began with GPT-1 in 2018 [ 9 ]. The increasing prominence of LLMs stems from their demonstrated versatility across a wide spectrum of tasks, including text summarization [ 3 ], textto-image [ 4 ] and text-to-video [ 5 ] generation, conversational search [ 10 ], machine translation, and broader generative AI (GenAI) applications. A systematic review of over 1,300 related publications underscores their central role in advancing GenAI [7]. Beyond OpenAI’s GPT series, other notable proprietary LLMs attracting public and research attention include Google’s Gemini/BARD [ 11 ] and Anthropic’s Claude [ 12 ]. At the same time, several high-profile open-source models, such as Meta’s LLaMA [ 13 ], Google’s PaLM [ ? ], and Falcon from the UAE’s Technology Innovation Institute [ ? ], have been introduced to the community. The release or update of any LLM can generate significant interest both within academia and in the media, making it challenging to track developments, compare model capabilities, and identify their specific applications. This review focuses on LLMs with particular attention to visual and multimodal capabilities (MM-LLMs), examining their architectures, optimization strategies, and application-specific adaptation. While prior work [ 1 ] provides a concise overview of LLMs covering their history, architecture, training strategies, applications, and challenges, it does not extensively address models capable of processing and generating multiple modalities, such as text, images, audio, and video. Our work complements this literature by analyzing the technical aspects of MM-LLMs, including open-source versus proprietary models, computational considerations, and strategies for efficient fine-tuning. We also explore practical aspects, such as which architectural or training components are most relevant for reducing cost and improving model performance, as well as the evaluation techniques commonly used to assess LLM quality. Ethical considerations are increasingly central to discussions around LLMs. Concerns highlighted in the literature include potential data biases [ 16 , 17 ], environmental and energy costs [ 16 , 17 ], and the concentration of powerful models within a few large technology companies [ 15 ]. This review examines these issues in the context of MM-LLMs, particularly open-source implementations, and evaluates how they can be deployed responsibly in practical multimedia applications. 2
2 What is a Language Model? 2.1 The Evolution of Language Models Language Models (LMs) have long been a cornerstone of Natural Language Processing (NLP), forming the foundation for a wide range of text-based applications. Traditionally, LMs relied on statistical methods, where models were trained on large text corpora to predict the next word in a sequence. By analyzing patterns, frequency, and context in text, these models sought to capture the structure and nuances of human language [18, 19]. The journey from early LMs to today’s Large Language Models (LLMs) reflects significant advances in NLP. Initially, NLP systems were rule-based, designed for applications like machine translation and speech recognition. These approaches gradually gave way to statistical methods, such as Hidden Markov Models and N-gram models [ 20 ]. While effective at capturing short-term word dependencies, these models struggled with long-range context and semantic understanding. Neural Networks (NNs), first conceptualized in the 1950s, were not widely applied to NLP until computational resources became sufficient to handle their demands [21]. A major breakthrough came in the 2010s with the advent of word embedding techniques, notably Word2Vec and GloVe [ 22 ]. Word embeddings represent words as continuous vectors within a semantic space, enabling models to capture relationships and similarities between words. This innovation laid the groundwork for the resurgence of deep learning approaches in NLP. The next leap forward involved Recurrent Neural Networks (RNNs) and Long Short-Term Memory (LSTM) networks, which allowed models to process sequences of words in a more context-aware manner [ 23 , 18 , 19 ]. Unlike Ngram models, which were limited to nearby words, RNNs and LSTMs could theoretically capture dependencies across entire sequences. Nevertheless, these models had their limitations: as sequences became longer, it became increasingly difficult to retain relevant context, and parallelizing computations was not feasible, creating bottlenecks in training [24]. The field underwent a transformative shift in 2017 with the introduction of the Transformer architecture [ 25 ]. One of the key innovations of Transformers was the attention mechanism, which allows models to evaluate the importance of different parts of an input sequence in parallel. This approach resolved the long-range dependency problem inherent in RNNs and LSTMs, enabling models to capture relationships across entire sequences more effectively [25, 26, 23]. Building on the Transformer, 2018 saw the release of two landmark models. Google introduced Bidirectional Encoder Representations from Transformers (BERT) [ 27 ], while OpenAI launched its first Generative Pre-trained Transformer (GPT) [ 9 ]. Together with the availability of massive text datasets and improved computational power, these models established the foundation for modern LLMs [23, 9, 27]. Although these models were already impressive, widespread public and research interest surged with the launch of OpenAI’s ChatGPT in November 3
2022. ChatGPT demonstrated the practical ability of LLMs to engage in natural, conversational interactions, summarize documents, and support various generative AI tasks [28]. 2.2 Attention Mechanisms The Transformer architecture represents a paradigm shift in NLP, relying solely on attention mechanisms to process and understand text sequences [ 25 ]. Among the most widely used are Self-Attention and Multi-Head Attention, which form the backbone of modern LLMs. Self-Attention enables a model to weigh the importance of different positions within a single sequence, generating a context-aware representation. The input is decomposed into linear query, key, and value vectors, allowing the model to focus on the most relevant parts of the text. Multi-Head Attention (MHA) extends this idea by computing multiple selfattention operations in parallel, with each “head” attending to different aspects of the input sequence. While MHA provides richer contextual understanding, it can be computationally demanding and may strain memory resources. To address this, Multi-Query Attention (MQA) was proposed. MQA reduces memory usage by sharing a single key and value across multiple query heads, which allows for larger batch sizes and faster computation. The trade-off is a potential reduction in attention detail, as fewer key-value pairs may overlook subtle aspects of the input. Grouped-Query Attention (GQA) offers a middle ground between MHA and MQA. In GQA, queries are grouped and assigned to corresponding key-value pairs, preserving more detail than MQA while being faster than MHA. This design allows models to process longer sequences efficiently without significant loss of context or performance [29, 30, 31]. 3 Proprietary vs. Open Source LLMs In 2023, research and development in the field of large language models continued at a rapid pace, with major technology companies like OpenAI and Google striving to create the most advanced models. Historically, it was assumed that larger LLMs would provide a competitive edge. However, building such models required significant financial investment, often ranging from €1 million to over €100 million, due to the immense datasets and GPU resources needed. The release of Meta’s open-source LLaMA marked a turning point, reflecting the belief that freely available models could stimulate innovation, enhance safety, and encourage responsible AI practices [ 32 ]. Today, several open-source LLMs, such as Meta’s LLaMA-2 and Google’s PaLM 2, can be accessed without charge, whereas proprietary models like OpenAI’s GPT or Google’s BARD typically impose usage-based fees for enterprise access [33, 34]. Even Google has acknowledged the inherent limitations of proprietary models, recognizing that open-source alternatives could quickly match or surpass 4
their own LLMs. Open-source communities have already tackled challenges that proprietary developers had struggled with, accelerating innovation outside of corporate constraints [ 35 , 50 ]. Open-source LLMs offer clear advantages for researchers and entrepreneurs. They are cost-effective in the long term and provide transparency into the model architecture, training data, and methodologies, which facilitates auditing and ensures compliance with ethical and legal standards. This is especially relevant in light of regulatory frameworks such as the European Union AI Act, expected in 2025, which will require openness regarding model training data for commercial deployment in the EU [ 37 ]. Open-source LLMs also give researchers complete control over the data used for fine-tuning, minimizing the risk of sensitive information leaks. Additionally, optimizing open-source models can improve computational efficiency, reduce latency, and enhance performance for specific applications. Despite these benefits, open-source LLMs also carry limitations. They often lack formal service agreements, leaving developers without guaranteed support or ongoing updates. The pace of innovation in open-source communities can be unpredictable, while proprietary models may remain more stable and reliable in certain contexts. Furthermore, not all open-source models are entirely unrestricted. For example, Meta’s LLaMA-2 enforces usage conditions through its acceptable use policy [33, 34, 38]. 4 Key Large Language Models This section provides an overview of prominent LLMs, focusing primarily on models designed for text generation. Some of these models have been adapted to incorporate multi-modal capabilities post hoc. 4.1 GPT The GPT family, developed by OpenAI, represents a lineage of LLMs beginning with GPT-1. GPT stands for Generative Pre-trained Transformer, and the initial model used a 12-layer decoder-only transformer with masked self-attention heads, trained on a large, diverse text corpus. GPT-1 demonstrated improvements in NLP benchmarks across several datasets [39]. Subsequent iterations, including GPT-2 and GPT-3, scaled up both in model size and training data. GPT-2, with 1.5 billion parameters, showed that language models could achieve strong performance in tasks such as text comprehension and summarization without supervision. GPT-3 expanded this scale dramatically, reaching 175 billion parameters, highlighting the advantages of larger model capacity [ 40 , 39 ]. GPT-3.5, the engine behind ChatGPT, brought these capabilities to the public in 2022, popularizing generative AI applications. GPT-4 further enhanced this family by incorporating multi-modal capabilities, accepting both text and images as input while producing text or image outputs. GPT-4 has demonstrated substantial improvements on NLP benchmarks, including performance on the bar exam at the 90th percentile, compared with GPT-3.5, which 5
scored in the bottom decile. Nonetheless, GPT-4 shares limitations with its predecessors, including hallucinations, limited context windows, and an inability to learn incrementally. It is trained on a combination of public and licensed datasets and fine-tuned using Reinforcement Learning from Human Feedback (RLHF) [41]. 4.2 Claude Anthropic’s Claude models, first released as Claude 1 in March 2024, are designed for NLP tasks such as summarization, question answering, and code generation. Claude is notable for its emphasis on safety and controlled outputs, aiming to reduce harmful or biased responses [ 42 ]. Claude 3, introduced in 2023, comes in three variants—Opus, Sonnet, and Haiku—and includes multi-modal functionality, allowing it to process visual inputs. It reportedly features an extremely large context window of up to 200,000 tokens, enabling the model to consider very long input sequences in a single pass. Claude 3 is trained on a mix of public, private, and synthetic datasets, with public data sourced up to August 2023. While the architecture details remain largely undisclosed, Anthropic claims that Claude 3 matches or exceeds the performance of other leading LLMs. 4.3 Gemini Google’s Gemini family, introduced in 2023, represents a set of models capable of handling text, images, audio, and video. Gemini has achieved state-of-the-art results across multiple benchmarks, notably the Gemini Ultra variant, which scored 64% on the MMMU benchmark involving multi-disciplinary image and text tasks, surpassing previous models by over 5 percentage points [ 43 ]. The Gemini family includes Ultra, Pro, and Nano versions, which vary in size. All models employ the Transformer architecture with Multi-Query Attention (MQA) and can process inputs up to 32,000 tokens. A key distinction between Gemini and GPT-4 is Gemini’s ability to generate images as outputs, in addition to text. 4.4 LLaMA Meta AI’s LLaMA series is an open-source collection of LLMs designed to democratize access to large-scale language models for research and development. The models range from 7 billion to 65 billion parameters and are optimized for inference speed, even allowing operation on a single GPU [ 44 , 46 ]. Contrary to the “bigger is better” assumption, research by Hoffman et al. [ 45 ] suggests that smaller models trained on larger datasets can outperform larger models given the same computational budget. LLaMA models were trained exclusively on publicly available datasets, avoiding proprietary data, with the goal of maximizing performance per computational cost. LLaMA-13B has been shown to outperform GPT-3 on multiple benchmarks, while LLaMA-65B remains competitive with larger models such as Chinchilla or PaLM-540B [44, 46, 47]. 6
The architecture of LLaMA is grounded in the original Transformer framework [ 25 ], with enhancements such as pre-normalization (as in GPT-3), the SwiGLU activation function, and Rotary Positional Embeddings (RoPE) for efficient positional encoding [ 48 ]. These modifications improve stability, reduce computational load, and preserve important positional information. Benchmarking against other LLMs in tasks like zero-shot and few-shot learning, commonsense reasoning, reading comprehension, and code generation demonstrates that LLaMA achieves competitive or superior performance. Additionally, small-scale fine-tuning improves results on multi-task benchmarks like MMLU. Evaluation of LLaMA-65B also considers fairness and safety metrics, including truthfulness, bias, and toxicity, using datasets such as RealToxicityPrompts, CrowS-Pairs, WinoGender, and TruthfulQA [44, 46, 48]. 4.5 LLaMA-2 and LLaMA-2 Chat In July 2023, Meta AI released LLaMA-2 along with LLaMA-2 Chat, representing a substantial update to the original LLaMA series. These models range in size from 7 billion to 70 billion parameters and incorporate several key improvements. One significant enhancement was the expansion of the pre-training corpus by 40%, alongside doubling the context window from 2,048 to 4,096 tokens. A major distinction between LLaMA-2 (and its Chat variant) and the original LLaMA is the adoption of Reinforcement Learning from Human Feedback (RLHF) during fine-tuning, a method further discussed in Section 6.1. While continuing to rely on publicly available datasets for training, LLaMA-2 integrates additional data and enhanced safety measures to reduce the risk of generating unsafe outputs. Unlike its predecessor, which was limited to a non-commercial open-source license, LLaMA-2 introduces a commercial license to promote collaborations and broaden potential applications. Meta AI has also released the model weights and initial code to support researchers and developers in extending or customizing these models. Architecturally, LLaMA-2 follows the same transformer-based framework as LLaMA but integrates the Grouped-Query Attention (GQA) mechanism to improve efficiency and processing capability [49, 50, 51]. Benchmark evaluations show that LLaMA-2 outperforms most other opensource LLMs across a range of tasks, with the exception of coding-focused challenges. When compared to proprietary models like GPT-4 or PaLM-2, its performance is generally lower but aligns closely with GPT-3.5 and PaLM in overall outcomes [49, 52, 39]. 4.6 MedAlpaca MedAlpaca, introduced in October 2023, represents a specialized adaptation of LLaMA models for biomedical applications. Developed using open-source biomedical datasets, its primary aim is to provide on-premises deployment capabilities to protect sensitive patient data, a crucial requirement in healthcare 7
settings. The model employs Low-Rank Adaptation (LoRA) and Supervised Fine-Tuning (SFT) techniques, both of which are detailed in Section 6.1 [ 53 , 54 ]. MedAlpaca’s performance was evaluated using the United States Medical Licensing Examination (USMLE), a standard benchmark for medical competence. Notably, MedAlpaca 13B demonstrated improved performance over the base LLaMA 13B model in zero-shot evaluation, achieving 47.3%, 47.7%, and 60.2% on Steps 1, 2, and 3, respectively. However, when LoRA fine-tuning was applied, performance decreased significantly to 25.0%, 25.5%, and 25.5%, suggesting that while LoRA is computationally efficient, it may not be the optimal choice compared to SFT for certain biomedical tasks [55]. 4.7 Mistral 7B Mistral 7B is a 7-billion parameter language model designed to achieve high efficiency and competitive performance despite its relatively smaller size. According to the developers, chat models built on Mistral 7B outperform the LLaMA-2 13B Chat model. The model leverages the Grouped-Query Attention (GQA) mechanism, similar to LLaMA-2, along with Sliding Window Attention (SWA), which originates from the Longformer architecture [ 56 ]. SWA enables more efficient handling of long sequences, with stacked transformers functioning similarly to convolutional layers in CNNs, improving both performance and computational efficiency. 4.8 Falcon-7B and Falcon-40B In May 2023, the Technology Innovation Institute (TII) in Abu Dhabi launched the Falcon series, including Falcon-7B, Falcon-40B, and their instruction-tuned counterparts: Falcon-7B-Instruct and Falcon-40B-Instruct. Released under the Apache 2.0 license, these models support unrestricted commercial use, encouraging widespread adoption and fine-tuning for various applications. Falcon-Instruct variants are specifically optimized for conversational and instruction-following tasks [57, 58, 59]. TII also provided a high-quality pre-training dataset, RefinedWeb, which includes 600 billion tokens derived from CommonCrawl. The dataset underwent large-scale deduplication and strict filtering to ensure quality. Architecturally, Falcon models are transformer-based, utilizing MQA for memory-efficient processing and RoPE for positional encoding. Additionally, Falcon employs Flash Attention, which optimizes speed and memory usage through tiling and recomputation strategies, enabling faster training and longer context windows. Unlike LLaMA, Falcon does not implement the SwiGLU activation function, prioritizing memory efficiency over incremental performance gains [60, 58, 59]. Falcon models have been trained on 1.5 trillion tokens, and the curated pre-training data is considered a significant factor in their performance. The emphasis on data quality demonstrates the importance of high-fidelity datasets in building effective LLMs [60, 59, 61]. 8
4.9 Falcon-180B In September 2023, TII expanded the Falcon series with Falcon-180B, a 180billion parameter model trained on 3.5 trillion tokens from the RefinedWeb dataset—more than double the amount used for previous Falcon models. A variant, Falcon-180B-chat, was fine-tuned for instruction and conversational tasks. This model achieves competitive results relative to leading models such as GPT-4, GPT-3.5, and PaLM 2-Large [60, 62]. However, the model’s large scale comes with substantial hardware requirements: Falcon-180B demands at least 320GB of memory for optimal operation, compared to 40GB for Falcon-40B and 15GB for Falcon-7B. This significant memory requirement reduces accessibility for researchers with limited hardware, which is otherwise an advantage of open-source LLMs [60, 62]. Benchmark evaluations for the Falcon series include common-sense reasoning tasks such as HellaSwag, Winogrande, AI2 Reasoning Challenge (ARC), MMLU, and OpenBookQA, along with PIQA and BoolQ. These tasks are discussed further in Section 7 [60, 62]. 4.10 Grok-1 Grok-1, released in March 2024 by xAI under OpenAI, is a cutting-edge LLM with 314 billion parameters. Its architecture is autoregressive and Transformer-based, featuring a mixture of eight experts. On the HumanEval coding benchmark, Grok-1 achieves 63.2% and scores 73% on MMLU. While it does not outperform models trained on larger datasets, such as GPT-4 or Claude 2, it exceeds the performance of other models trained on comparable dataset sizes. Table 1: A comparative summary of the reviewed LLMs Model Parameters Commercial Use License Attention Pre-training Token Length VRAM / RAM Required Open Source Fine-tuneable LLaMA 7B No LLaMA License MHA 1T 6GB VRAM Yes Yes LLaMA 13B No LLaMA License MHA 1.5T 10GB VRAM Yes Yes LLaMA 65B No LLaMA License MHA 1.5T 40GB VRAM Yes Yes LLaMA-2 7B Yes LLaMA-2 License GQA 2T 6GB VRAM Yes Yes LLaMA-2 13B Yes LLaMA-2 License GQA 2T 10GB VRAM Yes Yes LLaMA-2 70B Yes LLaMA-2 License GQA 2T 40GB VRAM Yes Yes Mistral 7B Yes Apache 2.0 GQA - 6GB VRAM Yes Yes Falcon 7B Yes Apache 2.0 MQA 1.5T 15GB RAM Yes Yes Falcon 40B Yes Apache 2.0 MQA 1T 40GB RAM Yes Yes Falcon 180B Yes Apache 2.0 MQA 3.5T 320GB RAM Yes Yes GPT-3 175B Yes OpenAI License MHA 300B Via API No Limited GPT-3.5 turbo 175B Yes OpenAI License Not disclosed Not disclosed Via API No Yes GPT-4 Not disclosed Yes OpenAI License Not disclosed Not disclosed Via API No No Gemini 137B Yes Gemini Pro License MQA Not disclosed Via API No No Claude 93B Yes Claude Pro License Unknown Unknown Via API No No Claude 2 137B Yes Claude Pro License Unknown Unknown Via API No No Claude 3 Unknown Yes Claude Pro License Unknown Unknown Via API No No Grok-1 314B Yes Apache 2.0 for code and Grok-1 weights 48 attention heads for queries, 8 for keys/values Unspecified Unspecified Yes No 5 Vision Models and Multi-Modal Large Language Models Up to this point, we have reviewed prominent Large Language Models (LLMs) that originated primarily in the text domain, some of which later incorporated multi-modal functionalities. In this section, we shift focus to models created specifically to bridge vision and language. Vision models are engineered to produce joint representations of images and text, enabling tighter integration of 9
Studies suggest that few-shot examples often serve not to teach new tasks, but to help the model locate relevant pre-learned tasks within its latent space [ ? ]. Interestingly, zero-shot performance can sometimes surpass few-shot outcomes. Nevertheless, emphasise that domain-specific prompts—tailored and refined using internal model knowledge—can bridge performance gaps, especially for specialised applications. 6.4 Reinforcement Learning with Human Feedback (RLHF) Reinforcement Learning with Human Feedback (RLHF) enhances model alignment with human values and preferences. The process begins with human evaluators ranking multiple model-generated outputs. These rankings are then used to train a reward model that estimates the quality of future outputs. The foundational model is subsequently fine-tuned using reinforcement learning, where the reward model guides it toward producing outputs more consistent with human judgment. While RLHF greatly improves model safety, usability, and alignment, it demands extensive human feedback, data collection, and computational resources—making scalability a significant challenge 7 Model Evaluation and Benchmarking Evaluating and benchmarking both pre-trained and fine-tuned models is essential for measuring their capabilities, identifying weaknesses, and assessing the impact of tuning strategies. Before fine-tuning, baseline benchmarks help establish a reference point for performance comparison. After fine-tuning, evaluation metrics assess whether domain adaptation or task specialisation has improved model behaviour. A notable example is MedAlpaca, a medically fine-tuned LLM evaluated using the USMLE exam, a standardised test for medical practitioners. Its zero-shot results were compared to other models to determine the efficacy of its fine-tuning approach Beyond accuracy, evaluation must also consider ethical and social dimensions, including bias, toxicity, and reasoning capability. The RealToxicityPrompts benchmark uses 100,000 prompts to measure a model’s likelihood of generating toxic or harmful text via the Perspective API . To detect demographic biases—across gender, religion, race, and socioeconomic attributes—the CrowSPairs benchmark compares model perplexity on stereotype versus anti-stereotype sentences Similarly, WinoGender assesses gender bias through co-reference resolution tasks, while Winogrande evaluates contextual comprehension by testing pronoun resolution under varying contexts. Several benchmarks test a model’s common-sense reasoning: ARC To evaluate factual accuracy and detect hallucinations, benchmarks such as TruthfulQA and M-HALDetect are employed. TruthfulQA challenges models with 817 diverse 16
questions designed to expose misinformation, while M-HALDetect identifies visual or object hallucinations in multimodal models . Although these benchmarks provide valuable insights, they serve primarily as indicators rather than guarantees of model safety or fairness. No evaluation framework can conclusively eliminate all risks of bias, hallucination, or misinformation—but comprehensive benchmarking remains the most effective safeguard for developing robust and trustworthy AI systems. 8 Conclusions Recent advances in natural language processing have been transformative, particularly with the emergence of Transformer architectures and large language models (LLMs). These models have enabled sophisticated conversational AI systems capable of nuanced reasoning, problem-solving, and contextual understanding. This progress has naturally extended into computer vision, resulting in the development of Multi-Modal Large Language Models (MM-LLMs) and Large Vision-Language Models (LVLMs) such as LLaVA and mPLUG-OWL, which integrate vision encoders with language-based LLMs. Through techniques like fine-tuning and prompt engineering, these models have demonstrated adaptability to a variety of domain-specific tasks. Nevertheless, they continue to face persistent challenges, including hallucinations, which, while reducible through strategies such as Visual Contrastive Decoding, cannot yet be entirely eliminated. Open-source MM-LLMs provide distinct advantages in terms of transparency, reproducibility, and control over training data—a critical factor when handling sensitive or proprietary information. Current open-source implementations often do not incorporate the largest or most recent LLMs; for example, MiniGPT-4 and mPLUG-OWL leverage LLaMA-7B and Vicuna-13B, respectively, rather than newer models like LLaMA-2. This choice reflects computational tradeoffs associated with advanced techniques such as Reinforcement Learning with Human Feedback (RLHF). The quality and curation of pre-training data are also pivotal, as evidenced by models like Falcon, underscoring that careful dataset selection remains essential for effective downstream performance. The usability and performance of MM-LLMs are influenced by multiple factors. Architectural design impacts computational efficiency and the retention of finegrained visual-linguistic details. Similarly, fine-tuning methods, while beneficial, do not universally guarantee improvements. Comparative studies—such as those between MedAlpaca-13B LoRA and MedAlpaca-13B—highlight that some approaches are too resource-intensive for broad implementation despite their potential performance gains. While benchmarking provides essential insights into model capabilities and potential risks, no evaluation framework can ensure complete safety, fairness, or elimination of errors. The assessment of domain-specific MM-LLMs requires careful selection of relevant testing procedures, such as the USMLE examination employed to evaluate MedAlpaca’s medical reasoning capability. Overall, these considerations are critical for the continued development and evaluation of high17
quality MM-LLMs tailored for specialized applications, balancing performance, computational efficiency, and safety in real-world scenarios. References [1] Partha Pratim Ray, “ChatGPT: A comprehensive review on background, applications, key challenges, bias, ethics, limitations and future scope,” In Internet of Things and Cyber-Physical Systems, Elsevier, 2023. [2] Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever, “Improving language understanding with unsupervised learning,” Technical report, OpenAI, 2018. [3] Leigang Qu et al., “LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation,” In Proceedings of the 31st ACM International Conference on Multimedia (MM ’23), Ottawa, Canada: Association for Computing Machinery, 2023, pp. 643–654. DOI: 10.1145/3581783.3612012 [4] Long Lian et al., “LLM-grounded Video Diffusion Models,” In The Twelfth International Conference on Learning Representations, 2024. URL: https: //openreview.net/forum?id=exKHibougU [5] Qingyao Ai et al., “Information Retrieval meets Large Language Models: A strategic report from Chinese IR community,” In AI Open, vol. 4, 2023, pp. 80–90. DOI: 10.1016/j.aiopen.2023.08.001 [6] Yasmin Moslem, Rejwanul Haque, John D. Kelleher, and Andy Way, “Adaptive Machine Translation with Large Language Models,” In Proceedings of the 24th Annual Conference of the European Association for Machine Translation, Tampere, Finland, 2023, pp. 227–237. URL: https://aclanthology.org/2023.eamt-1.22 [7] Priyanka Gupta, Bosheng Ding, Chong Guan, and Ding Ding, “Generative AI: A systematic review using topic modelling techniques,” In Data and Information Management, 2024, pp. 100066. DOI: 10.1016/j.dim.2024. 100066 [8] Jingfeng Yang et al., “Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond,” In ACM Trans. Knowl. Discov. Data, New York, NY, USA: Association for Computing Machinery, 2024. DOI: 10.1145/3649506 [9] Leigang Qu et al., “LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation,” In Proceedings of the 31st ACM International Conference on Multimedia, 2023. [10] Long Lian et al., “LLM-grounded Video Diffusion Models,” In ICLR 2024, URL: https://openreview.net/forum?id=exKHibougU 18
[11] Rohan Anil et al., “Gemini: a family of highly capable multimodal models,” arXiv preprint arXiv:2312.11805, 2023. [12] “Claude 2: a guide to Anthropic’s AI model and Chatbot,” Accessed: 22-Feb-2024, https://www.zapier.com/blog/claude-ai/ [13] Hugo Touvron et al., “LLaMA: Open and efficient foundation language models,” arXiv preprint arXiv:2302.13971, 2023. [14] Mohaimenul Azam Khan Raiaan et al., “A Review on Large Language Models: Architectures, Applications, Taxonomies, Open Issues and Challenges,” In IEEE Access, vol. 12, 2024, pp. 26839–26874. DOI: 10.1109/ACCESS. 2024.3365742 [15] Kassym-Jomart Tokayev, “Ethical implications of large language models: a multidimensional exploration of societal, economic, and technical concerns,” In International Journal of Social Analytics, vol. 8, no. 9, 2023, pp. 17–33. [16] Siddharth Samsi et al., “From words to watts: Benchmarking the energy costs of large language model inference,” In 2023 IEEE High Performance Extreme Computing Conference (HPEC), 2023, pp. 1–9. IEEE. [17] Matthias C. Rillig et al., “Risks and benefits of large language models for the environment,” In Environmental Science & Technology, vol. 57, no. 9, 2023, pp. 3464–3466. [18] Nick Barney, “What Is Language Modeling? — Definition from TechTarget,” [Accessed 22-Feb-2024], https://www.techtarget.com/ searchenterpriseai/definition/language-modeling [19] Dorian Drost, “A brief history of language models — towardsdatascience.com,” [Accessed 22-Feb-2024], https://towardsdatascience.com/ a-brief-history-of-language-models-d9e4620e025b, 2023 [20] Amrita Anandika, Smita Prava Mishra, and Madhusmita Das, “Review on Usage of Hidden Markov Model in Natural Language Processing,” In Intelligent and Cloud Computing: Proceedings of ICICC 2019, Volume 1, 2021, pp. 415–423. Springer [21] Sheila Castilho et al., “Is neural machine translation the new state of the art?” In The Prague Bulletin of Mathematical Linguistics PBML, 2017 [22] Rajvardhan Patil, Sorio Boit, Venkat Gudivada, and Jagadeesh Nandigam, “A Survey of Text Representation and Embedding Techniques in NLP,” In IEEE Access, 2023 [23] Can Cui et al., “A Survey on Multimodal Large Language Models for Autonomous Driving,” 2023, arXiv:2311.12320 [cs.AI] 19
[24] Benjamin McCloskey, “Choosing Neural Networks over N-Gram Models for Natural Language Processing — towardsdatascience.com,” [Accessed 22-Feb-2024] [25] Ashish Vaswani et al., “Attention Is All You Need,” 2017, arXiv:1706.03762 [26] Shaohan Huang et al., “Language is not all you need: Aligning perception with language models,” arXiv preprint arXiv:2302.14045, 2023 [27] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” arXiv preprint arXiv:1810.04805, 2018 [28] Bernard Marr, “A Short History Of ChatGPT: How We Got To Where We Are Today — forbes.com,” [Accessed 22-Feb-2024], https://www.forbes.com/sites/bernardmarr/2023/05/19/a-shorthistory-of-chatgpt-how-we-got-to-where-we-are-today/, 2023 [29] Gaudenz Boesch, “Llama 2: The Next Revolution in AI Language Models - Complete 2024 Guide - viso.ai,” [Accessed 07-Mar-2024], https://viso. ai/deep-learning/llama-2/ [30] Shobhit Agarwal, “Navigating the Attention Landscape: MHA, MQA, and GQA Decoded,” [Accessed 23-Feb-2024], https: //iamshobhitagarwal.medium.com/navigating-the-attentionlandscape-mha-mqa-and-gqa-decoded-288217d0a7d1, 2024 [31] Joshua Ainslie et al., “GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints,” arXiv preprint arXiv:2305.13245, 2023 [32] Ari Chanen, “What I learned from Bloomberg’s experience of building their own LLM,” [Accessed 21-Feb-2024], linkedin.com, 2023. [33] Sara Guaglione, “The case for and against open-source large language models for use in newsrooms,” [Accessed 22-Feb-2024], digiday.com, 2023. [34] IBM Data and AI Team, “Open source large language models: Benefits, risks and types,” [Accessed 22-Feb-2024], ibm.com. [35] Nikita Khudov, “The Future of LLMs: Proprietary versus Open-Source,” [Accessed 22-Feb-2024], linkedin.com, 2023. [36] Dylan Patel, “Google ’We Have No Moat, And Neither Does OpenAI’,” [Accessed 22-Feb-2024], semianalysis.com, 2023. [37] “EU AI Act: first regulation on artificial intelligence,” [Accessed 15-Mar2024], europarl.europa.eu. [38] Indumathi Pandiyan, “Open Source or Proprietary LLMs,” [Accessed 21Feb-2024], medium.com, 2023. 20
[39] Tom Brown et al., “Language models are few-shot learners,” In Advances in Neural Information Processing Systems, vol. 33, 2020, pp. 1877–1901. [40] Alec Radford et al., “Language models are unsupervised multitask learners,” In OpenAI Blog, 1.8, 2019, pp. 9. [41] Josh Achiam et al., “GPT-4 technical report,” In arXiv preprint arXiv:2303.08774, 2023. [42] Anthropic, “Introducing Claude,” [Accessed 26-Mar-2024], anthropic.com. [43] Xiang Yue et al., “MMMU: A massive multi-discipline multimodal understanding and reasoning benchmark for expert AGI,” In arXiv preprint arXiv:2311.16502, 2023. [44] Hugo Touvron et al., “LLaMA: Open and Efficient Foundation Language Models,” In arXiv preprint arXiv:2302.13971 [cs.CL], 2023. [45] Jack W. Rae et al., “Scaling Language Models: Methods, Analysis & Insights from Training Gopher,” In arXiv preprint arXiv:2112.11446 [cs.CL], 2022. [46] Sik-Ho Tsang, “Review: LLaMA: Open and Efficient Foundation Language Models,” [Accessed 05-Mar-2024], medium.com. [47] Jordan Hoffmann et al., “Training Compute-Optimal Large Language Models,” In arXiv preprint arXiv:2203.15556 [cs.CL], 2022. [48] Andrew Johnson, “Understanding Rotary Position Embedding: A Key Concept in Transformer Models,” [Accessed 05-Mar-2024], medium.com, 2023. [49] Hugo Touvron et al., “LLaMA 2: Open Foundation and Fine-Tuned Chat Models”, 2023, arXiv:2307.09288 [cs.CL]. [50] Ankur A. Patel, “LLaMA 1 vs LLaMA 2: A Deep Dive into Meta’s LLMs — ankursnewsletter.com” [Accessed 07-Mar-2024], https://www.ankursnewsletter.com/p/llama-1-vs-llama-2-a-deepdive-into, 2023. [51] Sebastian Streng, “Game-Changer 2024: Meta’s LLAMA 2.0 — sebastianstreng96” [Accessed 07-Mar-2024], https://medium. com/@sebastianstreng96/game-changer-2024-metas-llama-2-04ab1316b6aa4, 2023. [52] Stephen M. Walker, “What is Grouped Query Attention (GQA)?” [Accessed 07-Mar-2024], https://klu.ai/glossary/grouped-query-attention. [53] Rafael Pierre, “Parameter-Efficient Fine-Tuning (PEFT): Enhancing Large Language Models with Minimal Costs — mlopshowto.com” [Accessed 08Mar-2024] 21
[54] Edward J. Hu et al., “LoRA: Low-Rank Adaptation of Large Language Models”, 2021, arXiv:2106.09685 [cs.CL]. [55] Tianyu Han et al., “MedAlpaca – An Open-Source Collection of Medical Conversational AI Models and Training Data”, 2023, arXiv:2304.08247 [cs.CL]. [56] Rewon Child, Scott Gray, Alec Radford and Ilya Sutskever, “Generating long sequences with sparse transformers”, 2019, arXiv:1904.10509 [cs.CL]. [57] Technology Innovation Institute (TII), “UAE’s Technology Innovation Institute Launches Open-Source Falcon 40B Large Language Model for Research Commercial Utilization — tii.ae” [Accessed 23-Feb-2024] [58] Minhajul Hoque, “Exploring the Falcon LLM: The New King of The Jungle — minh.hoque” [Accessed 23-Feb-2024], https: //medium.com/@minh.hoque/exploring-the-falcon-llm-the-newking-of-the-jungle-5c6a15b91159, 2023. [59] Leandro Werra et al., “The Falcon has landed in the Hugging Face ecosystem — huggingface.co” [Accessed 23-Feb-2024], https://huggingface.co/ blog/falcon, 2023. [60] Ebtesam Almazrouei et al., “The Falcon Series of Open Language Models”, 2023, arXiv:2311.16867 [cs.CL]. [61] Guilherme Penedo et al., “The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Only”, 2023, arXiv:2306.01116 [cs.CL]. [62] Shaoni Mukherjee, “Introducing Falcon 180b: A Comprehensive Guide with a Hands-On Demo of the Falcon 40B — blog.paperspace.com” [Accessed 23Feb-2024], https://blog.paperspace.com/introducing-falcon/, 2023. [63] Femiloye Oyerinde, “BLIP-2: A Breakthrough Approach in VisionLanguage Pre-training — femiloyeseun,” Medium, 2023. [Accessed: 20-Feb-2024]. Available: https://medium.com/@femiloyeseun/blip2-a-breakthrough-approach-in-vision-language-pre-training1de47b54f13a [64] Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi, “BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models,” arXiv preprint arXiv:2301.12597, 2023. [65] Alexey Dosovitskiy et al., “An image is worth 16x16 words: Transformers for image recognition at scale,” arXiv preprint arXiv:2010.11929, 2020. [66] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun, “Deep residual learning for image recognition,” in Proc. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 770–778. 22
[67] Alec Radford et al., “Learning transferable visual models from natural language supervision,” in International Conference on Machine Learning, 2021, pp. 8748–8763, PMLR. [68] Yifan Li et al., “Evaluating object hallucination in large vision-language models,” arXiv preprint arXiv:2305.10355, 2023. [69] Chen-Wei Xie et al., “RA-CLIP: Retrieval Augmented Contrastive LanguageImage Pre-Training,” in IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023, pp. 19265–19274. DOI: 10.1109/ CVPR52729.2023.01846 [70] Taraneh Ghandi, Hamidreza Pourreza, and Hamidreza Mahyar, “Deep learning approaches on image captioning: A review,” ACM Computing Surveys, vol. 56, no. 3, pp. 1–39, 2023. [71] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee, “Visual instruction tuning,” arXiv preprint arXiv:2304.08485, 2023. [72] Wei-Lin Chiang et al., “Vicuna: An Open-Source Chatbot Impressing GPT-4 with 90% ChatGPT Quality,” LMSYS.org Blog, 2023. Available: https://lmsys.org/blog/2023-03-30-vicuna/ [73] Tsung-Yi Lin et al., “Microsoft COCO: Common objects in context,” in ECCV 2014: 13th European Conference on Computer Vision, Zurich, Switzerland, 2014, pp. 740–755. Springer. [74] Haotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee, “Improved baselines with visual instruction tuning,” arXiv preprint arXiv:2310.03744, 2023. [75] Leo Gao et al., “The Pile: An 800GB dataset of diverse text for language modeling,” arXiv preprint arXiv:2101.00027, 2020. [76] Common Crawl Foundation, “Common Crawl,” [Accessed: 22-Feb-2024]. Available: https://commoncrawl.org/ [77] Zhiliang Peng et al., “Kosmos-2: Grounding Multimodal Large Language Models to the World,” arXiv preprint arXiv:2306.14824, 2023. Available: https://api.semanticscholar.org/CorpusID:259262263 [78] Deyao Zhu et al., “MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models,” arXiv preprint arXiv:2304.10592, 2023. [63] Wei-Lin Chiang et al., “Vicuna: An Open-Source Chatbot Impressing GPT-4 with 90% ChatGPT Quality,” LMSYS Blog, 2023. [Online]. Available: https://lmsys.org/blog/2023-03-30-vicuna/ . [Accessed: Feb. 15, 2024]. 23
[64] Qinghao Ye et al., “mPLUG-Owl: Modularization Empowers Large Language Models with Multimodality,” arXiv preprint arXiv:2304.14178 [cs.CL], 2023. [65] Alexey Dosovitskiy et al., “An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale,” arXiv preprint arXiv:2010.11929 [cs.CV], 2021. [66] Najeeb Nabwani, “Full Fine-Tuning, PEFT, Prompt Engineering, or RAG? — deci.ai,” 2023. [Online]. Available: https://deci.ai/blog/finetuning-peft-prompt-engineering-and-rag-which-one-is-rightfor-you. [Accessed: 17-Feb-2024]. [67] Lingling Xu et al., “Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models: A Critical Review and Assessment,” 2023, arXiv:2312.12148 [cs.CL]. [68] Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke Zettlemoyer, “QLoRA: Efficient Finetuning of Quantized LLMs,” 2023, arXiv:2305.14314 [cs.LG]. [69] Jose J. Martinez, “Supervised Fine-tuning: customizing LLMs — medium.com,” 2023. [Online]. Available: https://medium. com/mantisnlp/supervised-fine-tuning-customizing-llmsa2c1edbf22c3. [Accessed: 02-Mar-2024]. [70] Armin Norouzi, “The Ultimate Guide to LLM Fine Tuning: Best Practices & Tools — Lakera,” 2023. [Online]. Available: https://www.lakera.ai/ blog/llm-fine-tuning-guide. [Accessed: 02-Mar-2024]. [71] Pengfei Liu et al., “Pre-Train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing,” ACM Comput. Surv., vol. 55, no. 9, 2023, doi:10.1145/3560815. [72] Shivam Garg, Dimitris Tsipras, Percy S. Liang, Gregory Valiant, “What can transformers learn in-context? A case study of simple function classes,” in Advances in Neural Information Processing Systems, vol. 35, 2022, pp. 30583–30598. [73] Laria Reynolds, Kyle McDonell, “Prompt programming for large language models: Beyond the few-shot paradigm,” in Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems, 2021, pp. 1–7. [74] Li Sun, Liuan Wang, Jun Sun, Takayuki Okatani, “Prompt Prototype Learning Based on Ranking Instruction For Few-Shot Visual Tasks,” in 2023 IEEE International Conference on Image Processing (ICIP), 2023, pp. 3235–3239, doi:10.1109/ICIP49359.2023.10222039. 24
[75] Now Next Later AI, “What is RLHF: Reinforcement Learning from Human Feedback — medium.com,” 2023. [Online]. Available: https://medium.com/generative-ai-insights-for-businessleaders-and/what-is-rlhf-reinforcement-learning-from-humanfeedback-876da930bf16. [Accessed: 02-Mar-2024]. [76] Samuel Gehman et al., “RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models,” in Findings of the Association for Computational Linguistics: EMNLP, 2020, pp. 3356–3369. [77] Alyssa Lees et al., “A New Generation of Perspective API: Efficient Multilingual Character-level Transformers,” in Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD ’22, Washington DC, USA: ACM, 2022, pp. 3197–3207, doi:10.1145/3534678.3539147. [78] Daniel Nest, “LLM Benchmarks: What Do They All Mean? — whytryai.com,” 2023. [Online]. Available: https://www.whytryai.com/ p/llm-benchmarks. [Accessed: 02-Mar-2024]. [79] Peter Clark et al., “Think you have solved question answering? try ARC, the AI2 reasoning challenge,” 2018, arXiv:1803.05457. [80] Rowan Zellers et al., “Hellaswag: Can a machine really finish your sentence?” 2019, arXiv:1905.07830. [81] Christopher Clark et al., “BoolQ: Exploring the surprising difficulty of natural yes/no questions,” 2019, arXiv:1905.10044. [82] Todor Mihaylov, Peter Clark, Tushar Khot, Ashish Sabharwal, “Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answering,” in Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, 2018, pp. 2381–2391. [83] Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, “PIQA: Reasoning about physical commonsense in natural language,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34.05, 2020, pp. 7432–7439. [84] Dan Hendrycks et al., “Measuring massive multitask language understanding,” 2020, arXiv:2009.03300. [85] Stephanie Lin, Jacob Hilton, Owain Evans, “TruthfulQA: Measuring How Models Mimic Human Falsehoods,” in Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2022, pp. 3214–3252. [86] Anisha Gunjal, Jihan Yin, Erhan Bas, “Detecting and preventing hallucinations in large vision language models,” 2023, arXiv:2308.06394. 25