cv-dbm-scheduler

Computer Visiondbim-codebaserigorous codebase

Description

Task: Time Scheduler for Diffusion Bridge Models (NFE=5)

Background

In diffusion bridge sampling, the time schedule controls the discretization step sizes. Currently, the uniform (linear) and karras schedules are the most widely used baselines in the field.

Objective

Design a novel time schedule optimized specifically for extremely low-step sampling (NFE = 5). Your goal is to achieve a better generation quality (lower FID) than the standard baselines.

⚠️ CRITICAL CONSTRAINT: To maintain compatibility with our evaluation interface, your code MUST be written inside the function named get_sigmas_uniform. Please ignore the function name—do NOT implement a basic linear/uniform schedule. Use this exact function slot to implement your new, advanced mathematical curve.

Implementation

import torch

def get_sigmas_uniform(n, t_min, t_max, device="cpu"):
    """
    Requirements:
    1. Length: Must return a 1D PyTorch tensor of exactly length `n + 1`.
    2. Monotonic: The sequence must strictly decrease from `t_max` to `t_min`.
    3. Terminal Value: The final element (index `n`) must exactly equal `t_min`.
    4. Device: Move the tensor to the requested `device`.
    """
    # For this task, n will typically be 5 (NFE=5).
    # Implement your novel schedule formulation here...
    
    # Example return:
    # return sigmas.to(device)

Code

Results

ModelTypebest fid edges2handbags best fid Imagenet best fid fid fid edges2handbags fid Imagenet
cosinebaseline4.9055.438----
karrasbaseline4.41612.025----
loglinearbaseline5.63413.748----
uniformbaseline5.1806.070----
claude-opus-4.6vanilla4.94313.0434.9434.9434.94313.043
deepseek-reasonervanilla5.63413.7485.6345.6345.63413.748
gemini-3.1-pro-previewvanilla4.8605.5534.8604.8604.8605.553
qwen3.6-plusvanilla4.3398.1594.3394.3394.3398.159
claude-opus-4.6agent4.93713.043----
deepseek-reasoneragent4.8467.226----
gemini-3.1-pro-previewagent4.3707.313----
qwen3.6-plusagent4.3398.159----

Agent Conversations