TL;DR
This paper introduces a novel text filtering system designed to combat a new censorship evasion technique where Chinese characters are broken down into their constituent radicals. By reconstructing characters from radicals before applying keyword filtering, the system significantly improves the detection of harmful content that would otherwise slip through traditional methods.
What Problem Does This Paper Address?
In the digital age, controlling the spread of harmful online content is a constant challenge. Keyword filtering has been a cornerstone of this effort, effectively identifying and blocking undesirable text. However, a new evasion tactic has emerged: Chinese characters, which are often composed of smaller components called radicals, are being deliberately decomposed. For instance, the word "运动" (yùndòng - movement/exercise) might be replaced with "运云力" (yùn yún lì), where "运" is broken into "运" (yùn), "云" (yún), and "力" (lì). This decomposition renders traditional keyword matching ineffective, as the exact character sequences are no longer present. This paper tackles this specific problem, aiming to restore the efficacy of keyword filtering against this radical-based evasion.
Methods
The core of the proposed solution lies in a two-stage filtering process.
- Character Reconstruction: The first stage focuses on reconstructing intentionally decomposed Chinese characters. The authors build a "Chinese character decomposing structure library" that maps characters to their constituent radicals based on common structural patterns (e.g., left-right, up-down). They then employ a modified Rabin-Karp algorithm, adapted for multi-pattern matching, to scan the text for these radical combinations. When a match is found, the radicals are reassembled into their original character. This process is crucial because it "undoes" the evasion technique.
- Keyword Filtering: Once characters are reconstructed, the system proceeds to a second stage of keyword filtering. This also utilizes a modified Rabin-Karp algorithm, but this time it's configured for multi-pattern matching of actual keywords. The system searches the reconstructed text for the predefined harmful keywords. If any keyword is found, the document is flagged as harmful.
The authors specifically chose to modify the Rabin-Karp algorithm due to its suitability for fixed-length patterns and its efficiency. Their modifications allow it to handle variable-length patterns (radicals of length 2 and 3 for reconstruction, and keywords of length 2-5 for filtering) and optimize hashing for Chinese characters.
Datasets
The authors used a harmful document collection provided by the National Engineering Laboratory of Content Analysis for their experiments. This collection was used to evaluate the effectiveness of their filtering system. They selected 752 keywords from this collection, which appeared a total of 21,973 times.
Key Insights and Ideas
- The "Radical Trick" is Real and Effective: The paper provides empirical evidence that a significant portion of harmful documents employ the radical decomposition trick to bypass existing filters. This highlights a critical vulnerability in current censorship systems.
- Reconstruction is Key: The fundamental insight is that to effectively filter content that uses this evasion, one must first "undo" the evasion. Reconstructing the characters from radicals is presented as the necessary precursor to successful keyword matching.
- Rabin-Karp's Adaptability: The paper demonstrates that the Rabin-Karp algorithm, with appropriate modifications, can be a versatile tool for both character reconstruction (multi-pattern matching of radicals) and traditional keyword filtering.
- Chinese Character Structure Matters: The authors leverage the inherent structural properties of Chinese characters (e.g., left-right, up-down composition) to build their reconstruction library, making the process more intuitive and effective.
Key Results
The filtering system achieved a significant improvement in keyword detection:
- Filtering with Reconstruction: Achieved 99.57% keyword matches and filtered 99.77% of documents.
- Filtering without Reconstruction (Traditional): Achieved only 91.36% keyword matches and filtered 92.11% of documents.
This translates to a substantial increase in the ability to identify harmful content that would otherwise be missed. Furthermore, the authors report that their modified Rabin-Karp algorithm for character reconstruction outperformed an improved Wu-Manber algorithm by 35% on average.
Limitations and Future Work
The authors acknowledge a few limitations:
- False Negatives: The system still has a small percentage of false negatives (about 0.23%). This can occur when radicals are incorrectly combined with adjacent characters, leading to misinterpretations. For example, the keyword "叛乱" (pànluàn - rebellion) might be missed if "木" and "半" are mistakenly combined into "桙".
- Semantic Understanding: To address the issue of incorrect radical combinations, the authors suggest incorporating semantic analysis in future work. This would allow the system to understand the meaning of reconstructed characters and words, preventing nonsensical combinations.
- Combined Reconstruction and Filtering: They also propose exploring a single-step approach that combines character reconstruction and keyword filtering. This could potentially improve efficiency but might lead to larger hash tables due to the multiple ways a single keyword could be decomposed.
Summary updated