Knowledge Graph Guided Evaluation of Abstention Techniques

Kinshuk Vasisht, Navreet Kaur, Danish Pruthi
12/10/2024
cs.CLcs.AI

No official code found. Best implementation: kinshuk-h/SELECT (0 stars, last commit 2025-02-13). 1 more below.

Abstract

To deploy language models safely, it is crucial that they abstain from responding to inappropriate requests. Several prior studies test the safety promises of models based on their effectiveness in blocking malicious requests. In this work, we focus on evaluating the underlying techniques that cause models to abstain. We create SELECT, a benchmark derived from a set of benign concepts (e.g., "rivers") from a knowledge graph. Focusing on benign concepts isolates the effect of safety training, and grounding these concepts in a knowledge graph allows us to study the generalization and specificity of abstention techniques. Using SELECT, we benchmark different abstention techniques over six open-weight and closed-source models. We find that the examined techniques indeed cause models to abstain with over $80\%$ abstention rates. However, these techniques are not as effective for descendants of the target concepts, where abstention rates drop by $19\%$. We also characterize the generalization-specificity trade-offs for different techniques. Overall, no single technique is invariably better than others, and our findings inform practitioners of the various trade-offs involved.

View on arXivView PDF

Code Implementations(2)

kinshuk-h/SELECTCommunity60%

Code and Dataset for the Paper: "Knowledge Graph Guided Evaluation of Abstention Techniques"

00PythonJan 9, 20251 years ago

Code for the Abstention Project - Knowledge Graph Guided Evaluation of Abstention Techniques

00PythonJan 10, 20251 years ago

Similar Papers

Cite this paper

@article{vasisht2024knowledge,
  title  = {Knowledge Graph Guided Evaluation of Abstention Techniques},
  author = {Kinshuk Vasisht and Navreet Kaur and Danish Pruthi},
  year   = {2024},
  eprint = {2412.07430},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.07430v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.07430.svg)](https://codeofpaper.com/paper/2412.07430)

Discussion