| Evaluated reports | 24 category-specific workbooks |
|---|---|
| Predefined occupational categories | 24 |
| Original CV PDFs | 2,484 |
| Evaluable matched records | 2,482 |
| Extraction model | Gemma 4 26B A4B instruction model, QAT/GGUF quantization |
| Inference runtime | llama-server with Vulkan acceleration and four parallel slots |
| Evaluation basis | Original PDFs as primary evidence; reference JSON diagnostic only |
Scope statement: The analysis covers one validated evaluation report for each of 24 predefined occupational categories and 2,484 source CV PDFs. CV_Local_LLM_Extraction_Evaluation(7).xlsx is outside the set and is excluded. The valid Advocate category is represented by ADVOCATE-CV_Local_LLM_Extraction_Evaluation.xlsx; the mislabeled detailed duplicate is not used in the aggregate.
Abstract
This study evaluates a locally hosted, quantized Gemma 4 26B A4B mixture-of-experts instruction model used to extract structured information from curriculum vitae (CV) documents for downstream retrieval-augmented generation (RAG). The corrected corpus contains 2,484 original CVs in PDF format distributed across 24 predefined occupational categories, with one validated evaluation report per category. The original PDFs are treated as the primary evidentiary source; a separate reference extraction is used only for diagnostic disagreement analysis. Performance is assessed at pipeline, document, segment, and atomic-fact levels using strict and partial-credit precision, recall, F1, completeness, unsupported-content rate, schema completeness, critical-claim rate, and operational document outcomes. The pooled weighted precision is 94.8%, weighted recall is 65.5%, weighted F1 is 77.4%, completeness is 68.2%, and unsupported content is 1.23%. The technical pipeline produced 2,482 evaluable matched records from 2,484 PDFs (99.92%). Only 201 documents (8.1%) satisfy the joint success thresholds; 1,989 are partially successful and 294 fail. The dominant failure mode is omission rather than hallucination. Experience and profile fields perform comparatively well, while category classification, normalized fields, seniority, and document metadata are unsuitable as authoritative retrieval filters. CV structure and information density vary substantially, and the semantic boundary between skills and experience is often non-exclusive; the same source statement may validly function as both demonstrated experience and skill evidence. The report formalizes the evaluation mathematics, analyzes the supplied inference configuration, examines the speed-quality trade-off associated with reasoning-disabled inference, and critiques the extraction and evaluation prompts. The principal deployment conclusion is that the extracted JSON can serve as a high-precision indexing layer and source of positive evidence, but it must be combined with raw-section fallback, field-compatible retrieval, evidence citation, quality-aware ranking, and human review. Missing structured values cannot safely be interpreted as absence in the source CV.
Keywords: curriculum vitae; information extraction; retrieval-augmented generation; local language model; mixture of experts; precision-recall trade-off; multilingual retrieval; structured search; llama.cpp; prompt engineering
Data and materials. The empirical basis consists of 24 category-specific evaluation workbooks covering 2,484 source CV PDFs, prompt2(5), aiextract.sys.prompt, and aiextract.user.prompt. The original Advocate workbook is used for the Advocate category; the generic outside-scope workbook and the mislabeled detailed Advocate duplicate are excluded. The coverage supplement separates source absence from extraction failure and shows materially broader apparent extraction coverage for ChatGPT than for the reasoning-disabled Gemma configuration.
Report contents
Introduction
RAG for CV search and the same-context requirement.
Read section →Materials and setup
Corpus, data heterogeneity, model runtime, prompts, evaluation, and reproducibility.
Read section →Mathematical framework
Formal extraction metrics, RAG scoring, latency, throughput, and memory equations.
Read section →Results
Pooled, category-level, segment-level, error, and document-level results.
Read section →Technical analysis
Strengths, weaknesses, ambiguity, recall limitations, and retrieval consequences.
Read section →Speed and reasoning-disabled inference
Latency engineering and the quality implications of reasoning-disabled extraction.
Read section →Prompting and alternative models
Prompt design, constrained decoding, and candidate local model families.
Read section →RAG integration
Field-aware indexing, query decomposition, quality policy, and auditability.
Read section →Limitations and conclusion
Validity constraints and deployment conclusion.
Read section →Appendices and references
Figures
- Figure 1. Field-aligned extraction and RAG architecture.
- Figure 2. Pooled document outcomes.
- Figure 3. Weighted F1 by occupational dataset.
- Figure 4. Dataset precision-recall profile.
- Figure 5. Completeness versus weighted F1.
- Figure 6. Schema completeness versus weighted F1.
- Figure 7. Critical unsupported-claim rate by dataset.
- Figure 8. Outcome composition by dataset.
- Figure 9. Segment-level weighted precision, recall, and F1.
- Figure 10. Segment-level fact composition.
- Figure 11. Dataset-by-segment weighted-F1 heatmap.
- Figure 12. Error Pareto distribution.
- Figure 13. Error severity distribution.
- Figure 14. Distribution of document-level weighted F1.
- Figure 15. Document-level completeness versus weighted F1.
- Figure 16. Multimetric dataset quality heatmap.
- Figure 17. Dataset volume versus weighted F1.
- Figure 18. Source-information availability by CV segment.
- Figure 19. Gemma extraction coverage conditional on source availability.
Tables
- Table 1. Research questions and corresponding evidence.
- Table 5. Operational document-outcome thresholds.
- Table 6. Pooled extraction results.
- Table 7. Cross-dataset distribution of weighted F1.
- Table 8. Highest- and lowest-performing datasets.
- Table 9. Segment-level extraction performance.
- Table 10. Most frequent error categories.
- Table 11. Speed and capacity metrics that should be measured.
- Table 14. Alternative local model families for the same extraction task.
- Table 10A. Source availability and Gemma conditional extraction coverage.
Downloads
The source report, consolidated workbook, and prompts are included with this website package.