Datasets:

Tasks:
Other
Modalities:
Text
Formats:
json
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 4,022 Bytes
e471f63
2f1d07f
 
e471f63
ae14682
 
 
 
 
 
e471f63
 
 
 
ae14682
e471f63
ae14682
e471f63
ae14682
e471f63
ae14682
e471f63
ae14682
 
e471f63
 
ae14682
e471f63
 
 
 
 
 
 
ae14682
e471f63
ae14682
e471f63
ae14682
 
e471f63
 
 
ae14682
 
 
e471f63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19e902b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
language:
- en
license: apache-2.0
task_categories:
- other
tags:
- topic-modeling
- llm
- benchmark
---

# Dataset Overview

This repository contains benchmark datasets for LLM-based topic discovery and traditional topic models.  These datasets allow for comparison of different topic modeling approaches, including LLMs.  Original data source: [GitHub](https://github.com/ahoho/topics?tab=readme-ov-file#download-data)

**Paper:** [LLM-based Topic Discovery](https://arxiv.org/abs/2502.14748)

## Bills Dataset

The Bills Dataset is a collection of legislative documents with 32,661 bill summaries (train) from the 110th–114th U.S. Congresses, categorized into 21 top-level and 112 secondary-level topics.

- **Train Split**: 32.7K summaries
- **Test Split**: 15.2K summaries

### Loading the Bills Dataset
```python
from datasets import load_dataset

# Load the train and test splits
train_dataset = load_dataset('zli12321/Bills', split='train')
test_dataset = load_dataset('zli12321/Bills', split='test')
```

## Wiki Dataset

The Wiki dataset consists of 14,290 articles spanning 15 high-level and 45 mid-level topics, including widely recognized public topics such as music and anime.

- **Train Split**: 14.3K summaries
- **Test Split**: 8.02K summaries

## Synthetic Science Fiction (Pending internal clearance process)

**Please cite:**

If you find the data and papers useful, please cite accordingly.  See below for relevant citations based on your use case.

If you find LLM-based topic generation has hallucination or instability, and coherence not applicable to LLM-based topic models:
```
@misc{li2025largelanguagemodelsstruggle,
      title={Large Language Models Struggle to Describe the Haystack without Human Help: Human-in-the-loop Evaluation of LLMs}, 
      author={Zongxia Li and Lorena Calvo-Bartolomé and Alexander Hoyle and Paiheng Xu and Alden Dima and Juan Francisco Fung and Jordan Boyd-Graber},
      year={2025},
      eprint={2502.14748},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2502.14748}, 
}
```


If you use the human annotations or preprocessing:
```
@inproceedings{li-etal-2024-improving,
    title = "Improving the {TENOR} of Labeling: Re-evaluating Topic Models for Content Analysis",
    author = "Li, Zongxia  and
      Mao, Andrew  and
      Stephens, Daniel  and
      Goel, Pranav  and
      Walpole, Emily  and
      Dima, Alden  and
      Fung, Juan  and
      Boyd-Graber, Jordan",
    editor = "Graham, Yvette  and
      Purver, Matthew",
    booktitle = "Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = mar,
    year = "2024",
    address = "St. Julian{'}s, Malta",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.eacl-long.51/",
    pages = "840--859"
}
```

If you want to use the claim coherence does not generalize to neural topic models:
```
@inproceedings{hoyle-etal-2021-automated,
    title = "Is Automated Topic Evaluation Broken? The Incoherence of Coherence",
    author = "Hoyle, Alexander Miserlis  and
      Goel, Pranav  and
      Hian-Cheong, Andrew and
      Peskov, Denis and
      Boyd-Graber, Jordan and
      Resnik, Philip",
    booktitle = "Advances in Neural Information Processing Systems",
    year = "2021",
    url = "https://arxiv.org/abs/2107.02173",
}
```


If you evaluate ground-truth evaluations or stability:
```
@inproceedings{hoyle-etal-2022-neural,
    title = "Are Neural Topic Models Broken?",
    author = "Hoyle, Alexander Miserlis  and
      Goel, Pranav  and
      Sarkar, Rupak  and
      Resnik, Philip",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2022",
    year = "2022",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.findings-emnlp.390",
    doi = "10.18653/v1/2022.findings-emnlp.390",
    pages = "5321--5344",
}
```