Comparative Evaluation of GPT-4o, GPT-OSS-120B and Llama-3.1-8B-Instruct Language Models in a Reproducible CV-to-JSON Extraction Pipeline
Source abstract
Abstract
Recruitment automation increasingly relies on Large Language Models (LLMs) for extracting structured information from unstructured CVs and job postings. However, production data often arrive as heterogeneous, privacy-sensitive PDFs, limiting reproducibility and compliance. This study introduces a deterministic, GDPR-aligned pipeline that converts recruitment documents into structured, anonymized Markdown and subsequently into validated JSON ready for downstream AI processing. The workflow combines the Docling PDF-to-Markdown converter with a two-pass anonymization protocol and evaluates three LLM back-ends—GPT-4o (Azure, frozen proprietary), GPT-OSS-120B and Llama-3.1-8B-Instruct—using identical prompts and schema constraints under near-zero-temperature decoding. Each model’s output was assessed across 2280 multilingual CVs using two complementary metrics: reference-based completeness and content similarity. The proprietary GPT-4o achieved perfect schema coverage and served as the reproducibility baseline, while the open-weight models reached 73–79% completeness and 59–72% content similarity depending on section complexity. Llama-3.1-8B-Instruct performed strongly on standardized sections such as contact and legal, whereas GPT-OSS-120B better-handled less frequent narrative fields. The results demonstrate that fully deterministic, auditable document extraction is achievable with both proprietary and open LLMs when guided by strong schema validation and anonymization. The proposed pipeline bridges the gap between document ingestion and reliable, bias-aware data preparation for AI-driven recruitment systems.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Artificial Intelligence in Healthcare and Education · Topic Modeling · Natural Language Processing Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Artificial Intelligence, Institute of Information Technology, Warsaw University of Life Sciences, ul. Nowoursynowska 159, 02-776 Warsaw, Poland
Avenga IT Professionals sp. z o.o., ul. Gwiaździsta 66, 53-413 Wroclaw, Poland
References (51)
Show source-provided references
1. Kurek, J., Latkowski, T., Bukowski, M., Świderski, B., Łępicki, M., Baranik, G., Nowak, B., Zakowicz, R., and Dobrakowski, Ł. (2024). Zero-Shot Recommendation AI Models for Efficient Job–Candidate Matching in Recruitment Process. Appl. Sci., 14.10.3390/app14062601 ↗
2. Łępicki, M., Latkowski, T., Antoniuk, I., Bukowski, M., Świderski, B., Baranik, G., Nowak, B., Zakowicz, R., Dobrakowski, Ł., and Act, B. (2025). Comparative Evaluation of Sequential Neural Network (GRU, LSTM, Transformer) Within Siamese Networks for Enhanced Job–Candidate Matching in Applied Recruitment Systems. Appl. Sci., 15.10.3390/app15115988 ↗
3. Testing prompt engineering methods for knowledge extraction from text
4. Improving large language models for clinical named entity recognition via prompt engineering10.1093/jamia/ocad259 ↗
5. Towards Optimal NLP Solutions: Analyzing GPT and LLaMA-2 Models Across Model Scale, Dataset Size, and Task Diversity10.48084/etasr.7200 ↗
6. Performance Evaluation of Popular Open-Source Large Language Models in Healthcare
7. EchoLLM: Extracting echocardiogram entities with light-weight, open-source large language models10.1093/jamiaopen/ooaf092 ↗
8. Large language models for data extraction from unstructured and semi-structured electronic health records: A multiple model performance evaluation10.1136/bmjhci-2024-101139 ↗
9. Information Extraction from Clinical Texts with Generative Pre-trained Transformer Models10.7150/ijms.103332 ↗
10. Biderman, D., Portes, J., Ortiz, J.J.G., Paul, M., Greengard, P., Jennings, C., King, D., Havens, S., Chiley, V., and Frankle, J. (2024). LoRA Learns Less and Forgets Less. arXiv.
11. ARD-LoRA: Dynamic Rank Allocation for Parameter-Efficient Fine-Tuning of Foundation Models with Heterogeneous Adaptation Needs10.1109/TAI.2025.3605569 ↗
12. Sheng, S., Xu, Y., Zhang, T., Shen, Z., Fu, L., Ding, J., Zhou, L., Gan, X., Wang, X., and Zhou, C. (2024). RepEval: Effective Text Evaluation with LLM Representation, Association for Computational Linguistics.10.18653/v1/2024.emnlp-main.398 ↗
13. Jiang, Z., Wu, P., Liang, Z., Chen, P.Q., Yuan, X., Jia, Y., Tu, J., Li, C., Ng, P.H.F., and Li, Q. (2025). HiBench: Benchmarking LLMs Capability on Hierarchical Structure Reasoning. Proceedings of the ACM Web Conference 2025, Association for Computing Machinery.10.1145/3711896.3737378 ↗
14. Fact vs. Fiction: Are the Reportedly “Magical” LLM-Based Recommenders Reproducible?10.1007/978-3-031-88717-8_7 ↗
15. Can reproducibility be improved in clinical natural language processing? A study of 7 clinical NLP suites10.1093/jamia/ocaa261 ↗
16. Yoon, C.O., Lee, W., Jang, S., Choi, K., Jung, M., and Choi, D. (2024). Language, OCR, Form Independent (LOFI) Pipeline for Industrial Document Information Extraction, Association for Computational Linguistics.10.18653/v1/2024.emnlp-industry.79 ↗
17. Shrikaran, P., Mamalaivasan, H., Chitradevi, D., Kumar, S.T. (2025, January 23–25). A Secure On-Premises ETL Pipeline for Enterprise Data Warehousing: Integrating OCR and Local LLMs. Proceedings of the 2025 8th International Conference on Computing Methodologies and Communication (ICCMC), Erode, India.
18. Xin, C., Lu, Y., Lin, H., Zhou, S., Zhu, H., Wang, W., Liu, Z., Han, X., and Sun, L. (2024). Beyond Full Fine-tuning: Harnessing the Power of LoRA for Multi-Task Instruction Tuning, ELRA and ICCL.
19. Huang, X., Liu, Z., Liu, S.Y., and Cheng, K.T. (2024). RoLoRA: Fine-Tuning Rotated Outlier-free LLMs for Effective Weight-Activation Quantization. Findings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP), Association for Computational Linguistics.10.18653/v1/2024.findings-emnlp.444 ↗
20. Wang, Y., Ivison, H., Dasigi, P., Hessel, J., Khot, T., Chandu, K.R., Wadden, D., MacMillan, K., Smith, N.A., and Beltagy, I. (2023). How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resources. Proceedings of the 37th Conference on Neural Information Processing Systems (NeurIPS 2023) — Datasets and Benchmarks Track, Curran Associates, Inc.. Available online: https://proceedings.neurips.cc/paper/2023/hash/ec6413875e4ab08d7bc4d8e225263398-Abstract.html.
21. Uluirmak, B.A., and Kurban, R. (2025, January 25–28). Fine Tuning DeepSeek and Llama Large Language Models with LoRA. Proceedings of the 2025 33rd Signal Processing and Communications Applications Conference (SIU), Istanbul, Turkiye.10.1109/SIU66497.2025.11112387 ↗
22. Loukil, F., Cadereau, S., Verjus, H., Galfre, M., Salamatian, K., Telisson, D., Kembellec, Q., and Le Van, O. (2024, January 26–29). LLM-centric pipeline for information extraction from invoices. Proceedings of the 2024 2nd International Conference on Foundation and Large Language Models (FLLM), Dubai, United Arab Emirates.10.1109/FLLM63129.2024.10852504 ↗
23. Case Law as Data: Prompt Engineering Strategies for Case Outcome Extraction with Large Language Models in a Zero-Shot Setting10.5204/lthj.3623 ↗
24. Beri, G., and Srivastava, V. (2024, January 13–14). Advanced Techniques in Prompt Engineering for Large Language Models: A Comprehensive Study. Proceedings of the 2024 IEEE 4th International Conference on ICT in Business Industry & Government (ICTBIG), Indore, India.10.1109/ICTBIG64922.2024.10911672 ↗
25. LangTest: A comprehensive evaluation library for custom LLM and NLP models10.1016/j.simpa.2024.100619 ↗
26. Anghel, C., Anghel, A.A., Pecheanu, E., Cocu, A., Istrate, A., and Andrei, C.A. (2025). Diagnosing Bias and Instability in LLM Evaluation: A Scalable Pairwise Meta-Evaluator. Information, 16.10.3390/info16080652 ↗
27. Ma, Y., Qing, L., Liu, J., Kang, Y., Zhang, Y., Lu, W., Liu, X., and Cheng, Q. (2024). From Model-Centered to Human-Centered: Revision Distance as a Metric for Text Evaluation in LLMs-based Applications, Association for Computational Linguistics.10.18653/v1/2024.findings-acl.126 ↗
28. A fine-grained evaluation framework for language models: Combining pointwise grading and pairwise comparison10.1016/j.ipm.2025.104270 ↗
29. LLM-IE: A python package for biomedical generative information extraction with large language models10.1093/jamiaopen/ooaf012 ↗
30. Iterative refinement and goal articulation to optimize large language models for clinical information extraction10.1038/s41746-025-01686-z ↗
31. Shanmugavelu, S., Taillefumier, M., Culver, C., Hernandez, O., Coletti, M., and Sedova, A. (2024, January 17–22). Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applications. Proceedings of the SC24-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, Atlanta, GA, USA.10.1109/SCW63240.2024.00028 ↗
32. Sethi, R.J., and Gil, Y. (2017, January 23–27). Reproducibility in computer vision: Towards open publication of image analysis experiments as semantic workflows. Proceedings of the 2016 IEEE 12th International Conference on e-Science (e-Science), Baltimore, MD, USA.10.1109/eScience.2016.7870918 ↗
33. Ahn, D.H., Lee, G.L., Gopalakrishnan, G., Rakamarić, Z., Schulz, M., and Laguna, I. (2013, January 7). Overcoming extreme-scale reproducibility challenges through a unified, targeted, and multilevel toolset. Proceedings of the 1st International Workshop on Software Engineering for High Performance Computing in Computational Science and Engineering, Halifax, NS, Canada.10.1145/2532352.2532357 ↗
34. Vrdoljak, J., Boban, Z., Vilović, M., Kumrić, M., and Božić, J. (2025). A Review of Large Language Models in Medical Education, Clinical Decision Support, and Healthcare Administration. Healthcare, 13.10.3390/healthcare13060603 ↗
35. Comparative Analysis for Open-Source Large Language Models
36. Llama 3.1 405B Is Comparable to GPT-4 for Extraction of Data from Thrombectomy Reports—A Step Towards Secure Data Extraction10.1007/s00062-025-01500-z ↗
37. Large Language Models for Simplified Interventional Radiology Reports: A Comparative Analysis10.1016/j.acra.2024.09.041 ↗
38. Elnashar, A., White, J., and Schmidt, D.C. (2025). Enhancing structured data generation with GPT-4o evaluating prompt efficiency across prompt styles. Front. Artif. Intell., 8.10.3389/frai.2025.1558938 ↗
39. MMBench: Is Your Multi-modal Model an All-Around Player?
40. Wang, Z., Zhou, Y., Wei, W., Lee, C.Y., and Tata, S. (2023, January 4). VRDU: A Benchmark for Visually-rich Document Understanding. Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Long Beach, CA, USA.10.1145/3580305.3599929 ↗
41. Lee, T., Tu, H., Wong, C.H., Zheng, W., Zhou, Y., Mai, Y., Roberts, J.S., Yasunaga, M., Yao, H., and Xie, C. (2024). VHELM: A Holistic Evaluation of Vision Language Models. arXiv.10.52202/079017-4464 ↗
42. Yao, Y., Lin, Z., Liu, X., and Li, Y. (2025, January 11–13). Document Information Extraction in Engineering Reports through Prompt Engineering with Large Language Models. Proceedings of the 2025 IEEE 6th International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT), Shenzhen, China.10.1109/AINIT65432.2025.11035034 ↗
43. Team, D.S. (2024). Docling Technical Report. Technical report. arXiv.
44. Zhao, Y., Lv, W., Xu, S., Wei, J., Wang, G., Dang, Q., Liu, Y., and Chen, J. (2023). DETRs Beat YOLOs on Real-time Object Detection. arXiv.10.1109/CVPR52733.2024.01605 ↗
45. Lv, W., Zhao, Y., Chang, Q., Huang, K., Wang, G., and Liu, Y. (2024). RT-DETRv2: Improved Baseline with Bag-of-Freebies for Real-Time Detection Transformer. arXiv.
46. Application of large language models in clinical record correction: A comprehensive study on various retraining methods10.1093/jamia/ocae302 ↗
47. Gogani-Khiabani, S., Trivedi, A., Chyi, S., and Tizpaz-Niari, S. (Artif. Intell. Law, 2025). Performance of LLMs on VITA test: Potential for AI-assisted tax returns for low income taxpayers, Artif. Intell. Law, in press.
48. Yin, J., Bose, A., Cong, G., Lyngaas, I., and Anthony, Q. (2024, January 27–31). Comparative Study of Large Language Model Architectures on Frontier. Proceedings of the 2024 IEEE International Parallel and Distributed Processing Symposium (IPDPS), San Francisco, CA, USA.10.1109/IPDPS57955.2024.00056 ↗
49. A comprehensive survey on integrating large language models with knowledge-based methods10.1016/j.knosys.2025.113503 ↗
50. Gajulamandyam, D.K., Veerla, S., Emami, Y., Lee, K., Li, Y., Mamillapalli, J.S., and Shim, S. (2025, January 6–8). Domain Specific Finetuning of LLMs Using PEFT Techniques. Proceedings of the 2025 IEEE 15th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA.10.1109/CCWC62904.2025.10903789 ↗
51. Leveraging few-shot learning and large language models for analyzing blood pressure variations across biological sex from scientific literature10.1016/j.compbiomed.2025.111128 ↗