ML & Deep Learning Foundations·Question 14 of 55Basic

What is the difference between feature engineering and representation learning? Where does hand-engineering still earn its keep in 2026?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Feature engineering is you writing the function from raw data to model input. Representation learning is a model learning that function from data. Deep learning won vision, speech and text because those inputs are high-dimensional with strong local structure and enormous corpora exist, so learned features beat hand-crafted ones (SIFT, MFCCs, n-grams all lost).

Full worked answer

Feature engineering is you writing the function from raw data to model input. Representation learning is a model learning that function from data. Deep learning won vision, speech and text because those inputs are high-dimensional with strong local structure and enormous corpora exist, so learned features beat hand-crafted ones (SIFT, MFCCs, n-grams all lost).

Tabular is the opposite regime. Features are already semantic, datasets are small, and domain knowledge encodes constraints the data cannot discover on its own. So hand-engineering still earns its keep in a few concrete places:

  • Tabular / GBDT stacks. Aggregations, ratios, counts and time-window features ("transactions in the last 24h", "days since last login") are where the actual wins live. No amount of model capacity invents them.
  • Features requiring data the model cannot see. Joins against CRM history, external signals, computed windows.
  • Recsys, where user/item history features and cross features carry a lot of the load.
  • LLM systems. What you retrieve, how you chunk, and what metadata you attach to a chunk is feature engineering wearing a different hat.

The modern middle ground is a hybrid: run unstructured columns (a product description, a support ticket body) through a pretrained encoder to get embeddings, then feed those alongside engineered tabular features into a GBDT or a small MLP. Representation learning where it helps, engineering where it helps.

The misconception to kill is "deep learning means no feature engineering." The work moved, it did not vanish. At frontier scale it went into data curation, mixture weights, dedup, and tokenization, all of which are engineering decisions about representation with enormous impact.

What interviewers are actually testing is judgement about which regime you are in. Spending three weeks crafting features for a problem that has a billion tokens and a pretrained backbone is as wrong as throwing an MLP at 8,000 rows of tabular data.

What a good answer covers

  • Feature engineering is you writing the function from raw data to model input
  • Representation learning is a model learning that function from data
  • Deep learning won vision, speech and text because those inputs are high-dimensional with strong local…
  • Features are already semantic, datasets are small, and domain knowledge encodes constraints the data…
  • Tabular / GBDT stacks

Key terms: Tabular / GBDT stacks · Recsys · LLM systems

Interviewer follow-ups to expect

  1. Give me a feature you have engineered that a model could never have learned, and say why. How do you decide whether to feed an embedding into a GBDT versus fine-tuning the encoder end to end?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep