Comparison of Open-Source and Proprietary LLMs for Machine Reading Comprehension: A Practical Analysis for Industrial Applications

Mahaman Sanoussi Yahaya Alassan,Jessica López Espejel,Merieme Bouhandi,Walid Dahhane,El Hassane Ettifouri
2024-12-07
Abstract:Large Language Models (LLMs) have recently demonstrated remarkable performance in various Natural Language Processing (NLP) applications, such as sentiment analysis, content generation, and personalized recommendations. Despite their impressive capabilities, there remains a significant need for systematic studies concerning the practical application of LLMs in industrial settings, as well as the specific requirements and challenges related to their deployment in these contexts. This need is particularly critical for Machine Reading Comprehension (MCR), where factual, concise, and accurate responses are required. To date, most MCR rely on Small Language Models (SLMs) or Recurrent Neural Networks (RNNs) such as Long Short-Term Memory (LSTM). This trend is evident in the SQuAD2.0 rankings on the Papers with Code table. This article presents a comparative analysis between open-source LLMs and proprietary models on this task, aiming to identify light and open-source alternatives that offer comparable performance to proprietary models.
Computation and Language
What problem does this paper attempt to address?
The problem that this paper attempts to solve is how to select and deploy large - language models (LLMs) to achieve machine reading comprehension (MRC) tasks in industrial applications. Specifically, the paper focuses on comparing the performance of open - source and proprietary LLMs in machine reading comprehension, aiming to identify lightweight open - source alternatives that can provide performance comparable to proprietary models in resource - constrained environments. This involves evaluating different models on key metrics such as accuracy, efficiency, and scalability, as well as analyzing the trade - offs of these models in actual deployment. Through this research, the author hopes to provide guidance for industry decision - makers, helping them make more informed choices when integrating MRC capabilities into their work processes while overcoming operational challenges.