Skip to main content
QUICK REVIEW

[Paper Review] DiffGraph: An Automated Agent-driven Model Merging Framework for In-the-Wild Text-to-Image Generation

Zhuoling Li, Hossein Rahmani|arXiv (Cornell University)|Mar 20, 2026
Multimodal Machine Learning ApplicationsComputer Science0 citations
TL;DR

DiffGraph automatically collects online Expert models, builds a universal graph, and dynamically activates subgraphs to merge experts for flexible in-the-wild T2I generation without retraining.

ABSTRACT

The rapid growth of the text-to-image (T2I) community has fostered a thriving online ecosystem of expert models, which are variants of pretrained diffusion models specialized for diverse generative abilities. Yet, existing model merging methods remain limited in fully leveraging abundant online expert resources and still struggle to meet diverse in-the-wild user needs. We present DiffGraph, a novel agent-driven graph-based model merging framework, which automatically harnesses online experts and flexibly merges them for diverse user needs. Our DiffGraph constructs a scalable graph and organizes ever-expanding online experts within it through node registration and calibration. Then, DiffGraph dynamically activates specific subgraphs based on user needs, enabling flexible combinations of different experts to achieve user-desired generation. Extensive experiments show the efficacy of our method.

Motivation & Objective

  • Leverage a large, evolving online expert ecosystem to enhance text-to-image generation.
  • Automate the organization of experts via a universal graph with node registration and calibration.
  • Enable dynamic, prompt-driven merging of varying numbers and types of experts without retraining.
  • Provide a scalable framework that gracefully incorporates new experts as they appear.

Proposed method

  • Construct a universal expert graph by scraping online platforms and representing each expert as a node.
  • Use node registration to generate qualitative skill descriptions from expert homepages and encode them as text embeddings.
  • Use node calibration to quantify expert capabilities by evaluating them on representative reference prompts and forming edge features.
  • Employ an Expert Selection Agent (ESA) to parse user prompts, retrieve CKPT and PEFT expert candidates, and filter them with an LLM-based review.
  • Activate a subgraph around selected experts and attach the user prompt as a node; use a Variational Graph Autoencoder (VGAE) to predict merging coefficients (Beta-distributed) for each expert.
  • Merge selected CKPT and PEFT experts using weighted combinations based on the VGAE-predicted coefficients to form the final merged diffusion model.
Figure 1 : Overview of our proposed method. Our DiffGraph framework consists of three key components: the Graph Construction Agent (GCA), the Expert Selection Agent (ESA), and the Merging Planner (MP). In the Universal Graph Construction stage, for ease of understanding, we illustrate a simplified e
Figure 1 : Overview of our proposed method. Our DiffGraph framework consists of three key components: the Graph Construction Agent (GCA), the Expert Selection Agent (ESA), and the Merging Planner (MP). In the Universal Graph Construction stage, for ease of understanding, we illustrate a simplified e

Experimental results

Research questions

  • RQ1How can a graph-based framework autonomously organize and leverage a large, evolving set of online T2I experts?
  • RQ2Can a VGAE-based merging planner produce high-quality merging schemes that adapt to diverse user prompts without retraining?
  • RQ3Does dynamic subgraph activation improve generation quality and efficiency compared to fixed-merging approaches?

Key findings

  • The proposed DiffGraph framework achieves state-of-the-art performance on evaluated benchmarks in terms of multiple image-quality metrics.
  • On DABench, the Ours approach (DiffGraph) attains the highest scores across several metrics compared to baselines and ablations.
  • On DiffusionDB, DiffGraph demonstrates competitive performance, with notable improvements over several baselines.
  • The universal graph construction scales to thousands of online experts and can incorporate new experts in a training-free manner.
  • Training is focused on a lightweight VGAE; the rest of the system remains inference-only after deployment.
Figure 2 : Qualitative comparisons of different methods on T2I generation. Different attributes in the prompt text are labeled with different colors. We illustrate visual attributes in a paint box manner, where a full colored cell denotes an attribute is successfully reflected in the generated image
Figure 2 : Qualitative comparisons of different methods on T2I generation. Different attributes in the prompt text are labeled with different colors. We illustrate visual attributes in a paint box manner, where a full colored cell denotes an attribute is successfully reflected in the generated image

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.