Web measurements based on top lists of popular websites are a well-established methodology for assessing the security and privacy landscape of the Internet. However, existing top lists are unlabeled and lack semantic information about the nature of the included websites, forcing researchers to rely on custom techniques to focus on specific website classes of interest. This makes targeted web measurements, e.g., over shopping websites, challenging to carry out. In this paper, we investigate the use of Large Language Models (LLMs) to enable targeted web measurement studies. Building on prior literature, we identify key website classification tasks relevant to web measurements and highlight limitations in state-of-the-art classification approaches. We thus construct more carefully curated datasets to evaluate different LLMs on these tasks using standard performance measures. Our results show that LLMs can achieve strong performance across multiple classification scenarios, but the choice of the model and its configuration play a significant role in both the quality and the efficiency of the classification process. Finally, we use LLMs to emulate the setup of a targeted web measurement by automatically detecting adult websites in a subset of the Tranco list, without any need for custom techniques for dataset construction. Together, our benchmark evaluation and case study show that LLMs can enable high-quality targeted web measurements at scale directly over the Tranco list.
翻译:暂无翻译