AutoFR: Automated Filter Rule Generation for Adblocking
Hieu Le, Salma Elmalaki, Athina Markopoulou, Zubair Shafiq
摘要
Adblocking relies on filter lists, which are manually curated and maintained by a community of filter list authors. Filter list curation is a laborious process that does not scale well to a large number of sites or over time. In this article, we introduce AutoFR, a reinforcement learning framework to fully automate the process of filter rule creation and evaluation for sites of interest. We design an algorithm based on multi-arm bandits to generate filter rules that block ads while controlling the trade-off between blocking ads and avoiding visual breakage. We test AutoFR on thousands of sites and show that it is efficient: It takes only a few minutes to generate filter rules for a site of interest. AutoFR is effective: It optimizes filter rules for a particular site that can block 86% of the ads, as compared to 87% by EasyList, while achieving comparable visual breakage. Using AutoFR as a building block, we devise three methodologies that generate filter rules across sites based on: (1) a modified version of AutoFR, (2) rule popularity, and (3) site similarity. We conduct an in-depth comparative analysis of these approaches by considering their effectiveness, efficiency, and maintainability. We demonstrate that some of them can generalize well to new sites in both controlled and live settings. We envision that AutoFR can assist the adblocking community in automatically generating and updating filter rules at scale.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- AdVersarial: Perceptual Ad Blocking meets Adversarial Machine Learning 引用了 Measuring and Disrupting Anti-Adblockers Using Differential Execution Analysis
- Unbundle-Rewrite-Rebundle: Runtime Detection and Rewriting of Privacy-Harming Code in JavaScript Bundles 引用了 AdGraph: A Graph-Based Approach to Ad and Tracker Blocking
- Unbundle-Rewrite-Rebundle: Runtime Detection and Rewriting of Privacy-Harming Code in JavaScript Bundles 引用了 Tranco: A Research-Oriented Top Sites Ranking Hardened Against Manipulation
- Local Frames: Exploiting Inherited Origins to Bypass Content Blockers 引用了 Measuring and Disrupting Anti-Adblockers Using Differential Execution Analysis
- Local Frames: Exploiting Inherited Origins to Bypass Content Blockers 引用了 AdGraph: A Graph-Based Approach to Ad and Tracker Blocking
- SINBAD: Saliency-informed detection of breakage caused by ad blocking 引用了 AdGraph: A Graph-Based Approach to Ad and Tracker Blocking
- Assessing Compliance in Digital Advertising: A Deep Dive into Acceptable Ads Standards 引用了 Tranco: A Research-Oriented Top Sites Ranking Hardened Against Manipulation
- AdFlush: A Real-World Deployable Machine Learning Solution for Effective Advertisement and Web Tracker Prevention 引用了 AdVersarial: Perceptual Ad Blocking meets Adversarial Machine Learning
- AdFlush: A Real-World Deployable Machine Learning Solution for Effective Advertisement and Web Tracker Prevention 引用了 AdGraph: A Graph-Based Approach to Ad and Tracker Blocking
- AdFlush: A Real-World Deployable Machine Learning Solution for Effective Advertisement and Web Tracker Prevention 引用了 Tranco: A Research-Oriented Top Sites Ranking Hardened Against Manipulation
引用它的顶会 Paper6
- AdFlush: A Real-World Deployable Machine Learning Solution for Effective Advertisement and Web Tracker PreventionKiho Lee, Chaejin Lim, Beomjin Jin, Taeyoung Kim 等WWW 2024 · 5 次引用
- SINBAD: Saliency-informed detection of breakage caused by ad blockingSaiid El Hajj Chehade, Sandra Deepthy Siby, Carmela TroncosoS&P 2024 · 3 次引用
- Assessing Compliance in Digital Advertising: A Deep Dive into Acceptable Ads StandardsAhsan Zafar, Anupam DasWWW 2025 · 3 次引用
- Unbundle-Rewrite-Rebundle: Runtime Detection and Rewriting of Privacy-Harming Code in JavaScript BundlesMir Masood Ali, Peter Snyder, Chris Kanich, Hamed HaddadiCCS 2024 · 2 次引用
- Local Frames: Exploiting Inherited Origins to Bypass Content BlockersAlisha Ukani, Hamed Haddadi, Alex C. Snoeren, Peter SnyderCCS 2025
它引用的 Paper14
- Tranco: A Research-Oriented Top Sites Ranking Hardened Against ManipulationVictor Le Pochat, Tom van Goethem, Samaneh Tajalizadehkhoob, Maciej Korczynski 等NDSS 2019 · 826 次引用
- Adversarial Policies: Attacking Deep Reinforcement LearningAdam Gleave, Michael Dennis, Cody Wild, Neel Kant 等ICLR 2020 · 415 次引用
- AdGraph: A Graph-Based Approach to Ad and Tracker BlockingUmar Iqbal, Peter Snyder, Shitong Zhu, Benjamin Livshits 等S&P 2020 · 112 次引用
- AdVersarial: Perceptual Ad Blocking meets Adversarial Machine LearningFlorian Tramèr, Pascal Dupré, Gili Rusak, Giancarlo Pellegrino 等CCS 2019 · 65 次引用
- Measuring and Disrupting Anti-Adblockers Using Differential Execution AnalysisShitong Zhu, Xunchao Hu, Zhiyun Qian, Zubair Shafiq 等NDSS 2018 · 44 次引用
相关 Paper
- CV-Inspector: Towards Automating Detection of Adblock CircumventionHieu Le, Athina Markopoulou, Zubair ShafiqNDSS 2021
- DEAR: Deep Reinforcement Learning for Online Advertising Impression in Recommender SystemsXiangyu Zhao, Changsheng Gu, Haoshenglun Zhang, Xiwang Yang 等AAAI 2021 · 131 次引用
- Read Between the Lines: Detecting Tracking JavaScript with Bytecode ClassificationMohammad Ghasemisharif, Jason PolakisCCS 2023 · 3 次引用
- PERCIVAL: Making In-Browser Perceptual Ad Blocking Practical with Deep LearningZain ul Abi Din, Panagiotis Tigas, Samuel T. King, Benjamin LivshitsUSENIX ATC 2020 · 34 次引用
- AutoLossGen: Automatic Loss Function Generation for Recommender SystemsZelong Li, Jianchao Ji, Yingqiang Ge, Yongfeng ZhangSIGIR 2022 · 16 次引用
