A Comparative Evaluation of Knuth-Morris-Pratt Algorithm and Large Language Models with Retrieval Augmented Generation

Resume screening is pivotal in modern recruitment, determining which candidates advance in the hiring process. As companies receive many applications, especially for high-demand roles, efficient and accurate screening methods are essential to avoid overlooking potential talent. This paper examines two advanced methods: the Knuth-Morris-Pratt (KMP) algorithm, known for its fast and efficient pattern matching, and Large Language Models (LLMs) with Retrieval-Augmented Generation (RAG), which provide context-aware resume analysis. Recent studies have focused on leveraging artificial intelligence and machine learning to enhance recruitment processes. LLMs show significant promise in handling unstructured text data, understanding nuanced qualifications, and improving hiring outcomes. This paper aims to build on these advancements by directly comparing the performance of KMP and LLMs with RAG in key areas such as processing time and accuracy. While KMP excels in speed, it cannot interpret deeper meanings, whereas LLMs with RAG handle unstructured data more effectively but demand higher computational resources. Ultimately, this study finds that LLMs with RAG outperform KMP in complex resume screening tasks, offering better accuracy and scalability, albeit with greater computational costs.

Authors

Publication Details

Published
2025-04-16
DOI
https://doi.org/10.1109/iccct63501.2025.11019094
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparative Evaluation of Knuth-Morris-Pratt Algorithm and Large Language Models with Retrieval Augmented Generation

V. Radhamani, E. Chandra Blessie, S. Nithya, K Dharssini et al.
Topic Modeling
article

A Comparative Evaluation of Knuth-Morris-Pratt Algorithm and Large Language Models with Retrieval Augmented Generation

V. Radhamani, E. Chandra Blessie, S. Nithya, K Dharssini, S Prasannapathi
article en

Abstract

Resume screening is pivotal in modern recruitment, determining which candidates advance in the hiring process. As companies receive many applications, especially for high-demand roles, efficient and accurate screening methods are essential to avoid overlooking potential talent. This paper examines two advanced methods: the Knuth-Morris-Pratt (KMP) algorithm, known for its fast and efficient pattern matching, and Large Language Models (LLMs) with Retrieval-Augmented Generation (RAG), which provide context-aware resume analysis. Recent studies have focused on leveraging artificial intelligence and machine learning to enhance recruitment processes. LLMs show significant promise in handling unstructured text data, understanding nuanced qualifications, and improving hiring outcomes. This paper aims to build on these advancements by directly comparing the performance of KMP and LLMs with RAG in key areas such as processing time and accuracy. While KMP excels in speed, it cannot interpret deeper meanings, whereas LLMs with RAG handle unstructured data more effectively but demand higher computational resources. Ultimately, this study finds that LLMs with RAG outperform KMP in complex resume screening tasks, offering better accuracy and scalability, albeit with greater computational costs.

Quality Education
Openalex Percentile: Top 94%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.