Paper: 2607.05382 Authors: Haozhe Wang, Weijia Feng, Jinpeng Yu, Che Liu, Ping Nie, Fangzhen Lin, Jiaming Liu, Ruihua Huang, Jimmy Lin, Wenhu Chen Categories: cs.CV, cs.AI

The Gap

Visual generators like DALL-E, Midjourney, and FLUX have gotten impressively good at rendering. But here’s the dirty secret: they confidently hallucinate on anything outside their training data — new characters, trending memes, post-cutoff events, niche entities. Existing benchmarks (DrawBench, GenAI-Bench, T2I-CompBench) mostly test compositional skill and aesthetic quality, not factual grounding against the real world. Nobody has seriously stress-tested whether generators know what they don’t know.

The naive fix — just bolt a search engine onto the pipeline — sounds obvious. But the authors show it backfires: indiscriminate retrieval injects noise into prompts the generator already handles well, actually hurting quality. The missing piece is understanding where the generator’s knowledge ends and external knowledge must begin — a boundary that is specific to each generator and shifts over time as the visual world evolves.

Visual generators trained on fixed corpora
            |
            v
User requests are open-ended & long-tailed
            |
            v
Generator confidently hallucinates unknowns
            |
            v
+-- Naive search augmentation --+
|                                |
v                                v
Retrieves for ALL prompts    Misses the boundary
injects noise into           between known & unknown
prompts generator already    --> hurts quality
handles well                 --> 21-28/100 score
            |
            v
+-- Core insight --+
|                   |
v                   v
Knowledge boundary   Boundary is discoverable
is generator-        through teach-then-search
specific & evolving  co-training
            |
            v
Monotonic improvement even with minimal co-training

The Increment

One sentence: Before this paper, nobody had a benchmark for world-knowledge grounding in visual generation or a principled way to teach generators *when to search; after it, we have both — plus evidence that co-training on the knowledge boundary enables recursive self-improvement.

Core Mechanism

The method has three moving parts: (1) a benchmark that reveals the problem, (2) a search corpus that makes the problem reproducible offline, and (3) a co-training framework that teaches the generator to distinguish what it knows from what it doesn’t.

First, SearchGen-20K contains 20,839 prompts organized into twelve failure categories (new characters, trending entities, post-cutoff events, rare objects, etc.) across twenty-two domains. SearchGen-Bench is the evaluation subset. SearchGen-Corpus-1M is a pre-executed multimodal search corpus — the authors ran searches ahead of time so researchers can reproduce results without live API calls. This is a practical choice that removes a huge source of nondeterminism.

The co-training framework works in two alternating phases. In the “teach” phase, the generator is trained on prompts it already has the capacity to internalize from its own parameters — easy or familiar queries where external context is unnecessary. This establishes a baseline of what the generator can do. In the “search” phase, the generator is trained on prompts that require external knowledge, with retrieved context injected into the prompt. The key insight is that these two phases create a natural boundary: prompts the generator handles well in the teach phase are “inside” the boundary; prompts it fails on without search are “outside.” Over training iterations, the generator learns to route accordingly.

+-------------------+     +-------------------+
|   TEACH PHASE     |     |  SEARCH PHASE     |
|                   |     |                   |
| Prompt from       |     | Prompt that       |
| known-distrib     |     | requires external |
|                   |     | knowledge         |
|   v               |     |   v               |
| Generator         |     | Search engine     |
| learns from       |     | retrieves context |
| parameters only   |     |   v               |
|   v               |     | Context injected  |
| Establishes what  |     | into prompt       |
| it CAN render     |     |   v               |
|                   |     | Generator learns  |
|                   |     | to use external   |
|                   |     | info selectively  |
+--------+----------+     +--------+----------+
         |                         |
         v                         v
    Knowledge boundary emerges:
    what's internal vs what needs retrieval
         |
         v
    Co-trained router decides
    per-prompt: trust params or search?

Structural metaphor — the head chef and the cookbook:

Imagine training a head chef. You start by letting them cook dishes they already know by heart — pasta carbonara, Caesar salad, the classics. This is the teach phase: you’re establishing what’s in their head. Then you introduce dishes they’ve never made — a rare Peruvian ceviche, a trendy Korean fusion dish. You hand them a cookbook (the search corpus) for these. This is the search phase.

Now here’s the critical part: if you just hand the chef the cookbook for every dish, including the ones they already know, they get confused. They start second-guessing their instincts on carbonara because the cookbook’s recipe is slightly different. This is exactly what naive search does — it poisons prompts the generator already handles well.

The co-training is like a sous-chef who watches which dishes the head chef nails without the cookbook and which ones they botch. Over time, the sous-chef learns to only slide the cookbook across the counter when it’s actually needed. That sous-chef is the knowledge boundary — learned, not hard-coded, and it evolves as the chef (generator) improves.

Key Concepts

  • Knowledge Boundary: Every trained model has a fuzzy line separating what it can render correctly from what it will hallucinate. This isn’t a fixed property of the model — it depends on the specific prompt. A generator might nail “Eiffel Tower at sunset” (common in training) but fail on “the new Apple Park campus auditorium” (rare, post-training). The boundary is invisible by default; you only discover it by testing. This paper’s contribution is making that boundary *discoverable through systematic benchmarking and co-training. Think of it like the edge of a map in an old video game — you don’t know where it ends until you walk there.

  • Agentic Visual Generation: The idea that a generator shouldn’t be a single monolithic model, but an *agent that can decide when to use tools (search, retrieval, verification) and when to rely on its own parameters. This is the visual generation analog of tool-augmented LLMs like those using code interpreters or web browsing. The “agentic” part is the decision-making: the system chooses whether to search, what to search for, and how to integrate the result. Without this agency, you’re just concatenating search results onto prompts blindly.

  • Teach-then-Search Co-training: A two-phase training loop that alternates between (a) training on tasks the model can handle alone, reinforcing its existing knowledge, and (b) training on tasks that require external information, teaching it to incorporate retrieved context. The boundary between phases is itself learned, not prescribed. This creates a virtuous cycle: as the model improves in phase (a), fewer prompts need phase (b), and the model focuses its external-knowledge capacity on genuinely hard cases.

Framework Shift

Before (mainstream approach):        After (this paper):
                                     
+-----------+                        +-----------+
|  Prompt   |                        |  Prompt   |
+-----------+                        +-----------+
      |                                   |
      v                                   v
+-----------+                        +------------------+
| Generator | (closed book)          | Am I confident?  |
+-----------+                        +--------+---------+
      |                                   yes/ \no
      v                                  /     \
   Image                           +----v--+ +-v------+
                                   |Render | | Search |
                                   | alone | | first  |
                                   +-------+ +---+----+
                                                 |
                                                 v
                                           +-----------+
                                           | Render    |
                                           | w/context |
                                           +-----------+
                                     
OR (naive search):
                                     
+-----------+                        Generator learns
|  Prompt   |                        its own knowledge
+-----------+                        boundary via
      |                              co-training,
      v                              then routes
+----------+                         accordingly
| Search   |
| EVERYTIME |
+----------+
      |
      v
+-----------+
| Generator |
| (w/noise) |
+-----------+

From monolithic generation (with or without blind search) to self-aware agentic generation, the core shift is that the model learns when it needs help rather than always or never asking for it.

Expert Assessment

Problem choice: This is a genuinely important gap. The long-tail knowledge problem in visual generation is real and underexplored. Most benchmarks reward compositional fidelity and aesthetics, not factual accuracy. The authors correctly identify that the problem isn’t just “add search” — it’s about *selective retrieval. This sits at a natural intersection of retrieval-augmented generation (well-studied for text) and visual generation (barely touched). Strong problem selection.

Method maturity: The insight is clever but the implementation is relatively straightforward — alternating training phases with a retrieval oracle. The “co-training” framing sounds more sophisticated than it is; in practice, it’s curriculum learning with a retrieval gate. There’s a risk that the knowledge boundary discovery relies heavily on the quality of the failure categorization in SearchGen-20K. Simpler approaches like confidence-threshold-based routing might work comparably but are not explored as baselines. The paper would benefit from ablations on what exactly makes co-training better than, say, a simple uncertainty estimator.

Experimental integrity: The benchmark is well-designed with twelve failure categories and twenty-two domains — this is thorough. The 21-28/100 baseline scores on SearchGen-Bench are striking and credible; frontier generators *do hallucinate on unfamiliar entities. However, the paper claims “monotonic improvement” from even minimal co-training, which sounds almost too clean. I’d want to see more stress-testing: what happens with adversarial prompts near the boundary? How sensitive is the system to the ratio of teach-to-search prompts? The pre-executed corpus (SearchGen-Corpus-1M) is a solid contribution for reproducibility, though it introduces a static snapshot that may drift from live search.

Writing quality: The paper is well-structured and the motivation is clearly articulated. The failure taxonomy (twelve categories) is a highlight. Where the authors cut corners: the related work section treats retrieval-augmented generation for text too superficially given how directly relevant it is. The transition from “boundary exists” to “boundary is discoverable via co-training” could use a more rigorous theoretical justification — right now it reads more as an empirical observation than a principled argument. Section 4 (the co-training framework) would benefit from pseudocode or a more formal algorithm description.

Verdict: weak accept — The problem is real and underappreciated, the benchmark is a genuine contribution, and the co-training insight is useful even if not deeply novel. But the method feels incremental rather than transformative, and the theoretical grounding is thin.

Takeaways

  1. Benchmark the knowledge boundary, not just aesthetics. If you’re building or evaluating visual generators, stop only measuring compositionality and style. Create stress tests for factual grounding — trending entities, post-cutoff events, long-tail objects. This paper’s twelve-category failure taxonomy is directly reusable.

  2. Blind retrieval augmentation hurts — gate it. If you’re adding search to any generative pipeline (visual or text), don’t retrieve for every input. Build a confidence-aware router that only retrieves when the model signals uncertainty. The teach-then-search alternation is a simple recipe for training such a router.

  3. Pre-execute your retrieval corpus. The idea of running searches ahead of time and bundling the results into a static corpus for reproducibility is underrated. It eliminates latency, nondeterminism, and API costs during experimentation. Steal this for any retrieval-augmented project.

  4. The knowledge boundary is model-specific and moving. Don’t assume a one-size-fits-all retrieval strategy. Different models (even different checkpoints) have different knowledge boundaries. Any retrieval-augmented system should be evaluated *per model, not assumed to transfer.

论文: 2607.05382 作者: Haozhe Wang, Weijia Feng, Jinpeng Yu, Che Liu, Ping Nie, Fangzhen Lin, Jiaming Liu, Ruihua Huang, Jimmy Lin, Wenhu Chen 分类: cs.CV, cs.AI

缺口

视觉生成器(DALL-E、Midjourney、FLUX)的渲染能力已经很强了。 但有个公开的秘密:遇到训练数据之外的东西——新角色、热门梗、知识截止日之后的事件——它们会自信满满地胡说八道。 现有基准(DrawBench、GenAI-Bench、T2I-CompBench)主要测的是构图能力和审美质量, 几乎没人认真测过生成器是否”知道自己不知道什么”。

最直觉的修法是接个搜索引擎。 但作者发现这个方案反而更糟:不加区分的检索把噪声注入到生成器本来就能搞定的提示词里,质量反而下降。 缺失的关键一环是:生成器的知识在哪里结束,外部知识必须在哪里介入—— 这个边界因模型而异,且随视觉世界的演变不断移动。

生成器在固定语料上训练
            |
            v
用户请求是开放的、长尾的
            |
            v
生成器对未知事物自信地幻觉
            |
            v
+-- 天真方案:直接加搜索 --+
|                           |
v                           v
对所有提示都检索           忽略了"已知"与"未知"
注入噪声到生成器           之间的边界
本已掌握的提示中           --> 质量下降
                           --> 基准仅得 21-28/100
            |
            v
+-- 核心洞察 --+
|               |
v               v
知识边界是      这个边界可以通过
模型特定的、    "先教后搜"协同训练
不断演变的      来发现
            |
            v
即使最简版本的协同训练也能产生单调改进

增量

一句话: 在这篇论文之前,没有人有基准来衡量视觉生成的世界知识接地能力,也没有原则性的方法教会生成器”何时该搜索”;之后,两样都有了——外加协同训练能开启递归式自我改进的证据。

核心机制

这个方法有三个核心部件:一个揭示问题的基准、一个让问题可离线复现的搜索语料库、以及一个教生成器区分”我懂”与”我不懂”的协同训练框架。

首先,SearchGen-20K 包含 20,839 条提示词,分为十二个失败类别(新角色、热门实体、截止日后事件、稀有物体等),涵盖二十二个领域。SearchGen-Bench 是评估子集。SearchGen-Corpus-1M 是预先执行好的多模态搜索语料库——作者提前跑过搜索,研究者可以离线复现结果,消除了大量不确定性。

协同训练框架交替进行两个阶段。 在”教”阶段,生成器只用自己的参数来学习那些它本来就能内化的提示词——熟悉、简单的查询,不需要外部上下文。 这建立了生成器”能做什么”的基线。 在”搜”阶段,生成器学习需要外部知识的提示词,检索到的上下文被注入提示中。 关键洞察是:这两个阶段之间自然浮现出一个边界——“教”阶段能处理好的提示在边界内,没有搜索就失败的提示在边界外。 随着训练迭代,生成器学会按此路由。

+-------------------+     +-------------------+
|    教 (TEACH)     |     |    搜 (SEARCH)    |
|                   |     |                   |
| 来自已知分布的    |     | 需要外部知识的    |
| 提示词            |     | 提示词            |
|   v               |     |   v               |
| 生成器仅靠参数    |     | 搜索引擎检索      |
| 学习              |     | 上下文            |
|   v               |     |   v               |
| 建立"我能渲染    |     | 上下文注入提示    |
|  什么"的基线      |     |   v               |
|                   |     | 生成器学习选择性  |
|                   |     | 使用外部信息      |
+--------+----------+     +--------+----------+
         |                         |
         v                         v
    知识边界浮现:
    哪些靠参数,哪些需要检索
         |
         v
    协同训练的路由器逐条决定:
    信任参数还是搜索?

核喻——大厨与菜谱:

想象你在训练一位大厨。 先让他做自己闭眼都能做的菜——意面培根蛋酱、凯撒沙拉,经典款。 这就是”教”阶段:你在摸清他脑子里装了什么。 然后你给他从没见过的菜——一道秘鲁酸橘汁腌鱼、一个新潮韩式融合菜。 你把菜谱(搜索语料库)递给他。这就是”搜”阶段。

关键来了:如果你对每道菜都递菜谱,包括他会做的那些,他反而会乱。 他做培根蛋酱时会开始犹豫,因为菜谱的版本和他习惯的不太一样。 这就是天真搜索的下毒效果——本来能处理好的提示被外来的噪声搅乱了。

协同训练就像一个副厨在观察:哪些菜大厨不需要菜谱就能做好,哪些需要翻书。 副厨逐渐学会只在真正需要时才把菜谱滑过去。 这个副厨就是”知识边界”——不是硬编码的,而是学出来的, 而且会随着大厨(生成器)水平的提升而变化。

关键概念

  • 知识边界(Knowledge Boundary): 每个训练好的模型都有一条模糊的线,分隔它能正确渲染的内容和会幻觉的内容。这不是模型的固定属性——取决于具体提示。一个生成器可能把”日落时的埃菲尔铁塔”做得很完美(训练数据里常见),但对”新苹果园区礼堂”束手无策(稀有、训练后出现)。这条边界默认是看不见的,只有通过测试才能发现。本文的贡献是让这条边界变得可发现——通过系统性的基准测试和协同训练。就像老式游戏里的地图迷雾:你不走到那里就不知道边界在哪里。

  • 智能体式视觉生成(Agentic Visual Generation): 生成器不应该是一个铁板一块的模型,而应该是一个能自主决定何时使用工具(搜索、检索、验证)、何时靠自己参数的智能体。这是视觉生成版的工具增强大语言模型。“智能体”的核心在于决策能力:系统选择是否搜索、搜索什么、如何整合结果。没有这种自主性,就只是把搜索结果盲目拼接到提示后面。

  • 先教后搜协同训练(Teach-then-Search Co-training): 一个两阶段交替的训练循环。阶段(a)用模型自己能处理的任务训练,强化已有知识;阶段(b)用需要外部信息的任务训练,教它融入检索到的上下文。两个阶段之间的边界本身也是学出来的,不是预先规定的。这形成了良性循环:阶段(a)提升了模型能力,需要阶段(b)的提示变少,模型的外部知识能力集中在真正困难的案例上。

框架转变

之前(主流方法):                之后(本文方法):

+-----------+                    +-----------+
|   提示    |                    |   提示    |
+-----------+                    +-----------+
      |                               |
      v                               v
+-----------+                    +------------------+
| 生成器    | (闭卷考试)       | 我有信心吗?     |
+-----------+                    +--------+---------+
      |                               有 / \ 没有
      v                              /     \
   图片                        +----v--+ +-v------+
                               | 独立   | | 先搜索 |
                               | 渲染   | | 再渲染 |
                               +-------+ +---+----+
                                              |
                                              v
                                        +-----------+
                                        | 带上下文  |
                                        | 渲染      |
                                        +-----------+

或者(天真搜索):
                                        生成器通过协同训练
+-----------+                           学会自己的知识边界,
|   提示    |                           然后据此路由
+-----------+
      |
      v
+----------+
| 每次都搜 |
+----------+
      |
      v
+-----------+
| 生成器    |
| (带噪声)|
+-----------+

从单一生成(无论是否盲目搜索)到自感知的智能体式生成,核心转变是模型学会了”何时需要帮助”,而不是永远不问或每次都问。

专家评审

选题眼光: 这是一个真正重要的缺口。 视觉生成中的长尾知识问题是真实存在且被低估的。 大多数基准奖励的是构图保真度和美感,而不是事实准确性。 作者准确识别出问题不仅仅是”加搜索”——而是”选择性检索”。 这恰好处于检索增强生成(文本领域已被充分研究)和视觉生成(几乎未被触及)的自然交叉点。 选题眼光很好。

方法成熟度: 洞察是巧妙的,但实现相对直白——就是交替训练阶段加一个检索门控。 “协同训练”这个说法听起来比实际更高级;本质上是带检索门的课程学习。 一个风险是:知识边界的发现高度依赖 SearchGen-20K 中失败分类的质量。 更简单的方法(比如基于置信度阈值的路由)可能效果相当,但没有被当作基线来对比。 论文如果能加上关于”协同训练具体好在哪里”的消融实验会更有说服力。

实验诚意: 基准设计得很扎实,十二个失败类别、二十二个领域——覆盖面够广。 SearchGen-Bench 上 21-28/100 的基线分数很惊人且可信;前沿生成器确实在不熟悉的实体上会幻觉。 但论文声称”即使最简版本的协同训练也能单调改进”,这听起来干净得有点可疑。 我想看到更多压力测试:边界附近的对抗性提示会怎样?教-搜提示比例的敏感性如何? 预执行语料库(SearchGen-Corpus-1M)对可复现性是实在的贡献,不过引入了一个可能与实时搜索脱节的静态快照。

写作功力: 论文结构清晰,动机阐述到位。 失败分类法(十二个类别)是亮点。 作者偷懒的地方:相关工作部分对文本领域的检索增强生成处理太浅——考虑到直接相关性,应该更深入。 从”边界存在”到”边界可通过协同训练发现”的过渡需要更严格的理论支撑——目前读起来更像是经验观察而非原理性论证。 第四章(协同训练框架)如果能给出伪代码或更形式化的算法描述会好很多。

判决: 弱接收——问题真实且被低估,基准是实在的贡献,协同训练的洞察有用即使不算特别新颖。但方法感觉是增量式改进而非变革性突破,理论基础偏薄。

要点总结

  1. 测知识边界,不要只测审美。 如果你在构建或评估视觉生成器,别只量构图和风格。为事实接地创建压力测试——热门实体、截止日后事件、长尾物体。本文的十二类失败分类法可以直接复用。

  2. 盲目检索增强有害——要加门控。 如果你在任何生成管线(视觉或文本)中加搜索,不要对每个输入都检索。建一个置信度感知的路由器,只在模型发出不确定信号时才检索。先教后搜的交替训练是训练这种路由器的简单配方。

  3. 预执行检索语料库。 提前跑搜索、把结果打包成静态语料库用于可复现实验——这个做法被低估了。它消除了实验中的延迟、不确定性和 API 成本。任何检索增强项目都可以偷这一招。

  4. 知识边界因模型而异且在移动。 不要假设一套检索策略通吃所有模型。不同模型(甚至不同检查点)的知识边界不同。任何检索增强系统都应该按模型来评估,不能假设可迁移。