780 likes | 947 Views
Easy-First Coreference Resolution. Veselin Stoyanov and Jason Eisner Johns Hopkins University. Coreference Resolution. Given a peace of text, identify all noun phrases that refer to the same real-world entity. Coreference Resolution.
E N D
Easy-First Coreference Resolution VeselinStoyanov and Jason Eisner Johns Hopkins University
Coreference Resolution • Given a peace of text, identify all noun phrases that refer to the same real-world entity
Coreference Resolution • Given a peace of text, identify all noun phrases that refer to the same real-world entity Former Boxing Champion Mike Tyson revealed that he had caught Hollywood heartthrob Brad Pitt with his ex-wife Robin Givens. In an interview Tyson said that he was amidst the process of divorce from Givens in the late 1980s when he found her sleeping with the Hollywood star.
Coreference Resolution • Given a peace of text, identify all noun phrases that refer to the same real-world entity Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Coreference Resolution • Given a peace of text, identify all noun phrases that refer to the same real-world entity Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Coreference Resolution • Typical pairwise approaches • But, inherently global task Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Coreference Resolution • Inherently global task Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Coreference Resolution • Inherently global task Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Global Approaches to Coreference Resolution • A difficult search problem • Exponentially many possible clusterings • Recent approaches have been successful: • [Culotta et al., 2007] – train a global coherence measure; use greedy inference at test time • [Poon and Domingos, 2008] – use an unsupervised approach based on MLNs to enforce global properties
A Different Approach • A Multi-Pass Sieve [Raghunathan et al., 2010] • Build coreference clusters incrementally • Applying sieves (hand-specified rules) of decreasing precision and increasing recall • Winner of the CoNLL-2011 shared task
A Multi-Pass Sieve for Coreference Resolution [Raghunathan et al. 2010] Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
A Multi-Pass Sieve for Coreference Resolution [Raghunathan et al. 2010] • Sieves: • Exact match Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
A Multi-Pass Sieve for Coreference Resolution [Raghunathan et al. 2010] • Sieves: • Exact match • Precise Constructs Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
A Multi-Pass Sieve for Coreference Resolution [Raghunathan et al. 2010] • Sieves: • Exact match • Precise Constructs Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
A Multi-Pass Sieve for Coreference Resolution [Raghunathan et al. 2010] • Sieves: • Exact match • Precise Constructs • Strict Head match Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
A Multi-Pass Sieve for Coreference Resolution [Raghunathan et al. 2010] • Sieves: • Exact match • Precise Constructs • Strict Head match Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
A Multi-Pass Sieve for Coreference Resolution [Raghunathan et al. 2010] • Sieves: • Exact match • Precise Constructs • Strict Head match …………. 7. Pronoun Matching Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
A Multi-Pass Sieve for Coreference Resolution [Raghunathan et al. 2010] • Sieves: • Exact match • Precise Constructs • Strict Head match …………. 7. Pronoun Matching Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Easy-First Coreference Resolution • Use the same idea: • Greedily build clusters • Using more information for the less confident decisions • But learn automatically what constitutes an “easy” (confident) decision • Leads to empirical improvement over the Multi-Pass Sieve approach and a competitive baseline
Easy-First Coreference Resolution • Incrementally and greedily build clusters • Using machine learning • Learn policy for the test time inference procedure
Easy-First Coreference: Talk Overview • Test-Time Inference • Training Algorithm • Experimental results
Test-Time Inference • Begin with each NP in a separate cluster Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Begin with each NP in a separate cluster Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson Cluster 3 SemType: person Gender: male Number: single Names: NIL Cluster 3 SemType: person Gender: male Number: single Names: NIL Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a feature vector for each pair of clusters Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a feature vector for each pair of clusters SemTypeSame = False Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a feature vector for each pair of clusters SemTypeSame = False SemTypeComp = True Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a feature vector for each pair of clusters SemTypeSame = False SemTypeComp = True NumberSame = True Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a feature vector for each pair of clusters SemTypeSame = False SemTypeComp = True NumberSame = True RoleAppositive = True Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a feature vector for each pair of clusters SemTypeSame = False SemTypeComp = True NumberSame = True RoleAppositive = True SentDistance = 0 Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a feature vector for each pair of clusters SemTypeSame = False SemTypeComp = True NumberSame = True RoleAppositive = True SentDistance = 0 Global features Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson Local features Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a feature vector for each pair of clusters Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson f(joinij) Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a weight for each join action Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson w.f(joinij) Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Compute a weight for each join action Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson weightij= w.f(joinij) Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson aij=argmaxij w.f(joinij) Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Cluster 1 SemType: uknwn Gender: uknwn Number: single Names: NIL Cluster 2 SemType: person Gender: male Number: single Names: Mike Tyson a12=argmaxij w.f(joinij) Former Boxing ChampionMike Tysonrevealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Cluster 15 SemType: person Gender: male Number: single Names: Mike Tyson a12=argmaxij w.f(joinij) Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pitt with hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Perform the action with the highest weight Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Test-Time Inference • Until the action with the highest weight is the special action HALT Former Boxing ChampionMike Tyson revealed that he had caught Hollywood heartthrobBrad Pittwith hisex-wifeRobin Givens. In an interviewTysonsaid that he was amidst the process of divorce from Givensin the late 1980s when he found her sleeping with the Hollywood star.
Time complexity • Let n = the number of mentions in a document • At most n clusters at any time • s = number of joins performed by the algorithm • s<=n at most n joins before HALT (usually much less)