Saved in:
Bibliographic Details
Main Authors: Zhu, Zhihao, Shao, Ninglu, Lian, Defu, Wu, Chenwang, Liu, Zheng, Yang, Yi, Chen, Enhong
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2404.16587
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917650394775552
author Zhu, Zhihao
Shao, Ninglu
Lian, Defu
Wu, Chenwang
Liu, Zheng
Yang, Yi
Chen, Enhong
author_facet Zhu, Zhihao
Shao, Ninglu
Lian, Defu
Wu, Chenwang
Liu, Zheng
Yang, Yi
Chen, Enhong
contents Large language models (LLMs) show early signs of artificial general intelligence but struggle with hallucinations. One promising solution to mitigate these hallucinations is to store external knowledge as embeddings, aiding LLMs in retrieval-augmented generation. However, such a solution risks compromising privacy, as recent studies experimentally showed that the original text can be partially reconstructed from text embeddings by pre-trained language models. The significant advantage of LLMs over traditional pre-trained models may exacerbate these concerns. To this end, we investigate the effectiveness of reconstructing original knowledge and predicting entity attributes from these embeddings when LLMs are employed. Empirical findings indicate that LLMs significantly improve the accuracy of two evaluated tasks over those from pre-trained models, regardless of whether the texts are in-distribution or out-of-distribution. This underscores a heightened potential for LLMs to jeopardize user privacy, highlighting the negative consequences of their widespread use. We further discuss preliminary strategies to mitigate this risk.
format Preprint
id arxiv_https___arxiv_org_abs_2404_16587
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Understanding Privacy Risks of Embeddings Induced by Large Language Models
Zhu, Zhihao
Shao, Ninglu
Lian, Defu
Wu, Chenwang
Liu, Zheng
Yang, Yi
Chen, Enhong
Computation and Language
Artificial Intelligence
Large language models (LLMs) show early signs of artificial general intelligence but struggle with hallucinations. One promising solution to mitigate these hallucinations is to store external knowledge as embeddings, aiding LLMs in retrieval-augmented generation. However, such a solution risks compromising privacy, as recent studies experimentally showed that the original text can be partially reconstructed from text embeddings by pre-trained language models. The significant advantage of LLMs over traditional pre-trained models may exacerbate these concerns. To this end, we investigate the effectiveness of reconstructing original knowledge and predicting entity attributes from these embeddings when LLMs are employed. Empirical findings indicate that LLMs significantly improve the accuracy of two evaluated tasks over those from pre-trained models, regardless of whether the texts are in-distribution or out-of-distribution. This underscores a heightened potential for LLMs to jeopardize user privacy, highlighting the negative consequences of their widespread use. We further discuss preliminary strategies to mitigate this risk.
title Understanding Privacy Risks of Embeddings Induced by Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2404.16587