GenesisPi:用于具身空间推理的双向注意力与多教师蒸馏
GenesisPi: Bidirectional Attention and Multi-Teacher Distillation for Embodied Spatial Reasoning
AI总结:
提出基于 Qwen3.5 的 GenesisPi 模型,通过基元双向注意力与空间多教师在线蒸馏,提升具身空间推理效率与性能,在多基准上优于 GPT 6 Astra。
摘要:
具身空间推理要求视觉语言模型将语言与视觉基元(如点、框、轨迹)等视觉 grounding 基元结合。自回归解码每次生成一个坐标,因此在基元其余部分建模前就确定了每个坐标,且解码步骤随基元长度增加。现有方法通过编辑注意力掩码让这些坐标相互关注,但 Qwen3.5 等混合骨干网络以 3:1 的比例将门控线性注意力层与全注意力层交错,且线性注意力层携带循环状态而非注意力矩阵,因此掩码编辑会导致四分之三的层仍为因果性。我们提出基于 Qwen3.5 的 GenesisPi 具身空间推理模型,包含 4B、9B、27B 三种规模。其基元双向注意力(PBA)在全注意力层编辑掩码,在门控 DeltaNet 层重写每个坐标位置的查询,使其准确读取基元末尾的状态,无需额外参数或额外循环传递,随后可在一次并行步骤中预测基元的所有坐标。为统一不同输出格式的任务,空间多教师在线蒸馏(Spatial MOPD)先通过前向 KL 热身从 grounding 教师传递定位知识,再利用自身的 rollout 将任务专用教师蒸馏到一个学生模型中。对于 4B 模型,PBA 将生成时间从自回归坐标解码的 320 ms 降至 110 ms(提速 2.9 倍),同时将 ScanRefer 和 RefSpatial-Bench 的性能分别提升 4.4 和 7.0 个百分点,而将双向性扩展到线性注意力层仅比掩码编辑多提升 1.3 和 3.5 个百分点。GenesisPi-27B 在 10 个空间理解与推理基准上的平均得分为 79.0,比 GPT 6 Astra 高 6.1 个百分点。
英文摘要:
Embodied spatial reasoning requires vision-language models to interleave language with visual grounding primitives such as points, boxes, and trajectories. Autoregressive decoding produces these primitives one coordinate at a time, so each coordinate is committed before the rest of its primitive has been modeled and decoding steps grow with primitive length. Recent methods let these coordinates attend to each other by editing the attention mask. Hybrid backbones such as Qwen3.5, however, interleave gated linear-attention layers with full attention at a 3:1 ratio, and the linear-attention layers carry a recurrent state rather than an attention matrix, so mask editing leaves three quarters of the layers causal. We present GenesisPi, 4B, 9B, and 27B embodied spatial reasoning models built on Qwen3.5. Its Primitive Bidirectional Attention (PBA) edits the mask in full-attention layers and, in Gated DeltaNet layers, rewrites the query of each coordinate position so that it exactly reads the state at the end of its primitive, with no additional parameters or extra recurrent pass. All coordinates of a primitive are then predicted in one parallel step. To unify tasks with different output formats, Spatial Multi-Teacher On-Policy Distillation (Spatial MOPD) first transfers localization knowledge from a grounding teacher through a forward-KL warm-up, then distills task-specialized teachers into one student on its own rollouts. For the 4B model, PBA reduces generation time from 320 ms with autoregressive coordinate decoding to 110 ms (2.9 times) while improving ScanRefer and RefSpatial-Bench by 4.4 and 7.0 points, and extending bidirectionality to linear-attention layers adds 1.3 and 3.5 points over mask editing alone. GenesisPi-27B averages 79.0 across ten spatial understanding and reasoning benchmarks, 6.1 points above GPT 6 Astra.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。