1 / 34

Refined and Incremental Centroid-based Approach for Genre Categorization of Web Pages

Refined and Incremental Centroid-based Approach for Genre Categorization of Web Pages. Chaker JEBARI King Saud University College of Computer & Information Sciences Computer Science Department jebarichaker@yahoo.fr. WWW’2008 Conference. NLPIX’2008 Workshop April 22, Beijing, China.

perdy
Download Presentation

Refined and Incremental Centroid-based Approach for Genre Categorization of Web Pages

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Refined and Incremental Centroid-based Approach for Genre Categorization of Web Pages Chaker JEBARI King Saud University College of Computer & Information Sciences Computer Science Department jebarichaker@yahoo.fr WWW’2008 Conference NLPIX’2008 Workshop April 22, Beijing, China

  2. Overview • Introduction • Related works • Centroid-based categorization • My approach • Experiments • Comparison

  3. Introduction • Web page categorization become more and more useful to enhance search engine results • As the number of web pages increase every day, topic categorization become insufficient • Genre is another criteria used to classify web pages (Jebari and Ounelli, 2007)

  4. Introduction • The genre of web pages (cybergenre) is characterized by the triple <content, form, functionality> (Shephered and Watters, 1999). • Web genres changes over time • I proposed a Refined and Incremental approach for genre categorization of web page

  5. Related works

  6. Centroid-based categorization • Finds a description (centroid or prototype) that summarizes all documents belonging (or not) to a given category. • The time and memory required by centroid-based models are proportional to the number of categories instead of the number of training documents like other machine learning techniques (Naïve Bayes, K nearest neighbors, decision trees, etc).

  7. Centroid-based categorization • Centroid-based models can add more training documents and easily recalculate centroids. • Many models have been proposed to calculate centroids (Rocchio, average, sum, normalized sum models, etc). • Normalized sum is a most powerful model

  8. Centroid-based categorization The centroid Cj for a category cj is defined as follow: A document dj is assigned to the category having most similarity calculated as follow:

  9. Training web pages Pre-processing centroids Construction of centroids New web page Hypertext structure URL Logical structure Combination categorization My approach

  10. Construction of centroids • c = {c1, … , ck}: set of k predefined categories • C = {C1, …, Cj, …, Ck}: set of genre centroids • using the normalized sum formula I discarded web pages that have a similarity with a centroid less than a predefined threshold s0 (noisy web pages). • For each category cj, I calculate a new set of training web pages sj as follow:

  11. Construction of centroids Where pi is a web page and sim is the cosine similarity The centroids Sj obtained after refining, using the normalized sum formula, is defined as follow:

  12. Pre-Processing • Feature extraction: URL, Logical structure (the content of title and Hn tags) and Hypertext structure (the content of anchors) • Remove special characters and stop words • Stemming remaining words • Weighting terms using NormTFIDF (=0.5, =-1 and =-0.5) (Lertnattee and Theeramunkong, 2004)

  13. Categorization of a new page • Categorization of new web pages is performed one by one (incremental categorization). • For each new web page p, I calculate its cosine similarity with all centroids. • I refine the centroids, which have a similarity with the page p, greater or equal than S0.

  14. Categorization of new pages • The refining step consists in: • Adding the new page p to the normalized centroid of the corresponding genre and renormalizes the centroid. • Each normalized centroid Sj is associated with the non-normalized centroid NSj. • Refinement of the centroid Sj can be performed by the following operations: And

  15. Combination • The aim is to combine the outputs of three homogenous classifiers, which uses respectively the URL, the logical structure and the hypertext structure (Jebari, 2007). • I used the decision templates for combination (Kuncheva et al., 2001)

  16. Genre Genre # Of web pages # Of web pages Article Student 1541 127 Faculty Download 1063 151 Staff Link collection 126 205 Private portrayal Department 170 126 Project Non private portrayal 474 163 Course 875 Discussion 127 Help 139 Shop 167 Experiments Corpora: KI-04 WebKB

  17. Experiments • Aims: • Measure the effect of vocabulary size in genre categorization of web pages • Measure the usefulness of refining, incrementing and • Combination in genre categorization of web pages • Comparison with other works and machine learning techniques • Experimental setup: • I have used the Micro-averaged accuracy as a performance measure • I used 5*2 cross-validation methodology

  18. Results Effect of vocabulary size: Micro-averaged accuracy for each feature and for both (a) KI-04 and (b) WebKB corpora is obtained by varying the number of terms between 5 and 3000 (b) (a)

  19. Results Usefulness of refining: Micro-averaged accuracy for each feature and for both (a) KI-04 and (b) WebKB corpora is obtained by varying the refining threshold between 0 and 1 by step of 0.1 (a) (b)

  20. Results Usefulness of incrementing: I varied the proportion of testing web pages on each feature between 10% and 90% by step of 10%. For both KI-04 (a) and WebKB (b) corpora I have obtained the following micro-averaged accuracy (a) (b)

  21. Results Usefulness of combination: Micro-averaged accuracy for each classifier (URL, logical, hypertext and combined classifiers) and for both KI-04 (a) and WebKB (b) corpora

  22. Comparison • Problems: • No publicly available and standard benchmark corpora for genre categorization task • Not agreed sense of web page genres and each study focuses on a different set of genres • Comparison with other works: • Only Kanaris and Stamatatos (Kanaris and Stamatatos, 2007)provide good micro-averaged accuracy using KI-04 corpus because they are based on structural information as in my approach. • (Jebari and Ounalli, 2004)

  23. Author KI-04 WebKB [14] 0.70 - [1] 0.75 0.80 [9] 0.84 - [17] 0.70 - My approach 0.96 0.98 Comparison

  24. Comparison • Comparison with other machine learning techniques: • I have compared my approach with other categorization techniques implemented in the program Rainbow (http://www.cs.cmu.edu/~mccallum/bow/rainbow/) • I have used Rocchio, Naïve bayes (NB), K Nearest • Neighbors (KNN) with K=30, SVM with Fisher kernel and TreeNode because they are widely used in genre categorization of documents.

  25. KI-04 URL Logical Hypertext SVM << ~ << ROCCHIO << < << NB << << <<< KNN << << <<< TreeNode <<< <<< <<< WebKB SVM ~ << ~ ROCCHIO << < << NB << << <<< KNN <<< << <<< TreeNode <<< <<< <<< Comparison To show that obtained results are really meaningful and not due to chance, I used the 5*2 cross-validation t-test (Dietterich, 1998)

  26. Comparison • Time is a very important aspect for comparison. • Following figures shows a comparison of the time that each classification technique needs to execute, in both training and classification phases for each corpus and for each feature.

  27. Comparison Train and test time spend for URL and both KI-04 (a) and WebKB (b) (a) (b)

  28. Comparison Train and test time spend for logical structure and both KI-04 (a) and WebKB (b) (a) (b)

  29. Comparison Train and test time spend for hypertext structure and both KI-04 (a) and WebKB (b) (a) (b)

  30. Conclusion • The approach proposed in this paper uses three new features (the URL address, logical and hypertext structures). • My approach implements three new aspects (refinement, incrementing and combination) which not explored in previous studies on genre categorization. • Conducted experiments show the usefulness of each aspect in genre categorization. • The comparison with other approaches show that my • approach is the fastest and outperforms many known • categorization techniques.

  31. References Jebari, C., and Ounalli, H. The usefulness of Logical Structure in Flexible Document Categorization. International Journal of Information Technology, 2004, vol. 1, no. 3, pp. 117-121 Jebari, C. Combining Classifiers for web page genre categorization. In "Towards Genre-Enabled Search Engines: The Impact of NLP" International Workshop held in conjunction with International Conference in Recent Advances on Natural Language Processing RANLP07, Borovets, Bulgaria. 2007. Jebari, C., and Ounelli, H. Genre Categorization of web pages, IEEE Computer Society, 2007. ACM Press. Shepherd, M., and Watters, C. The functionality attribute of cybergenres. In Proceedings of the 32nd Hawaiian International Conference on System Sciences, January 1999, Hawaii.

  32. References Meyer zuEissen, S., and Stein, B. Genre Classification of Web Pages: User Study and Feasibility Analysis. In Biundo S., Fruhwirth T. and Palm G. (eds.). KI2004: Advances in Artificial Intelligence, Springer. Berlin-Heidelberg-New York, pp. 256-269, 2004. Kennedy, A., and Shephered, M. Automatic Identification of Home Pages. In Proceeding of the 38th Hawaii International Conference on System Sciences, 2005. Boese, E. S., and Howe, A. E. Effect of web document evolution on genre classification. Proceedings of the 14th ACM International conference on Information and knowledge management, pp. 632-639. 2005. Santini, M. Automatic identification of genre in web pages. Ph.D Thesis, University of Brighton, UK, 2007.

  33. References Kanaris, I., and Stamatatos, E. Webpage Genre Identification Using Variable-length Character n-grams. Proceeding of the 19th IEEE Int. Conf. on Tools with Artificial Intelligence. 2007. Lertnattee, V., and Theeramunkong, T. Effect of term distributions on centroid-based text categorization. Journal of Information Sciences, 2004, vol. 158, no. 1, p. 89-115. Kuncheva, L.I., Bezdek, J.C., and Duin, R.P.W. Decision templates for multiple classifier fusion. Pattern Recognition, 34 (2), 2001, 299-314. Dietterich, T .G. Approximate statistical tests for comparing supervised classification learning algorithms. Neural Comput. 10(7): 1895-1923. 1998.

  34. Thank you for your attention

More Related