[Paper Review] A Transfer Learning Approach for Dialogue Act Classification of GitHub Issue Comments
This paper proposes a transfer learning approach for dialogue act (DA) classification in GitHub issue comments using pre-trained embeddings (GloVe, USE, BERT), leveraging external datasets due to the lack of a large labeled GitHub corpus. Universal Sentence Encoder (USE) achieved the best performance with an F1 score of 0.42 on average, demonstrating the feasibility of mapping issue comments to cognitive team processes despite limited annotated data.
Social coding platforms, such as GitHub, serve as laboratories for studying collaborative problem solving in open source software development; a key feature is their ability to support issue reporting which is used by teams to discuss tasks and ideas. Analyzing the dialogue between team members, as expressed in issue comments, can yield important insights about the performance of virtual teams. This paper presents a transfer learning approach for performing dialogue act classification on issue comments. Since no large labeled corpus of GitHub issue comments exists, employing transfer learning enables us to leverage standard dialogue act datasets in combination with our own GitHub comment dataset. We compare the performance of several word and sentence level encoding models including Global Vectors for Word Representations (GloVe), Universal Sentence Encoder (USE), and Bidirectional Encoder Representations from Transformers (BERT). Being able to map the issue comments to dialogue acts is a useful stepping stone towards understanding cognitive team processes.
Motivation & Objective
- To address the lack of large-scale labeled datasets for dialogue act classification in GitHub issue comments.
- To explore transfer learning techniques that leverage pre-trained embeddings from standard dialogue datasets to improve performance on low-resource GitHub comment data.
- To map GitHub issue comments to cognitive team processes using dialogue act classification, particularly aligning with the Macrocognition in Teams Model (MITM).
- To release a publicly available, human-annotated dataset of GitHub issue comments for future research in team cognition and NLP.
- To evaluate and compare the effectiveness of word-level (GloVe) and sentence-level (USE, BERT) embedding models in a low-resource setting.
Proposed method
- Fine-tune pre-trained sentence embedding models—Universal Sentence Encoder (USE), BERT, and GloVe—on a newly collected, human-annotated dataset of GitHub issue comments.
- Use the Switchboard (SwDA) corpus as a source domain for transfer learning, leveraging its rich dialogue act annotations.
- Train multiple classification models using the fine-tuned embeddings, with hyperparameter tuning across learning rates, epochs, and batch sizes.
- Apply a multi-class classification framework to map comments to DAMSL dialogue act tags, focusing on high-frequency, cognition-relevant classes such as 'statement-opinion', 'agree/accept', and 'acknowledge'.
- Construct a mapping between DAMSL tags and cognitive states in the Macrocognition in Teams Model (MITM) to support team cognition analysis.
- Evaluate model performance using precision, recall, and F1 scores, with a focus on class-wise and macro-averaged metrics.
Experimental results
Research questions
- RQ1Which pre-trained embedding model (GloVe, USE, BERT) performs best for dialogue act classification in low-resource GitHub issue comment data?
- RQ2How effective is transfer learning from standard dialogue datasets (e.g., SwDA) when applied to GitHub issue comments, which differ in style and complexity?
- RQ3Can dialogue act classification of GitHub comments be used to infer cognitive team processes such as information gathering and knowledge building?
- RQ4What is the impact of hyperparameter tuning (learning rate, batch size, epochs) on model performance in this low-resource setting?
- RQ5How reliable and scalable is the proposed annotation scheme for future team cognition research?
Key findings
- Universal Sentence Encoder (USE) achieved the highest F1 score of 0.42 on average across all dialogue act classes, outperforming GloVe and BERT in the low-resource setting.
- The best-performing model (USE) achieved a macro F1 of 0.42, with high recall (0.92) but low precision (0.51) for the 'statement-opinion' class, indicating strong detection of informative comments.
- BERT showed limited improvement from fine-tuning, consistent with prior findings that BERT is less sensitive to fine-tuning in some NLP tasks.
- Several dialogue act classes, including 'question', 'agree/accept', and 'acknowledge', showed high precision (e.g., 1.00 for 'qy' and 'fp'), indicating strong performance on key cognitive process indicators.
- The 'statement-non-opinion' class had moderate performance (F1 = 0.43), suggesting that factual or task-oriented comments are reasonably classifiable.
- The dataset release includes 859 annotated GitHub issue comments across 30 dialogue act tags, with inter-annotator reliability to be further evaluated in future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.