Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Denotational Type Classifier
|
| 2 |
+
|
| 3 |
+
This model classifies the denotational relation between two word senses, represented as a pair of definitions. It is based on `roberta-large` with a sequence-classification head and is trained for lexical-semantic relation classification.
|
| 4 |
+
|
| 5 |
+
The model predicts one of the following relation types:
|
| 6 |
+
|
| 7 |
+
* `generalization`
|
| 8 |
+
* `specialization`
|
| 9 |
+
* `metaphor`
|
| 10 |
+
* `metonymy`
|
| 11 |
+
* `homonymy`
|
| 12 |
+
* `antonymy`
|
| 13 |
+
|
| 14 |
+
The first five labels correspond to the denotational relation types evaluated in SenseRel. `antonymy` is included because it is present in the fine-tuning data, although it is not part of the expert-annotated SenseRel denotational test set.
|
| 15 |
+
|
| 16 |
+
## Model Details
|
| 17 |
+
|
| 18 |
+
* **Model type:** RoBERTa-large sequence classifier
|
| 19 |
+
* **Base model:** `roberta-large`
|
| 20 |
+
* **Task:** Denotational relation classification between word-sense definitions
|
| 21 |
+
* **Input:** Two sense definitions for the same lexical item
|
| 22 |
+
* **Output:** A denotational relation label
|
| 23 |
+
* **Language:** English
|
| 24 |
+
|
| 25 |
+
## Intended Use
|
| 26 |
+
|
| 27 |
+
This model is intended for research on lexical semantics, semantic change, polysemy, and sense-level semantic relations. It can be used to classify the relation between two definitions of a word sense, for example whether a newer meaning is a generalization, specialization, metaphorical extension, metonymic extension, homonym, or antonymic development of another meaning.
|
| 28 |
+
|
| 29 |
+
Example use cases include:
|
| 30 |
+
|
| 31 |
+
* studying semantic change in dictionaries or lexical resources;
|
| 32 |
+
* analyzing polysemous word senses;
|
| 33 |
+
* supporting sense-level semantic annotation;
|
| 34 |
+
* scaling exploratory studies of denotational change.
|
| 35 |
+
|
| 36 |
+
The model is not intended for high-stakes decision-making or for general-purpose natural language understanding outside lexical-semantic relation classification.
|
| 37 |
+
|
| 38 |
+
## Input Format
|
| 39 |
+
|
| 40 |
+
The model expects a pair of definitions. In the experiments, definitions were concatenated and passed to the classifier.
|
| 41 |
+
|
| 42 |
+
Example:
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
| 46 |
+
|
| 47 |
+
model_id = "YOUR_ORG/YOUR_MODEL_NAME"
|
| 48 |
+
|
| 49 |
+
classifier = pipeline(
|
| 50 |
+
"text-classification",
|
| 51 |
+
model=model_id,
|
| 52 |
+
tokenizer=model_id
|
| 53 |
+
)
|
| 54 |
+
|
| 55 |
+
definition_1 = "the young of the domestic cow"
|
| 56 |
+
definition_2 = "the young of various large mammals"
|
| 57 |
+
|
| 58 |
+
text = definition_1 + " </s></s> " + definition_2
|
| 59 |
+
classifier(text)
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
Expected output:
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
[{"label": "generalization", "score": 0.XX}]
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
## Training Data
|
| 69 |
+
|
| 70 |
+
The model was fine-tuned on a combined denotational-relation dataset referred to as `WN+CN+UM`, constructed from existing lexical-semantic resources:
|
| 71 |
+
|
| 72 |
+
* ChainNet for metaphor, metonymy, and homonymy relations;
|
| 73 |
+
* UniMet for additional metonymy examples;
|
| 74 |
+
* WordNet-based hypernym/hyponym pairs for generalization and specialization;
|
| 75 |
+
* auto-antonymy examples where available in the fine-tuning data.
|
| 76 |
+
|
| 77 |
+
These resources use definition or synset-pair information as proxies for relations between word senses.
|
| 78 |
+
|
| 79 |
+
## Training Procedure
|
| 80 |
+
|
| 81 |
+
Definitions were concatenated and passed through `roberta-large`. A linear classification layer followed by a softmax activation was added on top to predict the relation label.
|
| 82 |
+
|
| 83 |
+
Training setup:
|
| 84 |
+
|
| 85 |
+
* maximum epochs: 10
|
| 86 |
+
* batch size: 8
|
| 87 |
+
* learning-rate schedule: linear
|
| 88 |
+
* warm-up: 10% of total training steps
|
| 89 |
+
* learning-rate search: `{1e-4, 2e-4, 1e-5, 2e-5, 1e-6}`
|
| 90 |
+
* model selection: best weighted F1 on the development set
|
| 91 |
+
* selected learning rate: `1e-6`
|
| 92 |
+
|
| 93 |
+
## Evaluation
|
| 94 |
+
|
| 95 |
+
The model was evaluated on:
|
| 96 |
+
|
| 97 |
+
1. the `WN+CN+UM` test set;
|
| 98 |
+
2. the SenseRel expert-annotated denotational dataset.
|
| 99 |
+
|
| 100 |
+
| Dataset | Weighted F1 |
|
| 101 |
+
| ----------------------------- | ----------: |
|
| 102 |
+
| WN+CN+UM test set | 0.734 |
|
| 103 |
+
| SenseRel denotational dataset | 0.684 |
|
| 104 |
+
|
| 105 |
+
On the SenseRel denotational dataset, this model achieved the best reported score among the evaluated systems.
|
| 106 |
+
|
| 107 |
+
## Limitations
|
| 108 |
+
|
| 109 |
+
The model should be used with the following limitations in mind:
|
| 110 |
+
|
| 111 |
+
* It operates on definition pairs, not full diachronic corpus evidence.
|
| 112 |
+
* Training data uses lexical-resource relations as proxies for sense-level semantic change.
|
| 113 |
+
* The distinction between `generalization` and `specialization` is direction-sensitive and depends on the order of the input senses.
|
| 114 |
+
* Taxonomical relations such as `generalization` and `specialization` may be confused with one another.
|
| 115 |
+
* Figurative relations such as `metaphor` and `metonymy` can be difficult to separate, especially when senses are abstract or weakly related.
|
| 116 |
+
* `homonymy` is challenging because the model must distinguish true unrelatedness from distant semantic extension.
|
| 117 |
+
* The model was developed and evaluated for English noun sense definitions; performance may degrade on other parts of speech, languages, domains, or informal text.
|
| 118 |
+
|
| 119 |
+
## Bias, Risks, and Ethical Considerations
|
| 120 |
+
|
| 121 |
+
This model reflects the structure and assumptions of the lexical resources and annotation schemes used for training and evaluation. It may encode biases present in dictionary definitions, lexical databases, and historical semantic descriptions. Its predictions should be treated as linguistic classifications, not as definitive etymological or historical claims.
|
| 122 |
+
|
| 123 |
+
For scholarly use, model outputs should be validated by domain experts, especially when used to support claims about semantic change.
|
| 124 |
+
|
| 125 |
+
## Citation
|
| 126 |
+
|
| 127 |
+
If you use this model, please cite:
|
| 128 |
+
|
| 129 |
+
```bibtex
|
| 130 |
+
@inproceedings{cassotti-etal-2026-senserel,
|
| 131 |
+
title = "{S}ense{R}el: A Sense-Level Benchmark for Denotational and Connotational Meaning Relations",
|
| 132 |
+
author = "Cassotti, Pierluigi and
|
| 133 |
+
Baes, Naomi and
|
| 134 |
+
De Pascale, Stefano and
|
| 135 |
+
de S{\'a}, J{\'a}der Martins Camboim and
|
| 136 |
+
Periti, Francesco and
|
| 137 |
+
Haslam, Nick and
|
| 138 |
+
Geeraerts, Dirk and
|
| 139 |
+
Tahmasebi, Nina",
|
| 140 |
+
booktitle = "Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
|
| 141 |
+
month = jul,
|
| 142 |
+
year = "2026",
|
| 143 |
+
address = "San Diego, California, United States",
|
| 144 |
+
publisher = "Association for Computational Linguistics",
|
| 145 |
+
url = "https://aclanthology.org/2026.acl-long.20/",
|
| 146 |
+
pages = "499--515"
|
| 147 |
+
}
|
| 148 |
+
```
|