IDEAS home Printed from https://ideas.repec.org/p/osf/socarx/ge56f_v1.html
   My bibliography  Save this paper

From Job Titles to ISCO Codes: Enhancing Occupational Classification With RAG-based LLMs

Author

Listed:
  • Bach, Ruben L.
  • Klamm, Christopher
  • Heyne, Stefanie
  • Kogan, Irena
  • Kononykhina, Olga
  • Jarck, Jana

Abstract

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.

Suggested Citation

  • Bach, Ruben L. & Klamm, Christopher & Heyne, Stefanie & Kogan, Irena & Kononykhina, Olga & Jarck, Jana, 2025. "From Job Titles to ISCO Codes: Enhancing Occupational Classification With RAG-based LLMs," SocArXiv ge56f_v1, Center for Open Science.
  • Handle: RePEc:osf:socarx:ge56f_v1
    DOI: 10.31219/osf.io/ge56f_v1
    as

    Download full text from publisher

    File URL: https://osf.io/download/68d3baf62b733bc779e8cfee/
    Download Restriction: no

    File URL: https://libkey.io/10.31219/osf.io/ge56f_v1?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:osf:socarx:ge56f_v1. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: OSF (email available below). General contact details of provider: https://arabixiv.org .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.