Percival: Making In-Browser Perceptual Ad Blocking Practical With Deep Learning
arXiv:1905.07444
Abstract
In this paper we present Percival, a browser-embedded, lightweight, deep learning-powered ad blocker. Percival embeds itself within the browser's image rendering pipeline, which makes it possible to intercept every image obtained during page execution and to perform blocking based on applying machine learning for image classification to flag potential ads. Our implementation inside both Chromium and Brave browsers shows only a minor rendering performance overhead of 4.55%, demonstrating the feasibility of deploying traditionally heavy models (i.e. deep neural networks) inside the critical path of the rendering engine of a browser. We show that our image-based ad blocker can replicate EasyList rules with an accuracy of 96.76%. To show the versatility of the Percival's approach we present case studies that demonstrate that Percival 1) does surprisingly well on ads in languages other than English; 2) Percival also performs well on blocking first-party Facebook ads, which have presented issues for other ad blockers. Percival proves that image-based perceptual ad blocking is an attractive complement to today's dominant approach of block lists
arXiv comment13 Pages
References in corpus (17)
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- Distilling the Knowledge in a Neural Network
- MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
- SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size
- Ensemble Adversarial Training: Attacks and Defenses
- Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samples
- Certified Adversarial Robustness via Randomized Smoothing
- Practical recommendations for gradient-based training of deep architectures
- Certified Adversarial Robustness with Additive Noise
- Practical Black-Box Attacks against Machine Learning
- Exposing the Hidden Web: An Analysis of Third-Party HTTP Requests on 1 Million Websites
- Ad-Blocking and Counter Blocking: A Slice of the Arms Race
- The Future of Ad Blocking: An Analytical Framework and New Techniques
- Tracking Protection in Firefox For Privacy and Performance
- Understanding Visual Ads by Aligning Symbols and Objects using Co-Attention
- Stateful Detection of Black-Box Adversarial Attacks
- ADVISE: Symbolism and External Knowledge for Decoding Advertisements