Manuscript Offprint

arXiv:2610.41037

WebOverlay: High-Throughput Vision-Only Distillation for Extreme Aspect-Ratio Web Overlay Detection

Jiannan Huang, Jerry Ding, Li Yu, Zhenting Li

Jiannan Huang

jiannanh@google.com

Google

USA

Li Yu

lyiu@google.com

Google

USA

Jerry Ding

jerryd@google.com

Google

USA

Zhenting Li

zhenting@google.com

Google

USA

Abstract

Overlays such as cookie-consent banners, modal dialogs, and translucent backdrops hide the content that web-scale pipelines crawl and index. Detecting them in full-page screenshots is hard because pages reach extreme aspect ratios: squashing a page into a square input erases small dismiss controls, while uniform tiling makes cost grow with page length. Multimodal LLMs (MLLMs) are accurate but too slow and costly at crawl scale, and HTML rules and lightweight CNNs miss many overlays. We distill a commercial MLLM teacher into a vision-only SigLIP student that scores full-width crops at the top, center, and bottom of the page, where viewport-pinned overlays land once the renderer expands the viewport to the full document. Cost remains constant for any page length, and because the crops are scaled by page width alone, at inference the student sees long pages at higher resolution than its teacher, which receives a downscaled whole page. On our human-verified web overlay benchmark, the student closely approaches its teacher in overall accuracy while maintaining high recall on challenging long pages. We also find that pre-filling annotators with teacher verdicts introduces measurable anchoring bias toward the teacher. Deployed on Cloud TPU accelerators, the student operates at a small fraction of its teacher's serving cost.

Keywords

Web overlay detection, knowledge distillation, vision transformers, extreme aspect ratio, annotation bias, web crawling