Description
The Human Value Detection at CLEF 2024 task consists of two sub-tasks: the first is to detect the presence or absence of each of these 19 values, while the second is to detect whether the value is attained or constrained.
Our system introduces a cascade model approach for the detection and stance classification of the predefined set of human values. It consists of two subsystems: one for detecting the presence of each human value and another for establishing the stance (if the sentence attains or constrains) of each human value. Each subsystem is designed and fine-tuned separately using a DeBERTa model as base.
- Subsystem 1: Its primary function is to identify the presence of human values within sentences. By combining the 'attained' and 'constrained' labels to indicate an overall presence, it streamlines the multi-label classification task, simplifying it to a binary classification for each of the 19 human values (presence vs. absence).
- Subsystem 2: it receives the outputs of subsystem 1 and classifies the stance towards each present human value in a binary classification (attained vs. constrained). This system transforms the sentences dataset into premise-hypothesis pairs, where each sentence is the premise, a value is the hypothesis, and the “attained” and “constrained” labels are the stance.
Given that subsystem 1 focuses on detecting the presence of human values in the text, and subsystem 2 focuses on the stances towards each detected human value, this cascade model approach improves the granularity of text classification.
This model is the responsible of the Subsystem 2 and accomplishes the second sub-task.
How to use
from transformers import pipeline
model = "VictorYeste/deberta-based-human-value-stance-detection"
tokenizer = "VictorYeste/deberta-based-human-value-stance-detection"
stance_detection = pipeline("text-classification", model=model, tokenizer=tokenizer, top_k=None)
stance_detection("We are not humble. Humility")
This returns the following:
[[{'label': 'constrained', 'score': 0.7598766088485718},
{'label': 'attained', 'score': 0.24012333154678345}]]
Performance
This work proposes a system to resolve the challenge sub-tasks related to human values detection. Our approach uses cascade DeBERTa models, where the first detects the presence of each human value, and the second detects if the sentence attains or constrains the present human values in each sentence. The latter approach improves the effectiveness of the baseline at the test dataset by 4 on sub-task 1 and by 1 on sub-task 2. These models were trained on a subset of 44,758 sentences in English, validated on a subset of 14,904 sentences, and tested on a separate subset of 14,569 sentences.
This model has got the third place in the subtask 1 of Human Value Detection at CLEF 2024.
Limitations and bias
At the time of submission, no measures have been taken to estimate the bias embedded in the model, so it may not be safe for use in production.
License
The model is released under open license CC BY 4.0, available at https://creativecommons.org/licenses/by/4.0/legalcode.
BibTeX entry and citation information
@inproceedings{yeste2024philo,
title={Philo of Alexandria at touch{\'e}: a cascade model approach to human value detection},
author={Yeste, V{\'\i}ctor and Coll-Ardanuy, M and Rosso, Paolo},
booktitle={Working Notes of the Conference and Labs of the Evaluation Forum (CLEF 2024). CEUR Workshop Proceedings, CEUR-WS. org},
year={2024}
}
- Downloads last month
- 17
Model tree for VictorYeste/deberta-based-human-value-stance-detection
Base model
microsoft/deberta-base