KatInterview

Course recommender aligned to a user's target job skills

Machine LearningModel answer
MediumModel answerMachine Learningrecommender-systemsfeature-engineeringranking

Last updated

Design an end-to-end system that suggests learning courses matching a user's job-search or role goals, including job-posting text extraction, ranking, evaluation, and guardrails.

You are asked to design a small end-to-end ML system that recommends online learning courses to a user, where the goal is to help them succeed in a job search and/or in their current role.

Assume the following signals exist:

  • Job activity: jobs the user applied to, jobs viewed or saved, jobs recommended to them.
  • User profile: job title, skills, seniority, industry; the user's past course consumption with dwell and completion data; search queries.
  • Course metadata: title, description, skills taught, difficulty, duration.
  • Job posting text: description and requirements.

Deliver the following:

  1. An end-to-end architecture: data collection, feature generation, candidate generation, ranking, and serving.
  2. A concrete plan for turning job posting text into useful features, including at least one non-LLM approach and at least one LLM-based approach.
  3. A discussion of training labels, offline and online evaluation metrics, and key failure modes (cold start, bias, feedback loops).
  4. A short treatment of business constraints: freshness, diversity, exploration, and compliance.

Treat it as a whiteboard design exercise: state assumptions, make the trade-offs explicit, and be ready to defend your choices.

Hints

Hint 1

Start by pinning down how you measure success — clicks are a weak proxy; think about what 'course helped the user' actually means.

Hint 2

The catalog of courses is probably small relative to the user base, which changes where the hard part of the problem lives (intent modeling, not retrieval scale).

Hint 3

A shared skill vocabulary that connects job postings, user profiles, and courses is the linchpin — design around it.

Hint 4

For job-posting extraction, think about grounding LLM output to a known taxonomy so hallucinations get filtered out.