Reference Expression Generation (REG) and Comprehension (REC) are two highly correlated tasks. Modeling REG and REC simultaneously for utilizing the relation between them is a promising way to improve both. However, the problem of distinct inputs, as well as building connections between them in a single model, brings challenges to the design and training of the joint model. To address the problems, we propose a unified model for REG and REC, named UniRef. It unifies these two tasks with the carefully-designed Image-Region-Text Fusion layer (IRTF), which fuses the image, region and text via the image cross-attention and region cross-attention. Additionally, IRTF could generate pseudo input regions for the REC task to enable a uniform way for sharing the identical representation space across the REC and REG. We further propose Vision-conditioned Masked Language Modeling (VMLM) and Text-Conditioned Region Prediction (TRP) to pre-train UniRef model on multi-granular corpora. The VMLM and TRP are directly related to REG and REC, respectively, but could help each other. We conduct extensive experiments on three benchmark datasets, RefCOCO, RefCOCO+ and RefCOCOg. Experimental results show that our model outperforms previous state-of-the-art methods on both REG and REC.
翻译:建模REG和REC是两个高度相关的任务。同时建模REG和REC是改善两者关系的一个很有希望的方法。然而,不同的投入问题,以及在一个单一模型中建立它们之间的联系,给联合模型的设计和培训带来了挑战。为了解决这些问题,我们为REG和REC(名为UniRef)提出了一个统一的模型。它把这两项任务与精心设计的图像-Region-ext Fusion 层(IRTF)(IRTF)统一起来,后者通过图像交叉注意和区域交叉注意将图像、区域和文字结合起来。此外,IRTF可以为RE的任务产生假输入区域,以便能够在REC和REG之间共享相同的代表空间。为了解决这些问题,我们进一步建议有远见的有节制的调语言模型(VMLMM)和有文字调控的区域预测模型(TRP)为U-Refer-Information Universional Coration(VMMM和TRP)与RM-CO(CO-REG-Ref RE-RA)分别与REG和Ref Reg-Reg-Recal 分别显示我们以往的RA-REG-Ref-Ref-Reg-Reg-Reg-Reg-Reg-Reg-Reg-Reg-Reg-Reg-Reg-ReG-ReG-Real-Re-Real-Real-Reg-Re-Re-Reg-Real-Reg-Reg-Reg-Re-Re-Recual-Recal-Recual-Re-Re-Re-Re-Re-Re-Re-Re-Rec-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Real-Re-Re-Re-Re-Reg-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re-Re