Lune

ACL Findings2025

The Lies Characters Tell: Utilizing Large Language Models to Normalize Adversarial Unicode Perturbations

Portia Cooper, Eduardo Blanco, Mihai Surdeanu

Abstract

Homoglyphs, Unicode characters that are visually homogeneous to Latin letters, are widely used to mask offensive content. Dynamic strategies are needed to combat homoglyphs as the Unicode library is ever-expanding and new substitution possibilities for Latin letters continuously emerge. The present study investigated two novel mitigation approaches that do not rely on strict mappings but instead harness the power of large language models to neutralize both known and unknown homoglyphs:

(1) indirectly normalizing homoglyphs by replacing non-Latin characters with a delimiter and prompting large language models to "fill in the blanks" and (2) directly normalizing homoglyphs by using large language models to determine which characters should be replaced with Latin letters. We found that GPT-4o-mini constructed normalized text with an average cosine similarity score of 0.91 to the original tweets when applying our indirect method and 0.96 to the original tweets when applying our direct method. This study indicates that large language model-based normalization techniques can effectively unmask offensive content concealed by homoglyphs. Code and data are available in our GitHub repository.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hiding in Plain Sight: Tweets with Hate Speech Masked by Homoglyphs cites TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classification
  • Hiding in Plain Sight: Tweets with Hate Speech Masked by Homoglyphs cites Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detection
  • Hiding in Plain Sight: Tweets with Hate Speech Masked by Homoglyphs cites Bad Characters: Imperceptible NLP Attacks
  • Hiding in Plain Sight: Tweets with Hate Speech Masked by Homoglyphs cites Perturbations in the Wild: Leveraging Human-Written Text Perturbations for Realistic Adversarial Attack and Defense
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on5

  1. TweetEval: Unified Benchmark and Comparative Evaluation for Tweet ClassificationFrancesco Barbieri, José Camacho-Collados, Luis Espinosa Anke, Leonardo NevesEMNLP Findings 2020 · 720 citations
  2. Bad Characters: Imperceptible NLP AttacksNicholas Boucher, Ilia Shumailov, Ross Anderson, Nicolas PapernotS&P 2022 · 133 citations
  3. Perturbations in the Wild: Leveraging Human-Written Text Perturbations for Realistic Adversarial Attack and DefenseThai Le, Jooyoung Lee, Kevin Yen, Yifan Hu et al.ACL Findings 2022 · 22 citations
  4. Hiding in Plain Sight: Tweets with Hate Speech Masked by HomoglyphsPortia Cooper, Mihai Surdeanu, Eduardo BlancoEMNLP Findings 2023 · 5 citations
  5. Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate DetectionBertie Vidgen, Tristan Thrush, Zeerak Waseem, Douwe KielaACL 2021

Related papers

  1. TinyAttack: Exploring Stylistic Vulnerabilities in Large Language ModelsMamta Mamta, Bogdan Octavian Grecu, Oana CocarascuACL Findings 2026
  2. Enhancing Chinese Offensive Language Detection with Homophonic PerturbationJunqi Wu, Shujie Ji, Kang Zhong, Huiling Peng et al.EMNLP 2025
  3. ToxiCloakCN: Evaluating Robustness of Offensive Language Detection in Chinese with Cloaking PerturbationsYunze Xiao, Yujia Hu, Kenny T. W. Choo, Roy Ka-Wei LeeEMNLP 2024 · 5 citations
  4. Authorship Obfuscation in Multilingual Machine-Generated Text DetectionDominik Macko, Róbert Móro, Adaku Uchendu, Ivan Srba et al.EMNLP Findings 2024 · 6 citations
  5. Functional Homotopy: Smoothing Discrete Optimization via Continuous Parameters for LLM Jailbreak AttacksZi Wang, Divyam Anshumaan, Ashish Hooda, Yudong Chen et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines