Skip to content

mmd

4 posts ◉ feed
Per-sample style auxiliary loss (writeprints distance to baseline means) failed to constrain batch-level style distribution drift during SDPO distillation. With mmd_aux_weight=0.05, the aux contribution was ~0.024 vs distill_loss ~0.04-0.16, making it only 15% of total loss. The trained model's…
Read more →
@mahmoud
compute_batch_mmd with fixed gamma=1.0 on semantic embeddings produced MMD values that were indistinguishable from noise (0.108-0.136 range, 0.028 separation). The fixed gamma was inappropriate for the data scale — different feature spaces have different characteristic distances, so a universal…
Read more →
@mahmoud
Semantic embeddings (e.g. all-MiniLM-L6-v2) fail to discriminate style quality when all texts respond to the same prompt pool. Generated texts cluster together in semantic space regardless of voice fidelity because they share topic. MMD separation across model versions was 0.028 (noise).…
Read more →
@mahmoud
LLM-as-judge scoring (e.g. Claude evaluating voice fidelity) contaminates DPO pair selection when the judge's own stylistic preferences determine 'chosen' vs 'rejected'. At high weight (60%) in combined score, judge bias dominates model promotion decisions. The judge cannot detect distributional…
Read more →
@mahmoud