# DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine

DAHL: 생의학 벤치마크 데이터셋을 통한 장문 텍스트의 도메인 특화 자동 환각 평가

Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · arXiv · 2024년 11월 14일

- **연구 문제** 생체의학 장문 응답의 사실 충돌형 환각을 객관식 과제나 사람 주석에 기대지 않고 자동으로 측정하는 문제를 다룹니다.
- **연구 방법** 장문 응답을 참 또는 거짓으로 판정할 수 있는 원자 단위로 분해하고, 단위별 사실 정밀도를 평균한 DAHL Score로 환각을 측정합니다.
- **주요 결과** gpt-4o가 0.9365로 가장 높았고 오픈 소스 모델 중에서는 Qwen-2 72B가 0.8997로 가장 높았습니다. 자동 점수와 사람 점수의 피어슨 상관은 0.5508이었습니다.

## 장문 생성에서 환각을 어떻게 측정할 것인가

생체의학 분야에서 LLM이 생성한 장문 응답은 정확한 정보와 부정확한 정보가 한 응답 안에 함께 섞여 있는 경우가 많습니다. 따라서 응답 전체를 맞음 또는 틀림으로 나누는 이진 판정으로는 환각의 정도를 충분히 드러낼 수 없습니다. 기존 생체의학 평가는 주로 객관식 과제에 기대거나 사람의 주석에 크게 의존해 왔으며, 이 때문에 장문 응답을 자동으로, 그리고 넓은 범위에서 평가하기 어렵습니다. DAHL은 이 문제를 다루기 위해 장문 응답을 원자 단위로 분해하고 각 단위의 사실성을 판정하는 방식을 제안합니다. 이 연구가 다루는 환각은 확립된 세계 지식과 충돌하는 사실 충돌형 환각입니다.

## PubMed Central 기반 질문 벤치마크

DAHL 벤치마크 데이터셋은 PubMed Central의 연구 논문 2,519편의 제목과 초록부터 결론까지의 전문을 원천으로 구축됩니다. gpt-4-1106-preview가 각 논문에서 시험형 질문을 생성한 뒤, 앞선 맥락 없이 답할 수 있는 질문만 남기도록 정규 표현식으로 '이 연구', '언급된', '사용된' 같은 표현을 포함한 질문을 걸러냅니다. 다만 이런 표현을 포함해도 맥락 없이 답할 수 있는 질문은 사람이 수동으로 검토해 보존합니다. 이 과정을 거쳐 최종적으로 8,573개의 질문이 남으며, 이 질문들은 Other를 포함한 29개 범주로 나뉩니다.

![Figure 1: The DAHL benchmark dataset construction process](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed/figures/figure-da5c22eb7dc7f23ef7c1d5a5c82cf205.png?thumb=512)

**Figure 1** : The DAHL benchmark dataset construction process.

[원문](https://arxiv.org/abs/2411.09255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Figure 2: The categorical distribution of the DAHL benchmark dataset](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed/figures/figure-09c473403d85fb3d9e3ee5883691ae63.png?thumb=512)

**Figure 2** : The categorical distribution of the DAHL benchmark dataset.

[원문](https://arxiv.org/abs/2411.09255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Figure 7: Prompt used for dataset construction](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed/figures/figure-1a84d0701df0abb4f3c390c8be565c71.png?thumb=512)

**Figure 7** : Prompt used for dataset construction

[원문](https://arxiv.org/abs/2411.09255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

## 응답 분할과 사실 정밀도 계산

평가 파이프라인은 세 단계로 이루어집니다. 먼저 응답에서 프롬프트 문구, 반복 문장, 최대 길이 제한으로 잘린 불완전 문장을 정규 표현식으로 제거합니다. 다음으로 Splitter인 gpt-4o가 응답을 원자 단위로 나눕니다. 여기서 원자 단위는 참 또는 거짓으로 판정할 수 있는 하나의 정보를 담은 문장입니다. 마지막으로 Checker가 각 원자 단위를 참 또는 거짓으로 판정합니다. Checker는 pplx-API를 사용하며, 기반 LLM은 Llama-3-8b-instruct입니다. 응답별 사실 정밀도는 참으로 판정된 원자 단위의 비율이며, 원자 단위 수나 사실성 판정이 일치하지 않는 응답은 제외된 뒤 모든 응답의 평균이 DAHL Score가 됩니다.

판정이 불확실한 원자 단위가 있으면 그 응답은 최종 점수 계산에서 빠집니다.

![Figure 3: The automated hallucination evaluation pipeline](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed/figures/figure-3452b2a3dabb94929899e4007d1d48d4.png?thumb=512)

**Figure 3** : The automated hallucination evaluation pipeline.

[원문](https://arxiv.org/abs/2411.09255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Table 1: An example of response before and after pre- processing. (1) Prompt itself(in orange), (2) repetitive sentence(in purple), (3) incomplete sentence due…](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed/figures/figure-6d83e7f877f216882117878c09ca49a6.png?thumb=512)

**Table 1** : An example of response before and after pre- processing. (1) Prompt itself(in orange), (2) repetitive sentence(in purple), (3) incomplete sentence due to max- imum length limitation(in green) are deleted from the response before splitting into atomic units for more ac- curate factual precision assessment.

[원문](https://arxiv.org/abs/2411.09255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 9: Prompt used for splitting](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed/figures/figure-fb51eab2bb5ef9ba9a02b1c9bb9a4317.png?thumb=512)

**Figure 9** : Prompt used for splitting

[원문](https://arxiv.org/abs/2411.09255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

![Figure 10: Prompt used for factuality checking](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed/figures/figure-8477f011473403318bcdc633e410ebca.png?thumb=512)

**Figure 10** : Prompt used for factuality checking

[원문](https://arxiv.org/abs/2411.09255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

## 분할기 검증과 사람 평가 비교

분할기의 신뢰성은 gpt-4o가 나눈 원자 단위 수와 사람 주석자가 나눈 수를 비교하는 t-검정으로 확인되었으며, 99개 데이터셋에서 p-value가 0.05보다 커 유의한 차이가 없었다고 보고됩니다. 사람 평가와의 비교에서는 99개 응답을 29개 범주에서 균형 있게 샘플링하여 두 명의 주석자가 사실 정밀도를 독립적으로 판정했습니다. 두 점수 사이의 피어슨 상관계수는 0.5508이며 p-value는 3.4927 × 10−9입니다. 저자들은 이 상관을 중간 정도에서 강한 정도의 상관으로 해석합니다. 질적 비교에서는 사람이 등위 접속사가 있는 문장을 더 자주 나누고, Checker는 대명사 주어처럼 맥락이 필요한 단위를 거짓이나 불명으로 판정하는 경향이 있다고 보고됩니다.

## 모델별 DAHL Score 비교

실험에서는 gpt-4o를 포함한 8개 모델을 같은 생성 설정으로 평가했습니다. 응답은 프롬프트 템플릿이나 데모 없이, pre-training 모델을 사용해 temperature 0.6과 최대 토큰 길이 256으로 생성되었습니다. gpt-4o의 DAHL Score는 0.9365로 모든 모델 중 가장 높았습니다. 오픈 소스 모델 중에서는 Qwen-2 72B가 0.8997로 가장 높았습니다. 같은 모델 계열 안에서는 크기가 커질수록 점수가 높아지는 경향이 나타났습니다. 예를 들어 Llama-3.1은 8B에서 0.8627, 70B에서 0.8733이었고, Qwen-2는 0.5B에서 0.7610, 72B에서 0.8997이었습니다.

다만 약 7~8B를 넘어서면 크기 증가에 따른 향상이 뚜렷하게 줄어든다고 보고됩니다.

## 온도 설정의 영향

온도 절제 실험은 Llama-3.1-8b, Gemma-2-9b, Qwen-2-8b, Mistral-Nemo-Base-2407(12B) 네 모델을 온도 0.1부터 1.0까지 평가했습니다. 이 실험은 전체 질문의 10% 표본을 범주 분포를 유지해 사용했으며, 다섯 개 표본 집합 사이에 DAHL Score의 유의한 차이가 없다는 검정 결과를 근거로 표본 사용을 정당화합니다. 그 결과 네 모델에서 일관된 온도 추세는 나타나지 않았고, 모델마다 최적 온도가 다릅니다. 다만 0.2에서 0.3 사이가 대부분의 모델에서 적절한 균형을 보였다고 보고됩니다. 저자들은 1.0을 넘는 온도가 환각을 악화시킨다는 선행 연구를 근거로 더 높은 온도 실험은 수행하지 않았습니다.

![Figure 5: The DAHL Score for Llama-3.1-8b, Gemma-2-9b, Qwen-2-8b, and Mistral-Nemo-Base-2407 (12 billion parameters) evaluated across temperatures ranging from…](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed/figures/figure-e65852392b332c4f7a98adc94bcc1202.png?thumb=512)

**Figure 5** : The DAHL Score for Llama-3.1-8b, Gemma-2-9b, Qwen-2-8b, and Mistral-Nemo-Base-2407 (12 billion parameters) evaluated across temperatures ranging from 0.1 to 1.0. The optimal temperature for each model falls within the range of 0.1 to 0.3, with a slight linear decrease in DAHL Score as the temperature increases.

[원문](https://arxiv.org/abs/2411.09255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin · DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

DAHL은 주로 사실 충돌형 환각을 평가합니다. 입력 충돌형 환각과 문맥 충돌형 환각은 이 평가의 직접 대상이 아닙니다. 또한 정렬 상태, 즉 사용자의 요구를 이해하고 도움이 되는 응답을 생성하는 능력도 실제 배포를 위해 고려해야 할 요소로 제시됩니다. 원자 단위 판정은 맥락에 의존하는 단위에 보수적으로 작동하며, 판정이 불명확한 응답은 점수에서 제외됩니다. 따라서 가장 높은 DAHL Score를 받은 모델이라도 임상 조언에 무비판적으로 신뢰해서는 안 됩니다.

## 논문 정보

- **저자**: Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 11월 14일
- **등록일**: 2026년 11월 5일
- **수정일**: 2024년 11월 14일
- **버전**: v1
- **arXiv**: 2411.09255
- **분류**: cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2411.09255v1) · [원문 PDF ↗](https://arxiv.org/pdf/2411.09255v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

We introduce DAHL, a benchmark dataset and automated evaluation system designed to assess hallucination in long-form text generation, specifically within the biomedical domain. Our benchmark dataset, meticulously curated from biomedical research papers, consists of 8,573 questions across 29 categories. DAHL evaluates fact-conflicting hallucinations in Large Language Models (LLMs) by deconstructing responses into atomic units, each representing a single piece of information. The accuracy of these responses is averaged to produce the DAHL Score, offering a more in-depth evaluation of hallucinations compared to previous methods that rely on multiple-choice tasks. We conduct experiments with 8 different models, finding that larger models tend to hallucinate less; however, beyond a model size of 7 to 8 billion parameters, further scaling does not significantly improve factual accuracy. The DAHL Score holds potential as an efficient alternative to human-annotated preference labels, being able to be expanded to other specialized domains. We release the dataset and code in public.

## 원문 인용

Jean Seo, Jongwon Lim, Dongjun Jang, Hyopil Shin (2024). DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine. arXiv:2411.09255v1. https://arxiv.org/abs/2411.09255v1

**BibTeX**

```
@misc{seo2024dahl,
  title = {{DAHL: Domain-specific Automated Hallucination Evaluation of Long-Form Text through a Benchmark Dataset in Biomedicine}},
  author = {Jean Seo and Jongwon Lim and Dongjun Jang and Hyopil Shin},
  year = {2024},
  eprint = {2411.09255},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.09255v1}
}
```

## 이 논문의 용어

- [Pearson correlation coefficient](https://refivu.com/terms/62ac94eb78e8-pearson-correlation-coefficient)
- [temperature](https://refivu.com/terms/13dee949c770-temperature)
- [FactScore](https://refivu.com/terms/d44b29e58fd2-factscore)
- [LLaMA-3-8B-Instruct](https://refivu.com/terms/2255d9128663-llama-3-8b-instruct)
- [T-test](https://refivu.com/terms/e27301ffd110-t-test)
- [fact-conflicting hallucination](https://refivu.com/terms/87f092548f10-fact-conflicting-hallucination)

## 다른 논문 해설

- [Verifiable Natural Language to Linear Temporal Logic Translation: A Benchmark Dataset and Evaluation Suite](https://refivu.com/papers/e2248907-8b2d-4a5d-b607-90779c36c4fe-verifiable-natural-language-to-linear-temporal-logic.md)
- [DB-3DME: From Dataset to Benchmark for Human-aligned Automatic 3D Mesh Evaluation](https://refivu.com/papers/62e7f575-151b-4c99-ba4c-d9260e4de9ed-db-3dme-from-dataset-to-benchmark-for-human.md)
- [Improving Model Evaluation using SMART Filtering of Benchmark Datasets](https://refivu.com/papers/d9327880-4e93-4869-bf0d-3c47f053ba21-improving-model-evaluation-using-smart-filtering-of.md)
- [Harder Than the Task: From Technical to Organizational Difficulty in AI Benchmarking](https://refivu.com/papers/ca9acd88-040c-4fae-8522-7ce33b5205b0-harder-than-the-task-from-technical-to-organizational.md)
- [CAREFUL-Bench: Effect-Aware, Judge-Free Evaluation of Multi-Turn LLM Function Calling](https://refivu.com/papers/cbbfe731-a802-499a-8450-75d699d54bcf-careful-bench-effect-aware-judge-free-evaluation-of.md)
- [Harvesting SWE Benchmarks from Wild Vibe Coding Sessions](https://refivu.com/papers/f4872e20-10d1-40cf-b61b-44dcf0f4e3c5-harvesting-swe-benchmarks-from-wild-vibe-coding-sessions.md)
- [A Benchmark Dataset and Evaluation Framework for Vietnamese Large Language Models in Customer Support](https://refivu.com/papers/4df1bedd-276a-4606-a57e-0e5fcbadf60f-a-benchmark-dataset-and-evaluation-framework-for-vietnamese.md)
- [Self-supervised 6D Object Pose Estimation for Robot Manipulation](https://refivu.com/papers/d923d9fd-647d-4656-905f-defb6f68182a-self-supervised-6d-object-pose-estimation-for-robot.md)
- [Self-Supervised Dialogue Learning](https://refivu.com/papers/11386909-e44e-4b0f-9ab9-b98778d8f8b5-self-supervised-dialogue-learning.md)
- [Learning Problem-agnostic Speech Representations from Multiple Self-supervised Tasks](https://refivu.com/papers/a1a919cd-efff-487c-86c6-982c7afc65eb-learning-problem-agnostic-speech-representations-from.md)
- [Self-supervised Learning for Video Correspondence Flow](https://refivu.com/papers/d2ae4b57-a428-492b-868a-3490e48aa23c-self-supervised-learning-for-video-correspondence-flow.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/9647dbf8-1a57-4341-b11b-dc5706a013ed-dahl-domain-specific-automated-hallucination-evaluation-of)
