[Paper Review] Large Language Models in the Workplace: A Case Study on Prompt Engineering for Job Type Classification
Zero-shot GPT-3.5-turbo with carefully designed prompts outperforms supervised models for graduate-job classification, with prompt engineering having a large impact on performance.
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.
Motivation & Objective
- Motivate automatic screening of job postings to identify graduate-fit roles.
- Compare traditional supervised methods with Large Language Models (LLMs) for binary graduate vs non-graduate classification.
- Demonstrate the impact of prompt engineering on LLM performance in a real-world setting.
Proposed method
- Evaluate baseline keyword, SVM, ULMFiT, and DeBERTa-V3 classifiers.
- Evaluate GPT-3.5-based models (text-davinci-002/003) and GPT-3.5-turbo in zero-shot and few-shot settings.
- Apply diverse prompt engineering techniques (system/user prompts, chain-of-thought, templates, naming, reinforcement).
- Measure performance using Precision@95%Recall as primary metric and report Recall and P@85%Recall as secondary metrics.
Experimental results
Research questions
- RQ1Can LLMs achieve higher Precision at a 95% Recall threshold than traditional supervised classifiers for graduate job classification?
- RQ2How do different prompt engineering strategies affect LLM performance on this task?
- RQ3What is the relative contribution of prompt design versus model type to downstream classification performance?
Key findings
- GPT-3.5-turbo in zero-shot with carefully engineered prompts outperforms all other models on P@95%R and achieves a high Recall of 97%.
- The best supervised model (DeBERTa-V3) reaches 79.7 P@95%R and 83.2 P@85%R, but lags behind GPT-3.5-turbo on P@95%R.
- Prompt engineering has a large impact, with final prompts achieving a 91.7 F1 and 97% recall, versus baseline prompts at 65.6 F1 and 70.6 recall.
- Adding system/user instructions, mock dialogues, and reinforcement yields substantial gains, while template constraints (strict/loose) influence Template Stickiness and performance.
- Few-shot CoT prompts underperform zero-shot prompts in this task, suggesting examples may bias the model more than necessary.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.