-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add regressions for uniCOIL for MS MARCO V1 (#1757)
+ missing regressions for uniCOIL passage on DL19, DL20 + brand new regressions for uniCOIL segmented doc on dev, DL19, and DL20
- Loading branch information
Showing
20 changed files
with
943 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Anserini: Regressions for [DL19 (Doc)](https://trec.nist.gov/data/deep2019.html) Segmented w/ uniCOIL | ||
|
||
This page describes experiments, integrated into Anserini's regression testing framework, for the TREC 2019 Deep Learning Track (Document Ranking Task) on the MS MARCO document collection using relevance judgments from NIST. | ||
These runs use the uniCOIL model described in the following paper: | ||
|
||
> Jimmy Lin and Xueguang Ma. [A Few Brief Notes on DeepImpact, COIL, and a Conceptual Framework for Information Retrieval Techniques.](https://arxiv.org/abs/2106.14807) _arXiv:2106.14807_. | ||
The experiments on this page are not actually reported in the paper. | ||
However, the model is the same, applied to the MS MARCO _segmented_ document corpus (with doc2query-T5 expansions). | ||
Retrieval uses MaxP technique, where we select the score of the highest-scoring passage from a document as the score for that document to produce a document ranking. | ||
|
||
The exact configurations for these regressions are stored in [this YAML file](../src/main/resources/regression/dl19-doc-segmented-unicoil.yaml). | ||
Note that this page is automatically generated from [this template](../src/main/resources/docgen/templates/dl19-doc-segmented-unicoil.template) as part of Anserini's regression pipeline, so do not modify this page directly; modify the template instead. | ||
|
||
## Indexing | ||
|
||
Typical indexing command: | ||
|
||
``` | ||
target/appassembler/bin/IndexCollection \ | ||
-collection JsonVectorCollection \ | ||
-input /path/to/msmarco-doc-segmented-unicoil \ | ||
-index indexes/lucene-index.msmarco-doc-segmented-unicoil/ \ | ||
-generator DefaultLuceneDocumentGenerator \ | ||
-threads 16 -impact -pretokenized \ | ||
>& logs/log.msmarco-doc-segmented-unicoil & | ||
``` | ||
|
||
The directory `/path/to/msmarco-doc-segmented-unicoil/` should be a directory containing the compressed `jsonl` files that comprise the corpus. | ||
|
||
For additional details, see explanation of [common indexing options](common-indexing-options.md). | ||
|
||
## Retrieval | ||
|
||
Topics and qrels are stored in [`src/main/resources/topics-and-qrels/`](../src/main/resources/topics-and-qrels/). | ||
The regression experiments here evaluate on the 43 topics for which NIST has provided judgments as part of the TREC 2019 Deep Learning Track. | ||
The original data can be found [here](https://trec.nist.gov/data/deep2019.html). | ||
|
||
After indexing has completed, you should be able to perform retrieval as follows: | ||
|
||
``` | ||
target/appassembler/bin/SearchCollection \ | ||
-index indexes/lucene-index.msmarco-doc-segmented-unicoil/ \ | ||
-topics src/main/resources/topics-and-qrels/topics.dl19-doc.unicoil.0shot.tsv.gz -topicreader TsvInt \ | ||
-output runs/run.msmarco-doc-segmented-unicoil.unicoil.topics.dl19-doc.unicoil.0shot.tsv.gz \ | ||
-impact -pretokenized -hits 10000 -selectMaxPassage -selectMaxPassage.delimiter "#" -selectMaxPassage.hits 1000 & | ||
``` | ||
|
||
Evaluation can be performed using `trec_eval`: | ||
|
||
``` | ||
tools/eval/trec_eval.9.0.4/trec_eval -c -m map -c -m recall.100 -c -m ndcg_cut.10 src/main/resources/topics-and-qrels/qrels.dl19-doc.txt runs/run.msmarco-doc-segmented-unicoil.unicoil.topics.dl19-doc.unicoil.0shot.tsv.gz | ||
``` | ||
|
||
## Effectiveness | ||
|
||
With the above commands, you should be able to reproduce the following results: | ||
|
||
MAP | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL19 (Doc)](https://trec.nist.gov/data/deep2019.html)| 0.3508 | | ||
|
||
|
||
R@100 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL19 (Doc)](https://trec.nist.gov/data/deep2019.html)| 0.4099 | | ||
|
||
|
||
nDCG@10 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL19 (Doc)](https://trec.nist.gov/data/deep2019.html)| 0.6396 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Anserini: Regressions for [DL19 (Passage)](https://trec.nist.gov/data/deep2019.html) w/ uniCOIL | ||
|
||
This page describes document expansion experiments, integrated into Anserini's regression testing framework, for the TREC 2019 Deep Learning Track (Passage Ranking Task) on the MS MARCO passage collection using relevance judgments from NIST. | ||
These runs use the uniCOIL model described in the following paper: | ||
|
||
> Jimmy Lin and Xueguang Ma. [A Few Brief Notes on DeepImpact, COIL, and a Conceptual Framework for Information Retrieval Techniques.](https://arxiv.org/abs/2106.14807) _arXiv:2106.14807_. | ||
The experiments on this page are not actually reported in the paper. | ||
However, the model is the same. | ||
|
||
Note that the NIST relevance judgments provide far more relevant passages per topic, unlike the "sparse" judgments provided by Microsoft (these are sometimes called "dense" judgments to emphasize this contrast). | ||
For additional instructions on working with MS MARCO passage collection, refer to [this page](experiments-msmarco-passage.md). | ||
|
||
The exact configurations for these regressions are stored in [this YAML file](../src/main/resources/regression/dl19-passage-unicoil.yaml). | ||
Note that this page is automatically generated from [this template](../src/main/resources/docgen/templates/dl19-passage-unicoil.template) as part of Anserini's regression pipeline, so do not modify this page directly; modify the template instead. | ||
|
||
## Indexing | ||
|
||
Typical indexing command: | ||
|
||
``` | ||
target/appassembler/bin/IndexCollection \ | ||
-collection JsonVectorCollection \ | ||
-input /path/to/msmarco-passage-unicoil \ | ||
-index indexes/lucene-index.msmarco-passage-unicoil/ \ | ||
-generator DefaultLuceneDocumentGenerator \ | ||
-threads 16 -impact -pretokenized \ | ||
>& logs/log.msmarco-passage-unicoil & | ||
``` | ||
|
||
The directory `/path/to/msmarco-passage-unicoil/` should be a directory containing the compressed `jsonl` files that comprise the corpus. | ||
|
||
For additional details, see explanation of [common indexing options](common-indexing-options.md). | ||
|
||
## Retrieval | ||
|
||
Topics and qrels are stored in [`src/main/resources/topics-and-qrels/`](../src/main/resources/topics-and-qrels/). | ||
The regression experiments here evaluate on the 43 topics for which NIST has provided judgments as part of the TREC 2019 Deep Learning Track. | ||
The original data can be found [here](https://trec.nist.gov/data/deep2019.html). | ||
|
||
After indexing has completed, you should be able to perform retrieval as follows: | ||
|
||
``` | ||
target/appassembler/bin/SearchCollection \ | ||
-index indexes/lucene-index.msmarco-passage-unicoil/ \ | ||
-topics src/main/resources/topics-and-qrels/topics.dl19-passage.unicoil.0shot.tsv.gz -topicreader TsvInt \ | ||
-output runs/run.msmarco-passage-unicoil.unicoil.topics.dl19-passage.unicoil.0shot.tsv.gz \ | ||
-impact -pretokenized & | ||
``` | ||
|
||
Evaluation can be performed using `trec_eval`: | ||
|
||
``` | ||
tools/eval/trec_eval.9.0.4/trec_eval -m map -c -l 2 src/main/resources/topics-and-qrels/qrels.dl19-passage.txt runs/run.msmarco-passage-unicoil.unicoil.topics.dl19-passage.unicoil.0shot.tsv.gz | ||
tools/eval/trec_eval.9.0.4/trec_eval -m recall.1000 -c -l 2 src/main/resources/topics-and-qrels/qrels.dl19-passage.txt runs/run.msmarco-passage-unicoil.unicoil.topics.dl19-passage.unicoil.0shot.tsv.gz | ||
tools/eval/trec_eval.9.0.4/trec_eval -m ndcg_cut.10 -c src/main/resources/topics-and-qrels/qrels.dl19-passage.txt runs/run.msmarco-passage-unicoil.unicoil.topics.dl19-passage.unicoil.0shot.tsv.gz | ||
``` | ||
|
||
## Effectiveness | ||
|
||
With the above commands, you should be able to reproduce the following results: | ||
|
||
MAP | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL19 (Passage)](https://trec.nist.gov/data/deep2019.html)| 0.4612 | | ||
|
||
|
||
R@1000 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL19 (Passage)](https://trec.nist.gov/data/deep2019.html)| 0.8292 | | ||
|
||
|
||
nDCG@10 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL19 (Passage)](https://trec.nist.gov/data/deep2019.html)| 0.7024 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Anserini: Regressions for [DL20 (Doc)](https://trec.nist.gov/data/deep2020.html) Segmented w/ uniCOIL | ||
|
||
This page describes experiments, integrated into Anserini's regression testing framework, for the TREC 2020 Deep Learning Track (Document Ranking Task) on the MS MARCO document collection using relevance judgments from NIST. | ||
These runs use the uniCOIL model described in the following paper: | ||
|
||
> Jimmy Lin and Xueguang Ma. [A Few Brief Notes on DeepImpact, COIL, and a Conceptual Framework for Information Retrieval Techniques.](https://arxiv.org/abs/2106.14807) _arXiv:2106.14807_. | ||
The experiments on this page are not actually reported in the paper. | ||
However, the model is the same, applied to the MS MARCO _segmented_ document corpus (with doc2query-T5 expansions). | ||
Retrieval uses MaxP technique, where we select the score of the highest-scoring passage from a document as the score for that document to produce a document ranking. | ||
|
||
The exact configurations for these regressions are stored in [this YAML file](../src/main/resources/regression/dl20-doc-segmented-unicoil.yaml). | ||
Note that this page is automatically generated from [this template](../src/main/resources/docgen/templates/dl20-doc-segmented-unicoil.template) as part of Anserini's regression pipeline, so do not modify this page directly; modify the template instead. | ||
|
||
## Indexing | ||
|
||
Typical indexing command: | ||
|
||
``` | ||
target/appassembler/bin/IndexCollection \ | ||
-collection JsonVectorCollection \ | ||
-input /path/to/msmarco-doc-segmented-unicoil \ | ||
-index indexes/lucene-index.msmarco-doc-segmented-unicoil/ \ | ||
-generator DefaultLuceneDocumentGenerator \ | ||
-threads 16 -impact -pretokenized \ | ||
>& logs/log.msmarco-doc-segmented-unicoil & | ||
``` | ||
|
||
The directory `/path/to/msmarco-doc-segmented-unicoil/` should be a directory containing the compressed `jsonl` files that comprise the corpus. | ||
|
||
For additional details, see explanation of [common indexing options](common-indexing-options.md). | ||
|
||
## Retrieval | ||
|
||
Topics and qrels are stored in [`src/main/resources/topics-and-qrels/`](../src/main/resources/topics-and-qrels/). | ||
The regression experiments here evaluate on the 45 topics for which NIST has provided judgments as part of the TREC 2020 Deep Learning Track. | ||
The original data can be found [here](https://trec.nist.gov/data/deep2020.html). | ||
|
||
After indexing has completed, you should be able to perform retrieval as follows: | ||
|
||
``` | ||
target/appassembler/bin/SearchCollection \ | ||
-index indexes/lucene-index.msmarco-doc-segmented-unicoil/ \ | ||
-topics src/main/resources/topics-and-qrels/topics.dl20.unicoil.0shot.tsv.gz -topicreader TsvInt \ | ||
-output runs/run.msmarco-doc-segmented-unicoil.unicoil.topics.dl20.unicoil.0shot.tsv.gz \ | ||
-impact -pretokenized -hits 10000 -selectMaxPassage -selectMaxPassage.delimiter "#" -selectMaxPassage.hits 1000 & | ||
``` | ||
|
||
Evaluation can be performed using `trec_eval`: | ||
|
||
``` | ||
tools/eval/trec_eval.9.0.4/trec_eval -c -m map -c -m recall.100 -c -m ndcg_cut.10 src/main/resources/topics-and-qrels/qrels.dl20-doc.txt runs/run.msmarco-doc-segmented-unicoil.unicoil.topics.dl20.unicoil.0shot.tsv.gz | ||
``` | ||
|
||
## Effectiveness | ||
|
||
With the above commands, you should be able to reproduce the following results: | ||
|
||
MAP | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL20 (Doc)](https://trec.nist.gov/data/deep2019.html)| 0.4126 | | ||
|
||
|
||
R@100 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL20 (Doc)](https://trec.nist.gov/data/deep2019.html)| 0.6210 | | ||
|
||
|
||
nDCG@10 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL20 (Doc)](https://trec.nist.gov/data/deep2019.html)| 0.6033 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Anserini: Regressions for [DL20 (Passage)](https://trec.nist.gov/data/deep2020.html) w/ uniCOIL | ||
|
||
This page describes document expansion experiments, integrated into Anserini's regression testing framework, for the TREC 2020 Deep Learning Track (Passage Ranking Task) on the MS MARCO passage collection using relevance judgments from NIST. | ||
These runs use the uniCOIL model described in the following paper: | ||
|
||
> Jimmy Lin and Xueguang Ma. [A Few Brief Notes on DeepImpact, COIL, and a Conceptual Framework for Information Retrieval Techniques.](https://arxiv.org/abs/2106.14807) _arXiv:2106.14807_. | ||
The experiments on this page are not actually reported in the paper. | ||
However, the model is the same. | ||
|
||
Note that the NIST relevance judgments provide far more relevant passages per topic, unlike the "sparse" judgments provided by Microsoft (these are sometimes called "dense" judgments to emphasize this contrast). | ||
For additional instructions on working with MS MARCO passage collection, refer to [this page](experiments-msmarco-passage.md). | ||
|
||
The exact configurations for these regressions are stored in [this YAML file](../src/main/resources/regression/dl20-passage-unicoil.yaml). | ||
Note that this page is automatically generated from [this template](../src/main/resources/docgen/templates/dl20-passage-unicoil.template) as part of Anserini's regression pipeline, so do not modify this page directly; modify the template instead. | ||
|
||
## Indexing | ||
|
||
Typical indexing command: | ||
|
||
``` | ||
target/appassembler/bin/IndexCollection \ | ||
-collection JsonVectorCollection \ | ||
-input /path/to/msmarco-passage-unicoil \ | ||
-index indexes/lucene-index.msmarco-passage-unicoil/ \ | ||
-generator DefaultLuceneDocumentGenerator \ | ||
-threads 16 -impact -pretokenized \ | ||
>& logs/log.msmarco-passage-unicoil & | ||
``` | ||
|
||
The directory `/path/to/msmarco-passage-unicoil/` should be a directory containing the compressed `jsonl` files that comprise the corpus. | ||
|
||
For additional details, see explanation of [common indexing options](common-indexing-options.md). | ||
|
||
## Retrieval | ||
|
||
Topics and qrels are stored in [`src/main/resources/topics-and-qrels/`](../src/main/resources/topics-and-qrels/). | ||
The regression experiments here evaluate on the 54 topics for which NIST has provided judgments as part of the TREC 2020 Deep Learning Track. | ||
The original data can be found [here](https://trec.nist.gov/data/deep2020.html). | ||
|
||
After indexing has completed, you should be able to perform retrieval as follows: | ||
|
||
``` | ||
target/appassembler/bin/SearchCollection \ | ||
-index indexes/lucene-index.msmarco-passage-unicoil/ \ | ||
-topics src/main/resources/topics-and-qrels/topics.dl20.unicoil.0shot.tsv.gz -topicreader TsvInt \ | ||
-output runs/run.msmarco-passage-unicoil.unicoil.topics.dl20.unicoil.0shot.tsv.gz \ | ||
-impact -pretokenized & | ||
``` | ||
|
||
Evaluation can be performed using `trec_eval`: | ||
|
||
``` | ||
tools/eval/trec_eval.9.0.4/trec_eval -c -m map -l 2 src/main/resources/topics-and-qrels/qrels.dl20-passage.txt runs/run.msmarco-passage-unicoil.unicoil.topics.dl20.unicoil.0shot.tsv.gz | ||
tools/eval/trec_eval.9.0.4/trec_eval -c -m ndcg_cut.10 src/main/resources/topics-and-qrels/qrels.dl20-passage.txt runs/run.msmarco-passage-unicoil.unicoil.topics.dl20.unicoil.0shot.tsv.gz | ||
tools/eval/trec_eval.9.0.4/trec_eval -c -m recip_rank -l 2 src/main/resources/topics-and-qrels/qrels.dl20-passage.txt runs/run.msmarco-passage-unicoil.unicoil.topics.dl20.unicoil.0shot.tsv.gz | ||
tools/eval/trec_eval.9.0.4/trec_eval -c -m recall.100 -l 2 src/main/resources/topics-and-qrels/qrels.dl20-passage.txt runs/run.msmarco-passage-unicoil.unicoil.topics.dl20.unicoil.0shot.tsv.gz | ||
tools/eval/trec_eval.9.0.4/trec_eval -c -m recall.1000 -l 2 src/main/resources/topics-and-qrels/qrels.dl20-passage.txt runs/run.msmarco-passage-unicoil.unicoil.topics.dl20.unicoil.0shot.tsv.gz | ||
``` | ||
|
||
## Effectiveness | ||
|
||
With the above commands, you should be able to reproduce the following results: | ||
|
||
MAP | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL20 (Passage)](https://trec.nist.gov/data/deep2020.html)| 0.4430 | | ||
|
||
|
||
nDCG@10 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL20 (Passage)](https://trec.nist.gov/data/deep2020.html)| 0.6745 | | ||
|
||
|
||
MRR | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL20 (Passage)](https://trec.nist.gov/data/deep2020.html)| 0.8235 | | ||
|
||
|
||
R@100 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL20 (Passage)](https://trec.nist.gov/data/deep2020.html)| 0.7006 | | ||
|
||
|
||
R@1000 | uniCOIL w/ doc2query-T5 expansion| | ||
:---------------------------------------|-----------| | ||
[DL20 (Passage)](https://trec.nist.gov/data/deep2020.html)| 0.8430 | |
Oops, something went wrong.