Streamlining Attacks on CAPTCHAs with a Computer Game

Jeff Yan, Su-Yang YuIJCAI 2009

Introduction

Evaluating the robustness of CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart) systems typically involves training machine learning models to break them. However, a significant bottleneck exists: training these models requires thousands of accurately labeled, distorted character images. Manually labeling such data is a tedious, expensive, and slow process. Researchers have addressed this by developing "Magic Bullet," a competitive online shooting game that harnesses human computation to generate high-quality training data at scale.

The Challenge of CAPTCHA Labeling

The paradox of CAPTCHA research is that if a computer could easily label these images, the security measure would already be obsolete. Consequently, researchers often resort to manual data entry. To overcome this, the "Magic Bullet" system employs a "Game with a Purpose" (GWAP) framework, transforming a repetitive task into an engaging, fast-paced 2v2 competitive environment.

The Magic Bullet System

Magic Bullet is a web-based multiplayer game where four players are divided into two teams. The core mechanic involves a segmented CAPTCHA character, referred to as the "bullet," appearing on the screen.

  • Gameplay Mechanics: To "shoot" the bullet toward their team's target, both members of a team must agree on the character and type it simultaneously.
  • Competitive Edge: The bullet moves toward the target of the team that reaches a consensus first. If the opposing team agrees on a label before the bullet hits the first team's target, the bullet "magically" switches direction. This high-pressure setup incentivizes both speed and accuracy.
  • Ensuring Data Integrity: To prevent collusion or low-effort inputs, the system uses random pairing, IP checks, and "trap" images with known labels. Teams that fail to correctly identify these traps are flagged.
  • Bot Integration: To maintain game availability, Data Replay Bots (DRB) and Tailored Response Bots (TRB) are used to fill empty slots and match human skill levels, respectively.

Experimental Setup and Datasets

The researchers tested Magic Bullet using character segments from prominent CAPTCHA schemes, including Microsoft (capital letters), Google and Gimpy-r (lower-case), and Yahoo (mixed-case). Automated programs were used to segment these CAPTCHAs into individual character images before they were presented in the game.

Example of a CAPTCHA (1) and its segmented characters (2) used as game inputs.

Results and Efficiency

The system proved highly effective in generating ground-truth labels through human consensus. If two independent players agree on a label for a distorted squiggle, that label is highly likely to be correct.

Examples of distorted segments and their corresponding labels generated by the game.

Key performance metrics include:

  • Accuracy: A pilot study achieved an initial accuracy of 97.1%, which improved to 98.4% after addressing minor software lag.
  • Throughput: The game produced an average of 25 correct labels per minute, translating to 1,500 labels per human hour. This is significantly faster than traditional manual methods.
  • Engagement: Players reported a mean "fun" rating of 3.6/5, citing the competitive nature and fast pace as primary drivers for continued play.

Conclusion and Future Work

Magic Bullet demonstrates that competitive gaming can successfully crowdsource the labeling of complex, distorted data. Future work aims to expand this framework to binary labeling for image-based CAPTCHAs and implement more sophisticated matchmaking to maintain player engagement across different skill levels. By turning a chore into a challenge, researchers can significantly accelerate the evaluation and improvement of automated security systems.

Summary updated

BibTeX
@inproceedings{yan2009streamlining,
  author = {Jeff Yan and Su-Yang Yu},
  title = {{Streamlining Attacks on CAPTCHAs with a Computer Game}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2009},
}
Figure