Skip to main content
QUICK REVIEW

[논문 리뷰] Large Language Models in the Workplace: A Case Study on Prompt Engineering for Job Type Classification

Benjamin Clavié, Alexandru Ciceu|arXiv (Cornell University)|2023. 03. 13.
Topic ModelingComputer Science인용 수 20
한 줄 요약

정교하게 설계된 프롬프트를 갖춘 제로샷 GPT-3.5-turbo가 졸업생 취업 분류에서 감독 학습 모델을 능가하며, 프롬프트 엔지니어링이 성능에 큰 영향을 미친다.

ABSTRACT

This case study investigates the task of job classification in a real-world setting, where the goal is to determine whether an English-language job posting is appropriate for a graduate or entry-level position. We explore multiple approaches to text classification, including supervised approaches such as traditional models like Support Vector Machines (SVMs) and state-of-the-art deep learning methods such as DeBERTa. We compare them with Large Language Models (LLMs) used in both few-shot and zero-shot classification settings. To accomplish this task, we employ prompt engineering, a technique that involves designing prompts to guide the LLMs towards the desired output. Specifically, we evaluate the performance of two commercially available state-of-the-art GPT-3.5-based language models, text-davinci-003 and gpt-3.5-turbo. We also conduct a detailed analysis of the impact of different aspects of prompt engineering on the model's performance. Our results show that, with a well-designed prompt, a zero-shot gpt-3.5-turbo classifier outperforms all other models, achieving a 6% increase in Precision@95% Recall compared to the best supervised approach. Furthermore, we observe that the wording of the prompt is a critical factor in eliciting the appropriate "reasoning" in the model, and that seemingly minor aspects of the prompt significantly affect the model's performance.

연구 동기 및 목표

  • 졸업생 적합 직무를 식별하기 위한 채용 공고의 자동 선별을 통해 동기를 부여한다.
  • 전통적 감독 방법과 대형 언어 모델(LLMs)을 이진적으로 졸업생 대 비졸업생 분류에 대해 비교한다.
  • 실세계 설정에서 프롬프트 엔지니어링이 LLM 성능에 미치는 영향을 입증한다.

제안 방법

  • 기본 키워드, SVM, ULMFiT, 및 DeBERTa-V3 분류기를 평가한다.
  • GPT-3.5 기반 모델(text-davinci-002/003)과 GPT-3.5-turbo를 제로샷 및 소수샷 설정에서 평가한다.
  • 시스템/사용자 프롬프트, 체인 오브 씽크, 템플릿, 명명, 보강 등 다양한 프롬프트 엔지니어링 기법을 적용한다.
  • 주요 지표로 Precision@95%Recall를 사용하고, 보조 지표로 Recall 및 P@85%Recall을 보고한다.

실험 결과

연구 질문

  • RQ1LLMs가 졸업생 취업 분류에서 전통적 감독 분류기보다 95% Recall 임계에서 더 높은 Precision을 달성할 수 있는가?
  • RQ2다양한 프롬프트 엔지니어링 전략이 이 작업에서 LLM 성능에 어떤 영향을 미치는가?
  • RQ3프롬프트 설계와 모델 유형의 상대적 기여도는 최종 분류 성능에서 어느 정도인가?

주요 결과

  • 신중하게 설계된 프롬프트를 가진 제로샷의 GPT-3.5-turbo가 P@95%R에서 다른 모든 모델을 능가하고 97%의 높은 Recall을 달성한다.
  • 최고의 감독 모델(DeBERTa-V3)은 79.7 P@95%R 및 83.2 P@85%R에 도달하지만 P@95%R에서 GPT-3.5-turbo에 뒤처진다.
  • 프롬프트 엔지니어링이 큰 영향을 미치며, 최종 프롬프트는 91.7 F1과 97% recall을 달성하는 반면, 기본 프롬프트는 65.6 F1 및 70.6 recall이다.
  • 시스템/사용자 지침, 모의 대화, 보강을 추가하면 상당한 이득을 얻고, 템플릿 제약(엄격/느슨함)은 Template Stickiness와 성능에 영향을 미친다.
  • 이 작업에서 소수샷 CoT 프롬프트는 제로샷 프롬프트보다 성능이 낮아 예시가 모델에 과도한 편향을 줄 수 있음을 시사한다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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