논문 해설
An Evaluation on Large Language Model Outputs: Discourse and Memorization
대규모 언어 모델 출력에 대한 평가: 담화와 암기
- 연구 문제 대규모 언어모델의 출력에 학습 데이터가 얼마나 기억되어 나오는지, 그리고 그것이 출력 품질과 어떻게 연결되는지를 외부에서 평가합니다.
- 연구 방법 가중치 접근 없이 아홉 개 LLM이 생성한 텍스트를 다섯 도메인에서 수집하고, 표절 탐지 서비스와 사람 주석으로 기억 텍스트와 담론 결함을 측정합니다.
- 주요 결과 출력의 80.0%가 어느 정도 기억 텍스트를 포함했고, 고유 텍스트 비율은 기억 텍스트와 음의 상관을 보였습니다. 기억 회피 지시는 ChatGPT, GPT-3.51, GPT-4의 long text 조건부 프롬프트에서 측정 기준별로 다른 변화를 보였습니다.
연구 문제와 질문
대규모 언어모델(LLM)은 API로 쉽게 쓸 수 있지만, 학습 데이터의 내용이 출력에 얼마나 섞여 나오는지 외부에서 확인하기는 어렵습니다. 이 논문은 가중치나 학습 데이터에 접근하지 않고, 오프더셸프 표절 탐지 도구와 사람 주석만으로 아홉 개 LLM의 출력을 평가합니다.
평가의 핵심 질문은 두 가지입니다. 첫째, 기억된 텍스트의 양이 출력의 담론 품질, 즉 사실 오류, 논리 오류, PII, 담론 결함과 어떤 관계를 보이는지 확인합니다. 둘째, 프롬프트에 기억 내용의 출력을 피하라는 지시를 넣으면 표절 탐지 도구가 표시하는 기억 텍스트 비율이 줄어드는지 확인합니다.
저자들은 환각(hallucination)이라는 용어를 사실 오류 전체에 쓰지 않고, 이 논문에서는 반복된 텍스트를 가리키는 용어로만 씁니다. 따라서 담론 품질과 기억 텍스트는 서로 다른 범주로 측정됩니다.
평가 설계: 모델, 프롬프트, 측정
평가 대상은 BLOOM, ChatGPT, Galactica, GPT-3 계열 두 버전, GPT-4, OPT, OPT-IML, LLaMA입니다. 각 모델마다 다섯 도메인(과학 논문, 블로그 글, 지식 검색, 긴 텍스트 이어 쓰기, 흔한 텍스트 도입부)에서 75개의 텍스트를 생성했습니다. 프롬프트는 도메인마다 15개씩 수작업 또는 크롤링으로 준비했습니다.

Table 1 : Sample prompts for the domains.Baseline(bottom) is a well-known string that occurs frequently at the beginning of texts, and corresponds toA Tale of Two Citiesby Charles Dickens. Forlong text, we chose famous speeches and articles, but unlikebaseline, we start and truncate them somewhere in the middle of the text.
원문 · CC BY 4.0 · Adrian de Wynter, Xun Wang, Alex Sokolov, Qilong Gu, Si-Qing Chen · An Evaluation on Large Language Model Outputs: Discourse and Memorization · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.생성 절차는 최대 2,048 토큰 출력과 best-of-five 방식입니다. 같은 프롬프트로 모델을 최대 다섯 번 호출한 뒤, 후처리된 텍스트 중 가장 긴 결과를 고릅니다. 제출 전에는 환각 반복 텍스트를 제거했습니다.
기억 여부는 다섯 개 온라인 표절 탐지 서비스로 측정합니다. 고유 텍스트 비율은 서비스들이 보고한 값을 평균하여 쓰며, 기억 텍스트는 적어도 한 서비스가 표시한 비율과 다수결 비율을 함께 보고합니다. 사실 오류, 논리 오류, PII, 담론 결함은 사람이 주석합니다. 저자들은 담론 품질을 문법과 형식, 논증의 일관성 범위로 제한했고, 문체와 어휘는 평가하지 않았습니다.
도메인별 결과와 기억 텍스트의 관계
전체 출력의 80.0%는 어느 정도 기억 텍스트를 포함했고, 다수결 기준으로는 39.8%였습니다. 원문의 평균 고유 텍스트 비율은 82.3%입니다. 같은 전체 결과 표에서 GPT-3.51은 담론 결함 비율이 18.7%로 가장 낮아 가장 높은 담론 품질을 보였지만, 기억 텍스트 비율은 89.3%로 높은 편이었습니다.

Table 2 : Main results of our analysis. Best-performing model in each metric is bolded. Results withoutbaselineare marked with an asterisk (*); results withoutbaselineandlong text are marked with a dagger (†). For memorized text we report both the incidence when at least one service flagged the text (left) and as a majority vote (right). Overall, GPT-3.51 presented the highest-quality discourse, but it also presented the second-highest incidence of memorized content. The highest number of factual, PII and logical errors were performed by Galactica, OPT and OPT-IML, respectively.
원문 · CC BY 4.0 · Adrian de Wynter, Xun Wang, Alex Sokolov, Qilong Gu, Si-Qing Chen · An Evaluation on Large Language Model Outputs: Discourse and Memorization · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.상관 분석에서 전체 평균은 담론 품질과 기억 텍스트 사이에 약한 음의 상관(ρ=−0.40)을 보였습니다. 고유 텍스트 비율은 기억 텍스트와 더 강한 음의 상관(ρ=−0.61)을 보였습니다. 모델별 편차는 크며, 예를 들어 Galactica에서는 고유 텍스트와 품질 사이의 상관이 0.97이었지만 GPT-3.51에서는 0.0이었습니다. 따라서 기억과 품질의 관계는 모델마다 다르게 읽어야 합니다.

Table 3 : Correlation of memorized text percentage with respect to discourse quality, factual errors, and text uniqueness, as measured with Pearson’s correlation coefficient. We also include correlation of discourse quality with respect to text uniqueness, marked with a dagger (†). We highlight the largest correlated and anti-correlated models. GPT-4 has a very strong anti-correlation between memorized text percentage and factual errors. GPT-3.5 reports no correlation between discourse quality and percentage of memorized text, in spite of it having flagged 89% of its outputs as memorized. However, it can be seen that text uniqueness is strongly anti-correlated with percentage of memorized text. Overall Galactica showed positive correlations between text uniqueness, factual errors, and memorized percentage.
원문 · CC BY 4.0 · Adrian de Wynter, Xun Wang, Alex Sokolov, Qilong Gu, Si-Qing Chen · An Evaluation on Large Language Model Outputs: Discourse and Memorization · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Figure 2 : Unique (original) text percentage as a function of the percentage of memorized text. The uniqueness of the text returned dropped as a function of the amount of mem- orized content flagged by the services. This plot does not account for discourse quality or dialectical errors. The domains evaluated baseline,blog post,long text,scientific papers, andKR, are denoted byO,B,L,S, andK, respectively.
원문 · CC BY 4.0 · Adrian de Wynter, Xun Wang, Alex Sokolov, Qilong Gu, Si-Qing Chen · An Evaluation on Large Language Model Outputs: Discourse and Memorization · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.프롬프트 길이 분석에서는 짧은 프롬프트일수록 기억 텍스트 비율이 높게 나타났고, 이 경향은 평가한 모델들에서 반복되었습니다. 다만 저자들은 이를 모델 전체의 공통 경향으로 해석하며, 다른 데이터와 과제로 일반화하지는 않습니다.

Figure 3 : Memorization percentage as a function of the length of the prompt (in characters), per domain. Shorter prompts caused the models to output more memorized content. The general trend of the models to output memorized content with respect to the prompt length repeated itself over all the models evaluated, suggesting that this is a behavior intrinsic to LLMs.
원문 · CC BY 4.0 · Adrian de Wynter, Xun Wang, Alex Sokolov, Qilong Gu, Si-Qing Chen · An Evaluation on Large Language Model Outputs: Discourse and Memorization · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.기억 회피 프롬프트의 완화 실험
완화 실험은 long text 도메인의 조건부 프롬프트에 대해 수행되었습니다. 실험 대상은 ChatGPT, GPT-3.51, GPT-4이며, 프롬프트에는 실제 이어질 내용과 달리 쓰라는 지시와 표절을 허용하지 않는다는 지시를 넣었습니다.
결과에서 ChatGPT는 원문 텍스트 비율이 평균 +29% 증가했고, GPT-4는 기억 텍스트 비율이 −40% 감소했습니다. GPT-3.51은 최소 한 서비스가 기억 텍스트로 표시한 비율이 +7% 증가했지만, best-of-three 기준의 기억 텍스트 비율은 −57%, 원문 텍스트 비율은 +2%였습니다. 이 결과를 보면 모든 모델이 이 지시에 반응했지만, GPT-3.51은 측정 기준에 따라 방향이 다르게 나타났습니다.

Table 4 : Memorization mitigation results. For this experiment we report the results from long text(Appendix C.4). Our results from the mitigation analysis are marked with a dagger (†). Overall all models were receptive to this strategy: ChatGPT presented the largest improvement in original text percentage (+29%), and GPT-4 had the largest decrease of content flagged as memorized (−40%) overall.
원문 · CC BY 4.0 · Adrian de Wynter, Xun Wang, Alex Sokolov, Qilong Gu, Si-Qing Chen · An Evaluation on Large Language Model Outputs: Discourse and Memorization · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.이 실험은 세 모델과 long text 도메인에서 얻은 결과입니다. 다른 도메인이나 모델에서 같은 완화 효과가 있다고 확대할 수 없습니다.
한계와 해석의 범위
저자들은 연구의 한계로 평가한 프롬프트 수와 모델 수가 제한적임을 밝힙니다. PaLM은 접근할 수 없어 제외되었고, GPT-NeoX는 순위 기준에 따라 고려되지 않았습니다. 사람 주석은 긴 텍스트와 비판적 읽기를 요구하므로 프롬프트 수를 늘리는 데 비용이 큽니다.
표절 탐지 서비스도 한계가 있어, 활자로 조판된 텍스트를 찾지 못했다고 원문은 밝힙니다. GPT 모델은 구조가 불투명하므로, 순수한 모델끼리 직접 비교했다고 확정할 수 없습니다. 상위 구성요소나 하위 구성요소가 결과에 영향을 주었을 가능성이 남습니다.
따라서 이 논문의 결과는 평가한 모델, 프롬프트, 표절 탐지 서비스 조건에서 관찰된 경향으로 읽어야 합니다. 기억과 학습의 일반 관계나 모든 LLM에 대한 결론으로 확장하려면 추가 연구가 필요합니다.
논문 정보
- 저자
- Adrian de Wynter, Xun Wang, Alex Sokolov, Qilong Gu, Si-Qing Chen
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2023년 4월 17일
- 등록일
- 2026년 11월 6일
- 수정일
- 2026년 1월 9일
- 버전
- v2
- arXiv
- 2304.08637
- DOI
- 10.1016/j.nlp.2023.100024
- 분류
- cs.CL · cs.AI · cs.LG
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
We present an empirical evaluation of various outputs generated by nine of the most widely-available large language models (LLMs). Our analysis is done with off-the-shelf, readily-available tools. We find a correlation between percentage of memorized text, percentage of unique text, and overall output quality, when measured with respect to output pathologies such as counterfactual and logically-flawed statements, and general failures like not staying on topic. Overall, 80.0% of the outputs evaluated contained memorized data, but outputs containing the most memorized content were also more likely to be considered of high quality. We discuss and evaluate mitigation strategies, showing that, in the models evaluated, the rate of memorized text being output is reduced. We conclude with a discussion on potential implications around what it means to learn, to memorize, and to evaluate quality text.
원문 인용
Adrian de Wynter, Xun Wang, Alex Sokolov, Qilong Gu, Si-Qing Chen (2023). An Evaluation on Large Language Model Outputs: Discourse and Memorization. arXiv:2304.08637v2. https://doi.org/10.1016/j.nlp.2023.100024
BibTeX
@article{wynter2023evaluation,
title = {{An Evaluation on Large Language Model Outputs: Discourse and Memorization}},
author = {Adrian de Wynter and Xun Wang and Alex Sokolov and Qilong Gu and Si-Qing Chen},
year = {2023},
eprint = {2304.08637},
archivePrefix = {arXiv},
doi = {10.1016/j.nlp.2023.100024},
url = {https://arxiv.org/abs/2304.08637v2}
}