Research overview
This exploratory study reproduced and adapted an existing SEDD text model, then compared supervised fine-tuning, reward-guided candidate selection and a preference-contrastive proxy. Its main lesson was that a better optimisation metric did not automatically produce better conditional generations.
Research foundation and question
SEDD is an existing discrete-diffusion method based on a score-entropy objective. This project did not invent that foundation model. It asked how domain adaptation and preference-oriented objectives affect conditional generation quality and whether lower loss is a reliable guide to model selection.
Pipeline
The supplied experiment summary groups 17 computational stages: baseline reproduction; preliminary and domain-specific fine-tuning; data and evaluation refinement; training-step and seed ablations; reward-guided generation; preference-pair construction; checkpoint selection; and a DPO-style preference-contrastive proxy followed by final evaluation. The DPO-style branch is an exploratory proxy, not a full standard DPO or reinforcement-learning implementation.
Dataset and ablation design
The summary describes 32 domain-specific supervised samples, four main training-step configurations (120, 180, 240 and 300), 64 generated candidates reused across six reward configurations, and 64 weakly supervised preference pairs. Of the pairs, 57 were allocated to training and seven to development. They were formed by ranking generated candidates using designed rewards, not by collecting 64 independent human preference judgements.
Mean held-out score-entropy loss
Evaluation and model choice
The supplied final comparison reports a decrease in mean held-out loss from 244.29 to 234.61 after the preference-contrastive proxy, but also a decrease in the conditional-generation diagnostic score from 161.03 to 140.52 in a small sample. The 240-step domain-adapted model was retained as the primary checkpoint. The final comparison and the training-step ablation are separate evaluation records and should not be combined as one continuous loss trajectory.
Research insight
Optimising a model objective is not the same as establishing reliable task performance. The contrast between loss and generation diagnostics motivated a broader interest in physically constrained machine learning, where outputs must preserve scientifically meaningful information rather than merely look plausible.
Limitations and provenance
The domain and preference datasets were small; reward functions were designed diagnostic proxies; the final conditional comparison used only five samples per model; and repeated texts in preference pairs complicate interpretation. The current local folder contains an initial-stage README and some empty placeholder outputs, while the later numerical summary was supplied for this upgrade. These results are exploratory and do not demonstrate statistical significance or application to astronomical image inversion.
Reward-function ablation
| Reward configuration | 120-step model | 240-step model |
|---|---|---|
| Balanced | 215.93 | 280.73 |
| Keyword-heavy | 382.64 | 500.87 |
| Off-topic strict | 193.54 | 247.34 |
| Anti-repetition | 140.17 | 197.01 |
| Clean symbol | 194.15 | 259.88 |
| Coherence proxy | 170.75 | 217.4 |
The same 64 candidates were assessed under six reward configurations. Numerical scales differ by reward, so comparisons are most meaningful between models within each row.
Preference-contrastive proxy
| Metric | Before | After |
|---|---|---|
| Mean chosen loss | 37.83 | 6.06 |
| Mean rejected loss | 43.39 | 51.45 |
| Rejected–chosen gap | 5.56 | 45.39 |
This DPO-style proxy is not standard DPO or full reinforcement-learning training.
Final comparison
| Metric | Domain-SFT-240 | DPO-style proxy |
|---|---|---|
| Mean held-out loss | 244.29 | 234.61 |
| Conditional-generation diagnostic score | 161.03 | 140.52 |
| Mean target hits | 11.8 | 9.2 |
| Mean repetition | 0.4655 | 0.475 |
The mean held-out loss fell by 3.96%, while the conditional-generation diagnostic score fell by 12.7%. The final comparison used five samples per model; these numbers do not establish a statistically significant improvement. This evaluation is separate from the training-step ablation above.
Documentation and references
Claims are classified by their provenance. External literature is background reading and is not a publication by Zephyr Huang. Private or incomplete archives are described without publishing source code or raw laboratory data.
- Foundational publication. Lou, Meng and Ermon, ICML 2024 Open reference ↗
- Supplied experiment summary. Numerical archive summary in the upgrade brief
- Local project folder. SEDD-TakeHome README and scripts; later outputs incomplete in the current folder