We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: Using In-Context Learning to Improve Dialogue Safety

Abstract: While large neural-based conversational models have become increasingly proficient dialogue agents, recent work has highlighted safety issues with these systems. For example, these systems can be goaded into generating toxic content, which often perpetuates social biases or stereotypes. We investigate a retrieval-based method for reducing bias and toxicity in responses from chatbots. It uses in-context learning to steer a model towards safer generations. Concretely, to generate a response to an unsafe dialogue context, we retrieve demonstrations of safe responses to similar dialogue contexts. We find our method performs competitively with strong baselines without requiring training. For instance, using automatic evaluation, we find our best fine-tuned baseline only generates safe responses to unsafe dialogue contexts from DiaSafety 4.04% more than our approach. Finally, we also propose a re-ranking procedure which can further improve response safeness.
Comments: Findings of EMNLP 2023
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2302.00871 [cs.CL]
  (or arXiv:2302.00871v3 [cs.CL] for this version)

Submission history

From: Nicholas Meade [view email]
[v1] Thu, 2 Feb 2023 04:46:03 GMT (303kb,D)
[v2] Tue, 23 May 2023 16:37:06 GMT (173kb,D)
[v3] Sun, 22 Oct 2023 19:28:24 GMT (528kb,D)

Link back to: arXiv, form interface, contact.