<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by AbdeliZohra on Medium]]></title>
        <description><![CDATA[Stories by AbdeliZohra on Medium]]></description>
        <link>https://medium.com/@abdelizohr?source=rss-5fbff1410545------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*eLTM0QjhldqjbXOm</url>
            <title>Stories by AbdeliZohra on Medium</title>
            <link>https://medium.com/@abdelizohr?source=rss-5fbff1410545------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:48:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdelizohr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Revolutionizing Recruitment: An AI-Powered CV Matching System]]></title>
            <link>https://medium.com/@abdelizohr/revolutionizing-recruitment-an-ai-powered-cv-matching-system-f50eabd5a690?source=rss-5fbff1410545------2</link>
            <guid isPermaLink="false">https://medium.com/p/f50eabd5a690</guid>
            <dc:creator><![CDATA[AbdeliZohra]]></dc:creator>
            <pubDate>Sat, 28 Jun 2025 23:35:18 GMT</pubDate>
            <atom:updated>2025-06-28T23:53:13.868Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c7ZFg2jbNXAUIQhtwp5z_Q.png" /></figure><blockquote><strong>Bridging the gap between talent and opportunity through intelligent matching.</strong></blockquote><h3><strong>Key Insights into AI-Powered Recruitment</strong></h3><ul><li><strong>Contextual Understanding:</strong> Our system moves beyond simple keyword matching to interpret the true relevance of skills and experience, identifying top candidates even when they use varied terminology.</li><li><strong>Efficiency and Fairness:</strong> Automating candidate screening significantly reduces the time-to-hire, while our skill-based approach helps minimize unconscious biases, fostering a more equitable hiring process.</li><li><strong>Modular and Adaptable Architecture:</strong> Built on a flexible tech stack with FastAPI and React, the system offers customizable weighting for different job criteria, providing HR teams with transparent, data-driven insights.</li></ul><h3><strong>The Challenges of Traditional Recruitment</strong></h3><p>In today’s fast-paced corporate environment, especially within large organizations like a telecommunications firm, the recruitment process often faces significant bottlenecks. Traditionally, screening hundreds, if not thousands, of resumes against job descriptions is a manual, time-consuming, and often inconsistent endeavor. HR teams spend a substantial amount of time reviewing applications, which can lead to delays in filling critical roles and, in some cases, overlooking highly qualified candidates. The challenge is compounded when applicants use different words to describe similar skills or experiences, making a simple keyword search inadequate.</p><p>Moreover, manual screening is susceptible to unconscious biases, which can inadvertently limit workforce diversity — a crucial element for market competitiveness. The sheer volume of applications for each job opening has made manual screening impractical, requiring a fundamental shift in how talent is identified and acquired.</p><h3><strong>Our Motivation: A Shift Towards Intelligent Matching</strong></h3><p>Recognizing these inefficiencies, a company sought to transform its recruitment process. Our team’s motivation was clear: to use cutting-edge Natural Language Processing (NLP) technologies to move from a conventional, keyword-based approach to a sophisticated, contextual, and skill-based matching system. This transformation aimed not only to streamline operations but also to enhance the quality of hires and ensure a more equitable process.</p><p>The core objectives of our project were multifaceted:</p><ul><li>Develop an AI-driven system that accurately matches job descriptions with candidate resumes using advanced NLP.</li><li>Automate the candidate screening process to reduce time-to-hire and improve overall efficiency.</li><li>Provide recruiters with transparent matching data and customizable ranking criteria.</li><li>Identify skill gaps between candidates and job requirements to inform hiring and training decisions.</li><li>Minimize unconscious bias in the recruitment process, fostering a more diverse talent pool.</li></ul><h3><strong>Our AI-Powered Approach to CV and Job Description Matching</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDRZpOh9iPaeQxDyzW9z2g.png" /></figure><p>Our solution, a standalone SaaS web application, integrates several advanced components to achieve its matching capabilities. The pipeline begins with robust data extraction, followed by sophisticated semantic analysis and a flexible scoring mechanism.</p><h4><strong>Data Extraction: Unlocking Structured Information</strong></h4><p>A crucial first step was to effectively extract relevant information from unstructured or semi-structured PDF documents. We implemented a two-stage process for this:</p><p><strong>Stage 1: Raw Text Extraction with Apache Tika</strong></p><p>The initial phase involved using Apache Tika, a versatile content analysis toolkit, to extract raw text content from PDF CVs and job descriptions. We chose Tika for its ability to convert diverse document formats into a linear text stream, providing the foundational data for subsequent processing. While it generally works well, this stage presented challenges in handling complex layouts, tables, and non-OCR’d text within images, which could sometimes result in incomplete or poorly formatted output.</p><p><strong>Stage 2: Structured Data Parsing with Qwen 2.5 7B Instruct</strong></p><p>The raw text from Tika often lacked explicit structure. To transform this into usable, structured information (e.g., candidate contact details, skills, education, work experience, job requirements), we integrated the Qwen 2.5 7B Instruct large language model (LLM). We crafted specific prompts for both CVs and job descriptions, meticulously refining them to guide the model to extract and structure data into a predefined JSON format. This approach allowed for highly precise section-wise extraction, focusing on segments like “Skills” and “Experience” for more accurate matching. During development, we utilized the OpenRouter API due to computational resource constraints, with future plans to explore local deployment.</p><h4><strong>Feature Extraction and Preprocessing: Building Semantic Understanding</strong></h4><p>For deep semantic understanding, we explored two primary feature extraction methods:</p><ul><li><strong>Keyword-Based Extraction:</strong> Focused on extracting and matching only key terms or entities from each section. While highly accurate, this method proved computationally intensive.</li><li><strong>Full-Section Embeddings:</strong> Extracted entire text sections to capture broader semantic context. This approach yielded very similar results with significantly less computational overhead, making it our preferred method for efficiency.</li></ul><p>Before generating embeddings, we applied standard text preprocessing steps, including lowercasing, tokenization, stopword removal, and punctuation/special character removal. This cleaned data was then fed into the “BAAI/bge-base-en” transformer-based model, which is designed for efficient and high-quality semantic similarity computation. Importantly, our system supports processing CVs in both French and English, with a translation step ensuring consistency for the English-centric language model.</p><h4><strong>The Core Matching Algorithm: Cosine Similarity and Section-Wise Scoring</strong></h4><p>Our matching algorithm uses cosine similarity to compare vector embeddings of corresponding sections between CVs and job descriptions. For a less technical audience, think of it as measuring the angle between two vectors that represent the text. A score of 1 means the sections are semantically identical, while a score of 0 means they have no relationship. This process yields a similarity score between 0 and 1 for each section (e.g., CV “Skills” against JD “Required Skills”). The sections primarily considered for direct comparison include skills, experience, and education.</p><p><strong>Beyond the Keywords: Understanding the ‘Job Mission’</strong></p><p>A unique and powerful aspect of our approach, specifically requested by the HR team, involves comparing the “Job Mission” section from the job description against the full content of each candidate’s CV. This goes beyond rigid keyword matching to assess the general alignment between a candidate’s overall profile and the role’s expectations, even when specific skills or experiences are not explicitly categorized. This contextual understanding is crucial for identifying candidates who might otherwise be overlooked by a simple keyword search.</p><h4><strong>Ranking and Scoring: Customizable Weights for Precision</strong></h4><p>To produce a final ranking of candidates, we utilize a weighted aggregation of these section-wise similarity scores. Recruiters can specify custom weights for each section based on its importance, allowing for a tailored approach to each role. For instance, a job demanding high technical expertise might assign more weight to the “Skills” and “Experience” sections. This modular and customizable ranking mechanism ensures that matching is not based on rigid rules but incorporates deeper semantic relevance and recruiter priorities.</p><h3><strong>Our Technical Arsenal</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*bTv9UZGr4sBO07ApSAxvzw.png" /></figure><p>The system’s architecture is built on a robust and scalable tech stack:</p><ul><li><strong>Backend:</strong> Powered by FastAPI, a high-performance Python framework for building APIs, structured in a layered modular architecture for maintainability.</li><li><strong>Frontend:</strong> Developed with React, a popular JavaScript library, and Tailwind CSS for streamlined styling. Vite manages the development server for speed and efficiency.</li><li><strong>Database:</strong> PostgreSQL, hosted on Aiven, is used for user authentication (login/registration) only. Processed CV and Job Description data are stored as JSON files on the file system.</li><li><strong>Embeddings and Similarity Search:</strong> We use “BAAI/bge-base-en” for generating contextual embeddings, and QdrantClient as an in-memory vector database for efficient similarity search between text elements.</li><li><strong>Development Utilities:</strong> Uvicorn for the backend API, watchdog and easygui for file monitoring during development, and validators for input validation.</li></ul><h3><strong>Performance and Insights: What We Learned</strong></h3><p>Our evaluation revealed promising results and valuable insights into the complexities of CV/job matching.</p><h4><strong>Model Performance and Comparison</strong></h4><p>Our model demonstrated effective identification of suitable candidates, with “Candidate 1” consistently ranked as the top match due to his strong DevOps experience. We conducted a three-way comparison with DeepSeek and Qwen models, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vy1oc8v4iBFS5IvBCFN0cA.png" /></figure><p>While our system aligned with other models in identifying top candidates, we noted inconsistencies for mid-tier candidates, which suggests potential over or undervaluation of specific technical competencies. For instance, Candidate 6 received a 0 score from our system while other models showed moderate ratings, highlighting areas for transparency improvement.</p><p>Despite these minor discrepancies, the relative ranking of candidates largely converged across all models, confirming our system’s effectiveness in filtering out unsuitable profiles and identifying top talent.</p><h4><strong>Challenges and Solutions</strong></h4><p>We encountered several real-world challenges during development:</p><ul><li><strong>Inconsistent CVs:</strong> Candidates often underreport or overreport their experience. Our section-based parsing proved effective in isolating and analyzing meaningful content regardless of length or structure.</li><li><strong>Subjectivity in Ground Truth:</strong> Manual evaluation can introduce biases. We addressed this by designing a structured evaluation framework for expert-ranked resume sets, enabling comparison with system-generated rankings using metrics like NDCG.</li><li><strong>Limited Test Dataset:</strong> Initial evaluations relied on a small dataset. Future work will involve expanding this dataset with more diverse and larger sets of resumes for comprehensive validation.</li><li><strong>Domain-Specific Performance:</strong> The system might perform inconsistently across different industries. Future fine-tuning with industry-specific datasets aims to improve generalization.</li><li><strong>Reliance on External APIs:</strong> Using OpenRouter for Qwen 2.5 during development poses potential performance impacts and costs if not transitioned to local deployment.</li></ul><h3><strong>What Makes Our System Unique?</strong></h3><p>Unlike traditional keyword-based systems or even basic semantic models like Sentence-BERT (SBERT), our system offers:</p><ul><li><strong>Deeper Contextual Understanding:</strong> Our LLM-driven pipeline understands nuanced relationships across multiple paragraphs of CVs and job descriptions.</li><li><strong>Dynamic, Prompt-Driven Matching:</strong> Flexible alignment with recruiter intent is achieved through a prompt-driven approach.</li><li><strong>Robust Multilingual Support:</strong> Our system provides context-aware interpretation of both French and English CVs, a common requirement in the region.</li><li><strong>Section-Level Explainability:</strong> We provide semantic similarity scores for individual sections (e.g., skill-to-skill, education-to-education), returning high matching scores.</li><li><strong>Configurable Weights and Thresholds:</strong> This offers HR teams granular control over total score calculation, ensuring adaptability to varying job requirements.</li></ul><h3><strong>Future Enhancements</strong></h3><p>To further enhance the system, we envision several key improvements:</p><ul><li><strong>Enhanced Document Format Support:</strong> Extend extraction capabilities to include .docx, .pptx, and image-based documents requiring Optical Character Recognition (OCR).</li><li><strong>Database Integration for Historical Data:</strong> Implement a robust database layer to store job offer history and candidate relationships, allowing for tracking and historical insights.</li><li><strong>Structured Candidate Information Storage:</strong> Store key extracted candidate information (name, email, phone) in a structured database for easier access and management.</li><li><strong>User Interface Enhancement for Results:</strong> Refine the UI to display detailed information about matched candidates directly alongside their scores.</li><li><strong>In-Browser Document Visualization:</strong> Allow users to visualize original CVs/JDs alongside extracted data and matching results for verification.</li><li><strong>Notification System for Long Processes:</strong> Implement alerts for batch processing completions, improving user experience.</li><li><strong>Real-time Progress Visualization:</strong> Enhance the UI with visual indicators for bulk CV parsing or matching progress.</li><li><strong>Performance Optimization:</strong> Continuously optimize data extraction, LLM calls, and matching logic for faster execution, especially with large datasets.</li></ul><h3><strong>FAQ</strong></h3><ul><li><strong><em>What is the primary benefit of this AI-powered matching system?</em></strong></li></ul><p>The primary benefit is transforming traditional, manual recruitment into an efficient, unbiased, and intelligent process that accurately matches candidates to job descriptions based on contextual understanding, rather than just keywords.</p><ul><li><strong><em>How does the system handle different languages in CVs?</em></strong></li></ul><p>The system supports processing CVs in both French and English. It includes a translation step during preprocessing to ensure consistency and compatibility with the English-centric language model used for embeddings.</p><ul><li><strong><em>Can recruiters customize the matching criteria?</em></strong></li></ul><p>Yes, recruiters can specify custom weights for different sections (e.g., Skills, Experience, Education) to prioritize criteria based on the specific job requirements, allowing for flexible and tailored ranking.</p><ul><li><strong><em>Where does the system store candidate data?</em></strong></li></ul><p>For user authentication, a PostgreSQL database is used. However, the processed CV and Job Description content are saved as JSON files directly to the file system, as per project requirements.</p><h3><strong>Conclusion</strong></h3><p>The CV Job Matching System represents a significant leap forward in recruitment technology. By leveraging advanced NLP, large language models, and semantic similarity, we have built a prototype that not only addresses the inherent inefficiencies of manual screening but also promotes a fairer, more accurate, and data-driven approach to talent acquisition. This system empowers HR teams with transparent tools and deep insights, paving the way for more strategic hiring decisions and a stronger workforce.</p><h3><strong>References</strong></h3><ul><li><a href="https://github.com/avr2002/CV-JD-Matching?tab=readme-ov-file">CV-JD Matching Repository (2024). Details on the project codebase and technical implementation.</a></li><li><a href="https://openrouter.ai/qwen/qwen-2.5-7b-instruct">Qwen 2.5 7B Instruct API (2024). Utilized for structured data parsing from documents.</a></li><li><a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct">Qwen 2.5 7B Instruct Model (2024). Information on the language model used.</a></li><li><a href="https://www.analyticsvidhya.com/blog/2024/10/cv-data-extraction/">Patel, A. (2024, October). “Advanced Techniques for CV Data Extraction.” Analytics Vidhya. Reference for document parsing strategies.</a></li><li><a href="https://www.figma.com/design/vAksKjOTxmR6oec6RpXBmu/CV_JO_Matching_App?node-id=0-1&amp;t=6qVtPfykPBuyJmy6-1">Khelili, S. (2024). CV-Job Matching App UI Design. Figma. Design and user interface development.</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f50eabd5a690" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>