HassanB4 commited on
Commit
ec912ed
·
verified ·
1 Parent(s): 35926e6

Trim card: remove paraphrase content and Known Limitations section

Browse files
Files changed (1) hide show
  1. README.md +8 -103
README.md CHANGED
@@ -21,8 +21,7 @@ Synthetic Arabic text corpus generated by **NAMAA Community** in support of a
21
  submission to the [AraGenre 2026 shared task](https://wp.lancs.ac.uk/aragenre/)
22
  (hierarchical Arabic genre classification, ArabicNLP 2026 / EMNLP 2026). The
23
  data was produced as a candidate training-augmentation resource for the
24
- task's low-resource setting (140 real training examples, 110 real dev
25
- examples).
26
 
27
  ## Dataset Summary
28
 
@@ -32,29 +31,11 @@ across 3 subsets:
32
 
33
  | Subset | File | Count | Purpose |
34
  |---|---|---|---|
35
- | Part 1 — train-genre texts | `synth_train_genres.json` | 1,400 | matches the 7 specific genres seen in the real AraGenre **train** split |
36
- | Part 2 — dev-genre texts | `synth_dev_genres.json` | 900 | matches the 6 specific genres seen in the real AraGenre **dev** split |
37
  | Part 3 — hard borderline-case texts | `synth_hard_cases.json` | 300 | harder examples for 5 specific genres, intended to probe genre boundaries |
38
  | **Combined** | `synth_all.json` | **2,600** | union of Parts 1–3 |
39
 
40
- A separate, **not-newly-synthesized** file is also part of this release:
41
-
42
- | File | Count | Purpose |
43
- |---|---|---|
44
- | `paraphrase_train_genres.json` | 236 | Qwen paraphrases of the 140 real AraGenre TRAIN examples (up to 2 paraphrases per original text) |
45
-
46
- Total released records: 2,600 synthetic + 236 paraphrase = **2,836**.
47
-
48
- **Data-quality note (paraphrase file):** the Qwen paraphrase-generation step
49
- originally produced 280 records, but a pre-release audit found that 44 of
50
- them (~16%) contained stray non-Arabic (CJK/Chinese) character fragments —
51
- in several cases entire off-topic Chinese sentences (e.g. unrelated news
52
- text, or a model refusal message like "无法直接翻译这句话") — mixed into
53
- the Arabic `text` field, an unfiltered generation artifact. Those 44 records
54
- were **removed before publishing**; the 236 records in this release were
55
- verified to contain no CJK characters. If you obtain this file from an
56
- earlier/unofficial copy, re-run the same CJK filter before using it.
57
-
58
  ## Supported Tasks
59
 
60
  - `text-classification`: predict `broad_genre` and/or `specific_genre` for a
@@ -82,20 +63,6 @@ Example record from `synth_all.json`:
82
  }
83
  ```
84
 
85
- Example record from `paraphrase_train_genres.json` (extra `original_id`
86
- field linking back to the source real-train example):
87
-
88
- ```json
89
- {
90
- "id": "paraphrase_train_000001_0",
91
- "text": "...",
92
- "broad_genre": "Legal",
93
- "specific_genre": "Official Statements",
94
- "source": "synthetic_qwen_paraphrase",
95
- "original_id": "train_000001"
96
- }
97
- ```
98
-
99
  ### Data Fields
100
 
101
  | Field | Type | Description |
@@ -104,8 +71,7 @@ field linking back to the source real-train example):
104
  | `text` | string | Arabic text snippet |
105
  | `broad_genre` | string | one of the 6 AraGenre broad categories (`Informative`, `Interactive`, `Creative`, `Learning`, `Legal`, `Religious`) |
106
  | `specific_genre` | string | fine-grained genre subtype within the broad category |
107
- | `source` | string | `synthetic_deepseek` (Parts 1–3) or `synthetic_qwen_paraphrase` (paraphrase file) |
108
- | `original_id` | string | *(paraphrase file only)* ID of the real AraGenre train example the text paraphrases |
109
 
110
  ### Genre Breakdown
111
 
@@ -124,83 +90,22 @@ Regulations` (Legal), `Official Statements` (Legal).
124
  total): `Analytical Reports` (100), `Advice Columns` (50), `Educational
125
  Explanations` (50), `Motivational Writing` (50), `Religious Commentary`
126
  (50) — all dev-genre specific genres, generated to be harder / more
127
- boundary-ambiguous instances than Part 2. Note: the release does not carry
128
- explicit cross-genre "confusable pair" metadata per record; texts are only
129
- labelled with a single `broad_genre`/`specific_genre` pair each.
130
-
131
- **Paraphrase file** (`paraphrase_train_genres.json`, 236 texts total after
132
- CJK-contamination removal, roughly 28–39 per genre): covers the same 7
133
- specific genres as Part 1 (the real train-set taxonomy), up to 2 paraphrases
134
- per each of the 140 real train examples — `Cultural Commentary` 39,
135
- `Public Service Announcements` 37, `Administrative Regulations` 34,
136
- `Official Statements` 33, `Instructional Guides` 35, `Personal Narratives` 30,
137
- `Community Discussions` 28.
138
 
139
  ## Generation Method
140
 
141
- - **Model**: DeepSeek-V3 (Parts 1–3), Qwen (paraphrase file)
142
  - **Parallelism**: 12 parallel API workers
143
  - **Prompting**: each generation was prompted with the target genre's
144
  official AraGenre English definition and asked to produce an Arabic text
145
  matching that genre's communicative function, register, and structure —
146
  not just its topic.
147
- - The paraphrase file instead prompted Qwen to produce paraphrased variants
148
- of each real AraGenre train example, preserving its original genre labels.
149
 
150
  ## Intended Use
151
 
152
  This dataset is intended for **training-data augmentation** when building
153
- Arabic genre classifiers (e.g. fine-tuning a sentence encoder or text
154
- classifier). The AraGenre 2026 shared task rules permit participants to use
155
- LLMs to generate synthetic *training* data; they do **not** permit using an
156
- LLM directly on hidden test inputs at inference time in place of a genuinely
157
- trained/documented system. This dataset supports the former use only and
158
- should not be treated as a substitute for real, held-out evaluation data.
159
-
160
- ## Known Limitations
161
-
162
- **This dataset did not help, and measurably hurt, downstream fine-tuning
163
- performance in our own experiments.** When used to augment the real AraGenre
164
- training data for a fine-tuned E5-large sentence-encoder classifier
165
- (`e5_large_synthetic_augmented.py`, internal ID S32), the resulting model
166
- scored only **0.3549 hierarchical Macro F1** on the AraGenre dev set —
167
- substantially below the non-augmented baselines in the same model family
168
- (e.g. 0.9316 for the equivalent run without synthetic augmentation), and
169
- also well below the 0.4658 embedding-similarity baseline published by the
170
- task organizers. On a separate 5-genre held-out generalization check outside
171
- the AraGenre taxonomy entirely, the same model scored 0.4959 — again the
172
- second-worst result of everything tested.
173
-
174
- The likely causes, per our internal analysis:
175
- - **Synthetic:real data imbalance** — the augmented run mixed synthetic data
176
- into training at roughly a 10:1 synthetic-to-real ratio, which appears to
177
- have let the synthetic register dominate learned representations.
178
- - **Register/style mismatch** — DeepSeek-generated Arabic text differs
179
- systematically from the real, noisier, more dialectally varied Arabic in
180
- the task's hidden test set (Modern Standard Arabic, Classical Arabic, and
181
- multiple dialects, with both diacritised and undiacritised text).
182
-
183
- More broadly: this project's entire fine-tuned-encoder lineage (with or
184
- without this synthetic data) generalized poorly to the real hidden test
185
- set (collapsing to roughly 0.22–0.44 hierarchical F1), while a separate
186
- zero-shot LLM pipeline that used no fine-tuning and no synthetic-data
187
- augmentation scored 0.7013 hierarchical F1 (3rd of 18 teams) on the same
188
- hidden test set. This dataset is released for transparency and for other
189
- researchers to study *why* synthetic augmentation underperformed here, not
190
- as a recommended ingredient for a winning pipeline.
191
-
192
- We recommend downstream users treat this dataset as an experimental /
193
- research resource and validate any augmentation ratio carefully on their own
194
- held-out data. The paraphrase file's CJK-contaminated records (44 of the
195
- original 280) have already been removed from this release — see the note
196
- above.
197
-
198
- ## Dataset Creation
199
-
200
- Source data: the 140 real AraGenre 2026 train examples (public, released by
201
- the task organizers) and the 8-genre AraGenre taxonomy with English genre
202
- definitions. This dataset does not include any AraGenre dev or test gold
203
- labels.
204
 
205
  ## Authors
206
 
 
21
  submission to the [AraGenre 2026 shared task](https://wp.lancs.ac.uk/aragenre/)
22
  (hierarchical Arabic genre classification, ArabicNLP 2026 / EMNLP 2026). The
23
  data was produced as a candidate training-augmentation resource for the
24
+ task's low-resource setting.
 
25
 
26
  ## Dataset Summary
27
 
 
31
 
32
  | Subset | File | Count | Purpose |
33
  |---|---|---|---|
34
+ | Part 1 — train-genre texts | `synth_train_genres.json` | 1,400 | matches the 7 specific genres seen in the AraGenre **train** taxonomy |
35
+ | Part 2 — dev-genre texts | `synth_dev_genres.json` | 900 | matches the 6 specific genres seen in the AraGenre **dev** taxonomy |
36
  | Part 3 — hard borderline-case texts | `synth_hard_cases.json` | 300 | harder examples for 5 specific genres, intended to probe genre boundaries |
37
  | **Combined** | `synth_all.json` | **2,600** | union of Parts 1–3 |
38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  ## Supported Tasks
40
 
41
  - `text-classification`: predict `broad_genre` and/or `specific_genre` for a
 
63
  }
64
  ```
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  ### Data Fields
67
 
68
  | Field | Type | Description |
 
71
  | `text` | string | Arabic text snippet |
72
  | `broad_genre` | string | one of the 6 AraGenre broad categories (`Informative`, `Interactive`, `Creative`, `Learning`, `Legal`, `Religious`) |
73
  | `specific_genre` | string | fine-grained genre subtype within the broad category |
74
+ | `source` | string | `synthetic_deepseek` |
 
75
 
76
  ### Genre Breakdown
77
 
 
90
  total): `Analytical Reports` (100), `Advice Columns` (50), `Educational
91
  Explanations` (50), `Motivational Writing` (50), `Religious Commentary`
92
  (50) — all dev-genre specific genres, generated to be harder / more
93
+ boundary-ambiguous instances than Part 2.
 
 
 
 
 
 
 
 
 
 
94
 
95
  ## Generation Method
96
 
97
+ - **Model**: DeepSeek-V3
98
  - **Parallelism**: 12 parallel API workers
99
  - **Prompting**: each generation was prompted with the target genre's
100
  official AraGenre English definition and asked to produce an Arabic text
101
  matching that genre's communicative function, register, and structure —
102
  not just its topic.
 
 
103
 
104
  ## Intended Use
105
 
106
  This dataset is intended for **training-data augmentation** when building
107
+ Arabic genre classifiers. The AraGenre 2026 shared task rules permit
108
+ participants to use LLMs to generate synthetic *training* data.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
  ## Authors
111