journal article·2026-01-05Open access

Telecom Fraud Detection Based on Large Language Models: A Multi-Role, Multi-Layer Prompting Strategy

Jianpeng Ding, Houpan Zhou

Applied Sciences· Volume 16· Issue 1

Abstract

Telecom network fraud continues to evolve, and its textual expressions have become increasingly concealed, making automated detection more challenging. When combined with mainstream prompting strategies, large language models (LLMs) often exhibit unstable performance when handling diverse fraud texts, particularly for long-tail categories and confusing cases where consistent detection is difficult to maintain. To address this limitation, this study proposes a Multi-Role, Multi-Layer (MRML) prompting strategy. The strategy constructs three expert roles—text analysis, business process analysis, and security analysis—and adopts a conditional hierarchical reasoning mechanism to achieve a structured detection process that transitions from rapid binary screening to deep multi-class classification. This design systematically organizes the LLM’s inference steps and enhances its ability to distinguish different types of telecom fraud. Experiments conducted on two public datasets show that the proposed framework significantly outperforms mainstream prompting strategies and surpasses deep learning baselines such as BERT, TextCNN, and Transformer in terms of precision, recall, and F1-score, demonstrating superior performance and robustness. Overall, the results indicate that the proposed prompting strategy provides an effective and practically applicable solution for telecom fraud text detection in real-world scenarios.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Imbalanced Data Classification Techniques · Spam and Phishing Detection · Text and Document Classification Technologies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Automation, Hangzhou Dianzi University, Hangzhou 310018, China

Funding

National Natural Science Foundation of China

References (19)

Show source-provided references
1. A comprehensive survey of fake text detection on misinformation and LM-generated texts10.1109/ACCESS.2025.3538805 ↗
2. Applications of AI-Based Models for Online Fraud Detection and Analysis10.1186/s40163-025-00248-8 ↗
3. Minaee, S., Mikolov, T., Nikzad, N., Chenaghlu, M., Socher, R., Amatriain, X., and Gao, J. (2024). Large language models: A survey. arXiv.
4. Chae, Y., and Davidson, T. (2025). Large language models for text classification: From zero-shot learning to instruction-tuning. Sociol. Methods Res.10.31235/osf.io/sthwk_v2 ↗
5. A systematic literature review on phishing email detection using natural language processing techniques10.1109/ACCESS.2022.3183083 ↗
6. Comparative analysis of machine learning algorithms for email phishing detection using TF-IDF, Word2Vec, and BERT
7. Fraud-BERT: Transformer based context aware online recruitment fraud detection10.1007/s10791-025-09502-8 ↗
8. Wu, Y., Wang, L., Li, H., and Liu, J. (2025). A Deep Learning Method of Credit Card Fraud Detection Based on Continuous-Coupled Neural Networks. Mathematics, 13.10.3390/math13050819 ↗
9. A survey of text classification with transformers: How wide? how large? how long? how accurate? how expensive? how safe?10.1109/ACCESS.2024.3349952 ↗
10. Transformer in transformer
11. Attention is all you need
12. Zhuoxian, L., Tuo, S., and Xiaofeng, H. (2024). A Text Classification Model Combining Adversarial Training with Pre-trained Language Model and neural networks: A Case Study on Telecom Fraud Incident Texts. arXiv.
13. Li, J., Zhang, C., and Jiang, L. (2024). Innovative Telecom Fraud Detection: A New Dataset and an Advanced Model with RoBERTa and Dual Loss Functions. Appl. Sci., 14.10.3390/app142411628 ↗
14. Wang, Z., Lin, Y., Shen, J., and Zhu, X. (2025). A Survey of Large Language Models for Text Classification: What, Why, When, Where, and How. TechRxiv.10.36227/techrxiv.174559786.61330197/v2 ↗
15. Gao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., Dai, Y., Sun, J., Wang, H., and Wang, H. (2023). Retrieval-augmented generation for large language models: A survey. arXiv.
16. Tang, M., Zou, L., Liang, S., Jin, Z., Wang, W., and Cui, S. (2025, January 19–24). Chifraud: A long-term web text benchmark for chinese fraud detection. Proceedings of the 31st International Conference on Computational Linguistics (COLING 2025), Abu Dhabi, United Arab Emirates.
17. Devising and detecting phishing emails using large language models10.1109/ACCESS.2024.3375882 ↗
18. Cate, M. (2025, December 20). The Role of Zero-Shot and Few-Shot Learning in Enhancing LLMs for Real-World Applications. Report 2023. Available online: https://www.researchgate.net/publication/388920886.
19. Xu, H.X., Wang, S.A., Li, N., Wang, K., Zhao, Y., Chen, K., Yu, T., Liu, Y., and Wang, H. (2024). Large language models for cyber security: A systematic literature review. arXiv.10.1145/3769676 ↗