Research Article

BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS

Volume: 29 Number: 4 December 3, 2026
TR EN

BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS

Abstract

Large Language Models (LLMs) have demonstrated strong performance in natural language generation; however, they frequently produce factually incorrect yet plausible content, known as hallucinations. This issue poses a critical challenge for building reliable and trustworthy AI systems. Existing hallucination detection methods primarily rely on measuring similarity between model outputs and correct reference answers, which limits their ability to distinguish between accurate responses and misleading yet semantically similar content. Additionally, incorporating surface-level lexical similarity may introduce evaluation bias and unreliable decisions. In this study, we propose an interpretable contradiction-aware framework for hallucination detection by reformulating the task as a bidirectional similarity problem. The proposed method evaluates both similarities to correct references and dissimilarity to incorrect ones by explicitly penalizing alignment with false information. Experiments conducted on the TruthfulQA benchmark under an unbiased evaluation protocol demonstrate that the proposed approach achieves superior performance compared to semantic-only and lexical-hybrid baselines while improving robustness in detecting misleading responses. These findings highlight the importance of modeling sensitivity to incorrect information for more reliable evaluation of LLM outputs.

Keywords

References

  1. Azaria, A., Mitchell, T. (2023). The internal state of an LLM knows when it’s lying. Findings of the Association for Computational Linguistics: EMNLP 2023, 967–976. https://doi.org/10.18653/v1/2023.findings-emnlp.68
  2. Bender, E. M., Gebru, T., McMillan-Major, A., & Shmitchell, S. (2021). On the dangers of stochastic parrots: Can language models be too big? Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency. https://doi.org/10.1145/3442188.3445922
  3. Bommasani, R., Hudson, D. A., Adeli, E., Altman, R., Arora, S., von Arx, S., et al. (2021). On the opportunities and risks of foundation models. Stanford Institute for Human-Centered Artificial Intelligence (HAI). https://crfm.stanford.edu/report.html
  4. Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., et al. (2020). Language models are few-shot learners. Proceedings of the 34th International Conference on Neural Information Processing Systems (NeurIPS 2020), Curran Associates Inc., 1877–1901. https://dl.acm.org/doi/abs/10.5555/3495724.3495883
  5. Alansari, A., & Luqman, H. (2026). Large language models hallucination: A comprehensive survey. Computer Science Review, 50, 100970. https://doi.org/10.1016/j.cosrev.2026.100970
  6. Anh-Hoang D., Tran, V., Nguyen, L.-M. (2025). Survey and analysis of hallucinations in large language models: Attribution to prompting strategies or model behavior. Frontiers in Artificial Intelligence, 8, 1622292. https://doi.org/10.3389/frai.2025.1622292
  7. Farquhar, S., Kossen, J., Kuhn, L., Gal, Y. (2024). Detecting hallucinations in large language models using semantic entropy. Nature, 630, 625–630. https://doi.org/10.1038/s41586-024-07421-0
  8. Floridi, L., & Chiriatti, M. (2020). GPT-3: Its nature, scope, limits, and consequences. Minds and Machines, 30(4), 681–694. https://doi.org/10.1007/s11023-020-09548-1

Details

Primary Language

English

Subjects

Computer Software

Journal Section

Research Article

Authors

Didem Yangeç *
MUĞLA SITKI KOÇMAN ÜNİVERSİTESİ
0000-0003-4882-9934
Türkiye

Publication Date

December 3, 2026

Submission Date

April 21, 2026

Acceptance Date

June 28, 2026

Published in Issue

Year 2026 Volume: 29 Number: 4

APA
Yangeç, D. (2026). BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS. Kahramanmaraş Sütçü İmam Üniversitesi Mühendislik Bilimleri Dergisi, 29(4), 1514-1523. https://izlik.org/JA82JC59TZ
AMA
1.Yangeç D. BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS. KSU J. Eng. Sci. 2026;29(4):1514-1523. https://izlik.org/JA82JC59TZ
Chicago
Yangeç, Didem. 2026. “BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS”. Kahramanmaraş Sütçü İmam Üniversitesi Mühendislik Bilimleri Dergisi 29 (4): 1514-23. https://izlik.org/JA82JC59TZ.
EndNote
Yangeç D (December 3, 2026) BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS. Kahramanmaraş Sütçü İmam Üniversitesi Mühendislik Bilimleri Dergisi 29 4 1514–1523.
IEEE
[1]D. Yangeç, “BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS”, KSU J. Eng. Sci., vol. 29, no. 4, pp. 1514–1523, Dec. 2026, [Online]. Available: https://izlik.org/JA82JC59TZ
ISNAD
Yangeç, Didem. “BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS”. Kahramanmaraş Sütçü İmam Üniversitesi Mühendislik Bilimleri Dergisi 29/4 (December 3, 2026): 1514-1523. https://izlik.org/JA82JC59TZ.
JAMA
1.Yangeç D. BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS. KSU J. Eng. Sci. 2026;29:1514–1523.
MLA
Yangeç, Didem. “BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS”. Kahramanmaraş Sütçü İmam Üniversitesi Mühendislik Bilimleri Dergisi, vol. 29, no. 4, Dec. 2026, pp. 1514-23, https://izlik.org/JA82JC59TZ.
Vancouver
1.Didem Yangeç. BEYOND SIMILARITY: A CONTRADICTION-AWARE FRAMEWORK FOR HALLUCINATION DETECTION IN LARGE LANGUAGE MODELS. KSU J. Eng. Sci. [Internet]. 2026 Dec. 3;29(4):1514-23. Available from: https://izlik.org/JA82JC59TZ

INDEXING & ABSTRACTING & ARCHIVING

download?token=eyJhdXRoX3JvbGVzIjpbXSwiZW5kcG9pbnQiOiJqb3VybmFsIiwib3JpZ2luYWxuYW1lIjoiaW1hZ2UucG5nIiwicGF0aCI6IjAzNTkvYmZjYS81YjQyLzY5ZjFkM2E4NWY2YWY3Ljg1NjQ2NDgxLnBuZyIsImV4cCI6MTc3NzQ1OTY0MCwibm9uY2UiOiI1NTUzYmJiN2U5NGNkMjdkYWNhMTRlMDZiYjc1OTY4NCJ9.nCVoSJClEIC9bWK5gGCmjHyTNRz2N0DhYKVJzJZR9Bs

download?token=eyJhdXRoX3JvbGVzIjpbXSwiZW5kcG9pbnQiOiJqb3VybmFsIiwib3JpZ2luYWxuYW1lIjoiaW1hZ2UucG5nIiwicGF0aCI6Ijg5YmUvODZlOC8wYzY0LzY5ZjFkNWE4MWJmYzY0LjM0OTM2NzM1LnBuZyIsImV4cCI6MTc3NzQ2MDE1Miwibm9uY2UiOiI3OWE1Mzk0OWRhMTk0Mjg0OGYzZTUxOWQyNTU5MjdjMSJ9.XxqhJ36woCZcO1DV_I9Mogpgg86-bwM454jQiOcqpS0 

This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).