<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>VisionKG: Towards A Uni ed Vision Knowledge Graph</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Anh Le-Tuan</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Trung-Kien Tran</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Manh Nguyen-Duc</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jicheng Yuan</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Manfred Hauswirth</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Danh Le-Phuoc</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Bosch Center for Arti cial Intelligence</institution>
          ,
          <addr-line>Renningen</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Fraunhofer Institute for Open Communication Systems</institution>
          ,
          <addr-line>Berlin</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Open Distributed Systems, Technical University of Berlin</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Computer Vision (CV) has recently achieved signi cant improvements, thanks to the evolution of deep learning. Along with advanced architectures and optimisations of deep neural networks, CV data for (cross-datasets) training, validating, and testing contributes greatly to the performance of CV models. Many CV datasets have been created for di erent tasks, but they are available in heterogeneous data formats and semantic representations. Therefore, it is challenging when one needs to combine di erent datasets either for training or testing purposes. This paper proposes a uni ed framework using the Semantic Web technology that provides a novel way to interlink and integrate labelled data across di erent data sources. We demonstrate its advantages via various scenarios with the system framework accessible both online and via APIs.4</p>
      </abstract>
      <kwd-group>
        <kwd>Semantic Web</kwd>
        <kwd>Knowledge Graph</kwd>
        <kwd>Computer Vision Dataset</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Image datasets (e.g., ImageNet [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], COCO [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], etc.) contribute greatly to the
current success of deep learning in computer vision (CV). The quality of a trained
deep neural network (DNN) is in uenced by not only the advanced
architecture and optimisation of the DNN but also the annotations and images used for
training, validating and testing [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. The number of labelled datasets has been
rapidly growing, and working with di erent datasets is desirable (e.g., to resolve
the out-of-distribution problem and to increase the robustness of CV models [
        <xref ref-type="bibr" rid="ref4 ref7">4,
7</xref>
        ]). However, the labels are available in heterogeneous formats and are not
consistent across datasets. As illustrated in Figure 1, the pedestrian in KITTI
dataset [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] or the man in Visual Genome dataset [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]) are annotated as person in
      </p>
    </sec>
    <sec id="sec-2">
      <title>4 https://vision.semkg.org</title>
      <p>Copyright © 2021 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).</p>
      <p>COCO dataset. Therefore, it is challenging when one needs to combine di erent
datasets for training or testing purposes.</p>
      <p>
        Recently, the Semantic Web technologies have o ered a exible and powerful
mechanism to integrate data from di erent sources [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. However, such
technologies have been used in very limited settings to manage CV datasets. Prominent
CV datasets, such as ImageNet or Visual Genome only use a light form of
taxonomy (e.g., WordNet5) to label their images. Even when these datasets can
be queried, e.g., using SPARQL, the lack of interoperability leads to complex
queries that cover all possible cases to unify the labels across di erent datasets
(the left query in Figure 1).
      </p>
      <p>
        Such shortcomings motivate us to build a uni ed knowledge graph (KG) to
realise the FAIR principles [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] for CV datasets. Our vision is that the ability
to interlink labels across label spaces under shared semantic understanding will
not only enable a more convenient way to organise training data (e.g., see the
right query in Figure 1) but also enable a more robust way to analyse and test
trained DNNs. Moreover, this KG can pay the way to enable the interpretability
and explainability of the resulting models, e.g. [
        <xref ref-type="bibr" rid="ref11 ref9">11, 9</xref>
        ].
      </p>
      <p>As a step towards the above vision, we propose a uni ed framework, called
VisionKG, that facilitates a novel way to organise CV datasets. Our on-going
implementation of VisionKG employs the Semantic Web technology to interlink
labelled data across di erent datasouces. This demo paper will show its
advantages via three scenarios: (i) exploring labelled images across datasets, (ii)
building training pipelines with mixed datasets , and (iii) validating and testing
a trained DNN.</p>
    </sec>
    <sec id="sec-3">
      <title>5 https://wordnet.princeton.edu/</title>
      <sec id="sec-3-1">
        <title>Vision Semantic Knowledge Graph</title>
        <p>Additionally, VisionKG system includes a front-end web interface ○7 that
allows users to explore the KG as shown in the rst scenario of our demonstration.
Furthermore, our framework contains a DNN Training Engine ○5 and an
Evaluator ○6 . The image data as the tensor inputs for the Evaluator and the DNN
Training Engine can be stored in a tensor storage (i.e. TensorDB). And the labels
can be retrieved with SPARQL as demonstrated in the second scenario. The
trained models are stored in our Model Zoo Directory and are evaluated by the
Evaluator.</p>
        <p>
          The tutorials for the training pipelines based on [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] are available online
at https://github.com/cqels/vision. Most of the data preparation and
con
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>6 https://www.wikidata.org/</title>
      <p>guration steps are automated so that Semantic Web developers familiar with
SPARQL can easily try out the pipelines.</p>
      <p>In the current version (by August, 2021), VisionKG has 67 million triples
which cover Visual Genome, COCO, and KITTI datasets with the total
number of 239k images, a million of labels (including ones for bounding-box), and
hundreds of object categories. These categories are reused but aligned with
Wikidata concepts/classes. VisionKG also contains millions of detection results that
are evaluated with popular pretrained models such as Yolov3, Yolov4, E
cientDet, FRCNN, etc.
3</p>
      <sec id="sec-4-1">
        <title>Feature Demonstrations</title>
        <p>The demonstration session will consist of three scenarios with a demonstration
video at https://vision.semkg.org/iswc2021-demo.html. For all mentioned
scenarios, we provide both Python APIs for developers and a Web interface for
end-users in the training/testing phase and data exploration phase respectively.
○a Graph-based Exploration Across Visual Label Spaces: In this
scenario, we demonstrate our web-based image explorer that is used for
retrieving images using SPARQL (Figure 3 ○a ). The demonstration shows that with
VisionKG, users will be able to search for images containing di erent labels, e.g.,
images that contain a cat and a person; or images that have 10 cars.
○b Building Training Pipelines with Mixed datasets: In the second part,
we demonstrate the scenario to obtain a mixed dataset for training purposes
(Figure 3 ○b ). A user starts a training pipeline by writing a SPARQL to retrieve
the images and labels as desired. This includes an advanced setting like merging
training data with the same label, e.g. Person, from di erent datasets (as shown
in the right query of Figure 1).
○c Cross-dataset Validation and Testing: The third part demonstrates
the scenario of getting the mixed dataset for validating purposes (Figure 3 ○c ).
Similar to the scenario for training data, this includes the case where test data
with the same labels are combined from di erent datasets. In advanced settings,
one can test di erent models on speci c labels in one speci c dataset or over
di erent datasets. This scenario is particularly useful in the case that developers
want to target speci c applications. For example, one can test the trained models
to detect Car on images of Car in crowded tra c scenes or in mountain areas.</p>
      </sec>
      <sec id="sec-4-2">
        <title>Next Steps</title>
        <p>
          Our proposed framework opens various new research venues. First, we plan to
build DNNs with a uni ed label space powered by VisionKG. Next, we will
extend VisionKG to analyse the robustness of DNNs models using testing samples
with semantic similarities via KG embeddings. Such KG embeddings can be
combined with visual features of DNN-based visual models to investigate the
interpretability and explainability of these models, e.g. [
          <xref ref-type="bibr" rid="ref11 ref9">9, 11</xref>
          ].
        </p>
        <p>Acknowledgments This work was funded by the German Research Foundation
(DFG) under the COSMO project (ref. 453130567), the German Ministry for
Education and Research via The Berlin Institute for the Foundations of Learning
and Data (BIFOLD, ref. 01IS18025A and ref. 01IS18037A), and the German
Academic Exchange Service (DAAD, ref. 57440921).</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Benjelloun</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Noy</surname>
            ,
            <given-names>N.F.</given-names>
          </string-name>
          :
          <article-title>Google dataset search by the numbers</article-title>
          .
          <source>In: 19th International Semantic Web Conference Proceedings</source>
          . Springer (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pang</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiong</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Feng</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , et al.:
          <article-title>Mmdetection: Open mmlab detection toolbox and benchmark</article-title>
          . arXiv preprint arXiv:
          <year>1906</year>
          .
          <volume>07155</volume>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Geiger</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenz</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stiller</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Urtasun</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>Vision meets robotics: The kitti dataset</article-title>
          .
          <source>The International Journal of Robotics Research</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Huang</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Mos: Towards scaling out-of-distribution detection for large semantic space</article-title>
          .
          <source>In: Proceedings of the IEEE/CVF</source>
          (
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Krishna</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , et la.:
          <article-title>Visual genome: Connecting language and vision using crowdsourced dense image annotations</article-title>
          .
          <source>IJCV</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Krizhevsky</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sutskever</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hinton</surname>
          </string-name>
          , G.E.:
          <article-title>Imagenet classi cation with deep convolutional neural networks</article-title>
          .
          <source>NeurIPS</source>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Lambert</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sener</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hays</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koltun</surname>
          </string-name>
          , V.:
          <article-title>MSeg: A composite dataset for multi-domain semantic segmentation</article-title>
          .
          <source>In: CVPR</source>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>T.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maire</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Belongie</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hays</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perona</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ramanan</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dollar</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zitnick</surname>
            ,
            <given-names>C.L.</given-names>
          </string-name>
          :
          <article-title>Microsoft coco: Common objects in context</article-title>
          .
          <source>In: ECCV</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Park</surname>
            ,
            <given-names>J.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bhagavatula</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mottaghi</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Farhadi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Choi</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Visualcomet: Reasoning about the dynamic context of a still image</article-title>
          .
          <source>In: ECCV</source>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Wilkinson</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.D.</surname>
          </string-name>
          , et la.:
          <article-title>The fair guiding principles for scienti c data management and stewardship. Scienti c data 3(1), 1{9 (</article-title>
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Zareian</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Karaman</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Bridging knowledge graphs to generate scene graphs</article-title>
          .
          <source>In: ECCV</source>
          <year>2020</year>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Zhu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          , et la.:
          <article-title>Do we need more training data? IJCV (</article-title>
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>