This is the implementation of the paper:
Sougata Saha, Souvik Das, Rohini Srihari
The 29th International Conference On Computational Linguistics (COLING 2022, Gyeongju, Republic of Korea)
While neural approaches to argument mining (AM) have advanced considerably, most of the recent work has been limited to parsing monologues. With an urgent interest in the use of conversational agents for broader societal applications, there is a need to advance the state-of-the-art in argument parsers for dialogues. This enables progress towards more purposeful conversations involving persuasion, debate and deliberation. This paper discusses Dialo-AP, an end-to-end argument parser that constructs argument graphs from dialogues. We formulate AM as dependency parsing of elementary and argumentative discourse units; the system is trained using extensive pre-training and curriculum learning comprising nine diverse corpora. Dialo-AP is capable of generating argument graphs from dialogues by performing all sub-tasks of AM. Compared to existing state-of-the-art baselines, Dialo-AP achieves significant improvements across all tasks, which is further validated through rigorous human evaluation.
You can train and evaluate all experiments using the runner.sh
script. Example: nohup bash runner.sh 1 12 > log.txt 2>&1 &
runs experiment numbers 1 to 12 sequentially. All the different configurations for the experiments can be found in the config.json
file.
In order to experiment with different parameters, you can directly execute the run_training.py
script. Sample command below:
python -m torch.distributed.run --nnodes=1 --nproc_per_node=4 --master_port 9999 ./run_training.py --batch_size 16 --num_epochs 15 --learning_rate 0.00002 --base_transformer "roberta-base"
Prior to training, please download the formatted training dataset into a folder named ./data/
.
If you are using this library then do cite:
@inproceedings{saha-etal-2022-dialo,
title = "Dialo-{AP}: A Dependency Parsing Based Argument Parser for Dialogues",
author = "Saha, Sougata and
Das, Souvik and
Srihari, Rohini K.",
booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
month = oct,
year = "2022",
address = "Gyeongju, Republic of Korea",
publisher = "International Committee on Computational Linguistics",
url = "https://aclanthology.org/2022.coling-1.74",
pages = "887--901"
}