GPT-5 vs Other LLMs in Long Short-Context Performance

Conference Paper (2025)
Author(s)

N. Esmi (Rijksuniversiteit Groningen, Khazar University)

M. Nezhad-Moghaddam (University of Guilan)

F. Borhani (University of Guilan)

A. Shahbahrami (University of Guilan, Khazar University)

A. Daemdoost (University of Guilan)

G. Gaydadjiev (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Research Group
Computer Engineering
DOI related publication
https://doi.org/10.1109/FLLM67465.2025.11391194 Final published version
More Info
expand_more
Publication Year
2025
Language
English
Research Group
Computer Engineering
Pages (from-to)
129-133
Publisher
IEEE
ISBN (print)
979-8-3315-9410-7
ISBN (electronic)
979-8-3315-9409-1
Event
2025 3rd International Conference on Foundation and Large Language Models (FLLM) (2025-11-25 - 2025-11-28), Vienna, Austria
Downloads counter
44
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

With the significant expansion of the context window in Large Language Models (LLMs), these models are theoretically capable of processing millions of tokens in a single pass. However, research indicates a significant gap between this theoretical capacity and the practical ability of models to robustly utilize information within long contexts, especially in tasks that require a comprehensive understanding of numerous details. This paper evaluates the performance of four state-of-the-art models (Grok- 4, GPT-4, Gemini 2.5, and GPT-5) on long short-context tasks. For this purpose, three datasets were used: two supplementary datasets for retrieving culinary recipes and math problems, and a primary dataset of 20K social media posts for depression detection. The results show that as the input volume on the social media dataset exceeds 5K posts (70K tokens), the performance of all models degrades significantly, with accuracy dropping to around 50-53% for 20K posts. Notably, in the GPT-5 model, despite the sharp decline in accuracy, its precision remained high at approximately 95%, a feature that could be highly effective for sensitive applications like depression detection. This research also indicates that the "lost in the middle" problem has been largely resolved in newer models. This study emphasizes the gap between the theoretical capacity and the actual performance of models on complex, high-volume data tasks and highlights the importance of metrics beyond simple accuracy for practical applications.

Files

Taverne
warning

File under embargo until 19-08-2026