


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Outline:
The problem is to nd sets of words that app ear together \unusually often" on the Web, e.g., \New" and \York" or f\Dutchess", \of ", \York"g.
\Unusually often" can b e de ned in various ways, in order to capture the idea that the numb er of Web do cuments containing the set of words is much greater than what one would exp ect if words were sprinkled at random, each word with its own probability of o ccurrence in a do cument.
One appropriate way is entropy per word in the set. Formally, the interest of a set of words S is
log 2
w in S^ pr^ ob(w^ )
jS j
Note that we divide by the size of S to avoid the \Bonferroni e ect," where there are so many sets of a given size that some, by chance alone, will app ear to b e correlated.
Example: If words a, b, and c each app ear in 1% of all do cuments, and S = fa; b; cg app ears in 0.1% of do cuments, then the interestingness of S is
log 2 (: 001 =(: 01 : 01 :01)
= 3 = log 2 (1000)= 3 or ab out 3.3.
Technical problem: interest is not monotone, or \downwards closed," the way high supp ort is. That is, we can have a set S with a high value of interest, yet some, or even all, of its immediate prop er subsets are not interesting. In contrast, if S has high supp ort, then all of its subsets have supp ort at least as high.
Technical problem: With more than 108 di erent words app earing in the Web, it is not p ossible even to consider all pairs of words.
DICE (dynamic itemset counting engine) rep eatedly visits the pages of the Web, in a round-robin fashion. At all times, it is counting o ccurrences of certain sets of words, and of the individual words in that set. The numb er of sets b eing counted is small enough that the counts t in main memory. From time to time, say every 5000 pages, DICE reconsiders the sets that it is counting. It throws away those sets that have the lowest interest, and replaces them with other sets. The choice of new sets is based on the heavy edge property, which is an exp erimentally justi ed observation that those words that app ear in a high-interest set are more likely than others to app ear in other high-interest sets. Thus, when selecting new sets to start counting, DICE is biased in favor of words that already app ear in high-interest sets. However, it do es not rely on those words exclusively, or else it could never nd high- interests sets comp osed of the many words it has never lo oked at. Some (but not all) of the constructions that DICE uses to create new sets are:
Of course, there are generally to o many options to do all of the ab ove in all p ossible ways, so a random selection among options, giving some choices to each of the rules, is used.
The general idea is to search the Web for facts of a given typ e, typically what might form the tuples of a relation such as B ook s(titl e; author ). The computation is suggested by Fig. 13.
Figure 13: Extracting relations from the Web
The notion suggested consists of ve elements:
Example 6.1 : A p ossible pattern might consist of the following:
Example 6.2 : Supp ose our group contains the three URL's:
www.stanford.edu/class/cs345/index.html www.stanford.edu/class/cs145/intro.html www.stanford.edu/class/cs140/readings.html
The common pre x is www.stanford.edu/class/cs. If we have to split the group, then the next character, 3 versus 1, breaks the group into two, with those data o ccurrences in the rst page (there could b e many such o ccurrences) going into one group, and those o ccurrences on the other two pages going into another. 2