May 2002

388 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
388
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • http://www.sims.berkeley.edu/~hearst/papers/acl99/acl99-tdm.html http://www.cs.utah.edu/~riloff/psfiles/aaai99.ps http://www-2.cs.cmu.edu/~knigam/papers/emcat-mlj99.ps http://www.acm.org/sigs/sigkdd/explorations/issue2-2/KDD2000TextWkshp.ps
  • May 2002

    1. 1. An Overview of Text Mining Rebecca Hwa 4/25/2002 <ul><li>References </li></ul><ul><li>M. Hearst, “ Untangling Text Data Mining ,” in the Proceedings of the 37 th Annual Meeting of the Association for Computational Linguistics , 1999. </li></ul><ul><li>E. Riloff and R. Jones, “ Learning Dictionaries for Information Extraction Using Multi-level Boot-strapping ,” in the Proceedings of AAAI-99 , 1999. </li></ul><ul><li>K. Nigam, A. McCallum, S. Thrun, and T. Mitchell, “ Text Classification from Labeled and Unlabeled Documents using EM ,” in Machine Learning , 2000. </li></ul><ul><li>M. Grobelnik, D. Mladenic, and N. Milic-Frayling, “ T ext Mining as Integration of Several Related Research Areas: Report on KDD’2000 Workshop on Text Mining ,” 2000. </li></ul>
    2. 2. What Is Text Mining? <ul><li>“ The objective of Text Mining is to exploit information contained in textual documents in various ways, including …discovery of patterns and trends in data, associations among entities, predictive rules, etc.” (Grobelnik et al., 2001) </li></ul><ul><li>“ Another way to view text data mining is as a process of exploratory data analysis that leads to heretofore unknown information, or to answers for questions for which the answer is not currently known.” (Hearst, 1999) </li></ul>
    3. 3. Text Mining <ul><li>How does it relate to data mining in general? </li></ul><ul><li>How does it relate to computational linguistics? </li></ul><ul><li>How does it relate to information retrieval? </li></ul>Information Retrieval Computational Linguistics Textual data Database queries Exploratory Data Analysis General data-mining Non-textual data Non-Novel Novel Finding “Nuggets” Finding Patterns
    4. 4. Challenges in Text Mining <ul><li>Data collection is “free text” </li></ul><ul><ul><li>Data is not well-organized </li></ul></ul><ul><ul><ul><li>Semi-structured or unstructured </li></ul></ul></ul><ul><ul><li>Natural language text contains ambiguities on many levels </li></ul></ul><ul><ul><ul><li>Lexical, syntactic, semantic, and pragmatic </li></ul></ul></ul><ul><ul><li>Learning techniques for processing text typically need annotated training examples </li></ul></ul><ul><ul><ul><li>Consider bootstrapping techniques </li></ul></ul></ul>
    5. 5. Text Mining Tasks <ul><li>Exploratory Data Analysis </li></ul><ul><ul><li>Using text to form hypotheses about diseases (Swanson and Smalheiser, 1997). </li></ul></ul><ul><li>Information Extraction </li></ul><ul><ul><li>(Semi)automatically create (domain specific) knowledge bases, and then use standard data-mining techniques. </li></ul></ul><ul><ul><ul><li>Bootstrapping methods (Riloff and Jones, 1999). </li></ul></ul></ul><ul><li>Text Classification </li></ul><ul><ul><li>Useful intermediary step for information extraction </li></ul></ul><ul><ul><ul><li>Bootstrapping method using EM (Nigam et al., 2000). </li></ul></ul></ul>
    6. 6. Biomedical Data Exploration (Swanson, and Smalheiser, 1997) <ul><li>Extract pieces of evidence from article titles in the biomedical literature </li></ul><ul><ul><ul><li>“ stress is associated with migraines” </li></ul></ul></ul><ul><ul><ul><li>“ stress can lead to loss of magnesium” </li></ul></ul></ul><ul><ul><ul><li>“ calcium channel blockers prevent some migraines” </li></ul></ul></ul><ul><ul><ul><li>“ magnesium is a natural calcium channel blocker” </li></ul></ul></ul><ul><li>Induce a new hypothesis not in the literature by combining culled text fragments with human medical expertise </li></ul><ul><ul><ul><li>Magnesium deficiency may play a role in some kinds of migraine headache </li></ul></ul></ul>
    7. 7. Challenges in Data Exploration <ul><li>How can valid inference links be found without succumbing to combinatorial explosion of possibilities? </li></ul><ul><ul><li>Need better models of lexical relationships and semantic constraints (very hard) </li></ul></ul><ul><li>How should the information be presented to the human experts to facilitate their exploration? </li></ul>
    8. 8. Information Extraction (IE) <ul><li>Extract domain-specific information from natural language text </li></ul><ul><ul><li>Need a dictionary of extraction patterns (e.g., “traveled to <x>” or “presidents of <x>”) </li></ul></ul><ul><ul><ul><li>Constructed by hand </li></ul></ul></ul><ul><ul><ul><li>Automatically learned from hand-annotated training data </li></ul></ul></ul><ul><ul><li>Need a semantic lexicon (dictionary of words with semantic category labels) </li></ul></ul><ul><ul><ul><li>Typically constructed by hand </li></ul></ul></ul>
    9. 9. Challenges in IE <ul><li>Automatic learning methods are typically supervised (i.e., need labeled examples) </li></ul><ul><li>But annotating training data is a time-consuming and expensive task. </li></ul><ul><li>Can we develop better unsupervised algorithm? </li></ul><ul><li>Can we make better use of a small set of labeled example? </li></ul>
    10. 10. Learning Dictionaries for IE via Bootstrapping (Riloff and Jones, 1999) <ul><li>Simultaneously learn extraction patterns and domain-specific semantic lexicons </li></ul><ul><li>Input requires a small set of seed words (for the semantic categories) and a large collection of text </li></ul><ul><li>Mutual bootstrapping </li></ul><ul><ul><li>Learns extraction patterns from seed words </li></ul></ul><ul><ul><li>Use extraction patterns to identify new words to add to the semantic categories </li></ul></ul><ul><ul><li>Meta-bootstrapping to reduce noise </li></ul></ul>
    11. 11. Text classification (TC) <ul><li>Tag a document as belonging to one of a set of pre-defined classes </li></ul><ul><ul><li>“ This does not lead to discovery of new information…” (Hearst, 1999). </li></ul></ul><ul><ul><li>Many practical uses </li></ul></ul><ul><ul><ul><li>Group documents into different domains (useful for domain specific information extraction) </li></ul></ul></ul><ul><ul><ul><li>Learn reading interests of users </li></ul></ul></ul><ul><ul><ul><li>Automatically sort e-mail </li></ul></ul></ul><ul><ul><ul><li>On-line New Event Detection </li></ul></ul></ul>
    12. 12. Challenges in TC <ul><li>Like IE, also need lots of labeled examples as training data </li></ul><ul><ul><li>After a user has labeled 1000 UseNet news articles, the system was only right ~50% of the time at selecting articles interesting to the user. </li></ul></ul><ul><li>What other sources of information can reduce the need for labeled examples? </li></ul>
    13. 13. TC from Labeled and Unlabeled Documents using EM (Nigam et al., 2000) <ul><li>Expectation-Maximization </li></ul><ul><ul><li>Iterative algorithm for MLE in parametric estimation problems with missing data (e.g. the labels for the example) </li></ul></ul><ul><li>Nigam et al. combined the EM algorithm with a Naïve Bayes classifier, using both labeled and unlabeled data as input </li></ul><ul><ul><li>Dynamically adjust strength of unlabeled data’s contribution to parameter estimation in EM </li></ul></ul><ul><ul><li>Reduce the bias of naïve Bayes by modeling each class with multiple mixture components </li></ul></ul>
    14. 14. Probabilistic Framework for TC <ul><li>Assumption #1 : Doc produced by mixture model </li></ul><ul><ul><li>Generate docs according to probability distribution defined by the model parameters  </li></ul></ul><ul><li>Assumption #2 : Each class is modeled by one mixture component: C ={c 1 ,…,c |C| } </li></ul><ul><li>Prob. of model generating doc d i is: </li></ul>
    15. 15. Naïve Bayes Model <ul><li>Assumes words in the document are generated independently (no context) </li></ul><ul><li>Assume all text have the same length </li></ul><ul><li>Model parameters: </li></ul>
    16. 16. Using a Trained Model <ul><li>What class should a new document d be assigned to? </li></ul><ul><li>Pick the class with the highest probability </li></ul>
    17. 17. Parameter Estimation with Labeled Documents <ul><li>Estimating model parameters: </li></ul>
    18. 18. Parameter Estimation with Unlabeled Documents <ul><li>EM: for “incomplete data” problems </li></ul><ul><li>Maximize prob. of model generating observed data </li></ul><ul><li>Build initial classifier (initialize the parameters to “reasonable” starting values) </li></ul><ul><li>Repeat until convergence </li></ul><ul><ul><li>E-Step: Use current classifier params,  t , to estimate P( c | d ;  t ) for all d in D u </li></ul></ul><ul><ul><li>M-Step: Re-estimate the classifier,  t+ 1 , using the expected counts from the E-Step </li></ul></ul>
    19. 19. Augmented EM <ul><li>Weight the unlabeled data </li></ul><ul><ul><li>Otherwise, unlabeled data overwhelms the small amount of labeled data </li></ul></ul><ul><ul><li>Modify M-step to multiply expected counts with a weight factor </li></ul></ul><ul><li>Relax the one class one mixture component assumption </li></ul><ul><ul><li>Allow labeled data to fall into “topics” within a class </li></ul></ul><ul><ul><li>Modify E-step to allow labeled document to probabilistically belong to sub-topics </li></ul></ul>

    ×