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.

Conceptual illustration — not original simulation data

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

lossBaseline: 987.47 lossBaseline987.47Mini-SFT: 287.84 lossMini-SFT287.84120: 232.64 loss120232.64180: 258.01 loss180258.01240: 234.75 loss240234.75300: 237.29 loss300237.29
Values from the supplied experiment summary. Categories are separate evaluation conditions; this is not a continuous training trajectory. Hover or focus on a bar for its exact value.

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 configuration120-step model240-step model
Balanced215.93280.73
Keyword-heavy382.64500.87
Off-topic strict193.54247.34
Anti-repetition140.17197.01
Clean symbol194.15259.88
Coherence proxy170.75217.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

MetricBeforeAfter
Mean chosen loss37.836.06
Mean rejected loss43.3951.45
Rejected–chosen gap5.5645.39

This DPO-style proxy is not standard DPO or full reinforcement-learning training.

Final comparison

MetricDomain-SFT-240DPO-style proxy
Mean held-out loss244.29234.61
Conditional-generation diagnostic score161.03140.52
Mean target hits11.89.2
Mean repetition0.46550.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.

  1. Foundational publication. Lou, Meng and Ermon, ICML 2024 Open reference ↗
  2. Supplied experiment summary. Numerical archive summary in the upgrade brief
  3. Local project folder. SEDD-TakeHome README and scripts; later outputs incomplete in the current folder