Skip to main content

Website Classification from Webpage Renders

  • Conference paper
  • First Online:
Proceedings of ELM2019 (ELM 2019)

Part of the book series: Proceedings in Adaptation, Learning and Optimization ((PALO,volume 14))

Included in the following conference series:

Abstract

In this paper, we present a fast and accurate method for the classification of web content. Our algorithm uses the visual information of the main homepage saved in an image format by means of a full body snapshot. Sliding windows of different sizes and overlaps are used to obtain a large subset of images for each render. For each sub-image, a feature vector is extracted by means of a pre-trained deep learning model. A Extreme Learning Machine (ELM) model is trained for different values of hidden neurons using the large collection of features from a curated dataset of 5979 webpages with different classes: adult, alcohol, dating, gambling, shopping, tobacco and weapons. Our results show that the ELM classifier can be trained without the manual specific object tagging of the sub-images by giving excellent results in comparison to more complex deep learning models. A random forest classifier was trained for the specific class of weapons providing an accuracy of 95% with a F1 score of 0.8.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 159.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.f-secure.com.

  2. 2.

    http://selenium-python.readthedocs.io.

  3. 3.

    https://www.seleniumhq.org.

References

  1. Akusok, A., Björk, K.M., Miche, Y., Lendasse, A.: High-performance extreme learning machines: a complete toolbox for big data applications. IEEE Access 3 (2015)

    Google Scholar 

  2. Akusok, A., Grigorievskiy, A., Lendasse, A., Miche, Y., Villmann, T., Schleif, F.: Image-based classification of websites. Mach. Learn. Rep. 2, 25–34 (2013)

    Google Scholar 

  3. Atkinson, B.M.: Captology: a critical review. In: International Conference on Persuasive Technology, pp. 171–182. Springer (2006)

    Google Scholar 

  4. Blei, D.M., Ng, A.Y., Jordan, M.I.: Latent Dirichlet allocation. J. Mach. Learn. Res. 3, 993–1022 (2003)

    Google Scholar 

  5. de Boer, V., van Someren, M., Lupascu, T.: Web page classification using image analysis features. In: International Conference on Web Information Systems and Technologies, pp. 272–285. Springer (2010)

    Google Scholar 

  6. Burt, P.J., Hong, T.H., Rosenfeld, A.: Segmentation and estimation of image region properties through cooperative hierarchial computation. IEEE Trans. Syst. Man Cybern. 11(12), 802–809 (1981)

    Article  Google Scholar 

  7. Chen, T., Li, M., Li, Y., Lin, M., Wang, N., Wang, M., Xiao, T., Xu, B., Zhang, C., Zhang, Z.: Mxnet: a flexible and efficient machine learning library for heterogeneous distributed systems. arXiv preprint arXiv:1512.01274 (2015)

  8. Cheng, H.T., Koc, L., Harmsen, J., Shaked, T., Chandra, T., Aradhye, H., Anderson, G., Corrado, G., Chai, W., Ispir, M., Anil, R., Haque, Z., Hong, L., Jain, V., Liu, X., Shah, H.: Wide & deep learning for recommender systems. arXiv:1606.07792 (2016)

  9. Cochran, W.G.: The \(\chi \)2 test of goodness of fit. Ann. Math. Stat. 23, 315–345 (1952)

    Google Scholar 

  10. Deng, C., Huang, G., Xu, J., Tang, J.: Extreme learning machines: new trends and applications. Sci. China Inf. Sci. 58(2), 1–16 (2015)

    Article  Google Scholar 

  11. Espinosa Leal, L., Björk, K.M., Lendasse, A., Akusok, A.: A web page classifier library based on random image content analysis using deep learning. In: Proceedings of the 11th International Conference on PErvasive Technologies Related to Assistive Environments. PETRA 2018 (2018)

    Google Scholar 

  12. Eyal, N.: Hooked: How to Build Habit-Forming Products. Penguin, New York (2014)

    Google Scholar 

  13. Gomez, L., Patel, Y., Rusinol, M., Karatzas, D., Jawahar, C.V.: Self-supervised learning of visual features through embedding images into text topic spaces. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), vol. 00, pp. 2017–2026, July 2017

    Google Scholar 

  14. Gonçalves, N., Videira, A.: Automatic web page classification using visual content. In: International Conference on Web Information Systems and Technologies. WEBIST (2013)

    Google Scholar 

  15. Ho, T.K.: Random decision forests. In: Proceedings of the Third International Conference on Document Analysis and Recognition, vol. 1, pp. 278–282. IEEE (1995)

    Google Scholar 

  16. Huang, G.B., Zhou, H., Ding, X., Zhang, R.: Extreme learning machine for regression and multiclass classification. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 42(2), 513–529 (2012)

    Google Scholar 

  17. Pearson, K.: LIII. on lines and planes of closest fit to systems of points in space. Lond. Edinb. Dublin Philos. Mag. J. Sci. 2(11), 559–572 (1901)

    Google Scholar 

  18. Qi, X., Davison, B.D.: Web page classification: features and algorithms. ACM Comput. Surv. 41(2), 12:1–12:31 (2009)

    Google Scholar 

  19. Tamura, H., Mori, S., Yamawaki, T.: Textural features corresponding to visual perception. IEEE Trans. Syst. Man Cybern. 8(6), 460–473 (1978)

    Article  Google Scholar 

  20. Thorlacius, L.: The role of aesthetics in web design. Nordicom Rev. 28(1), 63–76 (2007)

    Article  Google Scholar 

  21. Tuch, A.N., Presslaber, E., Stoecklin, M., Opwis, K., Bargas-Avila, J.: The role of visual complexity and prototypicality regarding first impression of websites: Working towards understanding aesthetic judgments. Int. J. Hum. Comput. Stud. 70(11), 794–811 (2012)

    Article  Google Scholar 

  22. Wang, Q., Yang, S., Liu, M., Cao, Z., Ma, Q.: An eye-tracking study of website complexity from cognitive load perspective. Decis. Support Syst. 62, 1–10 (2014)

    Article  Google Scholar 

  23. Zhang, D., Wong, A., Indrawan, M., Lu, G.: Content-based image retrieval using Gabor texture features. IEEE Trans. PAMI, 13–15 (2000)

    Google Scholar 

Download references

Acknowledgments

The authors acknowledge the economical support by the Tekes (Business Finland) foundation via the project Cloud-assisted Security Services (CloSer). The authors would like also to thank their collaborators from F-Secure for sharing of the scientific research data. The authors wish to acknowledge CSC – IT Center for Science, Finland, for computational resources.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Leonardo Espinosa-Leal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Espinosa-Leal, L., Akusok, A., Lendasse, A., Björk, KM. (2021). Website Classification from Webpage Renders. In: Cao, J., Vong, C.M., Miche, Y., Lendasse, A. (eds) Proceedings of ELM2019. ELM 2019. Proceedings in Adaptation, Learning and Optimization, vol 14. Springer, Cham. https://doi.org/10.1007/978-3-030-58989-9_5

Download citation

Publish with us

Policies and ethics