SpinTheMic
Pro

Interview practice question

Testing a fine-tuned model for data leakage

Machine Learning · LLM Fine Tuning · Experienced

Your model was fine-tuned on internal documents containing confidential information. How do you test whether it leaks that information?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Extraction attacks: prompt with partial sensitive strings or contexts.
  • Canary strings inserted before training to measure memorization.
  • Membership inference tests.
  • Red-team prompts asking for confidential info.
  • Mitigate: data sanitization, fewer epochs, differential privacy, access controls.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics