Scaling Multi-Reference Image Generation with Dynamic Reward Optimization
This paper introduces OmniRef-Bench, a comprehensive benchmark revealing the limitations of current models in complex multi-reference image generation, and proposes DyRef, a two-stage training framework utilizing Difficulty-aware Advantage Reweighting and Discriminative Reward Scaling to significantly enhance model performance in these challenging scenarios.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Picture: The "Too Many Cooks" Problem
Imagine you are an artist trying to paint a picture based on instructions from a client.
- The Easy Task: The client says, "Draw a cat." You draw a cat. Easy.
- The Hard Task (Multi-Reference): The client says, "Draw a cat, but it must have the face of the cat in Photo A, the pose of the dog in Photo B, the background of the beach in Photo C, the lighting of Photo D, and the art style of Photo E."
This is called Multi-Reference Image Generation (MRIG). The paper argues that while AI is getting good at simple tasks, it falls apart when you give it too many different visual clues at once. The more clues you add, the more the AI gets confused, mixes things up, or produces a messy result.
Part 1: The New Report Card (OmniRef-Bench)
Before fixing the problem, the authors realized we didn't have a good way to test how bad the problem actually was. Existing tests were like giving a math genius only addition problems; they passed, but we didn't know if they could handle calculus.
- The Old Tests: Only asked for 1 or 2 references (e.g., "Use this face and this background").
- The New Test (OmniRef-Bench): The authors created a "final exam" with 395 difficult questions. These questions mix up to four different types of references (Subject, Background, Style, Lighting, Pose) and use up to seven different images at once.
The Result: When they ran popular open-source AI models on this new test, the models struggled. The more references they added, the worse the images looked. It was like a student who could do simple math but froze when given a complex equation.
Part 2: The Solution (DyRef)
To fix this, the authors built a new training framework called DyRef. Think of this as a two-step training camp for the AI artist.
Step 1: The Basics (Supervised Fine-Tuning)
First, they teach the AI the basics. They show it thousands of examples of "good" multi-reference images so it learns what a "face from Photo A + Pose from Photo B" should look like. This gives the AI a solid foundation, but it's still not perfect.
Step 2: The Smart Coach (Dynamic Reward Optimization)
This is the secret sauce. The authors realized that standard training treats all examples the same. If an AI gets an easy example right, it gets a "good job." If it gets a hard example wrong, it gets a "try again." But the AI keeps focusing on the easy ones because they are easier to get right.
The authors introduced two new "coaching techniques" to fix this:
1. Difficulty-Aware Advantage Reweighting (DAR) – "The Underdog Boost"
- The Analogy: Imagine a teacher grading a class. The teacher notices that the students who struggle with the hardest problems are getting ignored because the teacher is too busy praising the students who aced the easy quizzes.
- How it works: DAR looks at the AI's performance. If a specific type of image (e.g., one with 5 different references) is hard for the AI, DAR gives that example extra weight. It tells the AI: "Ignore the easy ones for a moment; focus all your energy on fixing the hard ones." This prevents the AI from getting lazy and only learning the easy stuff.
2. Discriminative Reward Scaling (DRS) – "The Volume Knob"
- The Analogy: Imagine a music mixer where the difference between a "good" song and a "bad" song is only a tiny whisper. It's hard for the DJ (the AI) to tell them apart.
- How it works: Sometimes, the AI's scoring system gives a "good" image a score of 0.79 and a "bad" image a score of 0.78. That tiny difference isn't enough to teach the AI what to change. DRS acts like a volume knob. It takes that tiny difference and amplifies it. Now the "good" image is a 0.95 and the "bad" one is a 0.60. This huge gap makes it crystal clear to the AI exactly what it needs to improve.
The Results: From "Novice" to "Pro"
After applying this two-step training:
- On the Hard Test (OmniRef-Bench): The open-source models went from struggling to performing almost as well as the expensive, closed-source "super models" (like Google's Nano Banana Pro).
- On Simple Tasks: Surprisingly, making the AI better at complex tasks didn't make it worse at simple tasks. It actually got better at single-image editing too.
Summary
The paper says: "AI is bad at mixing many visual clues together. We built a harder test to prove it, and then we built a new training method (DyRef) that forces the AI to focus on the hard problems and clearly understands the difference between good and bad results. Now, open-source AI can handle complex, multi-image requests almost as well as the top paid models."
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.