Remember to forget: A study on verbatim memorization of literature in Large Language Models. Zhang, X., Seminck, O., & Amsili, P. In Proceedings of the Fifth Conference on Computational Humanities Research (CHR 2024), Aahrus, Denmark, 2024. DIGHUMLAB and Center for Humanities Computing, Aahrus University, CEUR Workshop Proceedings.
Pdf
Slides
Pub abstract bibtex 2 downloads We examine the extent to which English and French literature is memorized by freely accessible LLMs, using a name cloze inference task (which focuses on the model's ability to recall proper names from a book). We replicate the key findings of previous research conducted with OpenAI models, concluding that, overall, the degree of memorization is low. Factors that tend to enhance memorization include the absence of copyrights, belonging to the Fantasy or Science Fiction genres, and the work's popularity on the Internet. Delving deeper into the experimental setup using the open source model Olmo and its freely available corpus Dolma, we conducted a study on the evolution of memorization during the LLM's training phase. Our findings suggest that excerpts of a book online can result in some level of memorization, even if the full text is not included in the training corpus. This observation leads us to conclude that the name cloze inference task is insufficient to definitively determine whether copyright violations have occurred during the training process of an LLM. Furthermore, we highlight certain limitations of the name cloze inference task, particularly the possibility that a model may recognize a book without memorizing its text verbatim. In a pilot experiment, we propose an alternative method that shows promise for producing more robust results.
@InProceedings{ zhang24.chr,
author = {Zhang, Xinhao and Seminck, Olga and Amsili, Pascal},
title = {Remember to forget: A study on verbatim memorization of
literature in Large Language Models},
booktitle = {Proceedings of the Fifth Conference on Computational
Humanities Research (CHR~2024)},
year = 2024,
address = {Aahrus, Denmark},
organization = {DIGHUMLAB and Center for Humanities Computing, Aahrus
University},
publisher = {CEUR Workshop Proceedings},
abstract = {We examine the extent to which English and French
literature is memorized by freely accessible LLMs, using a
name cloze inference task (which focuses on the model's
ability to recall proper names from a book). We replicate
the key findings of previous research conducted with OpenAI
models, concluding that, overall, the degree of
memorization is low. Factors that tend to enhance
memorization include the absence of copyrights, belonging
to the Fantasy or Science Fiction genres, and the work's
popularity on the Internet. Delving deeper into the
experimental setup using the open source model Olmo and its
freely available corpus Dolma, we conducted a study on the
evolution of memorization during the LLM's training phase.
Our findings suggest that excerpts of a book online can
result in some level of memorization, even if the full text
is not included in the training corpus. This observation
leads us to conclude that the name cloze inference task is
insufficient to definitively determine whether copyright
violations have occurred during the training process of an
LLM. Furthermore, we highlight certain limitations of the
name cloze inference task, particularly the possibility
that a model may recognize a book without memorizing its
text verbatim. In a pilot experiment, we propose an
alternative method that shows promise for producing more
robust results.},
url_pdf = {../Docs/papers/zhang24_chr.pdf},
url_slides = {../Docs/talks/slides_zhang24_chr.pdf},
url_pub = {https://ceur-ws.org/Vol-3834/paper96.pdf}
}
Downloads: 2
{"_id":"S2s9gGjARgGGubrsq","bibbaseid":"zhang-seminck-amsili-remembertoforgetastudyonverbatimmemorizationofliteratureinlargelanguagemodels-2024","author_short":["Zhang, X.","Seminck, O.","Amsili, P."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"propositions":[],"lastnames":["Zhang"],"firstnames":["Xinhao"],"suffixes":[]},{"propositions":[],"lastnames":["Seminck"],"firstnames":["Olga"],"suffixes":[]},{"propositions":[],"lastnames":["Amsili"],"firstnames":["Pascal"],"suffixes":[]}],"title":"Remember to forget: A study on verbatim memorization of literature in Large Language Models","booktitle":"Proceedings of the Fifth Conference on Computational Humanities Research (CHR 2024)","year":"2024","address":"Aahrus, Denmark","organization":"DIGHUMLAB and Center for Humanities Computing, Aahrus University","publisher":"CEUR Workshop Proceedings","abstract":"We examine the extent to which English and French literature is memorized by freely accessible LLMs, using a name cloze inference task (which focuses on the model's ability to recall proper names from a book). We replicate the key findings of previous research conducted with OpenAI models, concluding that, overall, the degree of memorization is low. Factors that tend to enhance memorization include the absence of copyrights, belonging to the Fantasy or Science Fiction genres, and the work's popularity on the Internet. Delving deeper into the experimental setup using the open source model Olmo and its freely available corpus Dolma, we conducted a study on the evolution of memorization during the LLM's training phase. Our findings suggest that excerpts of a book online can result in some level of memorization, even if the full text is not included in the training corpus. This observation leads us to conclude that the name cloze inference task is insufficient to definitively determine whether copyright violations have occurred during the training process of an LLM. Furthermore, we highlight certain limitations of the name cloze inference task, particularly the possibility that a model may recognize a book without memorizing its text verbatim. In a pilot experiment, we propose an alternative method that shows promise for producing more robust results.","url_pdf":"../Docs/papers/zhang24_chr.pdf","url_slides":"../Docs/talks/slides_zhang24_chr.pdf","url_pub":"https://ceur-ws.org/Vol-3834/paper96.pdf","bibtex":"@InProceedings{\t zhang24.chr,\n author\t= {Zhang, Xinhao and Seminck, Olga and Amsili, Pascal},\n title\t\t= {Remember to forget: A study on verbatim memorization of\n\t\t literature in Large Language Models},\n booktitle\t= {Proceedings of the Fifth Conference on Computational\n\t\t Humanities Research (CHR~2024)},\n year\t\t= 2024,\n address\t= {Aahrus, Denmark},\n organization\t= {DIGHUMLAB and Center for Humanities Computing, Aahrus\n\t\t University},\n publisher\t= {CEUR Workshop Proceedings},\n abstract\t= {We examine the extent to which English and French\n\t\t literature is memorized by freely accessible LLMs, using a\n\t\t name cloze inference task (which focuses on the model's\n\t\t ability to recall proper names from a book). We replicate\n\t\t the key findings of previous research conducted with OpenAI\n\t\t models, concluding that, overall, the degree of\n\t\t memorization is low. Factors that tend to enhance\n\t\t memorization include the absence of copyrights, belonging\n\t\t to the Fantasy or Science Fiction genres, and the work's\n\t\t popularity on the Internet. Delving deeper into the\n\t\t experimental setup using the open source model Olmo and its\n\t\t freely available corpus Dolma, we conducted a study on the\n\t\t evolution of memorization during the LLM's training phase.\n\t\t Our findings suggest that excerpts of a book online can\n\t\t result in some level of memorization, even if the full text\n\t\t is not included in the training corpus. This observation\n\t\t leads us to conclude that the name cloze inference task is\n\t\t insufficient to definitively determine whether copyright\n\t\t violations have occurred during the training process of an\n\t\t LLM. Furthermore, we highlight certain limitations of the\n\t\t name cloze inference task, particularly the possibility\n\t\t that a model may recognize a book without memorizing its\n\t\t text verbatim. In a pilot experiment, we propose an\n\t\t alternative method that shows promise for producing more\n\t\t robust results.},\n url_pdf\t= {../Docs/papers/zhang24_chr.pdf},\n url_slides\t= {../Docs/talks/slides_zhang24_chr.pdf},\n url_pub\t= {https://ceur-ws.org/Vol-3834/paper96.pdf}\n}\n\n","author_short":["Zhang, X.","Seminck, O.","Amsili, P."],"key":"zhang24.chr","id":"zhang24.chr","bibbaseid":"zhang-seminck-amsili-remembertoforgetastudyonverbatimmemorizationofliteratureinlargelanguagemodels-2024","role":"author","urls":{" pdf":"http://www.linguist.univ-paris-diderot.fr/~amsili/Docs/papers/zhang24_chr.pdf"," slides":"http://www.linguist.univ-paris-diderot.fr/~amsili/Docs/talks/slides_zhang24_chr.pdf"," pub":"https://ceur-ws.org/Vol-3834/paper96.pdf"},"metadata":{"authorlinks":{}},"downloads":2,"html":""},"bibtype":"inproceedings","biburl":"http://www.linguist.univ-paris-diderot.fr/~amsili/Rech/amsili.bib","dataSources":["G8v5dYGnBDTY4xtwo"],"keywords":[],"search_terms":["remember","forget","study","verbatim","memorization","literature","large","language","models","zhang","seminck","amsili"],"title":"Remember to forget: A study on verbatim memorization of literature in Large Language Models","year":2024,"downloads":2}