File size: 4,398 Bytes
9720daa
 
 
 
 
 
 
 
 
 
 
 
 
 
c337669
850f37e
9720daa
 
 
 
 
3cc2b02
 
 
 
9720daa
 
 
ffda122
9720daa
0b20306
 
 
 
3cc2b02
 
 
 
 
 
 
 
 
 
 
 
 
 
c3f3290
 
 
 
 
 
 
 
 
 
9720daa
 
 
 
 
 
 
 
 
 
 
 
 
32563f9
 
 
 
 
 
 
 
 
 
 
 
 
 
c3f3290
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9720daa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2db74c5
 
 
c337669
 
 
 
2db74c5
c337669
 
 
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
pretty_name: PluRule
language:
  - en
multilinguality:
  - multilingual
task_categories:
  - text-classification
  - image-text-to-text
tags:
  - reddit
  - moderation
  - multimodal
  - rule-violations
license: mit
viewer: false
---

# PluRule

**PluRule** is a multilingual, multimodal benchmark for detecting rule
violations when moderating pluralistic communities on social media: 13,371
discussion instances drawn from the Pushshift archives, each pairing a
rule-violating thread with a compliant thread from the same submission,
labeled against the community's own rules.

This dataset repository contains the dehydrated clustered PluRule splits and
the hydrate scripts needed to reconstruct comment bodies, submissions, and
optional media from the Pushshift archives.

For the full construction pipeline, evaluation harness, and paper reproduction
code, see the main GitHub repository:
[`osome-iu/PluRule`](https://github.com/osome-iu/PluRule).

## Citation

```bibtex
@inproceedings{plurule2025,
  title  = {{PluRule: A Benchmark for Moderating Pluralistic Communities
            on Social Media}},
  author = {Kachwala, Zoher and Truong, Bao Tran and Muralidharan, Rasika and
            Kwak, Haewoon and An, Jisun and Menczer, Filippo},
  year   = {2026},
  booktitle = {Proc. ACL},
  note   = {Forthcoming},
}
```

<p align="center">
  <img src="figures/plurule_example.png" alt="A PluRule example" width="720">
</p>

<p align="center"><em>
A PluRule example: GPT-5.2 (high reasoning) is given the target comment with
full context — subreddit description, rules, submission, and discussion thread —
and asked to pick which rule, if any, was violated.
</em></p>

## Files

```text
data/
├── train_dehydrated_clustered.json.zst
├── val_dehydrated_clustered.json.zst
└── test_dehydrated_clustered.json.zst
```

The released files contain IDs, metadata, rules, cluster labels, answer
options, and `[NEEDS_HYDRATION]` placeholders. Reddit text and media are not
redistributed directly.

## At a glance

| Split | Instances | Comments | Images | Subreddits / Clusters | Rules / Clusters | Languages |
|---|---:|---:|---:|---:|---:|---:|
| Train | 9,155 | 51,968 | 2,077 | 861 / 25 | 1,336 / 27 | 9 |
| Val   | 1,382 |  7,631 |   376 | 537 / 25 |   586 / 27 | 9 |
| Test  | 2,834 | 13,076 | 1,190 | **1,989 / 25** | 2,039 / 27 | 9 |
| **Total** | **13,371** | **72,675** | **3,643** | **1,989 / 25** | **2,885 / 27** | **9** |

Every instance contains (a) a root-to-leaf discussion thread where a
moderator cited a rule on the leaf comment, (b) a compliant sibling thread
from the same submission, (c) the submission itself with any images, and
(d) the subreddit's full rule set.

## Coverage

<p align="center">
  <img src="figures/clusters_2d.png" alt="Cluster landscape" width="900">
</p>

<p align="center"><em>
2D UMAP of subreddits and rules, colored by HDBSCAN cluster, with distributions
across subreddit and rule clusters.
</em></p>

## Benchmark Results

<p align="center">
  <img src="figures/forest_gpt5-high.png" alt="GPT-5.2 high forest plot" width="900">
</p>

<p align="center"><em>
Accuracy by subreddit cluster and rule cluster for GPT-5.2 high reasoning with
full context.
</em></p>

## Hydrate

Conda:

```bash
conda env create -f environment-hydrate.yml
conda activate plurule-hydrate
```

Without conda:

```bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements-hydrate.txt
```

You also need `aria2c` on `PATH` for torrent downloads.

Run from the dataset repository root:

```bash
python hydrate/0_download.py
python hydrate/1_hydrate_dataset.py
python hydrate/2_download_media.py  # optional
```

After hydration, the reconstructed files are:

```text
data/train_hydrated_clustered.json.zst
data/val_hydrated_clustered.json.zst
data/test_hydrated_clustered.json.zst
```

For details and troubleshooting, see [`hydrate/README.md`](hydrate/README.md).

## License

The released PluRule files in this repository are MIT-licensed in their
dehydrated form: IDs, metadata, labels, rules, and placeholders. The hydrate
scripts and supporting code are also released under the MIT License; see
[`LICENSE`](LICENSE).

Hydrated moderator comments, submissions, and media are not redistributed by
PluRule; they are reconstructed from the publicly archived Pushshift Reddit
corpus and remain bound by Reddit's terms of service.