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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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)
Akusok, A., Grigorievskiy, A., Lendasse, A., Miche, Y., Villmann, T., Schleif, F.: Image-based classification of websites. Mach. Learn. Rep. 2, 25–34 (2013)
Atkinson, B.M.: Captology: a critical review. In: International Conference on Persuasive Technology, pp. 171–182. Springer (2006)
Blei, D.M., Ng, A.Y., Jordan, M.I.: Latent Dirichlet allocation. J. Mach. Learn. Res. 3, 993–1022 (2003)
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)
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)
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)
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)
Cochran, W.G.: The \(\chi \)2 test of goodness of fit. Ann. Math. Stat. 23, 315–345 (1952)
Deng, C., Huang, G., Xu, J., Tang, J.: Extreme learning machines: new trends and applications. Sci. China Inf. Sci. 58(2), 1–16 (2015)
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)
Eyal, N.: Hooked: How to Build Habit-Forming Products. Penguin, New York (2014)
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
Gonçalves, N., Videira, A.: Automatic web page classification using visual content. In: International Conference on Web Information Systems and Technologies. WEBIST (2013)
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)
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)
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)
Qi, X., Davison, B.D.: Web page classification: features and algorithms. ACM Comput. Surv. 41(2), 12:1–12:31 (2009)
Tamura, H., Mori, S., Yamawaki, T.: Textural features corresponding to visual perception. IEEE Trans. Syst. Man Cybern. 8(6), 460–473 (1978)
Thorlacius, L.: The role of aesthetics in web design. Nordicom Rev. 28(1), 63–76 (2007)
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)
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)
Zhang, D., Wong, A., Indrawan, M., Lu, G.: Content-based image retrieval using Gabor texture features. IEEE Trans. PAMI, 13–15 (2000)
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
Corresponding author
Editor information
Editors and Affiliations
Rights 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
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
DOI: https://doi.org/10.1007/978-3-030-58989-9_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-58988-2
Online ISBN: 978-3-030-58989-9
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)