AI news and explainers at 7 AM weekdays, plus a Sunday weekly at 8Get it in your inbox

METAL LAB

Energy-Guided Flow Matching

arXiv:2608.058112026-08-06

Making an image generator paint the blurry big picture first and sharp details later lets it reach better results with far less training

Pixel-space generative models learn to travel from noise straight to a finished image, forcing them to learn overall structure and fine texture at the same time. This paper instead makes the destination itself move, starting from a blurred, low-frequency version of the image and sharpening smoothly toward the finished image, with an image-specific 'energy' schedule that controls how fast each picture's details are released. In experiments this coarse-to-fine trajectory reached lower FID (a lower-is-better image-quality gap score) on ImageNet class-conditional generation using fewer training epochs than the standard fixed-endpoint approach.

METAL LAB explanatory visual

EG-FM: a generation path with a moving endpoint

Evidence statusMeasured results reported

  1. 1. Fixed endpoint (standard method)Standard flow matching always moves straight from noise toward the same fully-detailed image, forcing joint learning of structure and detail.
  2. 2. Build a low-frequency starting endpointA heat-kernel filter blurs the image into a low-frequency version, which becomes the endpoint at time t=0.
  3. 3. Measure each image's energy gapThe missing high-frequency energy between the blurred and clean image is measured per image to set a personalized release speed (heat-time).
  4. 4. Synchronize with a shared clockA shared smootherstep-based release clock ensures every image recovers the same fraction of detail at the same path time t.
  5. 5. Train with a moving endpoint and adjusted velocityBecause the endpoint keeps sharpening, the training target velocity adds a term for the endpoint's own motion to the usual noise-to-endpoint velocity.
An explanatory diagram made by METAL LAB, not a figure supplied by the paper's authors.

What they did

  1. Standard flow matching (a way of generating images by learning a straight path from noise to the final image) always targets the same fully-detailed image at every step, so the model must learn coarse structure and fine detail jointly, which the authors argue makes training harder.
  2. EG-FM replaces that fixed target with a heat-kernel-filtered target: a smoothed, low-frequency version of the image at the start of the path that gradually sharpens into the full image by the end.
  3. Because different images contain different amounts of high-frequency detail, the method measures each image's own missing high-frequency energy and derives a per-image 'heat-time' schedule, synchronized by a shared release clock so every image recovers the same fraction of detail at the same path time.
  4. Since the endpoint keeps moving, the target training velocity is redefined as the sum of the usual noise-to-endpoint velocity plus a new term capturing how fast the endpoint itself is moving.
  5. The method was tested on three backbones (PixelDiT, DeCo, HyperDiT) across ImageNet 256x256 and 512x512 class-conditional generation and text-to-image generation.
Figure 1: Comparison of baselines and Energy-Guided Flow Matching (EG-FM). Marker size increases as checkpoints approach the desirable lower-left region, representing fewer training epochs and lower FID. Based on backbones of PixelDiT and DeCo, the EG-FM variants achieve improved FID performance with significant fewer training epochs.
Figure 1: Comparison of baselines and Energy-Guided Flow Matching (EG-FM). Marker size increases as checkpoints approach the desirable lower-left region, representing fewer training epochs and lower FID. Based on backbones of PixelDiT and DeCo, the EG-FM variants achieve improved FID performance with significant fewer training epochs.
Table 1: Class-conditional generation on ImageNet ×256. Each Energy-Guided FM row uses the same backbone and ADM evaluation protocol. PixelDiT additionally expose convergence at multiple budgets. NFE denotes the number of function evaluations, with ×2 accounting for conditional and unconditional CFG evaluations.
MethodEpochs#ParamsNFEFID ↓sFID ↓IS ↑Precision ↑Recall ↑
REPA (35)800675M250×21.424.70305.70.800.65
DDT-XL (34)400675M1.26310.60.790.65
RAE-XL (38)800839M1.13262.60.780.67
PixelFlow-XL (4)320677M120×21.985.83282.10.810.60
PixNerd-XL (33)320700M100×21.93298.00.800.60
JiT-G (20)6002.0B100×21.82292.60.790.62
PixelU-H/16 (10)6001.17B100×21.635.04305.90.790.64
DiP-XL/16 (5)600631M100×21.794.59281.90.800.63
FREPix-XL (21)320674M100×21.914.59295.60.790.62
DeCo-XL/16 (26)600682M100×21.694.59304.00.790.63
+ Energy-Guided FM440682M100×21.634.78300.10.790.62
HyperDiT-H (12)600952M100×21.564.73306.50.800.64
+ Energy-Guided FM220952M100×21.514.31293.40.780.64
PixelDiT-XL (36)80797M100×22.365.11282.30.800.57
PixelDiT-XL (36)320797M100×21.614.68292.70.780.64
PixelDiT-XL (36)800797M100×21.544.49297.00.780.65
+ Energy-Guided FM80797M100×21.995.09280.80.810.61
+ Energy-Guided FM200797M100×21.554.60296.20.790.65
+ Energy-Guided FM600797M100×21.454.41299.60.780.65
Figure 2: Overview of Energy-Guided Flow Matching. Starting from a clean image, we construct a low-frequency endpoint and measure the residual spectral gap 𝒢~x. Based on the global release clock q⁡(t), we derive a sample-adaptive heat time h⁡(x,t) that controls the heat-kernel response R⁡(h,ρ), enabling the progressive recovery of frequency components from low to high. For the training trajectory, the moving spectral endpoints yt​(x) evolve from a easily predicted low-pass manifold toward the full-image manifold, forming a coarse-to-fine curved path zt. The velocity yt​(x0)−ϵ toward the current endpoint and the endpoint-motion term t​∂tyt​(x0) together form the target velocity vt.
Figure 2: Overview of Energy-Guided Flow Matching. Starting from a clean image, we construct a low-frequency endpoint and measure the residual spectral gap 𝒢~x. Based on the global release clock q⁡(t), we derive a sample-adaptive heat time h⁡(x,t) that controls the heat-kernel response R⁡(h,ρ), enabling the progressive recovery of frequency components from low to high. For the training trajectory, the moving spectral endpoints yt​(x) evolve from a easily predicted low-pass manifold toward the full-image manifold, forming a coarse-to-fine curved path zt. The velocity yt​(x0)−ϵ toward the current endpoint and the endpoint-motion term t​∂tyt​(x0) together form the target velocity vt.
Table 2: Quantitative comparison for class-conditional generation on ImageNet ×512. † denotes continued training from a checkpoint on ImageNet ×256.
MethodEpochsParamsFID ↓IS ↑
DiT-XL/2600675M3.04240.8
SiT-XL/2600675M2.62252.2
REPA200675M2.08274.6
PixNerd-XL†320700M2.84245.6
JiT-H600956M1.94309.1
PixelU-H/326001.2B1.92322.1
DiP-XL/32-631M2.31291.7
DeCo-XL/16†340682M2.22290.0
PixelDiT-XL†850797M1.81278.6
+ EG-FM†240797M1.68295.5
HyperDiT-H + EG-FM†260952M1.58285.0
Figure 3: Visualization of sample-adaptive heat-time. Under the same release clock, texture-rich Sample A requires a faster decrease in heat time than Sample B. Lower heat time indicates weaker attenuation and greater frequency release; the dashed curve denotes mean heat-time over ImageNet.
Figure 3: Visualization of sample-adaptive heat-time. Under the same release clock, texture-rich Sample A requires a faster decrease in heat time than Sample B. Lower heat time indicates weaker attenuation and greater frequency release; the dashed curve denotes mean heat-time over ImageNet.
Table 7: Detailed comparison for class-conditional ImageNet generation at ×512. Metrics are computed on 50K generated samples with the ADM evaluation suite. NFE includes conditional and unconditional classifier-free-guidance evaluations; † denotes continued training from a ×256 checkpoint. A dash indicates an unreported item.
MethodEpochs#ParamsNFEFID ↓sFID ↓IS ↑Precision ↑Recall ↑
DiT-XL/2600675M250×23.045.02240.80.840.54
SiT-XL/2600675M250×22.624.18252.20.840.57
REPA200675M250×22.084.19274.60.830.58
PixNerd-XL†320700M100×22.845.95245.60.800.59
JiT-H600956M100×21.94309.1
PixelU-H/326001.2B100×21.925.98322.10.800.58
DiP-XL/32631M100×22.314.48291.70.840.58
DeCo-XL/16†340682M100×22.224.67290.00.800.60
PixelDiT-XL†850797M100×21.815.61278.60.780.67
+ EG-FM†240797M100×21.684.77295.50.790.63
HyperDiT-H + EG-FM†260952M100×21.584.90285.00.790.64
Figure 4: Qualitative results produced by PixelDiT-XL with EG-FM. From left to right, the panels show ImageNet class-conditional samples at ×512 and ×256, followed by text-to-image samples at ×512.
Figure 4: Qualitative results produced by PixelDiT-XL with EG-FM. From left to right, the panels show ImageNet class-conditional samples at ×512 and ×256, followed by text-to-image samples at ×512.
Table 8: Category-wise GenEval results for text-to-image generation at ×512. Overall is the unweighted mean of the six task scores. Bold and underlined values denote the best and second-best results in each column. A dash indicates an unreported item.
Method#ParamsSingle obj.Two obj.CountingColorsPositionColor attr.Overall ↑
PixArt-α0.6B0.980.500.440.800.080.070.48
SD38B0.980.840.660.740.400.430.68
FLUX.1-dev12B0.990.810.790.740.200.470.67
DALL-E 30.960.870.470.830.430.450.67
BLIP3o4B0.81
OmniGen24B1.000.950.640.880.550.760.80
PixelFlow0.9B0.60
PixNerd1.2B0.970.860.440.830.710.530.73
DeCo-XXL/161.1B1.000.920.720.910.800.790.86
PixelDiT-T2I1.3B1.000.940.700.900.530.650.78
EG-FM-T2I1.3B1.000.950.740.920.720.770.85
Figure 9: FID across training checkpoints computed with torch-fidelity and the ADM evaluation suite. The two implementations show closely aligned convergence trends from 80 to 600 epochs.
Figure 9: FID across training checkpoints computed with torch-fidelity and the ADM evaluation suite. The two implementations show closely aligned convergence trends from 80 to 600 epochs.
Table 9: Category-wise DPG-Bench results for text-to-image generation at ×512. Bold and underlined values denote the best and second-best results in each column. A dash indicates an unreported item.
Method#ParamsGlobalEntityAttributeRelationOtherOverall ↑
PixArt-α0.6B81.780.180.481.776.571.6
PixArt-Σ0.6B87.587.186.584.086.179.5
PixelFlow0.9B77.9
PixNerd1.2B80.587.987.291.372.880.9
DeCo-XXL/161.1B81.4
PixelDiT-T2I1.3B88.090.987.689.888.583.7
EG-FM-T2I1.3B89.389.290.290.989.783.9
Energy-Guided Flow Matching figure 5
Table 10: Matched training compute and wall time. GFLOPs and ΔGFLOPs are reported per sample, with ΔGFLOPs measured relative to Standard FM. FLOPs increase and time increase are percentage changes relative to the matched Standard FM configuration; negative time values indicate faster steps. Per-step wall time is in seconds, and epoch time is in hours. All experiments were conducted on 8 × B200 GPU.
BackbonePathRes.BatchGFLOPsΔGFLOPsFLOPs inc.Time/stepTime inc.Epoch time
DeCo-XL/16Standard FM2562256734.810.000.000.100.000.14
DeCo-XL/16EG-FM2562256734.860.06+0.010.10+0.410.14
PixelDiT-B/16Standard FM2562256226.290.000.000.040.000.06
PixelDiT-B/16EG-FM2562256226.340.06+0.030.04+4.810.06
PixelDiT-L/16Standard FM2562256683.300.000.000.090.000.12
PixelDiT-L/16EG-FM2562256683.360.06+0.010.09+0.510.12
PixelDiT-XL/16Standard FM2562256933.580.000.000.110.000.15
PixelDiT-XL/16EG-FM2562256933.640.06+0.010.11+0.990.15
PixelDiT-XL/16Standard FM5122644056.720.000.000.120.000.66
PixelDiT-XL/16EG-FM5122644056.980.26+0.010.12+0.920.66
Figure 10: Additional text-to-image samples generated by EG-FM-T2I at ×512, spanning architectural scenes, weather, interiors, animals, and human-centered compositions.
Figure 10: Additional text-to-image samples generated by EG-FM-T2I at ×512, spanning architectural scenes, weather, interiors, animals, and human-centered compositions.

Findings

  • On ImageNet 256x256, PixelDiT-XL with EG-FM cut FID from 2.36 to 1.99 at 80 epochs, reached 1.55 at 200 epochs (already beating the baseline's 320-epoch result of 1.61), and improved further to 1.45 at 600 epochs.
  • In the same setting, DeCo-XL/16 reached FID 1.63 at 440 epochs versus the baseline's 1.69 at 600 epochs, and HyperDiT-H reached FID 1.51 at 220 epochs versus the baseline's 1.56 at 600 epochs.
  • At ImageNet 512x512, fine-tuning from 256x256 checkpoints for only 40 epochs gave PixelDiT with EG-FM an FID of 1.68 and Inception Score of 295.5 (versus 1.81 and 278.6 for the standard model trained 530 more epochs), while HyperDiT with EG-FM reached the best FID of 1.58 among compared methods.
  • On text-to-image generation, EG-FM-T2I raised GenEval from 0.78 (PixelDiT-T2I baseline) to 0.85 and improved DPG-Bench by 0.2 points to 83.9, achieving the best DPG-Bench score and second-best GenEval score (0.01 behind DeCo-XXL/16) among compared methods.
  • Measured training/inference overhead was negligible: per-sample compute increase was at most 0.0256%, per-step wall-clock time increase stayed mostly within 1% (except 4.81% for PixelDiT-B/16), and inference speed/FLOPs were unchanged since no extra computation is needed at sampling time.

Where it can be used

  • Improving training efficiency and final quality of pixel-space image generators that avoid lossy latent compression
  • Extending an already-trained low-resolution (256x256) generation model to high resolution (512x512) with only a small amount of additional fine-tuning
  • Text-to-image generation systems where both object composition accuracy and dense-prompt compliance need improvement

Limits and open work

  • Not yet evaluated on heterogeneous or temporally extended signals such as joint text-image modeling, video generation, or embodied decision-making with actions.
  • Untested on the largest recent foundation-model backbones such as Flux- or Qwen-Image-scale models.
  • The benefit is smaller when applied to x-prediction (predicting the clean image directly, as in JiT): FID improved only from 2.37 to 2.33, likely because early, noisy clean-image estimates make the per-image schedule less reliable.
  • Reported FID values use the ADM evaluation suite; other evaluators like torch-fidelity give slightly different absolute values (about 0.02-0.06 lower), though trends match.
  • Experiments are limited to ImageNet class-conditional generation and a specific text-to-image dataset (BLIP3o), so generalization to other data domains is not yet verified.

Why it matters

Because it changes only the generative trajectory and target, not the model architecture or training data, this approach could let pixel-space generators (which skip lossy latent compression to keep fine detail) train faster and reach better quality with negligible extra cost. That matters for anyone building or fine-tuning high-resolution image generators who wants efficiency gains without redesigning the backbone.

Terms in this paper

  • Flow Matching · A generative modeling approach that learns a path from random noise to a target image
  • FID · A score measuring how different generated images are from real ones; lower is better
  • heat-kernel · A smoothing filter derived from the heat-diffusion equation, used here to blur out high-frequency detail
  • low-frequency / high-frequency components · Low-frequency parts of an image capture overall structure; high-frequency parts capture fine texture and detail
  • CFG (classifier-free guidance) scale · A setting controlling how strongly a generation is steered by its class or text condition

Original abstract (English)

Pixel-space generative models bypass lossy latent compression, yet necessitate joint learning of global structure and fine-grained details in a high-dimensional space. Standard flow matching interpolates noise toward a fixed clean-image endpoint, leaving the spectral evolution to be learned implicitly. In this paper, we introduce Energy-Guided Flow Matching(EG-FM) that explicitly models a coarse-to-fine generative trajectory by moving endpoint. Specifically, EG-FM replaces the fixed endpoint with a heat-kernel-filtered endpoint that evolves smoothly from low-frequency image to clean image. The fraction of high-frequency signal in moving endpoint is released by an image-specific energy-guided scheduling, leading to the re-targeting of velocity in flow matching. Our framework requires no adaptation of the backbone and training data, bringing negligible cost on the training and inference stages. In our experiment, EG-FM consistently achieves lower FID on the ImageNet class-conditional image generation task at 256 times 256 with fewer epochs, reaching an FID of 1.55 at 200 epochs and 1.45 at 600 epochs. We continue training the generation task on the setting of 512 times 512 resolution, yielding a FID of 1.58 after only 40 high-resolution adaptation epochs. Furthermore, we transfer EG-FM on text-to-image generation and achieve 0.85 on GenEval score and 83.9 on DPG-Bench. Code is available at https://github.com/ysng123/EG-FM.

Authors · Haoyang Tong

Read on arXiv

Latest papers

All papers →

Latest from METAL LAB

Figures: Haoyang Tong et al., arXiv:2608.05811, arxiv-nonexclusive