[Training] Late-stage degradation of image-editing consistency during full training of Qwen-Image 2.1

Aperta
#1,857 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

This is a training-behaviour question rather than a scoped code change: the reporter asks why later checkpoints degrade from 1e-6, 5e-7 and 1e-7 on 8 GPUs over ~10k images. Start by reading the repository's full-parameter training scripts and default training config for the Qwen-Image editing pipeline, then ask the reporter for loss curves and early-vs-late checkpoint comparisons before proposing scheduler, EMA or early-stopping changes. There is no failing test to run and no acceptance criterion yet, so the issue needs a maintainer's diagnosis first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

I am performing full-parameter training of Qwen-Image 2.1 for an image-editing task. The model produces relatively consistent results during the early and middle stages of training. However, after training continues for a longer period, the editing consistency starts to degrade.

The main symptoms are:

  • Later checkpoints perform worse than earlier checkpoints.
  • The model becomes less consistent with the input image.
  • Important attributes and structures from the source image are not preserved reliably.
  • The editing results become increasingly unstable during the later stages of training.

I have tested the following learning rates:

  • 1e-6
  • 5e-7
  • 1e-7

However, the same late-stage degradation occurs with all three learning rates. Lowering the learning rate only changes the speed of degradation and does not resolve the issue.

Training Configuration

  • Model: Qwen-Image 2.1
  • Training method: Full-parameter training
  • Task: Image editing
  • Number of GPUs: 8
  • Batch size: 8 images per training step
  • Dataset size: Approximately 10,000 images
  • Learning rates tested: 1e-6, 5e-7, and 1e-7
  • Other training parameters: Default settings

Expected Behavior

The model should continue improving or remain stable as training progresses, especially in terms of image-editing consistency and preservation of important visual attributes from the input image.

Actual Behavior

After a certain point in training, the image-editing consistency degrades. Later checkpoints produce worse results than earlier checkpoints, even when using a very small learning rate such as 1e-7.

Questions

  1. Is this behavior expected during full-parameter training of Qwen-Image 2.1 for image-editing tasks?
  2. Could this issue be caused by overfitting or catastrophic forgetting?
  3. Is the training duration too long for a dataset of approximately 10,000 images?
  4. Are there recommended settings for preventing late-stage degradation, such as:
    • A specific learning-rate scheduler
    • Warmup or cooldown strategies
    • Weight decay
    • Gradient clipping
    • EMA
    • Early stopping based on validation results
    • A recommended maximum number of training steps or epochs
  5. Are there recommended loss functions, data-preprocessing methods, or validation protocols for maintaining image-editing consistency during full-parameter training?

Additional Information

I can provide the following if needed:

  • Training logs
  • Loss curves
  • Comparisons between early and late checkpoints
  • Example input images, editing instructions, and generated results
  • Full training configuration
  • Validation results
Lingua principale
Python
Stelle
13.5k
Fork
1.3k
Merge medio
1g 13h
PR unite (30g)
46

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di modelscope/DiffSynth-Studio

Tutte le issue di modelscope/DiffSynth-Studio

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.