This content originally appeared on HackerNoon and was authored by The FewShot Prompting Publication
:::info Authors:
(1) Silei Xu, Computer Science Department, Stanford University Stanford, CA with equal contribution {silei@cs.stanford.edu};
(2) Shicheng Liu, Computer Science Department, Stanford University Stanford, CA with equal contribution {shicheng@cs.stanford.edu};
(3) Theo Culhane, Computer Science Department, Stanford University Stanford, CA {tculhane@cs.stanford.edu};
(4) Elizaveta Pertseva, Computer Science Department, Stanford University Stanford, CA, {pertseva@cs.stanford.edu};
(5) Meng-Hsi Wu, Computer Science Department, Stanford University Stanford, CA, Ailly.ai {jwu@ailly.ai};
(6) Sina J. Semnani, Computer Science Department, Stanford University Stanford, CA, {sinaj@cs.stanford.edu};
(7) Monica S. Lam, Computer Science Department, Stanford University Stanford, CA, {lam@cs.stanford.edu}.
:::
Table of Links
WikiWebQuestions (WWQ) Dataset
Conclusions, Limitations, Ethical Considerations, Acknowledgements, and References
A. Examples of Recovering from Entity Linking Errors
A. Examples of Recovering from Entity Linking Errors
Here, we illustrate our proposal of using entity mentions to recover from entity linking errors. In the training set, we have the following example:
\ • Query: What year did giants win the world series?
\ • Original Gold SPARQL:
\ SELECT DISTINCT ?x WHERE { ?y wdt:sportsseasonofleagueorcompetition wd:Q265538; wdt:winner wd:Q308966; wdt:pointin_time ?x. }
\ • Gold Entity linker result:
\ World Series (QID Q265538),
San Francisco Giants (QID Q308966);
\ • ReFinED result:
\ San Francisco Giants (QID Q308966);
\ Here, the ReFinED entity linker model fails to identify the “World Series” entity. Our proposal of mentions gives the semantic parser a chance to recover from entity linker failures. To train the parser to generate mentions, our training includes samples like this:
\ • Query: what year did giants win the world series?
\ • ReFinED result:
\ San Francisco Giants (QID Q308966);
\ • Gold target:
\ SELECT DISTINCT ?x WHERE { ?y wdt:sportsseasonofleagueorcompetition; wd:worldseries; wdt:winner wd:Q308966; wdt:pointintime ?x. }
\ The gold query mentions “worldseries”. At inference time, our heuristics use the predicted mention to look up the actual Wikidata entity. For example, if wd:worldseries is predicted at inference time, our heuristics maps it back to wd:Q265538.
\
:::info This paper is available on arxiv under CC 4.0 license.
:::
\
This content originally appeared on HackerNoon and was authored by The FewShot Prompting Publication
The FewShot Prompting Publication | Sciencx (2024-06-23T01:15:14+00:00) Examples of Recovering from Entity Linking Errors. Retrieved from https://www.scien.cx/2024/06/23/examples-of-recovering-from-entitylinking-errors/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.