Self-Recognition in Language Models

Tim R. Davidson, Viacheslav Surkov, Veniamin Veselovsky, Giuseppe Russo, Robert West +1 more
7/9/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: trdavidson/self-recognition (7 stars, MIT, last commit 2024-09-20).

Abstract

A rapidly growing number of applications rely on a small set of closed-source language models (LMs). This dependency might introduce novel security risks if LMs develop self-recognition capabilities. Inspired by human identity verification methods, we propose a novel approach for assessing self-recognition in LMs using model-generated "security questions". Our test can be externally administered to monitor frontier models as it does not require access to internal model parameters or output probabilities. We use our test to examine self-recognition in ten of the most capable open- and closed-source LMs currently publicly available. Our extensive experiments found no empirical evidence of general or consistent self-recognition in any examined LM. Instead, our results suggest that given a set of alternatives, LMs seek to pick the "best" answer, regardless of its origin. Moreover, we find indications that preferences about which models produce the best answers are consistent across LMs. We additionally uncover novel insights on position bias considerations for LMs in multiple-choice settings.

View on arXivView PDF

Code Implementations(1)

MIT
70PythonJul 9, 20242 years agoMIT

Similar Papers

Cite this paper

@article{davidson2024selfrecognition,
  title  = {Self-Recognition in Language Models},
  author = {Tim R. Davidson and Viacheslav Surkov and Veniamin Veselovsky and Giuseppe Russo and Robert West and Caglar Gulcehre},
  year   = {2024},
  eprint = {2407.06946},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.06946v2}
}

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/2407.06946.svg)](https://codeofpaper.com/paper/2407.06946)

Discussion