Skip to content
/ green-ir Public

Code and data for the paper "Reduce, Reuse, Recycle: Green Information Retrieval Research"

Notifications You must be signed in to change notification settings

ielab/green-ir

Repository files navigation

Green Information Retrieval

Reduce, Reuse, Recycle: Green IR Research

Welcome to the code and data repository for ielab's research on Green Information Retrieval. This repository contains information and material for our papers:

For the SIGIR 2022 perspective paper Reduce, Reuse, Recycle: Green Information Retrieval Research, this repository contains the raw data (see: experiments.toml) that we collected for each of the end-to-end ad-hoc retrieval pipeline (using the CodeCarbon library) and the additional emission data for household appliances and travel as seen in the paper. The code in this repository can be used to recreate all the tables and plots, and we also have the scripts used to capture the power and running times for the retrieval experiments.

Recreate tables

  • python create_tables.py
  • Creates both the main experiment table and the comparison table containing additional data.
  • Outputs the two tables into the output folder.
  • This script generates a csv file for generating the two figures below.

Recreate figures

  • python create_query_usage_plot.py (creates Figure 1)
  • python create_effectiveness_plot.py (creates Figure 2)
  • Separately creates the two figures, and outputs them into the output folder.

Power usage scripts

  • These scripts (prefixed with ex_ to indicate the experiments) are available in the scripts folder.
  • Please see the Pipfile for the exact versions of pyserini used.
  • There is also the script used to create the synthetic letor dataset, and a script for downloading the msmarco unicoil vectors.

WandC: a WandB Plug-in for Metering Energy, Carbon and Water

Our plug-in that allows you to metering Energy and Water consumption along with carbon emmissions associated with your experiment is available at https://github.com/ielab/wandc.

About

Code and data for the paper "Reduce, Reuse, Recycle: Green Information Retrieval Research"

Resources

Stars

Watchers

Forks