Paper: 2607.08765 Authors: Haoran Feng, Ruiyang Zhang, Longyi Zhang, Dizhe Zhang, Lu Qi Categories: cs.CV

The Gap

Panoramic image generation is booming, but the field has a dirty secret: existing models treat equirectangular panoramas like flat images, then act surprised when the outputs look warped. Prior work like Diffusion360 and PanoDiffusion made strides in text-to-panorama generation, but they hit two walls. First, there’s no large-scale, high-quality dataset specifically designed for in-context panoramic tasks — meaning tasks where you give the model an input panorama plus instructions (like “replace the sky” or “extend the left side”). Second, standard diffusion architectures ignore the geometric reality of equirectangular projection: objects near the poles get stretched, left and right edges must seamlessly wrap around, and depth cues behave differently than in planar images.

Canvas360 attacks both problems simultaneously — a new dataset (Canvas360Dataset, 1M samples) and a geometry-aware architecture that bakes equirectangular physics into the model’s DNA.

Problem                     Assumption              Method                  Evidence              Conclusion
|                           |                       |                       |                     |
No large-scale              Geometry can be         Canvas360Dataset        1M paired samples     Unified in-context
paired panoramic            learned from flat       (1M pairs)              + parallel depth      panorama framework
training data for           images alone            + velocity circular     + circular padding    surpasses prior
in-context tasks            |                       padding                 + similarity loss     methods on fidelity
|                           |                       + similarity loss       |                     and task coverage
Models ignore               v                       regularization         v
equirectangular             Standard diffusion      |                       Improved FAED metric
geometry (wrap,             fails on 360-degree     v                       + competitive SOTA
stretch, depth)             content                 Geometry-aware          on standard metrics
                            |                       representations         |
                            v                       that capture distortion |
                            Poor geometric          and global coherence
                            consistency

The Increment

One sentence: Before this paper, panoramic generation had no dedicated in-context training corpus and treated 360-degree geometry as an afterthought; after, there’s a 1M-sample benchmark dataset and an architecture that learns equirectangular structure from the ground up.

Core Mechanism

Canvas360 operates in two stages. Stage one is geometry-aware pretraining: the model learns to generate panoramas while simultaneously predicting depth, but here’s the twist — it does this in parallel rather than sequentially. The depth branch and the RGB branch share the diffusion backbone, so the model is forced to internalize the relationship between 3D structure and 2D panoramic appearance.

The architecture introduces two key geometric operations. Velocity circular padding ensures that the diffusion process respects the spherical topology — when the model denoises pixels at the left edge, it “sees” what’s happening at the right edge (and vice versa), because in a real panorama those edges are physically adjacent. Similarity loss regularization penalizes the model when features at the equator and poles behave identically, pushing it to learn position-dependent representations that account for equirectangular stretching.

Stage two is task-specific fine-tuning via token-level concatenation. For any downstream task (style transfer, inpainting, outpainting, editing), the input context and target output are concatenated at the token level in a single sequence. The geometry-aware priors from stage one transfer cleanly because the model already understands panoramic structure — now it just needs task conditioning.

Stage 1: Geometry-Aware Pretraining
====================================
Input Panorama --> [Shared Diffusion Backbone]
                        |           |
                        v           v
               [RGB Branch]   [Depth Branch]
                        |           |
                        v           v
                  RGB Output    Depth Output
                        |           |
                        +-----+-----+
                              |
                    Similarity Loss (reg)
                    Circular Padding (wrap edges)

Stage 2: Task-Specific Fine-Tuning
====================================
[Input Tokens] ++ [Task Tokens] ++ [Target Tokens]
                    |
                    v
            [Frozen Backbone + LoRA]
                    |
                    v
            Generated Panorama

Think of it like training a cartographer. In stage one, you don’t just hand them a blank globe and say “paint it.” You make them simultaneously draw the terrain AND build a relief map, so they understand that mountains near the equator look different from mountains near the poles. You also stitch the left and right edges of their canvas together, so they can never cheat by treating the map as a rectangle. In stage two, you give them specific commissions: “redo this map in watercolor style,” “fill in the missing ocean section,” “extend the coastline.” Because they already understand how a globe works, each new task is just a variation — not a fundamental challenge. The circular padding is the stitched canvas edges; the parallel depth is the relief map; the similarity loss is the corrective feedback that says “no, that’s not how projection works near the poles.”

Key Concepts

  • Equirectangular Projection: Imagine peeling an orange and flattening the peel onto a table. The center (equator) stays roughly proportional, but the top and bottom (poles) get horribly stretched. This is how panoramas are stored as flat images. Most image models don’t know this — they treat every pixel equally. Canvas360 teaches the model that a pixel near the pole “means” something different than a pixel at the equator. Concrete example: a person standing at the equator might be 100 pixels tall, but the same person standing near the pole would be stretched to 200 pixels — the model needs to understand this isn’t a height change, it’s a projection artifact.

  • Velocity Circular Padding: In standard image generation, the model pads the edges with zeros or reflections. But a panorama’s left edge IS the right edge — they’re the same physical point. Velocity circular padding makes the diffusion process wrap around: noise schedules and denoising at column 0 directly see column W-1, and vice versa. This prevents the “seam” artifact that plagues most panoramic generators. It’s like the difference between painting on a flat canvas versus painting on the inside of a cylinder — the brush strokes at the edges must connect.

  • In-context Generation: Rather than training separate models for each task, you give the model the input as context tokens and ask it to complete the output. It’s the same philosophy as language models doing few-shot learning — the “task” is specified by the example, not by a task-specific head. For panoramas, this means one model handles style transfer, inpainting, outpainting, and editing simply by changing what tokens you feed it.

Framework Shift

Before (mainstream approach):           After (this paper):
                                       
[Flat Image Model]                      [Geometry-Aware Backbone]
        |                                       |
        v                                       |
   Panorama Task? -- No special                |
   treatment for wrap/stretch    -->  [Circular Padding + Depth]
        |                                       |
        v                                       |
   Train separate model                 [Token Concatenation]
   per task (style, inpaint,                     |
   outpaint, edit)                               v
        |                                 Unified Model
        v                                 (all tasks)
   No shared dataset
   for in-context panorama

From task-specific flat-image hacks to a unified geometry-native panorama framework, the core shift is treating the sphere as a sphere, not a rectangle with inconvenient edges.

Expert Assessment

Problem choice: This is a real gap. Panoramic generation has lagged behind standard image generation precisely because the field lacked both proper training data and architectures that respect equirectangular geometry. The 1M-sample dataset alone is a meaningful contribution — prior work either used small curated sets or scraped low-quality data. The problem sits at the intersection of 3D vision and generative modeling, a sweet spot that’s been underserved.

Method maturity: The individual techniques (circular padding, parallel depth prediction, similarity loss) are incremental rather than revolutionary — each has appeared in some form in other contexts. But the assembly is thoughtful. The velocity circular padding is the cleverest piece; it’s a simple idea that solves a real, visible problem. The similarity loss feels more like a regularization trick than a fundamental insight. I worry that the “unified framework” claim is somewhat overstated — token-level concatenation is the standard in-context recipe, not a novel contribution.

Experimental integrity: The FAED metric (panorama-specific FID variant) is reported prominently, which is appropriate since standard FID doesn’t capture panoramic geometry. Baselines include relevant prior work. However, the paper would benefit from more ablation on the individual components — how much does circular padding alone contribute versus the depth branch versus the similarity loss? The numbers look solid but not jaw-dropping on standard metrics; the FAED improvement is where the story gets compelling.

Writing quality: The paper reads clearly but cuts corners in the related work section — prior panoramic generation methods are summarized rather than critically positioned. The dataset section could use more detail on quality filtering and diversity metrics. The method section is well-structured; the two-stage framing is clean and easy to follow. If I could rewrite one section, it would be the experiments: add ablations, show failure cases, and be more explicit about what FAED actually measures geometrically.

Verdict: weak accept — The dataset is genuinely useful, the geometric-awareness angle is well-motivated, but the technical novelty is assembled from known ingredients rather than introducing fundamentally new machinery.

Takeaways

Three concrete things worth stealing:

  1. Circular padding for any periodic domain: If your data has wrap-around topology (panoramas, cylindrical scans, temporal cycles), circular padding in the diffusion process is a low-effort, high-impact fix. This transfers directly to any domain where boundaries are artificial.

  2. Parallel auxiliary tasks as geometric regularizers: Forcing the model to predict depth alongside RGB during pretraining is a form of multi-task learning that encodes 3D structure without requiring 3D supervision at inference time. This idea transfers to medical imaging (predict segmentation alongside generation) or satellite imagery (predict elevation alongside appearance).

  3. Build the dataset, own the problem: The 1M-sample Canvas360Dataset may be the most lasting contribution. In nascent subfields, creating a high-quality benchmark often matters more than any single model. If you’re working in a data-starved niche, investing in data curation can be higher-leverage than architectural innovation.

论文: 2607.08765 作者: Haoran Feng, Ruiyang Zhang, Longyi Zhang, Dizhe Zhang, Lu Qi 分类: cs.CV

缺口

全景图像生成正在快速发展,但这个领域有个难言之隐:现有模型把等距矩形投影的全景图当作普通平面图像处理,然后对输出的畸变一脸茫然。Diffusion360 和 PanoDiffusion 等先行工作在文本生成全景图方面取得了进展,但撞上了两面墙。第一,缺乏专门为上下文全景任务(比如给出一张输入全景图加指令”替换天空”或”向左扩展”)设计的大规模高质量数据集。第二,标准扩散架构无视等距矩形投影的几何现实:靠近极点的物体会被拉伸,左右边缘必须无缝衔接,深度线索的行为方式与平面图像完全不同。

Canvas360 同时攻击这两个问题——一个新数据集(Canvas360Dataset,100 万样本)加上一个把等距矩形几何”刻入骨髓”的架构。

问题                      假设                    方法                    证据                    结论
|                         |                       |                       |                       |
缺乏面向上下文            几何可以从平面           Canvas360Dataset       100万配对样本            统一的上下文全景
全景任务的大规模           图像中自然习得           (100万对)              + 并行深度预测            生成框架在保真度
配对训练数据               |                       + 速度循环填充          + 循环填充                和任务覆盖面上
|                         |                       + 相似性损失            + 相似性损失              超越先前方法
模型无视等距矩形           v                       正则化                  |
几何(拉伸、环绕、         标准扩散在360度          |                       v
深度)                     内容上表现不佳           v                       FAED指标提升
|                         |                       几何感知的              + 标准指标SOTA
v                         v                       表示学习
几何一致性和               几何一致性差
全局连贯性差

增量

一句话: 在这篇论文之前,全景生成缺乏专用的上下文训练数据集,360 度几何被当作事后补丁;之后,有了百万级基准数据集和一个从底层学习等距矩形结构的架构。

核心机制

Canvas360 分两个阶段运作。第一阶段是几何感知预训练:模型在生成全景图的同时预测深度,但关键在于——这是并行而非串行的。深度分支和 RGB 分支共享扩散主干,因此模型被迫内化三维结构与二维全景外观之间的关系。

架构引入了两个关键的几何操作。速度循环填充确保扩散过程尊重球面拓扑——当模型在左边缘去噪时,它能”看到”右边缘的情况(反之亦然),因为在真实全景中这些边缘在物理上是相邻的。相似性损失正则化惩罚模型在赤道和极点产生相同特征的行为,推动它学习位置相关的表示来应对等距矩形拉伸。

第二阶段是通过 token 级拼接进行任务特定微调。对于任何下游任务(风格迁移、修复、扩展、编辑),输入上下文和目标输出在单一序列中按 token 级别拼接。第一阶段的几何感知先验干净地迁移,因为模型已经理解全景结构——现在只需要任务条件。

第一阶段:几何感知预训练
====================================
输入全景图 --> [共享扩散主干]
                   |            |
                   v            v
              [RGB分支]    [深度分支]
                   |            |
                   v            v
             RGB输出        深度输出
                   |            |
                   +-----+------+
                         |
               相似性损失(正则化)
               循环填充(边缘衔接)

第二阶段:任务特定微调
====================================
[输入Token] ++ [任务Token] ++ [目标Token]
                   |
                   v
           [冻结主干 + LoRA]
                   |
                   v
           生成的全景图

想象一下培养一个制图师。第一阶段,你不是递给他一个空白地球仪说”画吧”。你让他同时画地形图和浮雕地图,这样他就明白赤道附近的山和极点附近的山看起来是不同的。你还把画布的左右两边缝在一起,所以他永远不能偷懒把地图当矩形处理。第二阶段,你给他具体的委托:“用水彩重绘这张地图""填补缺失的海洋部分""延伸海岸线”。因为他已经理解地球仪的运作方式,每个新任务都只是变体,不再是根本性挑战。循环填充就是缝合的画布边缘;并行深度就是浮雕地图;相似性损失就是纠正反馈——“不,极点附近的投影不是这样的”。

关键概念

  • 等距矩形投影:想象把橘子皮剥下来摊平在桌子上。中间(赤道)大致保持比例,但上下两端(极点)被严重拉伸。这就是全景图以平面图像存储的方式。大多数图像模型不知道这一点——它们对每个像素一视同仁。Canvas360 教会模型:极点附近的像素和赤道附近的像素”含义”不同。具体例子:一个站在赤道的人可能占 100 像素高,但同一个人站在极点附近会被拉伸到 200 像素——模型需要理解这不是身高变化,而是投影伪影。

  • 速度循环填充:在标准图像生成中,模型用零填充或反射填充边缘。但全景图的左边缘就是右边缘——它们是同一个物理点。速度循环填充让扩散过程环绕:第 0 列的噪声调度和去噪能直接看到第 W-1 列,反之亦然。这消除了困扰大多数全景生成器的”接缝”伪影。这就像在平画布上画画和在圆筒内壁上画画的区别——边缘的笔触必须连接。

  • 上下文生成:不是为每个任务训练单独的模型,而是把输入作为上下文 token 交给模型,让它完成输出。这和语言模型做少样本学习是同一个哲学——“任务”由示例指定,而不是由任务特定的头决定。对于全景图,这意味着一个模型就能处理风格迁移、修复、扩展和编辑,只需要改变输入的 token。

框架转变

之前(主流方法):                    之后(本文方法):
                                   
[平面图像模型]                       [几何感知主干]
       |                                    |
       v                                    |
  全景任务?-- 对环绕/拉伸             |
  没有特殊处理              -->     [循环填充 + 深度]
       |                                    |
       v                                    |
  每个任务训练独立模型                [Token拼接]
  (风格、修复、扩展、编辑)                    |
       |                                     v
       v                               统一模型
  没有面向上下文全景的               (所有任务)
  共享数据集

从针对任务的平面图像补丁到统一的几何原生全景框架,核心转变是把球面当作球面来处理,而不是把它当作有不方便边缘的矩形。

专家评审

选题眼光: 这是一个真实的缺口。全景图像生成之所以落后于标准图像生成,恰恰是因为该领域既缺乏合适的训练数据,也没有尊重等距矩形几何的架构。光是百万级样本数据集就是一个有意义的贡献——先前工作要么使用小型人工策划集,要么抓取低质量数据。这个问题位于三维视觉和生成建模的交叉点,是一个被忽视的甜蜜点。

方法成熟度: 各个技术点(循环填充、并行深度预测、相似性损失)是渐进式的而非革命性的——每一种都以某种形式在其他上下文中出现过。但组装方式是用心的。速度循环填充是最巧妙的部分;这是一个简单想法,解决了真实的、可见的问题。相似性损失更像是正则化技巧而非根本性洞见。我担心”统一框架”的说法有些夸大——token 级拼接是标准的上下文配方,不是新贡献。

实验诚意: FAED 指标(全景特定的 FID 变体)被突出报告是合适的,因为标准 FID 无法捕捉全景几何。基线包含了相关先行工作。但论文可以从更多消融实验中受益——循环填充单独贡献多少?深度分支呢?相似性损失呢?数字在标准指标上看起来扎实但不算惊艳;FAED 上的改进才是故事变得有说服力的地方。

写作功力: 论文读起来清晰,但在相关工作部分偷懒了——先前的全景生成方法被概述而非被批判性定位。数据集部分可以在质量过滤和多样性指标上提供更多细节。方法部分结构良好;两阶段框架简洁易懂。如果我能重写一个部分,我会选实验:加上消融实验,展示失败案例,更明确地解释 FAED 在几何上到底度量什么。

判决: 弱接收——数据集确实有用,几何感知角度动机充分,但技术新颖性是从已知成分组装出来的,而非引入了根本性的新机制。

要点总结

三个值得”偷”的具体做法:

  1. 循环填充适用于任何周期性域:如果你的数据有环绕拓扑(全景图、柱面扫描、时间周期),在扩散过程中使用循环填充是低成本、高回报的修复方案。这可以直接迁移到任何边界是人为设定的领域。

  2. 并行辅助任务作为几何正则化器:在预训练期间强制模型同时预测深度和 RGB,这是一种多任务学习形式,能在推理时不需要三维监督的情况下编码三维结构。这个思路可以迁移到医学影像(同时预测分割和生成)或卫星图像(同时预测高程和外观)。

  3. 建数据集,赢问题定义权:百万级的 Canvas360Dataset 可能是最持久的贡献。在新兴子领域,创建高质量基准往往比任何单一模型都重要。如果你在一个数据稀缺的细分方向工作,在数据整理上投资可能比架构创新更有杠杆效应。