Menu
EN

The future of adblocking: stealth ad recognition by computer vision

A research team of Stanford and Princeton claims to have developed a fundamentally new ad blocking concept. The key novelties are stealth functioning and visual recognition of ads. Those are called to end the "arms race" between ad blockers and publishers who use anti-adblocking solutions.

The scientists suggest hiding an adblocker from the site its user visits. They engage a technique that malware uses to cover itself from anti-virus software. As they put it in the whitepaper, it demands "to enumerate all the entry points in the browser API that the publisher code can use to interrogate the state of the page, and to fake the responses to each such query", so that the website will "think" it displays correctly. The other technique implies creating two copies of a web page: the first has no ads and is shown to the user, the second is the one publisher’s code interacts with.

As for ad detection — modern adblockers perform it by looking through a web page source code for keywords and expressions. They are constantly changed by ad tech providers, forcing developers to create new filters and lists. The researchers suggest using computer vision for detecting ads the way a human being does: by seeing visual and behavioral elements like texts "Sponsored" or "Close ad".

Sponsored Post

This strategy relies upon the statutory requirement to label ads. Not only signatures will be detected, but images as well. Besides an adblocker will be able to emulate user behavior like a mouse click or hover over.

A Chrome extension has been created as a proof-of-concept (implementing the concept in part, excluding the technology of hiding the ad blocker by using duplicate web pages) and tested on 50 websites that use anti-adblocking solutions. It has successfully found ads on all the sites.

Andrey Meshkov, co-founder and CTO of AdGuard considers implementing of these techniques a matter of quite a distant future. Currently, this proof-of-concept extension only illustrates the idea itself. It searches through a library of known ad markers, like the AdChoice’s rectangle marker, which allows the user to customize advertising targeting in accordance with their preferences and see more relevant ads, which are marked with this very triangle.

Publishers will be able to easily bypass such recognition. And to fully implement this concept we will need an educated neural network to detect ads like a human does, by seeing typical features and attributes. Initially, this technology might have many false positive detections. It is likely that we will need different neural networks for recognizing ads in different language segments of the Internet, as the differences in ads around the world lie in more than just languages — what they look like is defined by mentality, culture, regional specifics of design and websites usability. In other words, such "training" of neural networks and combating the effects of under- and retraining will require manual work of the community and professionals, just as it now required for the creation of filters (perhaps, it will be more time-consuming).

But the ideas suggested are very interesting and perspective. Ad blockers will definitely start to detect ads using computer vision, but it’ll take years to develop the technologies and to implement them in customer products. And hardly will it "put an end to the arms race", it will rather be yet another additional strategy of ad blocking that is not likely promising to defeat ads altogether.

Liked this post?
By downloading the comments you agree the terms and policies

AdGuard
for Windows

AdGuard for Windows is more than an ad blocker. It is a multipurpose tool that blocks ads, controls access to dangerous sites, speeds up page loading, and protects children from inappropriate content.
User Reviews: 18176
4.7 out of 5
By downloading the program you accept the terms of the License agreement
Read more

AdGuard
for Mac

AdGuard for Mac is a unique ad blocker designed with macOS in mind. In addition to protecting you from annoying ads in browsers and apps, it shields you from tracking, phishing, and fraud.
User Reviews: 18176
4.7 out of 5
By downloading the program you accept the terms of the License agreement
Read more

AdGuard
for Android

AdGuard for Android is a perfect solution for Android devices. Unlike most other ad blockers, AdGuard doesn't require root access and provides a wide range of app management options.
User Reviews: 18176
4.7 out of 5
By downloading the program you accept the terms of the License agreement

AdGuard
for iOS

The most advanced ad blocker for Safari: it makes you forget about pop-up ads, speeds up page loading, and protects your personal data. A manual element-blocking tool and highly customizable settings help you tailor the filtering to your exact needs.
User Reviews: 18176
4.7 out of 5
By downloading the program you accept the terms of the License agreement

AdGuard Browser extension

AdGuard is the fastest and most lightweight ad blocking extension that effectively blocks all types of ads on all web pages! Choose AdGuard for the browser you use and get ad-free, fast and safe browsing.
User Reviews: 18176
4.7 out of 5

AdGuard for Safari

Ad blocking extensions for Safari are having hard time since Apple started to force everyone to use the new SDK. AdGuard extension is supposed to bring back the high quality ad blocking back to Safari.
User Reviews: 18176
4.7 out of 5
Available on the
App Store
Download
By downloading the program you accept the terms of the License agreement

AdGuard Home

AdGuard Home is a network-wide software for blocking ads & tracking. After you set it up, it’ll cover ALL your home devices, and you don’t need any client-side software for that. With the rise of Internet-Of-Things and connected devices, it becomes more and more important to be able to control your whole network.
User Reviews: 18176
4.7 out of 5

AdGuard Content Blocker

AdGuard Content Blocker will eliminate all kinds of ads in mobile browsers that support content blocker technology — namely, Samsung Internet and Yandex.Browser. While being more limited than AdGuard for Android, it is free, easy to install and still provides high ad blocking quality.
User Reviews: 18176
4.7 out of 5
By downloading the program you accept the terms of the License agreement
Read more

AdGuard Assistant

A companion browser extension for AdGuard desktop apps. It offers an in-browser access to such features as custom element blocking, allowlisting a website or sending a report.
User Reviews: 18176
4.7 out of 5
Assistant for Chrome Is it your current browser?
Install
By downloading the program you accept the terms of the License agreement
Assistant for Firefox Is it your current browser?
Install
By downloading the program you accept the terms of the License agreement
Assistant for Edge Is it your current browser?
Install
By downloading the program you accept the terms of the License agreement
Assistant for Opera Is it your current browser?
Install
By downloading the program you accept the terms of the License agreement
Assistant for Yandex Is it your current browser?
Install
By downloading the program you accept the terms of the License agreement
Assistant for Safari Is it your current browser?
If you can't find your browser, try the old legacy Assistant version, which you can find in AdGuard extension settings.
Downloading AdGuard To install AdGuard, click the file indicated by the arrow Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, drag the AdGuard icon to the "Applications" folder. Thank you for choosing AdGuard! Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, click "Install". Thank you for choosing AdGuard!
Install AdGuard on your mobile device