Few-Shot Optimized Framework for Hallucination Detection in Resource-Limited NLP Systems

dc.AffiliationOctober University for modern sciences and Arts MSA
dc.contributor.authorBaraa Hikal
dc.contributor.authorAhmed Nasreldin
dc.contributor.authorAli Hamdi
dc.contributor.authorAmmar Mohammed
dc.date.accessioned2025-11-04T08:05:48Z
dc.date.issued2025-10-01
dc.descriptionSJR 2024 0.166 Q4 H-Index 48
dc.description.abstractHallucination detection in text generation remains an ongoing struggle for natural language processing (NLP) systems, frequently resulting in unreliable outputs in applications such as machine translation and definition modeling. Existing methods struggle with data scarcity and the limitations of unlabeled datasets, as highlighted by the SHROOM shared task at SemEval-2024. In this work, we propose a novel framework to address these challenges, introducing DeepSeek Few-shot Optimization to enhance weak label generation through iterative prompt engineering. We achieved high-quality annotations that considerably enhanced the performance of downstream models by restructuring data to align with instruct generative models. We further fine-tuned the Mistral-7B-Instruct-v0.3 model on these optimized annotations, enabling it to accurately detect hallucinations in resource-limited settings. Combining this fine-tuned model with ensemble learning strategies, our approach achieved 85.5% accuracy on the test set, setting a new benchmark for the SHROOM task. This study demonstrates the effectiveness of data restructuring, few-shot optimization, and fine-tuning in building scalable and robust hallucination detection frameworks for resource-constrained NLP systems.
dc.description.urihttps://www.scimagojr.com/journalsearch.php?q=21100901469&tip=sid&clean=0
dc.identifier.citationHikal, B., Nasreldin, A., Hamdi, A., & Mohammed, A. (2025). Few-Shot Optimized Framework for hallucination Detection in Resource-Limited NLP Systems. In Lecture notes in networks and systems (pp. 169–179). https://doi.org/10.1007/978-981-96-6441-2_16
dc.identifier.doihttps://doi.org/10.1007/978-981-96-6441-2_16
dc.identifier.otherhttps://doi.org/10.1007/978-981-96-6441-2_16
dc.identifier.urihttps://repository.msa.edu.eg/handle/123456789/6583
dc.language.isoen_US
dc.publisherSpringer International Publishing AG
dc.relation.ispartofseriesLecture Notes in Networks and Systems ; Volume 1416 LNNS , Pages 169 - 179
dc.subjectFew shot
dc.subjectGenerative NLP
dc.subjectHallucination detection
dc.subjectPrompt engineering
dc.subjectTransformer architectures
dc.subjectWeak labeling
dc.titleFew-Shot Optimized Framework for Hallucination Detection in Resource-Limited NLP Systems
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
2501.16616v1.pdf
Size:
151.97 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
51 B
Format:
Item-specific license agreed upon to submission
Description: