TY - GEN
T1 - Improving Dialog Safety using Socially Aware Contrastive Learning
AU - Das, Souvik
AU - Srihari, Rohini K.
N1 - Publisher Copyright:
© 2024 Association for Computational Linguistics.
PY - 2024
Y1 - 2024
N2 - State-of-the-art conversational AI systems raise concerns due to their potential risks of generating unsafe, toxic, unethical, or dangerous content. Previous works have developed datasets to teach conversational agents the appropriate social paradigms to respond effectively to specifically designed hazardous content. However, models trained on these adversarial datasets still struggle to recognize subtle unsafe situations that appear naturally in conversations or introduce an inappropriate response in a casual context. To understand the extent of this problem, we study prosociality in both adversarial and casual dialog contexts and audit the response quality of general-purpose language models in terms of propensity to produce unsafe content. We propose a dual-step fine-tuning process to address these issues using a socially aware n-pair contrastive loss. Subsequently, we train a base model that integrates prosocial behavior by leveraging datasets like Moral Integrity Corpus (MIC) and PROSOCIALDIALOG. Experimental results on several dialog datasets demonstrate the effectiveness of our approach in generating socially appropriate responses.
AB - State-of-the-art conversational AI systems raise concerns due to their potential risks of generating unsafe, toxic, unethical, or dangerous content. Previous works have developed datasets to teach conversational agents the appropriate social paradigms to respond effectively to specifically designed hazardous content. However, models trained on these adversarial datasets still struggle to recognize subtle unsafe situations that appear naturally in conversations or introduce an inappropriate response in a casual context. To understand the extent of this problem, we study prosociality in both adversarial and casual dialog contexts and audit the response quality of general-purpose language models in terms of propensity to produce unsafe content. We propose a dual-step fine-tuning process to address these issues using a socially aware n-pair contrastive loss. Subsequently, we train a base model that integrates prosocial behavior by leveraging datasets like Moral Integrity Corpus (MIC) and PROSOCIALDIALOG. Experimental results on several dialog datasets demonstrate the effectiveness of our approach in generating socially appropriate responses.
UR - https://www.scopus.com/pages/publications/85188900049
M3 - Conference contribution
AN - SCOPUS:85188900049
T3 - SCI-CHAT 2024 - Workshop on Simulating Conversational Intelligence in Chat, Proceedings of the Workshop
SP - 4
EP - 18
BT - SCI-CHAT 2024 - Workshop on Simulating Conversational Intelligence in Chat, Proceedings of the Workshop
A2 - Graham, Yvette
A2 - Liu, Qun
A2 - Lampouras, Gerasimos
A2 - Iacobacci, Ignacio
A2 - Madden, Sinead
A2 - Khalid, Haider
A2 - Qureshi, Rameez
PB - Association for Computational Linguistics (ACL)
T2 - 1st Workshop on Simulating Conversational Intelligence in Chat, SCI-CHAT 2024
Y2 - 21 March 2024
ER -