arXiv:2609.04878cs.CRSep 2026

Manuscript Offprint

arXiv:2609.04878

ReCAST: Restoration-aware Cascaded Stage-wise Training for Obfuscated SMS Risk Classification

Jieyun Huang, Yi Shen, Kaikai Zhao, Jiangze Yan, Wenjing Zhang, Ping Chen, Ning Wang, Zhaoxiang Liu, Kai Wang, Shiguo Lian

Abstract

Fraudulent messages sent via Short Message Service (SMS) are increasingly obfuscated to evade cost-conscious classifiers in production systems. In Chinese SMS, attackers can exploit a wide range of carefully crafted obfuscation strategies to hide risk-bearing phrases while preserving human readability, making direct classification brittle under real-world latency and throughput constraints. We propose ReCAST, a Restoration-aware Cascaded Stage-wise Training framework for robust obfuscated Chinese SMS classification. ReCAST distills a large teacher model's de-obfuscation ability into a smaller deployable student model by supervising obfuscated span detection, obfuscation type prediction, and text restoration, and then uses the restoration-aware student for downstream risk classification. Experiments on an internally constructed real-world Chinese SMS benchmark show that ReCAST substantially improves classification performance over directly trained baselines under obfuscation. The results suggest that restoration-aware distillation offers a practical path toward robust SMS risk classification with smaller deployable models under production-oriented constraints.

1 Introduction

Short message service (SMS) remains widely used, but is also abused for fraud, gambling, illegal promotion, and other risky activities. Industrial SMS risk detection systems must classify massive streams under strict latency, throughput, and cost constraints, making cost-conscious classifiers common for online inference. However, these classifiers are increasingly challenged by intentionally obfuscated SMS designed to evade detection.

Chinese SMS obfuscation is especially challenging because attackers can exploit the characteristics of the Chinese writing system and user reading habits. As shown in Figure 1, risk-bearing

Figure

Figure 1: Representative obfuscation strategies in Chinese SMS. Attackers hide risk-bearing phrases while preserving human readability with these strategies, making direct classification brittle.

phrases can be hidden through carefully designed language-specific transformations, often combined with generic noisy perturbations, while remaining understandable to human recipients. ¹ These transformations preserve the intended meaning but remove, fragment, or distort the surface forms that classifiers, keyword rules, and tokenizers rely on, making the original risk indicators no longer directly observable in the input sequence.

This creates a practical robustness gap in deployed SMS risk detection systems. Rule-based methods and keyword matching are easily by-

¹ Please refer to Appendix F for the complete Obfuscation Taxonomy.

*Corresponding authors.

passed by surface-level modifications, while directly trained cost-conscious classifiers often fail when key risk indicators are transformed or fragmented. Large language models (LLMs) can often infer the intended meaning behind obfuscated text and restore normalized expressions, but invoking them for every incoming SMS is impractical in production due to latency, cost, and concurrency requirements. The central challenge is therefore how to transfer the de-obfuscation ability of LLMs into smaller models intended for online deployment.

To address this challenge, we propose ReCAST, a Restoration-aware Cascaded Stage-wise Training framework for robust classification of obfuscated Chinese SMS. ReCAST distills the de-obfuscation ability of a large teacher model into smaller deployable models without using the teacher during online inference. In the first stage, a student model learns structured restoration-oriented prediction, including obfuscated span detection, obfuscation type, and text restoration. In the second stage, the restoration-aware student is further trained for downstream risk classification. This design enables smaller deployable models to internalize de-obfuscation signals while maintaining single-pass inference efficiency in our serving setup.

We evaluate ReCAST on Chinese SMS datasets covering multiple risk categories. Compared with directly trained classification baselines, ReCAST achieves substantial improvements under obfuscation. Ablation studies confirm the effectiveness of restoration supervision and stage-wise training, while deployment-oriented evaluation shows that ReCAST preserves efficiency close to same-backbone online classification baselines. These results suggest that restoration-aware distillation provides a practical way to improve robustness against diverse real-world SMS obfuscation patterns.

Our contributions are summarized as follows:

  • We characterize the industrial challenge of obfuscated Chinese SMS risk detection and discuss how various obfuscation strategies can make classifiers brittle in real-world settings.

  • We propose ReCAST, a restoration-aware Stage-wise distillation framework that transfers de-obfuscation ability from a large teacher model to cost-conscious classifiers.

  • We demonstrate that ReCAST improves robustness under obfuscation while maintaining latency close to same-backbone single-pass classification baselines in a controlled serving setup.