Datasets:
Commit
•
d448693
1
Parent(s):
e842f53
initial commit
Browse files
README.md
CHANGED
@@ -1,3 +1,348 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pretty_name: FairLex
|
3 |
+
annotations_creators:
|
4 |
+
- found
|
5 |
+
- machine-generated
|
6 |
+
language_creators:
|
7 |
+
- found
|
8 |
+
languages:
|
9 |
+
ecthr:
|
10 |
+
- en
|
11 |
+
scotus:
|
12 |
+
- en
|
13 |
+
fscs:
|
14 |
+
- de
|
15 |
+
- fr
|
16 |
+
- it
|
17 |
+
cail:
|
18 |
+
- zh
|
19 |
+
licenses:
|
20 |
+
- cc-by-nc-sa-4.0
|
21 |
+
multilinguality:
|
22 |
+
ecthr:
|
23 |
+
- monolingual
|
24 |
+
scotus:
|
25 |
+
- monolingual
|
26 |
+
fscs:
|
27 |
+
- multilingual
|
28 |
+
cail:
|
29 |
+
- monolingual
|
30 |
+
size_categories:
|
31 |
+
ecthr:
|
32 |
+
- 10K<n<100K
|
33 |
+
scotus:
|
34 |
+
- 1K<n<10K
|
35 |
+
fscs:
|
36 |
+
- 10K<n<100K
|
37 |
+
cail:
|
38 |
+
- 100K<n<1M
|
39 |
+
source_datasets:
|
40 |
+
- extended
|
41 |
+
task_categories:
|
42 |
+
ecthr:
|
43 |
+
- text-classification
|
44 |
+
scotus:
|
45 |
+
- text-classification
|
46 |
+
fscs:
|
47 |
+
- text-classification
|
48 |
+
cail:
|
49 |
+
- text-classification
|
50 |
+
task_ids:
|
51 |
+
ecthr:
|
52 |
+
- multi-label-classification
|
53 |
+
- text-classification-other-bias
|
54 |
+
- text-classification-other-gender-bias
|
55 |
+
scotus:
|
56 |
+
- multi-class-classification
|
57 |
+
- topic-classification
|
58 |
+
- text-classification-other-bias
|
59 |
+
fscs:
|
60 |
+
- multi-class-classification
|
61 |
+
- text-classification-other-bias
|
62 |
+
cail:
|
63 |
+
- multi-class-classification
|
64 |
+
- text-classification-other-bias
|
65 |
+
- text-classification-other-gender-bias
|
66 |
+
---
|
67 |
+
|
68 |
+
# Dataset Card for "FairLex"
|
69 |
+
|
70 |
+
## Table of Contents
|
71 |
+
- [Dataset Description](#dataset-description)
|
72 |
+
- [Dataset Summary](#dataset-summary)
|
73 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
74 |
+
- [Languages](#languages)
|
75 |
+
- [Dataset Structure](#dataset-structure)
|
76 |
+
- [Data Instances](#data-instances)
|
77 |
+
- [Data Fields](#data-fields)
|
78 |
+
- [Data Splits](#data-splits)
|
79 |
+
- [Dataset Creation](#dataset-creation)
|
80 |
+
- [Curation Rationale](#curation-rationale)
|
81 |
+
- [Source Data](#source-data)
|
82 |
+
- [Annotations](#annotations)
|
83 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
84 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
85 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
86 |
+
- [Discussion of Biases](#discussion-of-biases)
|
87 |
+
- [Other Known Limitations](#other-known-limitations)
|
88 |
+
- [Additional Information](#additional-information)
|
89 |
+
- [Dataset Curators](#dataset-curators)
|
90 |
+
- [Licensing Information](#licensing-information)
|
91 |
+
- [Citation Information](#citation-information)
|
92 |
+
- [Contributions](#contributions)
|
93 |
+
|
94 |
+
## Dataset Description
|
95 |
+
|
96 |
+
- **Homepage:** https://github.com/coastalcph/fairlex
|
97 |
+
- **Repository:** https://github.com/coastalcph/fairlex
|
98 |
+
- **Paper:** TBA
|
99 |
+
- **Leaderboard:** -
|
100 |
+
- **Point of Contact:** [Ilias Chalkidis](mailto:ilias.chalkidis@di.ku.dk)
|
101 |
+
|
102 |
+
### Dataset Summary
|
103 |
+
|
104 |
+
We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP.
|
105 |
+
|
106 |
+
For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, CAIL). We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads. We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019). For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese CAIL). [[Link to Models](https://huggingface.co/models?search=fairlex)]
|
107 |
+
|
108 |
+
|
109 |
+
### Supported Tasks and Leaderboards
|
110 |
+
|
111 |
+
The supported tasks are the following:
|
112 |
+
|
113 |
+
<table>
|
114 |
+
<tr><td>Dataset</td><td>Source</td><td>Sub-domain</td><td>Language</td><td>Task Type</td><td>Classes</td><tr>
|
115 |
+
<tr><td>ECtHR</td><td> <a href="https://aclanthology.org/P19-1424/">Chalkidis et al. (2019)</a> </td><td>ECHR</td><td>en</td><td>Multi-label classification</td><td>10+1</td></tr>
|
116 |
+
<tr><td>SCOTUS</td><td> <a href="http://scdb.wustl.edu">Spaeth et al. (2020)</a></td><td>US Law</td><td>en</td><td>Multi-class classification</td><td>11</td></tr>
|
117 |
+
<tr><td>FSCS</td><td> <a href="https://aclanthology.org/2021.nllp-1.3/">Niklaus et al. (2021)</a></td><td>Swiss Law</td><td>en, fr , it</td><td>Binary classification</td><td>2</td></tr>
|
118 |
+
<tr><td>CAIL</td><td> <a href="https://arxiv.org/abs/2103.13868">Wang et al. (2021)</a></td><td>Chinese Law</td><td>zh</td><td>Multi-class classification</td><td>6</td></tr>
|
119 |
+
</table>
|
120 |
+
|
121 |
+
#### ecthr
|
122 |
+
|
123 |
+
The European Court of Human Rights (ECtHR) hears allegations that a state has breached human rights provisions of the European Convention of Human Rights (ECHR). We use the dataset of Chalkidis et al. (2021), which contains 11K cases from ECtHR's public database.
|
124 |
+
Each case is mapped to *articles* of the ECHR that were violated (if any). This is a multi-label text classification task. Given the facts of a case, the goal is to predict the ECHR articles that were violated, if any, as decided (ruled) by the court. The cases are chronologically split into training (9k, 2001--16), development (1k, 2016--17), and test (1k, 2017--19) sets.
|
125 |
+
|
126 |
+
To facilitate the study of fairness of text classifiers, we record for each case the following attributes: (a) The _defendant states_, which are the European states that allegedly violated the ECHR. The defendant states for each case is a subset of the 47 Member States of the Council of Europe; To have statistical support, we group defendant states in two groups:
|
127 |
+
Central-Eastern European states, on one hand, and all other states, as classified by the EuroVoc thesaurus. (b) The _applicant's age_ at the time of the decision. We extract the birth year of the applicant from the case facts, if possible, and classify its case in an age group (<=35, <=64, or older) ; and (c) the _applicant's gender_, extracted from the facts, if possible based on pronouns, classified in two categories (male, female).
|
128 |
+
|
129 |
+
#### scotus
|
130 |
+
|
131 |
+
The US Supreme Court (SCOTUS) is the highest federal court in the United States of America and generally hears only the most controversial or otherwise complex cases which have not been sufficiently well solved by lower courts.
|
132 |
+
We combine information from SCOTUS opinions with the Supreme Court DataBase (SCDB) (Spaeth, 2020). SCDB provides metadata (e.g., date of publication, decisions, issues, decision directions and many more) for all cases. We consider the available 14 thematic issue areas (e.g, Criminal Procedure, Civil Rights, Economic Activity, etc.). This is a single-label multi-class document classification task. Given the court opinion, the goal is to predict the issue area whose focus is on the subject matter of the controversy (dispute). SCOTUS contains a total of 9,262 cases that we split chronologically into 80% for training (7.4k, 1946--1982), 10% for development (914, 1982--1991) and 10% for testing (931, 1991--2016).
|
133 |
+
|
134 |
+
From SCDB, we also use the following attributes to study fairness: (a) the _type of respondent_, which is a manual categorization of respondents (defendants) in five categories (person, public entity, organization, facility and other); and (c) the _direction of the decision_, i.e., whether the decision is liberal, or conservative, provided by SCDB.
|
135 |
+
|
136 |
+
#### fscs
|
137 |
+
|
138 |
+
The Federal Supreme Court of Switzerland (FSCS) is the last level of appeal in Switzerland and similarly to SCOTUS, the court generally hears only the most controversial or otherwise complex cases which have not been sufficiently well solved by lower courts. The court often focus only on small parts of previous decision, where they discuss possible wrong reasoning by the lower court. The Swiss-Judgment-Predict dataset (Niklaus et al., 2021) contains more than 85K decisions from the FSCS written in one of three languages (50K German, 31K French, 4K Italian) from the years 2000 to 2020.
|
139 |
+
The dataset is not parallel, i.e., all cases are unique and decisions are written only in a single language.
|
140 |
+
The dataset provides labels for a simplified binary (_approval_, _dismissal_) classification task. Given the facts of the case, the goal is to predict if the plaintiff's request is valid or partially valid. The cases are also chronologically split into training (59.7k, 2000-2014), development (8.2k, 2015-2016), and test (17.4k, 2017-2020) sets.
|
141 |
+
|
142 |
+
The dataset provides three additional attributes: (a) the _language_ of the FSCS written decision, in either German, French, or Italian; (b) the _legal area_ of the case (public, penal, social, civil, or insurance law) derived from the chambers where the decisions were heard; and (c) the _region_ that denotes in which federal region was the case originated.
|
143 |
+
|
144 |
+
#### cail
|
145 |
+
|
146 |
+
The Supreme People's Court of China (CAIL) is the last level of appeal in China and considers cases that originated from the high people's courts concerning matters of national importance. The Chinese AI and Law challenge (CAIL) dataset (Xiao et al., 2018) is a Chinese legal NLP dataset for judgment prediction and contains over 1m criminal cases. The dataset provides labels for *relevant article of criminal code* prediction, *charge* (type of crime) prediction, imprisonment *term* (period) prediction, and monetary *penalty* prediction. The publication of the original dataset has been the topic of an active debate in the NLP community(Leins et al., 2020; Tsarapatsanis and Aletras, 2021; Bender, 2021).
|
147 |
+
|
148 |
+
Recently, Wang et al. (2021) re-annotated a subset of approx. 100k cases with demographic attributes. Specifically the new dataset has been annotated with: (a) the _applicant's gender_, classified in two categories (male, female); and (b) the _region_ of the court that denotes in which out of the 7 provincial-level administrative regions was the case judged. We re-split the dataset chronologically into training (80k, 2013-2017), development (12k, 2017-2018), and test (12k, 2018) sets. In our study, we re-frame the imprisonment _term_ prediction and examine a soft version, dubbed _crime severity_ prediction task, a multi-class classification task, where given the facts of a case, the goal is to predict how severe was the committed crime with respect to the imprisonment term. We approximate crime severity by the length of imprisonment term, split in 6 clusters (0, <=12, <=36, <=60, <=120, >120 months).
|
149 |
+
|
150 |
+
### Languages
|
151 |
+
|
152 |
+
We consider datasets in English, German, French, Italian, and Chinese.
|
153 |
+
|
154 |
+
## Dataset Structure
|
155 |
+
|
156 |
+
### Data Instances
|
157 |
+
|
158 |
+
#### ecthr
|
159 |
+
|
160 |
+
An example of 'train' looks as follows.
|
161 |
+
```json
|
162 |
+
{
|
163 |
+
"text": "1. At the beginning of the events relevant to the application, K. had a daughter, P., and a son, M., born in 1986 and 1988 respectively. ... ",
|
164 |
+
"labels": [4],
|
165 |
+
"defendant_state": 1,
|
166 |
+
"applicant_gender": 0,
|
167 |
+
"applicant_age": 0
|
168 |
+
}
|
169 |
+
```
|
170 |
+
|
171 |
+
#### scotus
|
172 |
+
|
173 |
+
An example of 'train' looks as follows.
|
174 |
+
```json
|
175 |
+
{
|
176 |
+
"text": "United States Supreme Court MICHIGAN NAT. BANK v. MICHIGAN(1961) No. 155 Argued: Decided: March 6, 1961 </s> R. S. 5219 permits States to tax the shares of national banks, but not at a greater rate than . . . other moneyed capital . . . coming into competition with the business of national banks ...",
|
177 |
+
"label": 9,
|
178 |
+
"decision_direction": 0,
|
179 |
+
"respondent_type": 3
|
180 |
+
}
|
181 |
+
```
|
182 |
+
|
183 |
+
#### fscs
|
184 |
+
|
185 |
+
An example of 'train' looks as follows.
|
186 |
+
```json
|
187 |
+
{
|
188 |
+
"text": "A.- Der 1955 geborene V._ war seit 1. September 1986 hauptberuflich als technischer Kaufmann bei der Firma A._ AG tätig und im Rahmen einer Nebenbeschäftigung (Nachtarbeit) ab Mai 1990 bei einem Bewachungsdienst angestellt gewesen, als er am 10....",
|
189 |
+
"label": 0,
|
190 |
+
"decision_language": 0,
|
191 |
+
"legal_are": 5,
|
192 |
+
"court_region": 2
|
193 |
+
}
|
194 |
+
```
|
195 |
+
|
196 |
+
#### cail
|
197 |
+
|
198 |
+
An example of 'train' looks as follows.
|
199 |
+
```json
|
200 |
+
{
|
201 |
+
"text": "南宁市兴宁区人民检察院指控,2012年1月1日19时许,被告人蒋满德在南宁市某某路某号某市场内,因经营问题与被害人杨某某发生争吵并推打 ...",
|
202 |
+
"label": 0,
|
203 |
+
"defendant_gender": 0,
|
204 |
+
"court_region": 5
|
205 |
+
}
|
206 |
+
```
|
207 |
+
|
208 |
+
### Data Fields
|
209 |
+
|
210 |
+
#### ecthr_a
|
211 |
+
- `text`: a `string` feature (factual paragraphs (facts) from the case description).
|
212 |
+
- `labels`: a list of classification labels (a list of violated ECHR articles, if any). The ECHR articles considered are 2, 3, 5, 6, 8, 9, 11, 14, P1-1.
|
213 |
+
- `defendant_state`: Defendant State group (C.E. European, Rest of Europe)
|
214 |
+
- `applicant_gender`: The gender of the applicant (N/A, Male, Female)
|
215 |
+
- `applicant_age`: The age group of the applicant (N/A, <=35, <=64, or older)
|
216 |
+
|
217 |
+
#### scotus
|
218 |
+
- `text`: a `string` feature (the court opinion).
|
219 |
+
- `label`: a classification label (the relevant issue area). The issue areas are: (1, Criminal Procedure), (2, Civil Rights), (3, First Amendment), (4, Due Process), (5, Privacy), (6, Attorneys), (7, Unions), (8, Economic Activity), (9, Judicial Power), (10, Federalism), (11, Interstate Relations), (12, Federal Taxation), (13, Miscellaneous), (14, Private Action).
|
220 |
+
- `respondent_type`: the type of respondent, which is a manual categorization (clustering) of respondents (defendants) in five categories (person, public entity, organization, facility and other).
|
221 |
+
- `decision_direction`: the direction of the decision, i.e., whether the decision is liberal, or conservative, provided by SCDB.
|
222 |
+
|
223 |
+
#### fscs
|
224 |
+
- `text`: a `string` feature (an EU law).
|
225 |
+
- `label`: a classification label (approval or dismissal of the appeal).
|
226 |
+
- `language`: the language of the FSCS written decision, (German, French, or Italian).
|
227 |
+
- `legal_area`: the legal area of the case (public, penal, social, civil, or insurance law) derived from the chambers where the decisions were heard.
|
228 |
+
- `region`: the region that denotes in which federal region was the case originated.
|
229 |
+
|
230 |
+
#### cail
|
231 |
+
- `text`: a `string` feature (the factual description of the case).
|
232 |
+
- `label`: a classification label (crime severity derived by the inprisonment term).
|
233 |
+
- `defendant_gender`: the gender of the defendant (Male or Female).
|
234 |
+
- `court_region`: the region of the court that denotes in which out of the 7 provincial-level administrative regions was the case judged.
|
235 |
+
|
236 |
+
### Data Splits
|
237 |
+
|
238 |
+
<table>
|
239 |
+
<tr><td>Dataset </td><td>Training</td><td>Development</td><td>Test</td><td>Total</td></tr>
|
240 |
+
<tr><td>ECtHR</td><td>9000</td><td>1000</td><td>1000</td><td>11000</td></tr>
|
241 |
+
<tr><td>SCOTUS</td><td>7417</td><td>914</td><td>931</td><td>9262</td></tr>
|
242 |
+
<tr><td>FSCS</td><td>59709</td><td>8208</td><td>17357</td><td>85274</td></tr>
|
243 |
+
<tr><td>CAIL</td><td>80000</td><td>12000</td><td>12000</td><td>104000</td></tr>
|
244 |
+
</table>
|
245 |
+
|
246 |
+
## Dataset Creation
|
247 |
+
|
248 |
+
### Curation Rationale
|
249 |
+
|
250 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
251 |
+
|
252 |
+
### Source Data
|
253 |
+
<table>
|
254 |
+
<tr><td>Dataset</td><td>Source</td><td>Sub-domain</td><td>Language</td><td>Task Type</td><td>Classes</td><tr>
|
255 |
+
<tr><td>ECtHR</td><td> <a href="https://aclanthology.org/P19-1424/">Chalkidis et al. (2019)</a> </td><td>ECHR</td><td>en</td><td>Multi-label classification</td><td>10+1</td></tr>
|
256 |
+
<tr><td>SCOTUS</td><td> <a href="http://scdb.wustl.edu">Spaeth et al. (2020)</a></td><td>US Law</td><td>en</td><td>Multi-class classification</td><td>14</td></tr>
|
257 |
+
<tr><td>FSCS</td><td> <a href="https://arxiv.org/abs/2109.00904">Chalkidis et al. (2021b)</a></td><td>Swiss Law</td><td>en, fr , it</td><td>Binary classification</td><td>2</td></tr>
|
258 |
+
<tr><td>CAIL</td><td> <a href="https://arxiv.org/abs/2105.03887">Wang et al. (2021)</a></td><td>Chinese Law</td><td>zh</td><td>Multi-class classification</td><td>6</td></tr>
|
259 |
+
</table>
|
260 |
+
|
261 |
+
#### Initial Data Collection and Normalization
|
262 |
+
|
263 |
+
We standardize and put together four datasets: ECtHR (Chalkidis et al., 2021), SCOTUS (Spaeth et al., 2020), FSCS (Niklaus et al., 2021), and CAIL (Xiao et al., 2018; Wang et al., 2021) that are already publicly available.
|
264 |
+
|
265 |
+
The benchmark is not a blind stapling of pre-existing resources, we augment previous datasets. In the case of ECtHR, previously unavailable demographic attributes have been released to make the original dataset amenable for fairness research. For SCOTUS, two resources (court opinions with SCDB) have been combined for the very same reason, while the authors provide a manual categorization (clustering) of respondents.
|
266 |
+
|
267 |
+
All datasets, except SCOTUS, are publicly available and have been previously published. If datasets or the papers where they were introduced in were not compiled or written by the authors, the original work is referenced and authors encourage FairLex users to do so as well. In fact, this work should only be referenced, in addition to citing the original work, when jointly experimenting with multiple FairLex datasets and using the FairLex evaluation framework and infrastructure, or use any newly introduced annotations (ECtHR, SCOTUS). Otherwise only the original work should be cited.
|
268 |
+
|
269 |
+
#### Who are the source language producers?
|
270 |
+
|
271 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
272 |
+
|
273 |
+
### Annotations
|
274 |
+
|
275 |
+
#### Annotation process
|
276 |
+
|
277 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
278 |
+
|
279 |
+
#### Who are the annotators?
|
280 |
+
|
281 |
+
All classification labels rely on legal decisions (ECtHR, FSCS, CAIL), or are part of archival procedures (SCOTUS).
|
282 |
+
|
283 |
+
The demographic attributes and other metadata are either provided by the legal databases or have been extracted automatically from the text by means of Regular Expressions.
|
284 |
+
|
285 |
+
Consider the **Dataset Description** and **Discussion of Biases** sections, and the original publication for detailed information.
|
286 |
+
|
287 |
+
### Personal and Sensitive Information
|
288 |
+
|
289 |
+
ECtHR cases are partially annonymized by the court. Its data is processed and made public in accordance with the European Data Protection Law.
|
290 |
+
SCOTUS cases may also contain personal information and the data is processed and made available by the US Supreme Court, whose proceedings are public. While this ensures compliance with US law, it is very likely that similarly to the ECtHR any processing could be justified by either implied consent or legitimate interest under European law. In FSCS, the names of the parties have been redacted by the court according to its official guidelines. To the best of our knowledge, same applies for CAIL.
|
291 |
+
|
292 |
+
## Considerations for Using the Data
|
293 |
+
|
294 |
+
### Social Impact of Dataset
|
295 |
+
|
296 |
+
This work can help practitioners to build assisting technology for legal professionals - with respect to the legal framework (jurisdiction) they operate -; technology that does not only rely on performance on majority groups, but also considering minorities and the robustness of the developed models across them. This is an important application field, where more research should be conducted (Tsarapatsanis and Aletras, 2021) in order to improve legal services and democratize law, but more importantly highlight (inform the audience on) the various multi-aspect shortcomings seeking a responsible and ethical (fair) deployment of technology.
|
297 |
+
|
298 |
+
### Discussion of Biases
|
299 |
+
|
300 |
+
The current version of FairLex covers a very small fraction of legal applications, jurisdictions, and protected attributes. The benchmark inevitably cannot cover "_everything in the whole wide (legal) world_" (Raji et al., 2021), but nonetheless we believe that the published resources will help critical research in the area of fairness.
|
301 |
+
|
302 |
+
Some protected attributes within the datasets are extracted automatically, i.e., the gender and the age of the ECtHR dataset, by means of Regular Expressions, or manually clustered by the authors, such as the defendant state in the ECtHR dataset and the respondent attribute in the SCOTUS dataset. Those assumptions and simplifications can hold in an experimental setting only and by no means should be used in real-world applications where some simplifications, e.g., binary gender, would not be appropriate. By no means, the authors or future users have to endorse the law standards or framework of the examined datasets, to any degree rather than the publication and use of the data.
|
303 |
+
|
304 |
+
### Other Known Limitations
|
305 |
+
|
306 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
307 |
+
|
308 |
+
|
309 |
+
## Additional Information
|
310 |
+
|
311 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
312 |
+
|
313 |
+
|
314 |
+
### Dataset Curators
|
315 |
+
|
316 |
+
*Ilias Chalkidis, Tommaso Pasini, Sheng Zhang, Letizia Tomada, Letizia, Sebastian Felix Schwemer, Anders Søgaard.*
|
317 |
+
*FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing.*
|
318 |
+
*2022. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.*
|
319 |
+
|
320 |
+
**Note:** The original datasets have been originally curated by others, and further curated (updated) by means of this benchmark.
|
321 |
+
|
322 |
+
|
323 |
+
### Licensing Information
|
324 |
+
|
325 |
+
The benchmark is released under a [Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) license. The licensing is compatible with the licensing of former material (remixed, transformed datasets).
|
326 |
+
|
327 |
+
|
328 |
+
### Citation Information
|
329 |
+
|
330 |
+
[*Ilias Chalkidis, Tommaso Pasini, Sheng Zhang, Letizia Tomada, Letizia, Sebastian Felix Schwemer, Anders Søgaard.*
|
331 |
+
*FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing.*
|
332 |
+
*2022. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland.*](https://arxiv.org/abs/xxx/xxx)
|
333 |
+
```
|
334 |
+
@inproceedings{chalkidis-etal-2022-fairlex,
|
335 |
+
author={Chalkidis, Ilias and Passini, Tommaso and Zhang, Sheng and
|
336 |
+
Tomada, Letizia and Schwemer, Sebastian Felix and Søgaard, Anders},
|
337 |
+
title={FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing},
|
338 |
+
booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics},
|
339 |
+
year={2022},
|
340 |
+
address={Dublin, Ireland}
|
341 |
+
}
|
342 |
+
```
|
343 |
+
|
344 |
+
**Note:** Please consider citing and give credits to all publications releasing the examined datasets.
|
345 |
+
|
346 |
+
### Contributions
|
347 |
+
|
348 |
+
Thanks to [@iliaschalkidis](https://github.com/iliaschalkidis) for adding this dataset.
|