Embeddings are an important tool for the representation of word meaning. Their effectiveness rests on the distributional hypothesis: words that occur in the same context carry similar semantic information. Here, we adapt this approach to index visual semantics in images of scenes. To this end, we formulate a distributional hypothesis for objects and scenes: Scenes that contain the same objects (object context) are semantically related. Similarly, objects that appear in the same spatial context (within a scene or subregions of a scene) are semantically related. We develop two approaches for learning object and scene embeddings from annotated images. In the first approach, we adapt LSA and Word2vec's Skipgram and CBOW models to generate two sets of embeddings from object co-occurrences in whole images, one for objects and one for scenes. The representational space spanned by these embeddings suggests that the distributional hypothesis holds for images. In an initial application of this approach, we show that our image-based embeddings improve scene classification models such as ResNet18 and VGG-11 (3.72\% improvement on Top5 accuracy, 4.56\% improvement on Top1 accuracy). In the second approach, rather than analyzing whole images of scenes, we focus on co-occurrences of objects within subregions of an image. We illustrate that this method yields a sensible hierarchical decomposition of a scene into collections of semantically related objects. Overall, these results suggest that object and scene embeddings from object co-occurrences and spatial context yield semantically meaningful representations as well as computational improvements for downstream applications such as scene classification.
翻译:嵌入是表达字义含义的一个重要工具。 其有效性取决于分布假设 。 其有效性取决于分布假设 。 用于从注释图像中学习对象和场景嵌入的两种方法 。 在此, 我们调整此方法以在图像图像中索引视觉语义 。 为此, 我们为对象和场景制定一个分布假设 : 包含相同对象的场景( 对象环境) 具有语义联系 。 同样, 出现在相同空间环境( 在场景的场景或次区域) 中的天体具有语义关联性 。 我们开发了两种方法 : 从注释图像中学习对象和场景嵌入。 在第一个方法中, 我们调整 LSLSA 和 Word2vec 的 SGGGGgram 和 CBOW 模型, 以生成两套对象共嵌入图像的嵌入图案集 : 包含相同对象的场景( 对象环境环境) 的场景假设 。 同样, 我们的图像嵌入式将改善的场景分类模型, 显示我们从 ResNet18 和 VGGG- 11 (3. 11) 的 的 的底 的 的图像的图像的图像的精确度 。