Skip to main content
QUICK REVIEW

[논문 리뷰] JudgeLM: Fine-tuned Large Language Models are Scalable Judges

Lianghui Zhu, Xinggang Wang|arXiv (Cornell University)|2023. 10. 26.
Topic ModelingComputer Science인용 수 18
한 줄 요약

JudgeLM은 오픈 소스 LLM을 조정해 확장 가능한 평가자로 삼아 오픈 엔드된 작업에서 LLM을 평가하는 데 사용하며, 교사 평가자와의 높은 일치도와 모델 크기(7B–33B) 전반에 걸친 강한 효율성을 달성합니다.

ABSTRACT

Evaluating Large Language Models (LLMs) in open-ended scenarios is challenging because existing benchmarks and metrics can not measure them comprehensively. To address this problem, we propose to fine-tune LLMs as scalable judges (JudgeLM) to evaluate LLMs efficiently and effectively in open-ended benchmarks. We first propose a comprehensive, large-scale, high-quality dataset containing task seeds, LLMs-generated answers, and GPT-4-generated judgments for fine-tuning high-performance judges, as well as a new benchmark for evaluating the judges. We train JudgeLM at different scales from 7B, 13B, to 33B parameters, and conduct a systematic analysis of its capabilities and behaviors. We then analyze the key biases in fine-tuning LLM as a judge and consider them as position bias, knowledge bias, and format bias. To address these issues, JudgeLM introduces a bag of techniques including swap augmentation, reference support, and reference drop, which clearly enhance the judge's performance. JudgeLM obtains the state-of-the-art judge performance on both the existing PandaLM benchmark and our proposed new benchmark. Our JudgeLM is efficient and the JudgeLM-7B only needs 3 minutes to judge 5K samples with 8 A100 GPUs. JudgeLM obtains high agreement with the teacher judge, achieving an agreement exceeding 90% that even surpasses human-to-human agreement. JudgeLM also demonstrates extended capabilities in being judges of the single answer, multimodal models, multiple answers, multi-turn chat, etc. Code is available at https://github.com/baaivision/JudgeLM.

연구 동기 및 목표

  • 포괄적이고 확장 가능한 심사를 통해 개방형 시나리오에서 LLM을 평가하는 과제를 다룬다.
  • 훈련을 위한 시드, LLM 답변, 그리고 GPT-4 판단으로 구성된 고품질의 대규모 심판 데이터셋을 생성한다.
  • 성능과 편향을 분석하기 위해 7B, 13B, 33B 등 여러 크기와 데이터 크기에서 JudgeLM을 조사한다.
  • 미세 조정된 LLM 심판의 편향(위치, 지식, 형식)을 식별하고 완화한다.
  • 단일/다중 답변, 멀티모달 모델, 그리고 다중 턴 채팅에 대한 심판의 능력을 시연한다.

제안 방법

  • LLM 생성 답변과 GPT-4 판단을 교사 레이블로 사용하는 105K 시드 작업의 대규모 데이터셋을 구성한다.
  • 점수와 선택적 상세 추론을 산출하는 지시 준수 형 프롬프트를 사용하여 오픈 소스 LLM(7B, 13B, 33B)을 심판으로 미세 조정한다.
  • 위치 편향을 줄이기 위해 스왑 증강을 도입한다.
  • 판단을 안내하기 위해 외부 참고 답변을 제공하는 참조 지원을 도입한다.
  • 고정된 프롬프트 형식에 대한 과적합을 방지하기 위해 참조 드롭을 도입한다.

실험 결과

연구 질문

  • RQ1미세 조정된 오픈 소스 LLM이 개방형 LLM 평가를 위한 신뢰할 수 있고 확장 가능한 심판으로 작동할 수 있는가?
  • RQ2모델 크기 및 훈련 데이터 양에 따라 심판의 성능과 편향이 어떻게 확장되는가?
  • RQ3어떤 기법들(swap augmentation, reference support, reference drop)이 심판의 신뢰성을 높이고 편향을 줄이는가?
  • RQ4JudgeLM은 단일 답변 등급, 다중 답변, 멀티모달 모델, 다중 턴 판단을 처리할 수 있는가?

주요 결과

  • JudgeLM은 7B, 13B, 33B에서 제안된 벤치마크에서 교사 판단과 높은 일치를 달성하며 90% 이상까지 도달한다.
  • JudgeLM-7B–33B는 여러 설정에서 PandaLM과 심지어 GPT-3.5를 능가하는 성능을 보이며, JudgeLM-33B가 주요 벤치마크에서 강한 결과를 달성한다.
  • swap augmentation, reference support, and reference drop으로의 훈련은 일관성을 크게 향상시키고 편향(위치, 지식, 형식)을 감소시킨다.
  • JudgeLM은 효율성을 보여준다: JudgeLM-7B는 8개의 A100 GPU에서 약 3분 만에 5K 샘플을 심판할 수 있다.
  • JudgeLM은 또한 단일 답변 등급 부여, 다중 답변 순위 매기기, 멀티모달 평가, 다중 턴 판단으로 확장되며 기본 모델 채팅 기능을 보존한다.
  • 해당 데이터셋은 재현 가능하고 프라이버시를 보호하는 평가를 가능하게 하며 PandaLM 및 저자들의 벤치마크에서 최첨단 심판 성능을 달성한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.