Training AIs to Solve CAPTCHAs Note

Training AIs to Solve CAPTCHAs

Vision-language models (VLMs) can solve visual CAPTCHAs without prior training, but they perform each instance as a new problem, lacking improvement over time. Specialized detectors offer speed but are limited to trained categories and also do not learn from experience. This research investigates a system that improves with repeated use by combining a fine-tuned YOLOv8 detector with an open-weight VLM, routing tasks based on confidence. The system operates solely through screenshots and OS inputs, achieving an overall accuracy of 85.4% across 16 CAPTCHA classes. Crucially, every VLM answer generates a training label for the detector, allowing it to learn new categories quickly without human intervention. This self-training mechanism also enables self-repair. If a CAPTCHA operator perturbs images to disable the detector, the VLM remains unaffected and provides labels that help the detector recover. A simulated year-long arms race demonstrated the solver's consistent recovery against monthly CAPTCHA perturbations. A 70%-accurate open-weight VLM proved as effective as a perfect oracle in hardening the detector. This suggests that CAPTCHA defenses under-estimate the rapid adaptability of modern solvers.