name phylogeny
play

Name Phylogeny A Generative Model of String Variation Nicholas - PowerPoint PPT Presentation

Name Phylogeny A Generative Model of String Variation Nicholas Andrews, Jason Eisner and Mark Dredze Department of Computer Science, Johns Hopkins University EMNLP 2012 Thursday, July 12 Outline Introduction Generative Model Mutation


  1. Name Phylogeny A Generative Model of String Variation Nicholas Andrews, Jason Eisner and Mark Dredze Department of Computer Science, Johns Hopkins University EMNLP 2012 – Thursday, July 12

  2. Outline Introduction Generative Model Mutation Model Inference Experiments Future Work

  3. What’s a name phylogeny? A fragment of a “name phylogeny” learned by our model Thomas Ruggles Pynchon, Jr. Khawaja Gharibnawaz Muinuddin Hasan Chisty Thomas Ruggles Pynchon Jr. Khwaja Muin al-Din Chishti Thomas R. Pynchon, Jr. Khwaja Gharib Nawaz Khwaja Moinuddin Chishti Thomas R. Pynchon Jr. Thomas Pynchon, Jr. Ghareeb Nawaz Khwaja gharibnawaz Muinuddin Chishti Thomas R. Pynchon Thomas Pynchon Jr. ◮ Each edge corresponds to a “mutation”

  4. Problem: organizing disorganized collections of strings Barack Obama Sr Mitt Romney President Barack Obama mitt Mitt rommey Barack Obama Barack Willard M. Romney Barack H. Obama Barry barak Romney Mr. Romney Obama President Barrack Governor Mitt Romney Clinton barack obama clinton Billy Hillary Clinton will clinton Ms. Clinton Bill Clinton President Bill Clinton Vice President Clinton bill Hillary Bill Hillary Rodham Clinton William Clinton

  5. Problem: organizing disorganized collections of strings Barack Obama Sr Mitt Romney Barack Romney Mitt rommey Barack Obama mitt Mr. Romney Barack H. Obama Willard M. Romney Barrack Obama Governor Mitt Romney barack obama Barry barak President Barack Obama President Billy bill Bill Hillary Clinton Clinton will clinton Vice President Clinton clinton President Bill Clinton Ms. Clinton Hillary Bill Clinton Hillary Rodham Clinton William Clinton

  6. Challenges ◮ Name variation: the same entity may have different names, and a good measure of “similarity” between strings may not be available (This work) ◮ Disambiguation: different entities may have names in common, requiring the use of context to disambiguate between them Barack Obama Sr Mitt Romney Barack Romney Mitt rommey Barack Obama mitt Mr. Romney Barack H. Obama Willard M. Romney Obama Barrack Governor Mitt Romney barack obama Barry barak President Barack Obama President Billy bill Bill Hillary Clinton Clinton will clinton Vice President Clinton clinton President Bill Clinton Ms. Clinton Hillary Bill Clinton Hillary Rodham Clinton William Clinton

  7. How does a name phylogeny help? 1. Organizes name variants into connected components (clusters) Thomas Ruggles Pynchon, Jr. Khawaja Gharibnawaz Muinuddin Hasan Chisty Thomas Ruggles Pynchon Jr. Khwaja Muin al-Din Chishti Thomas R. Pynchon, Jr. Khwaja Gharib Nawaz Khwaja Moinuddin Chishti Thomas R. Pynchon Jr. Thomas Pynchon, Jr. Ghareeb Nawaz Khwaja gharibnawaz Muinuddin Chishti Thomas R. Pynchon Thomas Pynchon Jr. 2. Align names as “mutations” of one another Thomas Ruggles Pynchon, Jr. Khawaja Gharibnawaz Muinuddin Hasan Chisty Thomas Ruggles Pynchon Jr. Khwaja Muin al-Din Chishti Thomas R. Pynchon, Jr. Khwaja Gharib Nawaz Khwaja Moinuddin Chishti Thomas R. Pynchon Jr. Thomas Pynchon, Jr. Ghareeb Nawaz Khwaja gharibnawaz Muinuddin Chishti Thomas R. Pynchon Thomas Pynchon Jr. 3. We can estimate a mutation model given a phylogeny, and a mutation model gives a distribution over phylogenies ( → EM)

  8. Outline Introduction Generative Model Mutation Model Inference Experiments Future Work

  9. Generative Model We propose a generative model for string variation explaining the reasons for name variation. ... x 10001 = Mitt Romney x 10002 = President Barack Obama x 10003 = Barack Obama x 10004 = Secretary of State Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton x 10008 = Obama ... What are the sources of variation for names?

  10. Copying a previous mention We can copy a name seen before. ... x 10001 = Mitt Romney x 10002 = President Barack Obama x 10003 = Barack Obama x 10004 = Secretary of State Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton x 10008 = Obama ... x 100001 = Barack Obama Procedure: ◮ Select a previous name mention uniformly at random ◮ Decide to copy it with probability 1 − µ

  11. Mutating a previous mention We can mutate a name seen before. ... x 10001 = Mitt Romney x 10002 = President Barack Obama x 10003 = Barack Obama x 10004 = Secretary of State Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton x 10008 = Obama ... x 100001 = Mitt Procedure: ◮ Select a previous name mention uniformly at random ◮ Decide to mutate it with probability µ ◮ Sample a mutation from p ( · | Mitt Romney)

  12. Generating a new name We can generate a new name. ... x 10001 = Mitt Romney x 10002 = President Barack Obama x 10003 = Barack Obama x 10004 = Secretary of State Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton x 10008 = Obama ... x 100001 = Joe Biden Procedure: ◮ Select ♦ with probability proportional to α (a “pseudocount”) ◮ Sample a new name from p ( · | ♦ ) ◮ A character language model

  13. Generative model summary To generate the next name mention: 1. Pick an existing name mention w with probability 1 / ( α + k ) 1.1 Copy w verbatim with probability 1 − µ 1.2 Mutate w with probability µ 2. Decide to talk about a new entity with probability α/ ( α + k ) 2.1 Generate a name for it

  14. Generative model in action ... President Barack Obama Secretary of State Hillary Clinton Mitt Romney Barack Obama Hillary Clinton Barack Obama Clinton Obama x 10001 = Mitt Romney x 10008 = Obama x 10002 = President Barack Obama x 10003 = Barack Obama x 10004 = Secretary of State Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton

  15. Generative model in action ... President Barack Obama Secretary of State Hillary Clinton Mitt Romney Barack Obama Hillary Clinton Mitt Barack Obama Clinton Obama x 10001 = Mitt Romney x 10008 = Obama x 10002 = President Barack Obama x 10009 = Mitt x 10003 = Barack Obama x 10004 = Secretary of State Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton

  16. Generative model in action ... President Barack Obama Secretary of State Hillary Clinton Mitt Romney Barack Obama Hillary Clinton Mitt Barack Barack Obama Clinton Obama x 10001 = Mitt Romney x 10008 = Obama x 10002 = President Barack Obama x 10009 = Mitt x 10003 = Barack Obama x 10010 = Barack x 10004 = Secretary of State Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton

  17. Generative model in action ... President Barack Obama Secretary of State Hillary Clinton Mitt Romney Barack Obama Hillary Clinton Mitt Barack Barack Obama Clinton Barry Obama x 10001 = Mitt Romney x 10008 = Obama x 10002 = President Barack Obama x 10009 = Mitt x 10003 = Barack Obama x 10010 = Barack x 10011 = Barry x 10004 = Secretary of State Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton

  18. Generative model in action ... President Barack Obama Secretary of State Hillary Clinton Mitt Romney Barack Obama Hillary Clinton Mitt Barack Barack Obama Clinton Hillary Clinton Barry Obama x 10008 = Obama x 10001 = Mitt Romney x 10009 = Mitt x 10002 = President Barack Obama x 10003 = Barack Obama x 10010 = Barack x 10011 = Barry x 10004 = Secretary of State Hillary Clinton x 10012 = Hillary Clinton x 10005 = Hillary Clinton x 10006 = Barack Obama x 10007 = Clinton

  19. A few observations ◮ The proposed generative model is clearly naive ◮ No model of discourse or of name structure ◮ The pseudocount α controls the likelihood of new names ◮ We assume a low mutation probability µ , so that most names are copied from earlier frequent names

  20. Outline Introduction Generative Model Mutation Model Inference Experiments Future Work

  21. Name variation as mutations “Mutations” capture different types of name variation: 1. Transcription errors: Barack → barack 2. Misspellings: Barack → Barrack 3. Abbreviations: Barack Obama → Barack O. 4. Nicknames: Barack → Barry 5. Dropping words: Barack Obama → Barack

  22. Mutation via probabilistic finite-state transducers The mutation model is a probabilistic finite-state transducer with four character operations: copy , substitute , delete , insert ◮ Character operations are conditioned on the right input character ◮ Latent regions of contiguous edits ◮ Back-off smoothing Transducer parameters θ determine the probability of being in different regions, and of the different character operations

  23. Example: Mutating a name Mr. Robert Kennedy Mr. Bobby Kennedy Example mutation M r . _ R o b e r t _ K e n n e d y $ M r . _[ Beginning of edit region

  24. Example: Mutating a name Mr. Robert Kennedy Mr. Bobby Kennedy Example mutation M r . _ R o b e r t _ K e n n e d y $ M r . _[B 1 substitution operation: (R, B)

  25. Example: Mutating a name Mr. Robert Kennedy Mr. Bobby Kennedy Example mutation M r . _ R o b e r t _ K e n n e d y $ M r . _[B o b 2 copy operations: (ε, o), (ε, b)

  26. Example: Mutating a name Mr. Robert Kennedy Mr. Bobby Kennedy Example mutation M r . _ R o b e r t _ K e n n e d y $ M r . _[B o b 3 deletion operations: (e,ε), (r,ε), (t, ε)

  27. Example: Mutating a name Mr. Robert Kennedy Mr. Bobby Kennedy Example mutation M r . _ R o b e r t _ K e n n e d y$ M r . _[B o b b y 2 insertion operations: (ε,b), (ε,y)

Recommend


More recommend