【閱讀筆記】Entity Linking 相關
最近搞一些 Entity Linking 相關的事情看了看下 yahoo 的這兩篇工作和開源的(FEL)[https://github.com/yahoo/FEL]
Fast and Space-Efficient Entity Linking in Queries
ABSTRACT
Entity Linking一般需要在在下游的檢索之前完成,typically within milliseconds.
In this paper we propose a probabilistic model that leverages user-generated information on the web to link queries to entities in a knowledge base.
演算法的快速和高效主要得益於下面三點:
- 忽略不同實體之間的依賴關係
- 使用 hashing and compression techniques 減少記憶體佔用
- 為了使演算法具有上下文知識而不犧牲速度,我們將查詢詞和實體的分佈語義之間的距離考慮到模型中。
INTRODUCTION
Linking free text to entities typically comprises three steps:
- 識別 candidate mentions, i.e., which part(s) of the text to link
- 識別 candidate entities for each mention
- 基於一些背景和一致性的概念來消除候選實體的歧義
MODELING ENTITY LINKING
我們的模型通過錨文字或者使用者的點選行為建立了從 entities 和 entities 的別名的連線(本文只考慮維基百科中的錨文字以及維基百科結果上的網路搜尋結果中的點選)。
解決的問題:
- 自動分割查詢
- 為每個分割選擇正確的實體
我們的快速實體連結器(Fast Entity Linker, FEL)通過計算每個分段-實體對的概率分數,然後優化整個查詢的分數來解決此問題。不採用任何監督,讓模型和資料以無引數方式執行;也可以新增利用標註的訓練資料的附加層,增強模型的效能。
Fast Entity Linker
定義符號:
- :an event space where is the set of all sequences and the set of all entities known to the system.
- :一系列的term
- :一系列的 ,分詞結果
- :一系列的 ,實體集合
- :indicates if is an alias
- :$indicates if is an alias pointing (linking/clicked) to .
- : indicates which collection acts as a source of information query log or Wikipedia ( or )
- is the count of in
- is the count of in
令
為輸入查詢,
為所有可能的分詞集合。 該演算法將返回實體
的集合,通過最大化
意思是:給定查詢
,先得到所有可能的分詞結果的集合
,每個分詞結果找到每個分詞對應的最有可能的實體的概率,最大化整體的概率。
上式假設 entities 之間相互獨立。Each individual entity/segment probability is then estimated as:
意思是:每個分詞
對應實體
的概率由兩部分資訊組成,一部分來源於 query log
,一部分來源於Wikipedia
;對於每種來源,
有兩種可能性,一種是
是一個
的別名,一種是
不是
的一種別名。
顯然