IDEAS home Printed from https://ideas.repec.org/p/pen/papers/24-017.html

Recovering Overlooked Information in Categorical Variables with LLMs: An Application to Labor Market Mismatch

Author

Listed:
  • Yi Chen

    (ShanghaiTech University)

  • Hanming Fang

    (University of Pennsylvania)

  • Yi Zhao

    (Tsinghua University)

  • Zibo Zhao

    (ShanghaiTech University)

Abstract

Categorical variables have no intrinsic ordering, and researchers often adopt a fixed-effect (FE) approach in empirical analysis. However, this approach has two significant limitations: it overlooks textual information associated with the categorical variables; and it produces unstable results when there are only limited observations in a category. In this paper, we propose a novel method that utilizes recent advances in large language models (LLMs) to recover overlooked information in categorical variables. We apply this method to investigate labor market mismatch. Specifically, we task LLMs with simulating the role of a human resources specialist to assess the suitability of an applicant with specific characteristics for a given job. Our main findings can be summarized in three parts. First, using comprehensive administrative data from an online job posting platform, we show that our new match quality measure is positively correlated with several traditional measures in the literature, and we highlight the LLM’s capability to provide additional information beyond that contained in the traditional measures. Second, we demonstrate the broad applicability of the new method with a survey data containing significantly less information than the administrative data, which makes it impossible to compute most of the traditional match quality measures. Our LLM measure successfully replicates most of the salient patterns observed in a hard-to-access administrative dataset using easily accessible survey data. Third, we investigate the gender gap in match quality and explore whether there exists gender stereotypes in the hiring process. We simulate an audit study, examining whether revealing gender information to LLMs influences their assessment. We show that when gender information is disclosed to the LLMs, the model deems females better suited for traditionally female-dominated roles.

Suggested Citation

  • Yi Chen & Hanming Fang & Yi Zhao & Zibo Zhao, 2024. "Recovering Overlooked Information in Categorical Variables with LLMs: An Application to Labor Market Mismatch," PIER Working Paper Archive 24-017, Penn Institute for Economic Research, Department of Economics, University of Pennsylvania.
  • Handle: RePEc:pen:papers:24-017
    as

    Download full text from publisher

    File URL: https://economics.sas.upenn.edu/system/files/working-papers/24-017%20PIER%20Paper%20Submission.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Tyna Eloundou & Sam Manning & Pamela Mishkin & Daniel Rock, 2023. "GPTs are GPTs: An Early Look at the Labor Market Impact Potential of Large Language Models," Papers 2303.10130, arXiv.org, revised Aug 2023.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Hanming Fang & Ming Li & Guangli Lu, 2025. "Decoding China’s Industrial Policies," PIER Working Paper Archive 25-012, Penn Institute for Economic Research, Department of Economics, University of Pennsylvania.
    2. Herbert Dawid & Philipp Harting & Hankui Wang & Zhongli Wang & Jiachen Yi, 2025. "Agentic Workflows for Economic Research: Design and Implementation," Papers 2504.09736, arXiv.org.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Oschinski, Matthias, 2023. "Assessing the Impact of Artificial Intelligence on Germany's Labor Market: Insights from a ChatGPT Analysis," MPRA Paper 118300, University Library of Munich, Germany.
    2. David H. Kreitmeir & Paul A. Raschky, 2023. "The Unintended Consequences of Censoring Digital Technology -- Evidence from Italy's ChatGPT Ban," Papers 2304.09339, arXiv.org.
    3. Christoph Riedl & Eric Bogert, 2024. "Who Benefits from AI? Self-Selection, Skill Gap, and the Hidden Costs of AI Feedback," Papers 2409.18660, arXiv.org, revised Apr 2026.
    4. Carvajal, Daniel & Franco, Catalina & Isaksson, Siri, 2024. "Will Artificial Intelligence Get in the Way of Achieving Gender Equality?," Discussion Paper Series in Economics 3/2024, Norwegian School of Economics, Department of Economics, revised 28 Apr 2025.
    5. Naomi Hausman & Oren Rigbi & Sarit Weisburd, 2025. "Generative AI’s Impact on Student Achievement and Implications for Worker Productivity," CESifo Working Paper Series 11843, CESifo.
    6. Cattaneo, Maria A. & Gschwendt, Christian & Wolter, Stefan C., 2025. "How scary is the risk of automation? Evidence from a large-scale survey experiment," Journal of Economic Behavior & Organization, Elsevier, vol. 235(C).
    7. Muhammad Sukri Bin Ramli, 2025. "Intelligent Automation for FDI Facilitation: Optimizing Tariff Exemption Processes with OCR And Large Language Models," Papers 2506.12093, arXiv.org.
    8. Evangelos Katsamakas & Oleg V. Pavlov & Ryan Saklad, 2024. "Artificial intelligence and the transformation of higher education institutions," Papers 2402.08143, arXiv.org.
    9. Pawel Gmyrek & Janine Berg & David Bescond, 2025. "Generative AI and Jobs: An Analysis of Potential Effects on Global Employment," Gospodarka Narodowa. The Polish Journal of Economics, Warsaw School of Economics, issue 3, pages 6-30.
    10. Joy Buchanan & Stephen Hill & Olga Shapoval, 2024. "ChatGPT Hallucinates Non-existent Citations: Evidence from Economics," The American Economist, Sage Publications, vol. 69(1), pages 80-87, March.
    11. Yang Shen, 2024. "Future jobs: analyzing the impact of artificial intelligence on employment and its mechanisms," Economic Change and Restructuring, Springer, vol. 57(2), pages 1-33, April.
    12. Jai Vipra & Anton Korinek, 2023. "Market Concentration Implications of Foundation Models," Papers 2311.01550, arXiv.org.
    13. Ozge Demirci & Jonas Hannane & Xinrong Zhu, 2025. "Who Is AI Replacing? The Impact of Generative AI on Online Freelancing Platforms," Management Science, INFORMS, vol. 71(10), pages 8097-8108, October.
    14. Dario Guarascio & Jelena Reljic & Roman Stollinger, 2023. "Artificial Intelligence and Employment: A Look into the Crystal Ball," LEM Papers Series 2023/34, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    15. Leonardo Banh & Gero Strobel, 2023. "Generative artificial intelligence," Electronic Markets, Springer;IIM University of St. Gallen, vol. 33(1), pages 1-17, December.
    16. Carlo Drago & Alberto Costantiello & Marco Savorgnan & Angelo Leogrande, 2025. "Macroeconomic and Labor Market Drivers of AI Adoption in Europe: A Machine Learning and Panel Data Approach," Economies, MDPI, vol. 13(8), pages 1-62, August.
    17. Tiziano Ropele & Alex Tagliabracci, 2026. "The economic impact of artificial intelligence: evidence from Italian firms," Questioni di Economia e Finanza (Occasional Papers) 1005, Bank of Italy, Economic Research and International Relations Area.
    18. Ludovic DIOSZEGI, 2025. "Romania’S Labour Market Exposure To Ai," Annals of Faculty of Economics, University of Oradea, Faculty of Economics, vol. 34(2), pages 188-201, December.
    19. Dong, Mengming Michael & Stratopoulos, Theophanis C. & Wang, Victor Xiaoqi, 2024. "A scoping review of ChatGPT research in accounting and finance," International Journal of Accounting Information Systems, Elsevier, vol. 55(C).
    20. Ananiades, Eduardo & Antunes, Daví, 2025. "Transformation in the U.S. Labour Market Artificial Intelligence and Occupational Polarization in the 21st Century," MPRA Paper 125898, University Library of Munich, Germany, revised 2025.

    More about this item

    Keywords

    ;
    ;
    ;

    JEL classification:

    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis
    • J16 - Labor and Demographic Economics - - Demographic Economics - - - Economics of Gender; Non-labor Discrimination
    • J24 - Labor and Demographic Economics - - Demand and Supply of Labor - - - Human Capital; Skills; Occupational Choice; Labor Productivity
    • J31 - Labor and Demographic Economics - - Wages, Compensation, and Labor Costs - - - Wage Level and Structure; Wage Differentials

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:pen:papers:24-017. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Administrator (email available below). General contact details of provider: https://edirc.repec.org/data/deupaus.html .

    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.