This is the source code repository for the paper Multi-Task Learning for Depression Detection in Dialogs (SIGDial 2022).
- allennlp >= 2.0
- pytorch
- numpy
- disarray: used in
utility.py
, calculates metrics derived from a confusion matrix, info here
Our main task depression detection uses DAIC-WOZ (part of the Distress Analysis Interview Corpus) (Gratch et al.,2014).
We show one example in data/daic/
. Download the whole dataset is available here.
Our auxiliary tasks use Dailydialog (Li et al., 2017).
We show a few examples in data/dailydialog/
. We use the original separation of train, validation, and test. Download from here.
main.py
: choose MODE for train and test, modify arguments for different multi-task settings. We also provide a pretrained model in repomodel/
model.py
: hierarchical structure modelingdataset_reader.py
: read daic-woz and dailydialogutility.py
: store auxiliary functionsconstant.py
: store hard-coded paths, labels, etc.
We provide annotation of dialog act for Ellie's utterances in DAIC (repo analysis/
). Note that it's a corase-grained annotation with 5 classes: question, opening, comment, backchannel, other.
@inproceedings{li2022multi,
title={Multi-Task Learning for Depression Detection in Dialogs},
author={Li, Chuyuan and Braud, Chlo{\'e} and Amblard, Maxime},
booktitle={SIGDIAL 2022-The 23rd Annual Meeting of the Special Interest Group on Discourse and Dialogue},
year={2022}
}