← Latest papers
💻 computer science

Explainable Machine Learning for Detecting Fraudulent Online Job Postings in Ghana: A SHAP-Based Approach

This study leverages machine learning and SHAP-based explainability to effectively detect fraudulent online job postings in Ghana, identifying Multinomial Naive Bayes and Logistic Regression as top-performing models and highlighting educational requirements, application deadlines, and job categorization as key fraud indicators.

Original authors: Agyapong Ansong Afia Korantemaa

Published 2026-06-24
📖 4 min read☕ Coffee break read

Original authors: Agyapong Ansong Afia Korantemaa

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are walking through a bustling digital marketplace in Ghana, looking for a job. It's a hopeful place, but it's also full of tricksters. Some people are posting fake job ads just to steal your money or your personal information. This is the problem the paper tackles: how to spot these fake ads before they hurt anyone.

The author, Agyapong Ansong Afia Korantemaa, decided to build a "digital detective" using Machine Learning. But here's the twist: usually, these smart computer programs are like "black boxes." You put data in, and a result comes out, but no one knows why the computer made that decision. The author wanted to fix that by using a special tool called SHAP (which stands for Shapley Additive exPlanations) to make the detective explain its reasoning in plain English.

Here is the story of how they did it, broken down simply:

1. The Training Ground (The Data)

The researchers went to Jobweb Ghana, one of the country's biggest job sites. They gathered a collection of 499 job postings.

  • The Good Guys: 360 of these were real, legitimate jobs.
  • The Bad Guys: 139 were confirmed scams.

Think of this dataset as a stack of 499 job flyers. The researchers fed these flyers into a computer to teach it what a scam looks like.

2. The Contestants (The Models)

The author didn't just use one detective; they set up a five-way race to see which computer algorithm was the best at spotting the fakes. They tested:

  1. Multinomial Naive Bayes: A statistical detective that looks at how often certain words or facts appear together.
  2. Logistic Regression: A math-focused detective that draws a line to separate "real" from "fake."
  3. Random Forest: A team of decision-makers (like a committee of trees) that votes on the answer.
  4. K-Nearest Neighbors: A detective that looks at the "neighbors" of a job post (similar posts) to see if they are scammers.
  5. Decision Tree: A detective that asks a series of Yes/No questions to reach a conclusion.

3. The Race Results

After running the test, the Multinomial Naive Bayes and Logistic Regression models were the clear winners.

  • They were about 92% accurate.
  • They were great at catching the scammers (high "Recall") without crying wolf too often (good "Precision").
  • The Decision Tree (the simple question-asker) struggled the most, getting confused more often than the others.

4. The "Why" (The SHAP Explanation)

This is the most important part of the paper. Usually, a computer might say, "This job is a scam," and stop there. But the author used SHAP to ask, "Why?"

Imagine the computer is a judge giving a verdict. SHAP is like a lawyer standing next to the judge, pointing at the evidence and saying, "We are convicting this job ad because..."

The SHAP analysis revealed three main "smoking guns" that made the computer suspicious:

  • The Degree Requirement: If a job said you needed a "Low" or "Standard" degree (but not a high-level one), it was a huge red flag. The computer thought, "Real high-paying jobs usually ask for more specific, higher qualifications."
  • The Deadline: If the ad didn't say when the application was due, or if the deadline was weird, the computer got suspicious. Scammers often don't care about deadlines because they just want to grab your info now.
  • The Categories: If the job was listed in multiple, confusing categories, the computer flagged it. Legitimate companies usually know exactly where their job fits.

What didn't matter?
Surprisingly, the computer didn't care much about fancy things like company logos or company names. Scammers can easily fake a logo, so the computer learned to ignore the "face" of the company and focus on the "body" of the text (the requirements and rules).

5. The Final Verdict

The paper concludes that we can build a system that is both smart (catches the scammers) and honest (explains why it caught them).

  • The Good News: We don't need to rely on humans manually reading thousands of ads. A computer can do it faster and more accurately.
  • The Trust Factor: Because the computer can explain its reasoning (e.g., "I flagged this because it has no deadline and asks for a low degree"), people in charge can trust the system and act on it without fear of making a mistake.

In short, the author built a smart, chatty security guard for Ghana's job market. This guard doesn't just shout "Stop!" at suspicious ads; it points to the specific rule the ad broke, making it much easier to keep job seekers safe.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →