Link paper, add text-retrieval task category, and add sample usage

#1
by nielsr HF Staff - opened
Files changed (2) hide show
  1. README.md +34 -86
  2. gold100_papers.json +0 -0
README.md CHANGED
@@ -1,65 +1,35 @@
1
  ---
 
 
2
  license: mit
 
 
3
  task_categories:
4
  - text-generation
5
  - text-retrieval
6
- language:
7
- - en
8
  tags:
9
- - related-work-generation
10
- - scholarly-positioning
11
- - citation-evaluation
12
- - retrieval-augmented-generation
13
  - code
14
- pretty_name: RWGBench
15
- size_categories:
16
- - 10K<n<100K
17
  ---
18
 
19
- # RWGBench
20
-
21
- RWGBench is a benchmark for evaluating related work generation as a
22
- citation-centric scholarly positioning task. It tests whether a system can
23
- select, organize, and frame prior work for a target paper, rather than only
24
- producing fluent text that resembles a reference related work section.
25
-
26
- It is presented in the paper
27
- [RWGBench: Evaluating Scholarly Positioning in Related Work Generation](https://huggingface.co/papers/2606.24894).
28
-
29
- The official repository containing evaluation scripts and baselines is
30
- available on GitHub at [BFTree/RWGBench](https://github.com/BFTree/RWGBench).
31
 
32
- ## Files
33
 
34
- | File | Entries | Description |
35
- |---|---:|---|
36
- | `papers.json` | 40,108 | Source paper collection with parsed metadata, sections, related work text, and citation identifiers. |
37
- | `corpus.json` | 1,091,394 | Retrieval corpus. Each entry contains `doc_id`, `title`, and `abstract`. |
38
- | `gold100_papers.json` | 100 | Peer-reviewed evaluation split used for the main experiments. The papers are matched to accepted ICLR, NeurIPS, or ICML records. |
39
 
40
- ## Evaluation Split Composition
41
 
42
- The `gold100_papers.json` split contains 100 peer-reviewed papers matched by
43
- exact normalized title to accepted OpenReview records. Its venue distribution
44
- is:
 
 
45
 
46
- | Venue | Papers |
47
- |---|---:|
48
- | ICLR | 42 |
49
- | NeurIPS | 34 |
50
- | ICML | 24 |
51
 
52
- The publication-year distribution is:
53
-
54
- | Year | Papers |
55
- |---|---:|
56
- | 2023 | 2 |
57
- | 2024 | 61 |
58
- | 2025 | 37 |
59
-
60
- ## Schema
61
-
62
- ### `corpus.json`
63
 
64
  ```json
65
  {
@@ -69,7 +39,12 @@ The publication-year distribution is:
69
  }
70
  ```
71
 
72
- ### `gold100_papers.json`
 
 
 
 
 
73
 
74
  ```json
75
  {
@@ -78,40 +53,17 @@ The publication-year distribution is:
78
  "abstract": "...",
79
  "introduction": "...",
80
  "related_work": "Model quantization. Quantization is a widely employed technique...",
81
- "citations": [191955, 118706, 517176, 264652, 1589],
82
- "peer_review": {
83
- "match_type": "normalized_title_exact",
84
- "primary_venue": {
85
- "venue": "ICLR",
86
- "year": "2024",
87
- "venue_id": "ICLR.cc/2024/Conference",
88
- "openreview_id": "UmMa3UNDAz"
89
- }
90
- }
91
  }
92
  ```
93
 
94
- `citations` contains `doc_id` values from `corpus.json`. The reference related
95
- work section is author-written text from the target paper. Venue metadata is
96
- stored under `peer_review.primary_venue`.
97
-
98
- ## Use With The Code Repository
99
-
100
- Download the dataset files into the GitHub repository's `data/` directory:
101
-
102
- ```text
103
- data/
104
- papers.json
105
- corpus.json
106
- gold100_papers.json
107
- ```
108
-
109
- Then run the generation and evaluation scripts from the code repository.
110
 
111
- ### Sample Usage
112
 
113
- For integration into custom pipelines using the evaluation code from the
114
- GitHub repository:
115
 
116
  ```python
117
  from src.evaluation.single_paper_evaluator import SinglePaperEvaluator
@@ -126,15 +78,11 @@ evaluator = SinglePaperEvaluator(
126
  result = evaluator.evaluate(
127
  paper_id=..., # int
128
  generated_text=..., # str, text with [1], [2], ... citations
129
- citation_list=[...], # list of doc_id ints or title strings; index i maps to citation [i+1]
130
  )
131
  ```
132
 
133
- ## Data Collection And Use
134
-
135
- RWGBench is built from public scholarly documents and metadata. Source
136
- documents may have heterogeneous licenses, so users should follow the license
137
- terms of the underlying papers when redistributing document-derived text.
138
-
139
- The benchmark is intended for research on retrieval-augmented generation,
140
- citation selection, scholarly writing evaluation, and related work generation.
 
1
  ---
2
+ language:
3
+ - en
4
  license: mit
5
+ size_categories:
6
+ - 10K<n<100K
7
  task_categories:
8
  - text-generation
9
  - text-retrieval
10
+ pretty_name: RWGBench
 
11
  tags:
 
 
 
 
12
  - code
 
 
 
13
  ---
14
 
15
+ RWGBench is a benchmark for evaluating related work generation (RWG) through the lens of **scholarly positioning** and citation decision-making, rather than surface-level text similarity. It is presented in the paper [RWGBench: Evaluating Scholarly Positioning in Related Work Generation](https://huggingface.co/papers/2606.24894).
 
 
 
 
 
 
 
 
 
 
 
16
 
17
+ The official repository containing evaluation scripts and baselines is available on GitHub at [BFTree/RWGBench](https://github.com/BFTree/RWGBench).
18
 
19
+ It includes a large-scale paper collection, a 1,091,394 retrieval corpus, 40,108 papers in computer science with full text and citation lists, a curated 100-paper test set and a fully automated evaluation framework.
 
 
 
 
20
 
21
+ ## Dataset Structure
22
 
23
+ | File | # Entries | Description |
24
+ | --------------------- | --------: | ------------------------------------------------------------ |
25
+ | `papers.json` | 40,108 | CS papers (arXiv 2020–2025) with full text and citation lists |
26
+ | `corpus.json` | 1,091,394 | Retrieval corpus — title + abstract per paper |
27
+ | `gold100_papers.json` | 100 | Quality-filtered test set with gold related work sections |
28
 
29
+ <details>
30
+ <summary>corpus.json &nbsp;—&nbsp; retrieval candidates</summary>
31
+ <br>
 
 
32
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  ```json
35
  {
 
39
  }
40
  ```
41
 
42
+ </details>
43
+
44
+ <details>
45
+ <summary>gold100_papers.json &nbsp;—&nbsp; test papers</summary>
46
+ <br>
47
+
48
 
49
  ```json
50
  {
 
53
  "abstract": "...",
54
  "introduction": "...",
55
  "related_work": "Model quantization. Quantization is a widely employed technique...",
56
+ "citations": [191955, 118706, 517176, 264652, 1589, 2253, ... ],
57
+ "overall_score": 90.6
 
 
 
 
 
 
 
 
58
  }
59
  ```
60
 
61
+ `citations` is a list of `doc_id`s from `corpus.json`. `overall_score` is a GLM-4 quality rating (0–100).
62
+ </details>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
+ ## Sample Usage
65
 
66
+ For integration into custom pipelines using the evaluation code from the GitHub repository:
 
67
 
68
  ```python
69
  from src.evaluation.single_paper_evaluator import SinglePaperEvaluator
 
78
  result = evaluator.evaluate(
79
  paper_id=..., # int
80
  generated_text=..., # str, text with [1], [2], ... citations
81
+ citation_list=[...], # list of doc_id (int) or title (str); index i [i+1]
82
  )
83
  ```
84
 
85
+ ## Data Collection & Ethics
86
+ - **Source**: Public arXiv metadata (2020–2025), respecting arXiv's [terms of use](https://arxiv.org/help/api/tou)
87
+ - **Copyright**: Only metadata (titles, abstracts) and author-written content; no full-text.
88
+ - **Ethical Use**: Intended for non-commercial research only
 
 
 
 
gold100_papers.json CHANGED
The diff for this file is too large to render. See raw diff