Homepage2Vec: Language-Agnostic Website Embedding and Classification

Authors

  • Sylvain Lugeon EPFL
  • Tiziano Piccardi EPFL
  • Robert West EPFL

Keywords:

Text categorization; topic recognition; demographic/gender/age identification

Abstract

Currently, publicly available models for website classification do not offer an embedding method and have limited support for languages beyond English. We release a dataset of more than two million category-labeled websites in 92 languages collected from Curlie, the largest multilingual human-edited Web directory. The dataset contains 14 website categories aligned across languages. Alongside it, we introduce Homepage2Vec, a machine-learned pre-trained model for classifying and embedding websites based on their homepage in a language-agnostic way. Homepage2Vec, thanks to its feature set (textual content, metadata tags, and visual attributes) and recent progress in natural language representation, is language-independent by design and generates embedding-based representations. We show that Homepage2Vec correctly classifies websites with a macro-averaged F1-score of 0.90, with stable performance across low- as well as high-resource languages. Feature analysis shows that a small subset of efficiently computable features suffices to achieve high performance even with limited computational resources. We make publicly available the curated Curlie dataset aligned across languages, the pre-trained Homepage2Vec model, and libraries: https://github.com/epfl-dlab/homepage2vec.

Downloads

Published

2022-05-31

How to Cite

Lugeon, S., Piccardi, T., & West, R. (2022). Homepage2Vec: Language-Agnostic Website Embedding and Classification. Proceedings of the International AAAI Conference on Web and Social Media, 16(1), 1285-1291. Retrieved from https://ojs.aaai.org/index.php/ICWSM/article/view/19380