5300: Synthetic Data & Advanced Training - Quiz¶
Instructions¶
- 20 questions
- Passing score: 80% (16/20 correct)
Questions¶
1. What is synthetic data in LLM context?
- A) Data from synthetic benchmarks
- B) Data generated by other LLMs
- C) Artificial training data
- D) Benchmark outputs, LLM-generated text and other artificial data together
2. What is the primary benefit of synthetic data?
- A) Always higher quality
- B) No bias whatsoever, since generated text is immune to every bias in its source corpus
- C) Cheaper and faster to generate than human data
- D) Free from hallucinations
3. What is distillation in LLM context?
- A) Compressing liquids in an industrial still, unrelated to machine learning
- B) Data compression
- C) Training smaller model to mimic larger model
- D) Model pruning
4. What is model merging?
- A) Merging training datasets
- B) Combining weights from multiple trained models
- C) Ensemble methods
- D) Multi-task learning, which trains one model across several objectives at once
5. Which method combines weights from fine-tuned models?
- A) Stochastic Weight Averaging
- B) Linear merging of checkpoints
- C) Task Arithmetic
- D) Stochastic weight averaging, checkpoint merging and task arithmetic together
6. What is a risk with synthetic data?
- A) Model collapse
- B) Amplification of biases
- C) Quality degradation
- D) Model collapse, bias amplification and quality degradation together
7. What is model collapse?
- A) Model stops working
- B) Model loses diversity and generates degenerate output
- C) Model forgets training
- D) Model overfits, which is the same failure mode as collapse under every definition
8. What is federated learning?
- A) Training across multiple institutions without sharing data
- B) Federated database training
- C) Distributed training
- D) Cloud training, meaning any run that happens on rented GPU instances anywhere
9. What is the main challenge of federated learning?
- A) Communication overhead
- B) Privacy preservation
- C) Data heterogeneity
- D) Communication overhead, privacy and data heterogeneity together
10. What is "self-instruct"?
- A) Self-supervised learning, the pretraining scheme that predicts masked tokens in text
- B) Using LLM to generate its own training instructions
- C) Self-training loop
- D) Instruction following
11. In distillation, the student often learns from:
- A) The teacher's soft probability distribution (with temperature)
- B) Random noise
- C) Only hard labels
- D) The teacher's tokenizer, copied wholesale so the student shares its vocabulary forever
12. The classic distillation loss compares:
- A) Weight norms
- B) Gradient magnitudes
- C) KL divergence between teacher and student output distributions
- D) Embedding L2 distance only, ignoring every output probability the teacher produces
13. Self-instruct starts from:
- A) A small seed set of tasks, then generates and filters new instruction data
- B) Human-written books
- C) Random URLs
- D) Benchmark test sets, which are manually curated evaluation suites kept out of training by policy
14. Quality control for synthetic data commonly includes:
- A) Deduplication and filtering (e.g., heuristic or reward-model scoring)
- B) Keeping everything generated
- C) Ignoring duplicates
- D) Using only the longest outputs, a rule that guarantees the noisiest generations survive every filter
15. FedAvg aggregates client updates by:
- A) Taking the newest client model
- B) Averaging client weights weighted by data size
- C) Selecting the single best client and discarding every other participant's update entirely
- D) Concatenating datasets
16. Secure aggregation in federated learning:
- A) Publishes raw client data
- B) Encrypts uploads so the server only sees the sum
- C) Removes all privacy guarantees
- D) Trains on plaintext centrally, collecting every raw record in one unencrypted warehouse
17. Non-IID data across federated clients causes:
- A) Faster convergence
- B) No effect
- C) Client drift and unstable convergence
- D) Perfect personalization, with each client converging to the same optimal weights effortlessly
18. Alpaca demonstrated that:
- A) Synthetic instruction data from a strong LLM can bootstrap a capable instruct model cheaply
- B) Synthetic data always fails
- C) Human data is unnecessary for reasoning
- D) Smaller models cannot follow instructions at any scale, under any known training recipe, ever
19. Higher sampling temperature in synthetic generation:
- A) Guarantees correctness, since a hotter distribution can never sample a factually wrong token
- B) Removes hallucinations
- C) Increases output diversity (at the cost of more noise)
- D) Reduces token count
20. A sound way to evaluate synthetic data quality is to:
- A) Count the tokens
- B) Ask the generator model to rate itself exclusively, with no external evidence of any kind ever gathered
- C) Check the file size
- D) Train a model on it and measure downstream task performance
Answer Key¶
| Question | Answer | Explanation |
|---|---|---|
| 1 | D | Synthetic data covers benchmark, LLM-generated and artificial data |
| 2 | C | Generation is cheaper and faster than human annotation |
| 3 | C | Distillation trains a smaller student to mimic a larger teacher |
| 4 | B | Merging combines weights from multiple trained models |
| 5 | D | SWA, linear checkpoint merging and task arithmetic all combine weights |
| 6 | D | Collapse, bias amplification and quality loss are all risks |
| 7 | B | Collapse: the model loses diversity and turns degenerate |
| 8 | A | Federated learning trains across parties without sharing raw data |
| 9 | D | Communication, privacy and heterogeneity are the federated challenges |
| 10 | B | Self-instruct has the LLM generate its own instruction data |
| 11 | A | Students learn from the teacher's soft distribution at temperature |
| 12 | C | Classic distillation loss is KL between teacher and student distributions |
| 13 | A | Self-instruct seeds from a small task set, then generates and filters |
| 14 | A | Dedup plus heuristic or reward-model filtering guards quality |
| 15 | B | FedAvg averages client weights weighted by data size |
| 16 | B | Secure aggregation reveals only the sum of client updates |
| 17 | C | Non-IID shards drive client drift and unstable convergence |
| 18 | A | Alpaca bootstrapped an instruct model from a strong LLM's synthetic data |
| 19 | C | Higher temperature raises diversity at the cost of noise |
| 20 | D | The proof is downstream: train on it and measure task performance |
Need to Review?¶
Each question maps to the closest lesson for review:
- Questions 1-2, 6-7, 10, 13-14, 20: 5204: Preference Dataset Creation — the §9 Synthetic Preferences section: AI-generated data from a judge model and the controls that make it usable (held-out human calibration, mix ratios) for Q1-2's definition-and-benefit pair; the rest is now taught in-module by 5304: Self-Instruct and Model Collapse - the 0.350 keep-rate bootstrap and its seed-task start (Q10, Q13), the 1082-to-557 recursion walk and the ten-percent anchor (Q6-7's risk and collapse definition), and the 0.770/0.775/0.552/0.102 downstream split with the $1,603-vs-$524,450 ledger (Q14's quality control, Q20's train-and-measure proof)
- Questions 3, 11-12, 19: 5301: Knowledge Distillation - Training Small Models Using Big Model Outputs — the student-mimics-teacher setup, soft targets under temperature's sweep (T=1 nearly hard, T→∞ uniform), and the KL(soft student ‖ soft teacher)·T² combined loss
- Questions 4-5, 18: 5101: LoRA (Low-Rank Adaptation) Logic — the merge path that folds learned updates into base weights and Alpaca as the canonical instruction-tuning dataset; checkpoint merging (SWA, linear, task arithmetic) is now taught in-module by 5105: Model Merging - task vectors and the lambda dose, TIES sign election, DARE drop-and-rescale, SLERP geometry, checkpoint soups, and the mergekit dare_ties config surface
- Questions 8-9, 15-17: 5303: Federated Learning — FedAvg's sample-weighted rounds, non-IID client drift and its mitigations, secure aggregation, and the communication/privacy/heterogeneity triangle