Identifying the Source of Generation for Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Park, Bumjin, Choi, Jaesik
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917725370056704
author Park, Bumjin
Choi, Jaesik
author_facet Park, Bumjin
Choi, Jaesik
contents Large language models (LLMs) memorize text from several sources of documents. In pretraining, LLM trains to maximize the likelihood of text but neither receives the source of the text nor memorizes the source. Accordingly, LLM can not provide document information on the generated content, and users do not obtain any hint of reliability, which is crucial for factuality or privacy infringement. This work introduces token-level source identification in the decoding step, which maps the token representation to the reference document. We propose a bi-gram source identifier, a multi-layer perceptron with two successive token representations as input for better generalization. We conduct extensive experiments on Wikipedia and PG19 datasets with several LLMs, layer locations, and identifier sizes. The overall results show a possibility of token-level source identifiers for tracing the document, a crucial problem for the safe use of LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2407_12846
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Identifying the Source of Generation for Large Language Models
Park, Bumjin
Choi, Jaesik
Computation and Language
Machine Learning
Large language models (LLMs) memorize text from several sources of documents. In pretraining, LLM trains to maximize the likelihood of text but neither receives the source of the text nor memorizes the source. Accordingly, LLM can not provide document information on the generated content, and users do not obtain any hint of reliability, which is crucial for factuality or privacy infringement. This work introduces token-level source identification in the decoding step, which maps the token representation to the reference document. We propose a bi-gram source identifier, a multi-layer perceptron with two successive token representations as input for better generalization. We conduct extensive experiments on Wikipedia and PG19 datasets with several LLMs, layer locations, and identifier sizes. The overall results show a possibility of token-level source identifiers for tracing the document, a crucial problem for the safe use of LLMs.
title Identifying the Source of Generation for Large Language Models
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2407.12846