Degradation of Multi-Task Prompting Across Six NLP Tasks and LLM Families
Open Access
- 6 November 2025
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 14 (21) , 4349
Abstract
This study investigates how increasing prompt complexity affects the performance of Large Language Models (LLMs) across multiple Natural Language Processing (NLP) tasks. We introduce an incremental evaluation framework where six tasks—JSON formatting, English-Italian translation, sentiment analysis, emotion classification, topic extraction, and named entity recognition—are progressively combined within a single prompt. Six representative open-source LLMs from different families (Llama 3.1 8B, Gemma 3 4B, Mistral 7B, Qwen3 4B, Granite 3.1 3B, and DeepSeek R1 7B) were systematically evaluated using local inference environments to ensure reproducibility. Results show that performance degradation is highly architecture-dependent: while Qwen3 4B maintained stable performance across all tasks, Gemma 3 4B and Granite 3.1 3B exhibited severe collapses in fine-grained semantic tasks. Interestingly, some models (e.g., Llama 3.1 8B and DeepSeek R1 7B) demonstrated positive transfer effects, improving in certain tasks under multitask conditions. Statistical analyses confirmed significant differences across models for structured and semantic tasks, highlighting the absence of a universal degradation rule. These findings suggest that multitask prompting resilience is shaped more by architectural design than by model size alone, and they motivate adaptive, model-specific strategies for prompt composition in complex NLP applications.Keywords
This publication has 10 references indexed in Scilit:
- Qwen3 Technical ReportarXiv, 2025
- Gemma 3 Technical ReportarXiv, 2025
- Optimizing Large Language Models: A Deep Dive into Effective Prompt Engineering TechniquesApplied Sciences, 2025
- Comparative Analysis of Prompt Strategies for Large Language Models: Single-Task vs. Multitask PromptsElectronics, 2024
- Comparative Analysis of Prompt Strategies for LLMs: Single-Task vs. Multitasking PromptsPreprints.org, 2024
- The Llama 3 Herd of ModelsarXiv, 2024
- An Empirical Evaluation of Prompting Strategies for Large Language Models in Zero-Shot Clinical Natural Language Processing: Algorithm Development and Validation StudyJMIR Medical Informatics, 2024
- Mistral 7BarXiv, 2023
- Language Models are Few-Shot LearnersarXiv, 2020
- Adaptive Mixtures of Local ExpertsNeural Computation, 1991