Stop a code model from reproducing private training code

HardResearch30 minRSREPro outline

The question

A code generation model was trained on a large code corpus. There is concern it can reproduce private or licensed code it saw in training.

How would you measure the problem and reduce it? I will push on failure modes of whatever you propose.

What the interviewer is looking for

  • Defines memorization in measurable terms
  • Builds an evaluation with prompts likely to trigger regurgitation
  • Proposes layered mitigations across data, training and inference
  • Anticipates failure modes and how each mitigation could be bypassed
  • Weighs utility cost against risk

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Meta (general E-level SWE and ML loops, plus MSL / FAIR research roles) question type: an open research problem pressed for failure modes, such as stopping a code model from reproducing private training code.

Reported in: trueinterview.io

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Meta (general E-level SWE and ML loops, plus MSL / FAIR research roles) question.