Web Content Filtering through knowledge distillation of Large Language Models
Tam\'as V\"or\"os, Sean Paul Bergeron, Konstantin Berlin

TL;DR
This paper presents a novel web content filtering method using knowledge distillation from large language models to create smaller, efficient models with improved accuracy for URL classification, enabling scalable and resource-efficient filtering.
Contribution
It introduces a knowledge distillation approach that produces a compact, high-performing model for URL categorization, surpassing current methods in accuracy and data efficiency.
Findings
9% accuracy improvement over state-of-the-art
Student model matches teacher LLM performance with 175x fewer parameters
Requires 3 orders of magnitude less labeled training data
Abstract
We introduce a state-of-the-art approach for URL categorization that leverages the power of Large Language Models (LLMs) to address the primary objectives of web content filtering: safeguarding organizations from legal and ethical risks, limiting access to high-risk or suspicious websites, and fostering a secure and professional work environment. Our method utilizes LLMs to generate accurate classifications and then employs established knowledge distillation techniques to create smaller, more specialized student models tailored for web content filtering. Distillation results in a student model with a 9% accuracy rate improvement in classifying websites, sourced from customer telemetry data collected by a large security vendor, into 30 distinct content categories based on their URLs, surpassing the current state-of-the-art approach. Our student model matches the performance of the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpam and Phishing Detection · Topic Modeling · Web Data Mining and Analysis
MethodsKnowledge Distillation
