Inner-Probe: Discovering Copyright-related Data Generation in LLM Architecture

Qichao Ma, Rui-Jie Zhu, Peiye Liu, Renye Yan, Fahong Zhang +6 more
10/6/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) utilize extensive knowledge databases and show powerful text generation ability. However, their reliance on high-quality copyrighted datasets raises concerns about copyright infringements in generated texts. Current research often employs prompt engineering or semantic classifiers to identify copyrighted content, but these approaches have two significant limitations: (1) Challenging to identify which specific subdataset (e.g., works from particular authors) influences an LLM's output. (2) Treating the entire training database as copyrighted, hence overlooking the inclusion of non-copyrighted training data. We propose Inner-Probe, a lightweight framework designed to evaluate the influence of copyrighted sub-datasets on LLM-generated texts. Unlike traditional methods relying solely on text, we discover that the results of multi-head attention (MHA) during LLM output generation provide more effective information. Thus, Inner-Probe performs sub-dataset contribution analysis using a lightweight LSTM based network trained on MHA results in a supervised manner. Harnessing such a prior, Inner-Probe enables non-copyrighted text detection through a concatenated global projector trained with unsupervised contrastive learning. Inner-Probe demonstrates 3x improved efficiency compared to semantic model training in sub-dataset contribution analysis on Books3, achieves 15.04% - 58.7% higher accuracy over baselines on the Pile, and delivers a 0.104 increase in AUC for non-copyrighted data filtering.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ma2024innerprobe,
  title  = {Inner-Probe: Discovering Copyright-related Data Generation in LLM Architecture},
  author = {Qichao Ma and Rui-Jie Zhu and Peiye Liu and Renye Yan and Fahong Zhang and Ling Liang and Meng Li and Zhaofei Yu and Zongwei Wang and Yimao Cai and Tiejun Huang},
  year   = {2024},
  eprint = {2410.04454},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04454v3}
}

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

Discussion