From Job Titles to ISCO Codes: Enhancing Occupational Classification With RAG-based LLMs
Accurate occupational classification from open-ended survey responses is vital for research in sociology, economics, and political science, yet manual coding remains resource-intensive and difficult to scale. We propose a novel pipeline that leverages large language models (LLMs) augmented with retrieval (RAG) to automate the assignment of International Standard Classification of Occupations (ISCO) codes. Drawing on survey data from a sample of recently arrived Afghan and Syrian refugees in Germany, we preprocess noisy occupational descriptions using LLMs and apply vector-based similarity search to retrieve candidate ISCO codes. The final classification is selected by LLMs, constrained to the retrieved candidates and accompanied by interpretable justifications. We evaluate the system’s performance against expert-coded labels, demonstrating high agreement and robustness across languages. Our findings suggest that RAG-powered LLMs can substantially improve the accuracy, scalability, and accessibility of occupational classification, with particular benefits for multilingual and resource-constrained research settings. In addition, we describe a prototypical pipeline that other researchers can readily adapt for applying LLMs to similar classification tasks, facilitating transparency, reproducibility, and broader adoption.
Authors
- Stefanie Heyne (ORCID: https://orcid.org/0000-0002-1546-9421)
- Ruben L. Bach (ORCID: https://orcid.org/0000-0001-5690-2829)
- Irena Kogan (ORCID: https://orcid.org/0000-0002-2841-1296)
- Christopher Klamm
- Olga Kononykhina
- Jana Jarck
Publication Details
- Published
- 2025-09-24
- DOI
- https://doi.org/10.31235/osf.io/ge56f_v1
- Primary Topic
- Ergonomics and Human Factors
- Type
- article
- Field-Weighted Citation Impact
- 0.00