Skip to content

Latest commit

 

History

History
139 lines (105 loc) · 11.3 KB

regressions-cw12b13.md

File metadata and controls

139 lines (105 loc) · 11.3 KB

Anserini: Regressions for ClueWeb12-B13

This page describes regressions for the Web Tracks from TREC 2013 and 2014 using the ClueWeb12-B13 collection. The exact configurations for these regressions are stored in this YAML file. Note that this page is automatically generated from this template as part of Anserini's regression pipeline, so do not modify this page directly; modify the template instead.

Indexing

Typical indexing command:

nohup sh target/appassembler/bin/IndexCollection -collection ClueWeb12Collection -input /path/to/cw12b13 \
 -index lucene-index.cw12b13.pos+docvectors+rawdocs -generator JsoupGenerator -threads 44 \
 -storePositions -storeDocvectors -storeRawDocs >& log.cw12b13.pos+docvectors+rawdocs &

The directory /path/to/cw12-b13/ should be the root directory of the ClueWeb12-B13 collection, i.e., /path/to/cw12-b13/ should bring up a bunch of subdirectories, ClueWeb12_00 to ClueWeb12_18.

For additional details, see explanation of common indexing options.

Retrieval

Topics and qrels are stored in src/main/resources/topics-and-qrels/, downloaded from NIST:

After indexing has completed, you should be able to perform retrieval as follows:

nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.201-250.txt \
 -bm25 -output run.cw12b13.bm25.topics.web.201-250.txt &
nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.251-300.txt \
 -bm25 -output run.cw12b13.bm25.topics.web.251-300.txt &

nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.201-250.txt \
 -bm25 -rm3 -output run.cw12b13.bm25+rm3.topics.web.201-250.txt &
nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.251-300.txt \
 -bm25 -rm3 -output run.cw12b13.bm25+rm3.topics.web.251-300.txt &

nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.201-250.txt \
 -bm25 -axiom -axiom.deterministic -axiom.beta 0.1 -rerankCutoff 20 -output run.cw12b13.bm25+ax.topics.web.201-250.txt &
nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.251-300.txt \
 -bm25 -axiom -axiom.deterministic -axiom.beta 0.1 -rerankCutoff 20 -output run.cw12b13.bm25+ax.topics.web.251-300.txt &

nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.201-250.txt \
 -qld -output run.cw12b13.ql.topics.web.201-250.txt &
nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.251-300.txt \
 -qld -output run.cw12b13.ql.topics.web.251-300.txt &

nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.201-250.txt \
 -qld -rm3 -output run.cw12b13.ql+rm3.topics.web.201-250.txt &
nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.251-300.txt \
 -qld -rm3 -output run.cw12b13.ql+rm3.topics.web.251-300.txt &

nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.201-250.txt \
 -qld -axiom -axiom.deterministic -axiom.beta 0.1 -rerankCutoff 20 -output run.cw12b13.ql+ax.topics.web.201-250.txt &
nohup target/appassembler/bin/SearchCollection -index lucene-index.cw12b13.pos+docvectors+rawdocs \
 -topicreader Webxml -topics src/main/resources/topics-and-qrels/topics.web.251-300.txt \
 -qld -axiom -axiom.deterministic -axiom.beta 0.1 -rerankCutoff 20 -output run.cw12b13.ql+ax.topics.web.251-300.txt &

Evaluation can be performed using trec_eval and gdeval.pl:

eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.bm25.topics.web.201-250.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.bm25.topics.web.201-250.txt
eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.bm25.topics.web.251-300.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.bm25.topics.web.251-300.txt

eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.bm25+rm3.topics.web.201-250.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.bm25+rm3.topics.web.201-250.txt
eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.bm25+rm3.topics.web.251-300.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.bm25+rm3.topics.web.251-300.txt

eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.bm25+ax.topics.web.201-250.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.bm25+ax.topics.web.201-250.txt
eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.bm25+ax.topics.web.251-300.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.bm25+ax.topics.web.251-300.txt

eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.ql.topics.web.201-250.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.ql.topics.web.201-250.txt
eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.ql.topics.web.251-300.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.ql.topics.web.251-300.txt

eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.ql+rm3.topics.web.201-250.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.ql+rm3.topics.web.201-250.txt
eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.ql+rm3.topics.web.251-300.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.ql+rm3.topics.web.251-300.txt

eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.ql+ax.topics.web.201-250.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.201-250.txt run.cw12b13.ql+ax.topics.web.201-250.txt
eval/gdeval.pl src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.ql+ax.topics.web.251-300.txt
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.web.251-300.txt run.cw12b13.ql+ax.topics.web.251-300.txt

Effectiveness

With the above commands, you should be able to replicate the following results:

MAP BM25 +RM3 +Ax QL +RM3 +Ax
TREC 2013 Web Track (Topics 201-250) 0.0468 0.0408 0.0435 0.0397 0.0322 0.0358
TREC 2014 Web Track (Topics 251-300) 0.0224 0.0210 0.0180 0.0235 0.0203 0.0183
P30 BM25 +RM3 +Ax QL +RM3 +Ax
TREC 2013 Web Track (Topics 201-250) 0.2113 0.1673 0.1833 0.1780 0.1513 0.1507
TREC 2014 Web Track (Topics 251-300) 0.1273 0.1207 0.1107 0.1373 0.1173 0.1147
NDCG20 BM25 +RM3 +Ax QL +RM3 +Ax
TREC 2013 Web Track (Topics 201-250) 0.1286 0.1119 0.1287 0.1106 0.0920 0.1141
TREC 2014 Web Track (Topics 251-300) 0.1183 0.1081 0.0963 0.1177 0.1004 0.0989
ERR20 BM25 +RM3 +Ax QL +RM3 +Ax
TREC 2013 Web Track (Topics 201-250) 0.0838 0.0753 0.0941 0.0768 0.0553 0.0780
TREC 2014 Web Track (Topics 251-300) 0.1201 0.1066 0.0928 0.1092 0.0928 0.0900

Replication Log