Percival: Making In-Browser Perceptual Ad Blocking Practical With Deep Learning

Zain ul abi Din, Panagiotis Tigas, Samuel T. King, Benjamin Livshits
5/17/2019
35 citations
cs.CRcs.LGstat.ML

Official code: dxaen/percival (56 stars, MIT, last commit 2020-04-19).

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

dxaen/percivalOfficial100%
MIT

Making In-Browser perceptual ad-blocking practical with Deep Learning

568May 16, 20196 years agoMIT

Similar Papers

Cite this paper

@article{din2019percival,
  title  = {Percival: Making In-Browser Perceptual Ad Blocking Practical With Deep Learning},
  author = {Zain ul abi Din and Panagiotis Tigas and Samuel T. King and Benjamin Livshits},
  year   = {2019},
  eprint = {1905.07444},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.07444}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.07444.svg)](https://codeofpaper.com/paper/1905.07444)

Discussion