ms-swift icon indicating copy to clipboard operation
ms-swift copied to clipboard

Discussion: Does DFT really have practical effects?

Open Kidand opened this issue 1 year ago • 4 comments

I noticed that ms-swift implements DFT by adding --enable_dft_loss true. However, based on my practice, with all other hyperparameters remaining unchanged, merely enabling DFT results in lower loss, but the performance of the model trained with DFT is significantly inferior to that of SFT.

Kidand avatar Aug 14 '25 01:08 Kidand

I encountered the same issue. Its performance is far inferior to that of SFT , and it is even worse than the pre-trained base model.

MRKINKI avatar Aug 15 '25 03:08 MRKINKI

Stop wasting time trying; the current DFT doesn’t work for my tasks.

NicholasKX avatar Aug 15 '25 09:08 NicholasKX

In my experiments, even when trained on mathematical datasets, DFT performs worse than SFT.

vibe-viscot avatar Aug 17 '25 06:08 vibe-viscot

https://arxiv.org/pdf/2508.11408 This work has modified the original DFT loss.

AshOneN avatar Sep 08 '25 03:09 AshOneN