cs.CYApr 13, 2026

Homoglyph-based Adversarial Perturbation of Introductory Computer Science Theory Problems

Authors: Aidan Alexander, Chitrangada Juneja, Napaluck Tontrasathien, Miro Vanek, Reyan Ahmed, Saumya Debray, Sazzadur Rahaman

Abstract

Different AI tools such as ChatGPT, Gemini, and Claude are becoming very popular. Although they are helpful for many day-to-day tasks, they can be used in unexpected ways. For example, the learning objectives of a course may not be achieved if students use these tools to solve their homework problems. This paper proposes a simple method to address this issue in the lazy student model. The method uses homoglyph-based adversarial perturbation to first modify the question without changing the semantic meaning of the question. Then a few characters are perturbed by their homoglyphs. Our experimental result shows the theoretical problems of introductory computer science courses can be effectively perturbed. We also propose an interactive tool to conveniently use our method.

Figures & tables

Explore similar work

CardsList
  1. Fighting Fire with Fire: On the Feasibility of Protecting Exercises Against AI Cheating

    Aug 2, 2026Tobias Braun, Jonas Grebe, Louis Rethfeld +1Adversarial Attacks on VLMsAI in Education

  2. A Theoretical Game of Attacks via Compositional Skills

    May 1, 2026Xinbo Wu, Huan Zhang, Abhishek Umrawal +1Adversarial Prompt GenerationAdversarial Attacks on LLMs