Model Card for GalXLM-R-enptsp for Semantic Role Labeling

This model is fine-tuned on a version of XLM RoBERTa Base which is pre-trained on the SRL task for English, Portuguese, and Spanish, and is one of 24 models introduced as part of this project. Prior to this work, there were no published Galician datasets or models for SRL.

Model Details

Model Description

GalXLM-R-enptsp for Semantic Role Labeling (SRL) is a transformers model, leveraging XLM-R's extensive pretraining on 100 languages to achieve better SRL predictions for low-resource Galician. This model is additionally pre-trained on the SRL task for English, Portuguese, and Spanish. It was fine-tuned on Galician with the following objectives:

Labels are formatted as: r#:tag, where r# links the token to a specific verbal root of index #, and tag identifies the token as the verbal root (root) or an individual argument (arg0/arg1/arg2)

Model Sources

Uses

This model is intended to be used to develop and improve natural language processing tools for Galician.

Bias, Risks, and Limitations

Galician is a low-resource language which prior to this project lacked a semantic role labeling dataset. As such, the dataset used to train this model is extrememly limited and could benefit from the inclusion of additional sentences and manual validation by native speakers.

Training Details

Training Data

This model was pre-trained on the OntoNotes 5.0 English SRL corpus, PropBank.Br Portuguese SRL corpus, and the SpanishSRL Dataset produced as part of this same project. This model was fine-tuned on the "train" portion of the GalicianSRL Dataset produced as part of this same project.

Training Hyperparameters

Evaluation

Testing Data

This model was tested on the "test" portion of the GalicianSRL Dataset produced as part of this same project.

Metrics

seqeval is a Python framework for sequence labeling evaluation. It can evaluate the performance of chunking tasks such as named-entity recognition, part-of-speech tagging, and semantic role labeling. It supplies scoring both overall and per label type.

Overall:

Per label type:

Results

Label Precision Recall f1-score Support
0:arg0 0.80 0.67 0.73 485
0:arg1 0.66 0.74 0.69 483
0:arg2 0.68 0.73 0.70 264
0:root 0.93 0.93 0.93 948
1:arg0 0.67 0.64 0.66 348
1:arg1 0.68 0.70 0.69 443
1:arg2 0.57 0.67 0.61 211
1:root 0.84 0.86 0.85 802
2:arg0 0.58 0.60 0.59 240
2:arg1 0.63 0.65 0.64 331
2:arg2 0.54 0.69 0.61 156
2:root 0.75 0.80 0.77 579
3:arg0 0.48 0.49 0.49 137
3:arg1 0.62 0.55 0.58 216
3:arg2 0.46 0.66 0.55 110
3:root 0.69 0.73 0.71 374
4:arg0 0.54 0.47 0.50 70
4:arg1 0.55 0.60 0.57 109
4:arg2 0.44 0.42 0.43 66
4:root 0.61 0.60 0.60 206
5:arg0 0.37 0.50 0.43 20
5:arg1 0.56 0.47 0.51 57
5:arg2 0.33 0.32 0.33 28
5:root 0.57 0.51 0.54 102
6:arg0 0.38 0.23 0.29 13
6:arg1 0.26 0.36 0.31 25
6:arg2 0.00 0.00 0.00 8
6:root 0.40 0.38 0.39 42
7:arg0 0.00 0.00 0.00 3
7:arg1 1.00 0.12 0.22 8
7:arg2 0.00 0.00 0.00 5
7:root 0.20 0.19 0.19 16
8:arg0 0.00 0.00 0.00 1
8:arg1 0.00 0.00 0.00 2
8:arg2 0.00 0.00 0.00 1
8:root 0.00 0.00 0.00 7
9:arg0 0.00 0.00 0.00 1
9:arg1 0.00 0.00 0.00 2
9:arg2 0.00 0.00 0.00 1
9:root 0.00 0.00 0.00 3
10:arg1 0.00 0.00 0.00 1
10:root 0.00 0.00 0.00 2
micro avg 0.70 0.72 0.71 6926
macro avg 0.40 0.39 0.38 6926
weighted avg 0.70 0.72 0.71 6926
tot root avg 0.45 0.45 0.45 3081
tot A0 avg 0.38 0.36 0.37 1318
tot A1 avg 0.45 0.38 0.38 1677
tot A2 avg 0.30 0.35 0.32 850
tot r0 avg 0.77 0.77 0.76 2180
tot r1 avg 0.69 0.72 0.70 1804
tot r2 avg 0.63 0.69 0.65 1306
tot r3 avg 0.56 0.61 0.58 837
tot r4 avg 0.54 0.52 0.53 451
tot r5 avg 0.46 0.45 0.45 207
tot r6 avg 0.26 0.24 0.25 88
tot r7 avg 0.30 0.08 0.10 32
tot r8 avg 0.00 0.00 0.00 11
tot r9 avg 0.00 0.00 0.00 7
tot r10 avg 0.00 0.00 0.00 3

Citation

BibTeX:

@mastersthesis{bruton-galician-srl-23,
    author = {Bruton, Micaella},
    title = {BERTie Bott's Every Flavor Labels: A Tasty Guide to Developing a Semantic Role Labeling Model for Galician},
    school = {Uppsala University},
    year = {2023},
    type = {Master's thesis},
}