Awesome
OSIRRC Docker Image for Entity Retrieval
This is the docker image for the Entity Retrieval conforming to the OSIRRC jig for the Open-Source IR Replicability Challenge (OSIRRC) at SIGIR 2019. This image is available on Docker Hub. The OSIRRC 2019 image library contains a log of successful executions of this image.
- Supported hooks:
init
,index
,search
Quick Start
This docker runs the entity retrieval task :
The following jig command can be used to install the requirements packages and index DBPedia URIs:
Pass a dummy collection, this collection is not used in this docker :
python3 run.py prepare \
--repo osirrc2019/entityretrieval \
--collections robust04=path/to/robust004=trecweb
The following jig command can be used to perform an entity retrieval run:
python run.py search \
--repo osirrc2019/entityretrieval \
--output out/entityretrieval \
--qrels qrels/qrels.robust04.txt \
--topic topics/topics.robust04.txt \
--collection robust04 \
--opts model=sdm_elr threshold=0.1 nfields=10 lambdas=0.1,0.05,0.05,0.8
The output file will show up under the follwing file name format:
[Model][nfields]_th[threshold]_Lambda[lambdaE]_[lambdaU]_[lambdaO]_[LambdaT].treceval
For instance with the mentioned retrieval, the output would be : edm_elr10_th0.1_0.1_0.05_0.05_0.8
The arguments model[required], threshold[optional], nfields[optional] and lambdas[required for some models] can be customized. Acceptable values for the customized arguments are:
- model:
- "lm"[2]
- "mlm-tc"[3]
- "mlm-all"[4]
- "prms"[5]
- "sdm" [6]
- "fsdm"[7]
- "lm_elr"[1]
- "mlm_elr"[1]
- "mlm-tc_elr"[1]
- "prms_elr"[1]
- "sdm_elr"[1]
- "fsdm_elr"[1]
-
threshold: Entity linking threshold which is a float number, default=0.1
-
nfields Number of fields which is an integer number, default=10
-
lambdas comma separated values for lambdas mentioned in the paper e.g, lambdaE,lambdaU,lambdaO,LambdaT which are float numbers and lambdaE+ lambdaU+ lambdaO+ LambdaT =1 .
Refrences
[1] F. Hasibi, K. Balog, and S.E. Bratsberg. “Exploiting Entity Linking in Queries for Entity Retrieval”, In proceedings of ACM SIGIR International Conference on the Theory of Information Retrieval (ICTIR ’16), Newark, DE, USA, Sep 2016.
[2] C. Zhai. Statistical language models for information retrieval a critical review. Found. Trends Inf. Retr., 2:137–213, 2008.
[3] R. Neumayer, K. Balog, and K. Nørvåg. When simple is (more than) good enough: Effective semantic search with (almost) no semantics. In Proc. of ECIR, pages 540–543, 2012.
[4] P. Ogilvie and J. Callan. Combining document representations for known-item search. Proc. of SIGIR, pages 143–150, 2003.
[5] J. Kim, X. Xue, and W. B. Croft. A probabilistic retrieval model for semistructured data. In Proc. of ECIR, pages 228–239, 2009.
[6] D. Metzler and W. B. Croft. A Markov Random Field model for term dependencies. In Proc. of SIGIR, pages 472–479, 2005.
[7] N. Zhiltsov, A. Kotov, and F. Nikolaev. Fielded sequential dependence model for ad-hoc entity retrieval in the Web of Data. In Proc. of SIGIR, pages 253–262, 2015