dParallel icon indicating copy to clipboard operation
dParallel copied to clipboard

Reproducing dParallel-LLaDA-8B-Instruct on GSM8K: Lower Score After Retraining

Open ashun989 opened this issue 1 year ago • 2 comments

First of all, thank you for releasing dParallel and the corresponding checkpoints and codes — the work has been very inspiring.

I’m currently trying to reproduce the GSM8K results for dParallel-LLaDA-8B-Instruct, and I’ve run into a discrepancy after retraining. I’d really appreciate any hints on what might be going wrong.

Results with the released checkpoint

Using the released checkpoint dParallel-LLaDA-8B-instruct, I evaluated on GSM8K and obtained results that are close to the numbers reported in the paper:

  • avg NFE: 29.1
  • score: 75.5

So the released checkpoint seems consistent with the paper.

Results after retraining with released data & config

Next, I trained the model from scratch using:

  • The released training data
  • The released config file
  • 8 GPUs

Under (what I believe are) the same conditions, my GSM8K evaluation results are:

  • avg NFE: 23.6
  • score: 71.8

So after retraining, the score drops while the avg NFE becomes smaller.

Do you have any idea what might cause this discrepancy?

Image

ashun989 avatar Nov 17 '25 08:11 ashun989

Hi, @ashun989 I just trained the LLaDA using the code from our release, without making any modifications. The model I obtained on GSM8K has an accuracy of 76.04% and an average NFE of 32, which is similar to our previously released checkpoint. Certainty loss introduces some randomness during training, but the range of fluctuation is not large. My training environment consists of 8 A5000 GPUs, with torch=2.5.0, transformers=4.49.0, trl=0.16.0, peft=0.14.0. You may try aligning the versions or lowering the inference threshold to 0.3.

czg1225 avatar Nov 18 '25 13:11 czg1225

Thank for your patience. I find my mistakes and got 75.89% with average NFE=32 ~

ashun989 avatar Nov 19 '25 10:11 ashun989