<!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>Multilingual Text-Image Olfactory Object Matching Based on Object Detection</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yi Shao</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yang Zhang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wenbo Wan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jing Li</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jiande Sun</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Shandong Normal University</institution>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Among the emerging multimodal tasks, the study of olfactory modality is very classic. Detecting olfactory objects in text-image data currently faces a challenge that there is no good standard way to uniformly represent text elements and image elements that elicit the same smell, especially in multilingual data. In addition, this problem also faces the problem of imbalance in the number of positive and negative samples. Therefore, this paper proposes a method based on object detection, constructs a unified text -image object representation method based on olfactory information, and alleviates the negative impact of sample imbalance to a certain extent. The overall performance of the proposed method on the four languages is close to that of the SOTA method.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        As a kind of sensory information that can directly mobilize human memory and stimulate
human emotions, olfactory information has a huge potential utilization value similar to visual
information [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In the past two decades, with a "sensory revolution" [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], researchers’
perspective has gradually shifted from text and image content to information of more sensory
dimensions. However, due to the scarcity of related terms in the field of smell, and the lack
of dedicated direct representation method for olfactory features [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] comparing with text and
image data with mature feature extraction methods, extracting olfactory information from text
and image data is an ongoing research problem.
      </p>
      <p>
        In this paper, we explore the MUSTI task of MediaEval2022 [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. In the MUSTI task, subtask 1
is required to detect whether the image and text in each sample of the development set contain
objects that cause the same olfactory experience, and subtask 2 further requires to point out
what these objects are. We construct a method for matching olfactory information in text-image
data based on object detection. Object detection usually also faces the problem of imbalance
in the number of positive and negative samples. This type of method can not only detect
olfactory objects from images, but also alleviate the problem of sample imbalance to a certain
extent. We also constructed a list of objects that cause similar olfactory experience, called the
"approximate object list", as a way of expressing olfactory information, and established the
connection between similar objects in multiple languages.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        Although there have been studies related to odor in the field of machine learning, most of them
focus on the chemical molecular structure that causes odor [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], and there is still a lack
of research on using natural language processing methods and computer vision methods to
explore olfactory information. Menini et al. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] propose a method that focuses on olfactory
events rather than traditional single terms, and constructs a multilingual olfactory benchmark.
Menini et al. [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] constructed a taxonomy of olfactory-related terms using WordNet [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] and
Google n-grams, and enriched the terms with temporal information, making it possible to
trace the relative usage of these odors over the past centuries. Tonelli et al. [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] capture odor
events and situations in text, and manually mark the main actors in the scene, and make some
modifications to the olfactory-related frame and annotation practice based on FrameNet [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Approach</title>
      <sec id="sec-3-1">
        <title>3.1. Object Detection Stage</title>
        <p>
          An overview of the proposed method flow is shown in Figure 1. First, we performed
Yolov5-adapted annotations on the images in the development set. Specifically, we counted all
object names contained in the subtask 2 labels of all samples in the development set, performed
cross-lingual deduplication, and finally manually annotated these objects on the image. Then
we used the labeled images to fine -tune the pretrained Yolov5 model [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]. The pre-trained
Yolov5 model obtained after fine -tuning can be obtained the textual names of the objects in
the image as visual olfactory objects  . For each input sample, its image will be input to the
pre-trained Yolov5, and all the unique object names  in the image will be output. The object
names in the images are textual, so they can be extracted as embedding vectors by BERT along
with the text.
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Embedding Stage</title>
        <p>We use the multilingual BERT, a text feature extraction model that can be applied to English,
French, German, and Italian. Since the visual olfactory objects are represented by discrete
words, and the embedding vector of each word does not contain context information, we also
input the sample text into BERT in the form of discrete words. The visual and textual object
embedding features obtained by BERT are expressed as   and   .</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Classification Stage</title>
        <p>After embedding stage, we can directly get the matching result of the same objects in the image
and text. But we still need to judge the olfactory similarity between diferent olfactory objects,
because highly similar olfactory properties may appear between them. To this end, we design
an olfactory similarity classifier . Specifically, the inputs  and  will go through a fully
connected layer and a cosine similarity calculation, and then  will output the matching result
according to the final similarity result .</p>
        <p>When the  value exceeds a threshold s, the olfactory objects  and  corresponding to
 and  are considered to cause the same olfactory experience, and then  and  will
be added to subtask 2 result list and an approximate object list. Finally, according to whether
the length of result list of subtask 2 is 0, the result of subtask 1 is obtained. By the approximate
object list, not only can a connection be established between diferent objects that cause similar
olfactory experience, but also a bridge can be established between diferent language expressions
of the same object, thereby achieving multilingual adaptability during model inference.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Results and Analysis</title>
      <sec id="sec-4-1">
        <title>4.1. Models Performance Comparison under Data Imbalance</title>
        <p>
          There are 1789 negative samples and 601 positive samples in the development set data, and the
ratio is roughly equal to 3:1. We tried to directly use ResNet101 and BERT to extract visual
and text features respectively and splicing them for binary classification prediction, but the
performance was low. After that, we changed the loss function to Focal Loss [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] that adapts
to the unbalanced samples, and the efect improvement is not significant. Finally, we tried the
method based on object detection. As shown in Figure 1, the proposed object detection-based
method significantly outperforms the ResNet and Focal Loss -based methods on a small number
of positive samples, which proves that it is feasible to use object detection methods to solve
sample imbalance.
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Baseline comparison experiment</title>
        <p>
          The performance comparison among the proposed method and baseline methods proposed in
[
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] on the final oficial test set is shown in Table 2. It can be seen that the proposed model is
close to the best baseline in overall performance.
        </p>
        <p>As shown in Table 2, the subtask 1 performance of the proposed method performs well on
English and Italian data, but poorly on French and German data. We speculate that this is
because the number of samples in diferent languages varies greatly (en:800, de:482, fr:304,
it:804), resulting in diferent distributions of visual objects corresponding to diferent languages.
That is, many visual-olfactory objects in the German and French example images were not fully
learned by Yolov5.</p>
        <p>In order to confirm this conclusion, we input the images corresponding to each language
sample into Yolov5 again, and made a macro average of the output visual and olfactory objects.
The results are shown in Table 3, which verified our conjecture.</p>
        <p>According to Table 2, the subtask 2 performance of the proposed method is equally good on
German data besides English and Italian. This is because the German dataset has more images
containing only a few olfactory objects. The fewer olfactory objects in the image, the smaller
the probability that the image will be correctly detected by Yolov5, and the F1 score of the
corresponding sample in subtask 1 is often lower. In other words, we not only need to perform
cross-lingual data enhancement, but we also need to perform data enhancement for diferent
visual objects to obtain a better Yolov5.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Discussion and Outlook</title>
      <p>We build a method for detecting whether images and text elicit similar olfactory experiences,
with overall performance approaching that of SOTA methods. But it still has some disadvantages.</p>
      <p>For the relationship between approximate olfactory objects, the method proposed in this
paper only considers the most basic synonym relationship, but in fact we can use them to build
complex graph structures to represent the associations between diferent olfactory objects. In
addition, we still need to perform data enhancement for olfactory objects and diferent languages
to improve the performance of Yolov5, which is the core of the model.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgement</title>
      <p>Thanks to the organizers of the MediaEval2022, especially to those organizers for MUSTI.
This work was supported in part by the Scientific Research Leader Studio of Jinan (Grant No.
2021GXRC081), and in part by the Joint Project for Smart Computing of Shandong Natural
Science Foundation (Grant No. ZR2021LZH010, ZR2020LZH015, and ZR2022LZH012).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Lisena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Schwabe</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. van Erp</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Troncy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Tullett</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Leemans</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Marx</surname>
          </string-name>
          , S. C.
          <article-title>Ehrich, Capturing the semantics of smell: The odeuropa data model for olfactory heritage information</article-title>
          ,
          <source>in: European Semantic Web Conference</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>387</fpage>
          -
          <lpage>405</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Howes</surname>
          </string-name>
          , Charting the sensorial revolution,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C.</given-names>
            <surname>Classen</surname>
          </string-name>
          ,
          <article-title>Other ways to wisdom: Learning through the senses across cultures</article-title>
          ,
          <source>International Review of Education</source>
          <volume>45</volume>
          (
          <year>1999</year>
          )
          <fpage>269</fpage>
          -
          <lpage>280</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>B.</given-names>
            <surname>Winter</surname>
          </string-name>
          ,
          <article-title>Synaesthetic metaphors are neither synaesthetic nor metaphorical</article-title>
          ,
          <source>Perception metaphors 19</source>
          (
          <year>2019</year>
          )
          <fpage>105</fpage>
          -
          <lpage>126</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Hürriyetoğlu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Paccosi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Menini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zinnen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Lisena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Akdemir</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Troncy</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. van Erp</surname>
          </string-name>
          ,
          <source>MUSTI - Multimodal Understanding of Smells in Texts and Images at MediaEval</source>
          <year>2022</year>
          , in:
          <source>Proceedings of MediaEval 2022 CEUR Workshop</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>C. C.</given-names>
            <surname>Licon</surname>
          </string-name>
          , G. Bosc,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sabri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mantel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Fournel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bushdid</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Golebiowski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Robardet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Plantevit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kaytoue</surname>
          </string-name>
          , et al.,
          <article-title>Chemical features mining provides new descriptive structure-odor relationships</article-title>
          ,
          <source>PLoS computational biology 15</source>
          (
          <year>2019</year>
          )
          <article-title>e1006945</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>B.</given-names>
            <surname>Sanchez-Lengeling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. N.</given-names>
            <surname>Wei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. C.</given-names>
            <surname>Gerkin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Aspuru-Guzik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. B.</given-names>
            <surname>Wiltschko</surname>
          </string-name>
          ,
          <article-title>Machine learning for scent: Learning generalizable perceptual representations of small molecules</article-title>
          , arXiv preprint arXiv:
          <year>1910</year>
          .
          <volume>10685</volume>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>D.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Luo</surname>
          </string-name>
          , K.-
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Hung</surname>
          </string-name>
          ,
          <article-title>Pop-cnn: Predicting odor pleasantness with convolutional neural network</article-title>
          ,
          <source>IEEE Sensors Journal</source>
          <volume>19</volume>
          (
          <year>2019</year>
          )
          <fpage>11337</fpage>
          -
          <lpage>11345</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Menini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Paccosi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Tonelli</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. Van Erp</surname>
            ,
            <given-names>I. Leemans</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Lisena</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Troncy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Tullett</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hürriyetoğlu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Dijkstra</surname>
          </string-name>
          , et al.,
          <article-title>A multilingual benchmark to capture olfactory situations over time</article-title>
          ,
          <source>in: Proceedings of the 3rd Workshop on Computational Approaches to Historical Language Change</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Menini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Paccosi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Tekiroğlu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Tonelli</surname>
          </string-name>
          ,
          <article-title>Building a multilingual taxonomy of olfactory terms with timestamps</article-title>
          ,
          <source>in: Proceedings of the Thirteenth Language Resources and Evaluation Conference</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>4030</fpage>
          -
          <lpage>4039</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>G. A.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <article-title>Wordnet: a lexical database for english</article-title>
          ,
          <source>Communications of the ACM</source>
          <volume>38</volume>
          (
          <year>1995</year>
          )
          <fpage>39</fpage>
          -
          <lpage>41</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S.</given-names>
            <surname>Tonelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Menini</surname>
          </string-name>
          ,
          <article-title>Framenet-like annotation of olfactory information in texts</article-title>
          ,
          <source>in: Proceedings of the 5th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage</source>
          ,
          <source>Social Sciences, Humanities and Literature</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>11</fpage>
          -
          <lpage>20</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>J.</given-names>
            <surname>Ruppenhofer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ellsworth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Schwarzer-Petruck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. R.</given-names>
            <surname>Johnson</surname>
          </string-name>
          , J. Schefczyk,
          <string-name>
            <surname>FrameNet</surname>
            <given-names>II</given-names>
          </string-name>
          :
          <article-title>Extended theory and practice</article-title>
          ,
          <source>Technical Report</source>
          , International Computer Science Institute,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14] ultralytics, yolov5, https://github.com/ultralytics/yolov5,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>T.-Y. Lin</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Goyal</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Girshick</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>He</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Dollár</surname>
          </string-name>
          ,
          <article-title>Focal loss for dense object detection</article-title>
          ,
          <source>in: Proceedings of the IEEE international conference on computer vision</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>2980</fpage>
          -
          <lpage>2988</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>K.</given-names>
            <surname>Akdemir</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hürriyetoğlu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Troncy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Paccosi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Menini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zinnen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Christlein</surname>
          </string-name>
          ,
          <article-title>Multimodal and Multilingual Understanding of Smells using VilBERT and mUNITER</article-title>
          ,
          <source>in: Proceedings of MediaEval 2022 CEUR Workshop</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>