<!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>Matching with Transformers in MELT</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>rtling</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>n Portis</string-name>
          <email>fjan.portischg@sap.com</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>iko P</string-name>
          <email>heikog@informatik.uni-mannheim.de</email>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Data and Web Science Group, University of Mannheim</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>SAP SE Business Technology Platform - One Domain Model</institution>
          ,
          <addr-line>Walldorf</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>One of the strongest signals for automated matching of ontologies and knowledge graphs are the textual descriptions of the concepts. The methods that are typically applied (such as character- or token-based comparisons) are relatively simple, and therefore do not capture the actual meaning of the texts. With the rise of transformer-based language models, text comparison based on meaning (rather than lexical features) is possible. In this paper, we model the ontology matching task as classi cation problem and present approaches based on transformer models. We further provide an easy to use implementation in the MELT framework which is suited for ontology and knowledge graph matching. We show that a transformer-based lter helps to choose the correct correspondences given a high-recall alignment and already achieves a good result with simple alignment post-processing methods.3</p>
      </abstract>
      <kwd-group>
        <kwd>ontology matching</kwd>
        <kwd>transformers</kwd>
        <kwd>matcher optimization</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Ontology Matching is the non-trivial task of nding correspondences between
classes, properties, and instances of two or more ontologies. The match operation
can be seen as a function f which returns an alignment A given two ontologies
O1 and O2: f (O1; O2) = A. The alignment is a set of correspondences in the form
he1; e2; ri where e1 2 O1, e2 2 O2, and r is some relation which holds between
the two concepts; in this paper r is always equivalence ( ).</p>
      <p>
        Multiple techniques exist to perform the matching operation in an automated
manner [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Labels and descriptions are one of the strongest signals concerning
the semantics of an element of a knowledge graph. Here, matcher developers
often borrow strategies from the natural language processing (NLP) community
to determine similarity between two strings. Since the attention mechanism [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]
has been presented, so called transformer models gained a lot of traction in the
? The authors contributed equally to this paper.
3 Copyright © 2021 for this paper by its authors. Use permitted under Creative
      </p>
      <p>
        Commons License Attribution 4.0 International (CC BY 4.0).
NLP area and transformer models achieved remarkable results on tasks such as
machine translation [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] or question answering [
        <xref ref-type="bibr" rid="ref19 ref2">2,19</xref>
        ].
      </p>
      <p>
        In this paper, we bring transformers to the ontology matching task. Our
contributions are twofold: Firstly, we present a transformer extension to the
Matching and EvaLuation Toolkit (MELT), which allows users to easily exploit
state-of-the-art pre-trained transformer models like BERT [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] or RoBERTa [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]
in their matching pipelines. Secondly, we evaluate di erent transformer-based
matching approaches, and we discuss the strengths and weaknesses of
transformer models in the matching domain.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        Transformers are deep learning architectures which combine stacked encoder
layers with a self-attention [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] mechanism. These architectures are typically
applied in unsupervised pre-training scenarios with massive amounts of data.
Since transformers achieved very good results in the natural language processing
(NLP) domain, they are also used in other domains. Brunner and Stockinger [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ],
for instance, apply transformers for the task of entity matching and show that
they achieve better results than classical deep learning models. Peeters et al. [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]
report good results on the similar task of product record matching. In a similar
spirit, the DITTO entity matching system consists of a complete architecture
(including blocking and data augmentation for ne-tuning) for entity matching
that is based on transformer models [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. It is evaluated on the ER-Magellan
benchmark and achieves good results.
      </p>
      <p>
        Applications of transformers for the pure ontology matching task are less
frequent compared to the entity matching domain. Wu et al. [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] created a
Deep Attentional Embedded Ontology Matching (DAEOM) system which jointly
encodes the textual description as well as the network structure. It contains
negative sampling approaches as well as automatic adjustments of thresholds.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Matching with Transformers</title>
      <p>Since transformer models are language models, it is a hard requirement that
the elements in the ontology have labels or descriptions. We propose to model
the match operation as an unbalanced binary classi cation problem where the
classi er receives a correspondence and predicts whether this correspondence is
correct or not. Eventually, only correct correspondences are kept. The match
operation can be (i) complete or (ii) partial. In a complete matching setting,
each element e1i 2 O1 respectively e2i 2 O2 needs a textual representation. The
latter can be obtained, for instance, by concatenating the URI fragment and all
annotation properties. The transformer model then classi es each element in the
Cartesian product of the ontologies to be matched. Since the set of comparisons
grows quadratically for the complete matching case, and matching with
transformers can be computationally intensive, it is also possible to use a candidate
generator which reduces the total number of comparisons. This candidate
generator can be regarded as matching system which returns an alignment AC . In
the partial case, we generate textual representations only for candidates in the
alignment (c 2 AC ) and perform a classi cation operation only for the
correspondences c 2 AC . Therefore, focus of the candidate generator should be recall
since the generator determines the theoretically largest attainable recall score of
the system, i.e., for the nal alignment A, A AC holds. This approach can
also be seen as an matching repair technique.</p>
    </sec>
    <sec id="sec-4">
      <title>MELT Transformer Extension</title>
      <p>
        MELT 4 [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] is a framework for ontology, instance, and knowledge graph
matching. It provides functionality for matcher development, tuning, evaluation, and
packaging. It supports both, HOBBIT and SEALS, two heavily used evaluation
platforms in the ontology matching community. Since 2021, MELT also
supports the new Web Interface5 format which was designed for the OAEI. The
core parts of the framework are implemented in Java, but evaluation and
packaging of matchers implemented in other languages is also supported. Via the
MELT ML extension [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], ML libraries developed in Python can also be used by
Java components. Since 2020, MELT is the o cial framework recommendation
by the OAEI and the MELT track repository is used to provide all track data
required by SEALS. MELT is also capable of rendering Web dashboards for
ontology matching results so that interested parties can analyze and compare
matching results on the level of correspondences without any coding e orts [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ].
      </p>
      <p>
        In this work, we extend the ML component of MELT so that transformer
operations can be called directly from the Java code. Therefore, we use the
Hugging Face transformers library [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] which allows to use and ne-tune many
transformer models.
4.2
      </p>
      <sec id="sec-4-1">
        <title>Obtaining Textual Descriptions from Resources</title>
        <p>In order to serialize textual descriptions, MELT o ers various classes extending
the TextExtractor interface. For any given resource, those return extracted
4 https://github.com/dwslab/melt/
5 https://dwslab.github.io/melt/matcher-packaging/web
text as a set of strings. They do not normalize the text because this is a post
processing step. They merely select speci c literals, URI fragments, etc. In our
experiments, we use three of those extractors. They are ordered by the number
of strings which are returned (most strings to fewest strings)6:</p>
        <p>TextExtractorSet returns the highest amount of literals because it retrieves
all literals where the URI fragement of the property is either a label, name,
comment, description, or abstract. This includes also rdfs:label and rdfs:comment.
Furthermore, the properties prefLabel, altLabel, and hiddenLabel from the
skos vocabulary are included, as well as the longest literal (based on the lexical
representation of it). Additionally, all properties which are de ned as
owl:AnnotationProperty are followed in a recursive manner in case the object is not a
label but a resource. In such a case, all annotation properties of this resource are
added. The extractor reduces the potentially large set of literals by comparing
the normalized texts and only returns the ones which are not identical (note
here that the original literals are returned, not the normalized ones).</p>
        <p>The TextExtractorShortAndLongTexts reduces the set of literals further by
checking if a normalized literal is fully contained in another literal. In this case,
the literal is not returned. This is only applied within the two groups of long and
short texts to extract not only a long abstract but also a short label. Label-like
properties are regarded as short texts, while comment/description properties are
regarded as long texts.</p>
        <p>The TextExtractorForTransformers extracts the smallest number of
literals (out of the text extractors presented here) by returning exclusively labels
that are not contained in other labels (without distinguishing in long and short
texts). This results in reducing the set of strings even more because labels which
appear in a comment are also not returned.
4.3</p>
      </sec>
      <sec id="sec-4-2">
        <title>Transformers in the Matching Pipeline</title>
        <p>In order to allow for re-usable matching code, MELT allows to chain matchers
to build a dedicated matching pipeline for various problems. In such a pipeline,
each matcher receives the alignment of the previous component together with
the ontologies that are to be matched (and optionally con guration parameters).</p>
        <p>MELT di erentiates between matchers and lters. A lter is a component
which does not add new correspondences to the alignment but instead
further processes the given alignment by (1) removing correspondences and/or (2)
adding new con dence / feature weights to existing correspondences.</p>
        <p>Since the transformer evaluation of the Cartesian product of descriptions is
not a scalable option for most test cases, MELT o ers the usage of transformers
as a lter through class TransformersFilter. The training process is
implemented using TensorFlow and PyTorch, the user can decide which
implementation shall be used. Therefore, we recommend a transformer-based matching
6 A more detailed overview can be found in the user guide:
https://dwslab.github.io/melt/matcher-development/matching-with-jena#
textextractors</p>
        <sec id="sec-4-2-1">
          <title>Suprarenal gland</title>
        </sec>
        <sec id="sec-4-2-2">
          <title>Suprarenal gland</title>
        </sec>
        <sec id="sec-4-2-3">
          <title>Adrenal Glands</title>
          <p>rdfs:label
:C12666
rdfs:label</p>
        </sec>
        <sec id="sec-4-2-4">
          <title>Adrenal Gland</title>
          <p>rdfs:label</p>
          <p>rdfs:label
:00116
Adrenal Glands
Adrenal Glands
Suprarenal gland
Suprarenal gland</p>
          <p>Adrenal Gland
Suprarenal gland
Adrenal Gland
Suprarenal gland
?
?
?
?
max
Adrenal Glands Suprarenal gland</p>
          <p>Adrenal Gland Suprarenal gland
?
pipeline as shown in Figure 1: In a rst step, we use a matcher that generates
a recall-oriented alignment. The transformer lter will then use the
correspondences in the latter alignment to calculate the estimated similarity. The similarity
is calculated by rst serializing the textual descriptions of each correspondence
to a CSV le. Textual descriptions are obtained by a TextExtractor. In case
there are multiple textual descriptions available, two modes are implemented:
(1) A multi-text option (depicted in Figure 2), which serializes all combinations
of the individual texts; eventually, the maximum similarity will be used. (2) A
single-text option which concatenates all textual elements.</p>
          <p>After serializing the texts to be compared to a le, the ML Python server
is started in the background and predicts the likelihood of a match given the
textual description of each correspondence. It is optionally also possible to lter
the alignment, for instance, by using a threshold or by reducing the alignment
to a one-to-one alignment if applicable.</p>
          <p>The MELT extension presented in this paper is publicly available in the
main branch7 together with a reference implementation8 that was used to run
the experiments. The new features are documented in the MELT user guide9.
4.4</p>
        </sec>
      </sec>
      <sec id="sec-4-3">
        <title>Generating Negatives</title>
        <p>In order to run a training process, such as ne-tuning a transformer, data is
required for the training step. Positive correspondences can be obtained either
from the reference10 or from a high-precision matching system. However,
neg7 https://github.com/dwslab/melt/
8 https://github.com/dwslab/melt/tree/master/examples/transformers
9 https://dwslab.github.io/melt/
10 Note that convenience methods to do so exist in MELT such as
generateTrackWithSampledReferenceAlignment(Track track, double
fraction) of class TrackRepository.
ative examples are also required. Multiple strategies can be applied here. For
example, negatives can be generated randomly using an absolute number of
negatives (class AddNegativesRandomlyAbsolute) or a relative share of negatives
to be generated (class AddNegativesRandomlyShare). If the gold standard is
not known, it is also possible to exploit the one-to-one assumption and add
random correspondences involving elements that already appear in the positive set
of correspondences (class AddNegativesRandomlyOneOneAssumption). The new
extension to the MELT ML module contains multiple out-of-the box strategies
that are already implemented as matching components which can be used within
a matching pipeline. All of them implement the new interface AddNegatives.
Since multiple avors can be thought of (e.g. generating type homogeneous or
type heterogeneous correspondences), a negatives generator can be easily
written from scratch or customized for speci c purposes. MELT o ers some helper
classes to do so such as RandomSampleOntModel which can be used to sample
elements from ontologies.</p>
        <p>Since the (partial) reference alignments of OAEI tasks are known and the
one-to-one assumption holds, we propose to generate negatives using the same
high-recall matcher that is also used in the matching pipeline and to apply the
one-to-one sampling strategy: Given the reference and the alignment produced
by some high-recall matcher, we determine the wrong correspondences as
correspondences where only one element is found in the reference (but not the
complete correspondence) and add them to the training set. This is implemented
in class AddNegativesViaMatcher. Note that for this approach, the reference
alignment does not have to be complete. One advantage here is that the
characteristics of training and test set are very similar (such as the share of positives
and negatives). This process is visualized in Figure 3.
4.5</p>
      </sec>
      <sec id="sec-4-4">
        <title>Fine-Tuning Transformers in MELT</title>
        <p>A transformer model can be used as is (particularly, if the application is equal
or very similar to its training objective) or be ne-tuned for a speci c task. The
default transformer training objectives are not suitable for the task of ontology
matching.</p>
        <p>Therefore, a pre-trained model needs to be ne-tuned. Once a training
alignment is available, class TransformersFineTuner can be used to train and
persist a model. Like the TransformersFilter, the TransformersFineTuner is a
matching component that can be used in a matching pipeline.11 Such a
training pipeline is visualized in the orange (upper) part of Figure 3: A high-recall
matcher can be used to generate candidates and negatives can be generated
using a sampled reference (or a reference-like alignment). Repeated calls of the
match method will extend the number of training candidates, the actual training
is performed when calling method finetuneModel. This setup allows to train
11 Note that this pipeline can only be used for training and model serialization. For
the application of the model within a matching pipeline, TransformersFilter must
be used.
one model given multiple test cases. The implementation allows, for instance, to
train a ne-tuned model per test case, per track, or a global model for multiple
tracks. In this paper, we ne-tune the model per track to cover their individual
characteristics.
4.6</p>
      </sec>
      <sec id="sec-4-5">
        <title>Hyperparameter Optimization</title>
        <p>
          By default, the ne-tuning of the transformer models is executed with the
standard training parameters such as a xed number of epochs (3), a learning rate
of 5 10 5 etc. (those default values originate from the transformers library12).
In hyperparameter optimization, a simple grid search is often applied. But such
a tuning method has some disadvantages: (1) each run (parameter combination)
needs to be executed until the end to analyze the performance (2) all
combinations need to be executed (no information about previous runs are taken into
account). Bayesian Optimization [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] solves the latter problem by modeling the
performance based on the chosen hyperparameters. Thus, parameter
combinations which do not look too optimistic are not tried out. Furthermore, runs can
be canceled when the optimizing metric does not look promising.
        </p>
        <p>
          Due to the fact that training of transformer based models is rather slow, even
more sophisticated methods need to be applied. One of them is population based
12 https://huggingface.co/transformers/main_classes/trainer.html#
trainingarguments
training [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] (PBT). Given a population of models, each is trained and evaluated
after one epoch. Some models trained with a given parameter combination
perform better than others. The better models are duplicated (via checkpointing of
model weights) and replace the weaker models to keep the population size xed.
This step is called exploit in PBT. Another step, called explore, changes the
hyperparameters during the training (e.g. the learning rate after the 2nd epoch).
With all these mechanisms, it is possible to explore a wide range of parameter
in a shorter time frame. PBT is implemented already in Ray Tune [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] and uses
distributions to describe the search space. Furthermore, it is also used by the
transformers library. The initial hyperparameter search space looks as follows:
{ learning rate: loguniform distribution between 10 6 and 10 4
{ epochs: random choice between 1 and 5
{ seed: uniform distribution between 1 and 40
{ batch size: random choice of 4, 8, 16, 32, 64
The search space of the batch size is adjusted by the maximum possible values
before the hyperparameter tuning starts. It will determine the maximum batch
size by training for one step with the batch size of 4 and checking for out of
memory errors. If this does not happen, the batch size will be increased in every
step by multiplying the value by 2 (such that only powers of 2 are tried out).
The nal adjusted search space will be all powers of 2 starting from four until
the maximum batch size is reached.
        </p>
        <p>The seed is also optimized because di erent initializations of the classi cation
head of the model can also improve the nal metric. The reason behind this is
that most models are trained on the masked language modeling task and need a
classi cation layer (usually a linear layer on top of the pooled output) to create
the nal prediction. This linear layer is initialized with di erent random weights.</p>
        <p>As described above, the hyperparameters can also be changed during
training. The following parameters are mutated: weight decay: uniform distribution
between 0.0 and 0.3; learning rate, and batch size as de ned above.</p>
        <p>The metric which is optimized can be chosen from the following KPIs: loss
(of the model), accuracy, F1, recall, precision, or AUC. The last one is the
default because in a later step in the matching pipeline, the con dence of a
correspondence is important for ltering or selection. AUC optimizes this con dence
such that all negatives have a low value and all positives a high one.
Furthermore, it allows to decide which model is better even if they have the same
F-measure. The hyperparameter tuning can be easily performed in MELT with
class TransformersFineTunerHpSearch. It has the same interface as the
netuning class but when calling the finetuneModel method, the hyperparameter
search is started.
5
5.1</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Exemplary Analysis</title>
      <sec id="sec-5-1">
        <title>Experiments</title>
        <p>
          In order to show the e ectiveness of transformers for matching in MELT, we
performed multiple experiments { each focuses on a di erent aspect: (1) We
evaluate an o -the-shelf transformer model in a zero-shot setting for three OAEI
tracks: Anatomy, Conference, and Knowledge Graph(KG) [
          <xref ref-type="bibr" rid="ref5 ref8">8,5</xref>
          ], (2) we ne-tune
well-known models and evaluate them with a sampling rate of 0.2 for the same
tracks, (3) for the anatomy track and a xed model, the sampling rates are
modi ed and the performance is analyzed, (4) for the same track and model we
optimize the hyperparameters and analyze their impacts.
        </p>
        <p>
          We use the following transformer models from the huggingface repository:
bert-base-cased [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], roberta-base [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], and albert-base-v2 [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. This
sample is selected since these models are well known and often used according to
the model hub13 of huggingface.
        </p>
        <p>The matching pipeline consists of 4 components: (1) high-recall matcher, (2)
transformer lter, (3) con dence threshold cut-o lter, and (4) max weight
bipartite partitioning lter.</p>
        <p>The high-recall matcher adds candidates with overlapping tokens, the
transformer lter assigns a con dence to each candidate found in the previous step. An
optimal threshold is determined to lter out non-matches. The threshold is
calculated not with the complete gold standard but merely with the correspondences
that were sampled for the training step. Therefore, the ConfidenceFinder class
has been extended to work also with incomplete gold standards. Lastly, the max
weight bipartite partitioning lter enforces a one-to-one alignment.
5.2</p>
      </sec>
      <sec id="sec-5-2">
        <title>Results</title>
        <p>
          In the following, the results to all experiments are presented. The rst part covers
the zero-shot approach as well as the ne-tuning. Afterwards, we report on the
impact of di erent sampling sizes and the results of the hyperparameter search.
Zero-shot and Fine-tuning The results of the zero-shot and ne-tuning
experiments are depicted in Table 1. The SimpleString baseline is a simple matcher
which we use as a baseline. The high-recall matcher is the one which is used as a
rst step in the pipeline in the zero-shot as well as in the ne-tuning setup. This
also means that the recall value of this matcher is automatically an upper bound
for the recall because the transformer-based ltering will not add any new
correspondences. For the zero-shot case where an already ne-tuned model is applied
directly (in this case no reference sampling is necessary), we selected a dataset
which is rather close to our setup. Due to the fact that paraphrasing is very
similar to the task of nding same concepts, the Microsoft Research Paraphrase
Corpus [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] is selected. The bert-base-cased model already exists in the
hugginface hub and is ne-tuned on this dataset. It performs best on the conference
track but these results should be taken with care because of the small amount
of correspondences and textual descriptions in this track. For the anatomy and
knowledge graph track, the ne-tuned models perform much better. For the
former dataset, albert outperformed bert and roberta by a large margin. In
13 https://huggingface.co/models
        </p>
        <p>Baseline SHiimghplReSetcrailnlg
Zero-Shot (bmerrtp-bc-atsuen-ceads)ed 0.650 0.548 0.594 0.531 0.817 0.644 0.739 0.714 0.726
(Fpinere-TTruancekd) rabolebbreter-rbtt-aabs-abes-aecs-aevs2ed 000...867164278 000...343996781 000...554378307 000...877512456 000...876248599 000...778303279 000...649804701 000...637688589 000...638795639
Table 1. Results of non- ne-tuned and ne-tuned transformer models (multi-text)
with 20% sampling from the reference alignment. As per OAEI customs, we report
micro average scores for the conference and macro average scores for the KG track.
the KG track, bert performed much better. One reason why di erent models
perform better is the di erent characteristics of the labels and comments.</p>
        <p>For Conference and Anatomy, the TextExtractorSet is used with the
multitext setup to generate many classi cation examples whereas for the KG track
the TextExtractorForTransformers is used to extract less literals which are
then concatenated together to create only one classi cation example for each
correspondence.</p>
        <p>Sampling Rates We analyzed the performance of the best model on anatomy
(albert) using varying sampling rates s 2 [0:1; 0:2; 0:3; 0:4; 0:5; 0:6] from the
reference. The results are presented in Figure 4. Interestingly, fairly good performance
can be achieved with very low sampling rates (10% and 20% respectively).
Intuitively, the overall performance tends to increase with an increasing share of
samples from the reference.
Hyperparameter Tuning The hyperparameter tuning was executed for the
anatomy track and the albert-base-v2 model. The given search space in
Section 4.6 is used and overall 12 trials are sampled from it which is also the amount
of the model population. The search needs 45 minutes to run in parallel on 4
GPUs (NVIDIA GeForce GTX 1080 Ti). All other settings are the same as in
the normal ne-tuning setup (thus, the numbers are comparable). With PBT,
the precision could be improved by 0.02 to 0.874 whereas the recall is only a bit
higher (0.832). In terms of F-Measure, the hyperparameter tuning additionally
gives an improvement of 0.013 (eventually leading to an F1 of 0.852).
6</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion and Outlook</title>
      <p>In this paper, we introduced a new matching component to the MELT framework
which is based on transformer models. It allows to extract a textual description of
the resource with so called text extractors and provides an easy option to apply
and ne-tune transformer based models. We propose and evaluate an exemplary
matching pipeline for transformer training and application. We hope that our
implementation bene ts the ontology matching community and enables other
researchers to further explore this topic.</p>
      <p>In addition, we performed four experiments which demonstrate the
capabilities of the newly implemented component. We showed that a transformer-based
lter can improve a given alignment by providing a con dence for each
correspondence based on its textual description. Moreover, we presented a
sophisticated approach for hyperparameter tuning and showed that improvements can
be achieved when optimizing the model hyperparameters.</p>
      <p>Since the ne-tuning obviously has a large impact on the results, we will
conduct further experiments on that step in the future. Examples include
netuning with text corpora from the domain of matching (e.g., biomedical texts for
the anatomy track), or transfer learning setups where ne-tuning is conducted
based on matching gold standards from other domains.</p>
      <p>
        Moreover, we plan to extend the implementation to also cover components
that do not require any input alignment. These would also include matches
which would not be possible with string comparison based systems. The library
Sentence Transformers [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] allows to embed the textual description of a resource
in such a way that similar entities are close in an embedding space. Thus, a
search would be easily possible and would help in nding correspondences which
might not share a lot of tokens but a similar meaning.
      </p>
      <p>Acknowledgements The authors acknowledge support by the state of
BadenWurttemberg through bwHPC.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Brunner</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stockinger</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Entity matching with transformer architectures - A step forward in data integration</article-title>
          .
          <source>In: EDBT</source>
          . pp.
          <volume>463</volume>
          {
          <issue>473</issue>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Devlin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toutanova</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>BERT: pre-training of deep bidirectional transformers for language understanding</article-title>
          .
          <source>In: NAACL-HLT 2019</source>
          . pp.
          <volume>4171</volume>
          {
          <fpage>4186</fpage>
          .
          <string-name>
            <surname>ACL</surname>
          </string-name>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Dolan</surname>
            ,
            <given-names>W.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brockett</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Automatically constructing a corpus of sentential paraphrases</article-title>
          . In: Third International Workshop on Paraphrasing (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Euzenat</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shvaiko</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          : Ontology Matching,
          <source>chap. 4</source>
          , pp.
          <volume>73</volume>
          {
          <fpage>84</fpage>
          . Springer, New York, 2nd edn. (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Hertling</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paulheim</surname>
          </string-name>
          , H.:
          <article-title>The knowledge graph track at OAEI - gold standards, baselines, and the golden hammer bias</article-title>
          .
          <source>In: ESWC</source>
          . pp.
          <volume>343</volume>
          {
          <fpage>359</fpage>
          . Springer (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Hertling</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Portisch</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paulheim</surname>
          </string-name>
          , H.:
          <article-title>MELT - matching evaluation toolkit</article-title>
          .
          <source>In: SEMANTiCS</source>
          . pp.
          <volume>231</volume>
          {
          <fpage>245</fpage>
          . Springer (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Hertling</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Portisch</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paulheim</surname>
          </string-name>
          , H.:
          <article-title>Supervised ontology and instance matching with MELT</article-title>
          .
          <source>In: OM@ISWC. CEUR-WS</source>
          , vol.
          <volume>2788</volume>
          , pp.
          <volume>60</volume>
          {
          <issue>71</issue>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Hofmann</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perchani</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Portisch</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hertling</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paulheim</surname>
          </string-name>
          , H.:
          <article-title>Dbkwik: Towards knowledge graph creation from thousands of wikis</article-title>
          .
          <source>In: ISWC 2017 Posters &amp; Demonstrations (ISWC</source>
          <year>2017</year>
          ).
          <article-title>CEUR-WS</article-title>
          , vol.
          <source>1963</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Jaderberg</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dalibard</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Osindero</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Czarnecki</surname>
            ,
            <given-names>W.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Donahue</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Razavi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vinyals</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Green</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dunning</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simonyan</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          , et al.:
          <article-title>Population based training of neural networks</article-title>
          .
          <source>arXiv preprint arXiv:1711.09846</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Lan</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goodman</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gimpel</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sharma</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soricut</surname>
            ,
            <given-names>R.: ALBERT:</given-names>
          </string-name>
          <article-title>A lite BERT for self-supervised learning of language representations</article-title>
          .
          <source>In: ICLR</source>
          <year>2020</year>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suhara</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hirota</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tan</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Deep entity matching: Challenges and opportunities</article-title>
          .
          <source>ACM J. Data Inf. Qual</source>
          .
          <volume>13</volume>
          (
          <issue>1</issue>
          ), 1:
          <issue>1</issue>
          {1:
          <issue>17</issue>
          (
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Liaw</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liang</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nishihara</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moritz</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gonzalez</surname>
            ,
            <given-names>J.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stoica</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Tune: A research platform for distributed model selection and training</article-title>
          . arXiv preprint arXiv:
          <year>1807</year>
          .
          <volume>05118</volume>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ott</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goyal</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Du</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joshi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Levy</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lewis</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zettlemoyer</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stoyanov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Roberta: A robustly optimized BERT pretraining approach</article-title>
          . CoRR abs/
          <year>1907</year>
          .11692 (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Peeters</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bizer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Glavas</surname>
          </string-name>
          , G.:
          <article-title>Intermediate training of BERT for product matching</article-title>
          .
          <source>In: DI2KG@VLDB. CEUR-WS</source>
          , vol.
          <volume>2726</volume>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Portisch</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hertling</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paulheim</surname>
          </string-name>
          , H.:
          <article-title>Visual analysis of ontology matching results with the MELT dashboard</article-title>
          .
          <source>In: ESWC (Satellite Events)</source>
          . pp.
          <volume>186</volume>
          {
          <fpage>190</fpage>
          . Springer (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Reimers</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gurevych</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Sentence-bert: Sentence embeddings using siamese bertnetworks</article-title>
          .
          <source>In: EMNLP</source>
          <year>2019</year>
          . ACL (11
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Snoek</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Larochelle</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Adams</surname>
            ,
            <given-names>R.P.</given-names>
          </string-name>
          :
          <article-title>Practical bayesian optimization of machine learning algorithms</article-title>
          .
          <source>Advances in neural information processing systems</source>
          <volume>25</volume>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Vaswani</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shazeer</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parmar</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Uszkoreit</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jones</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gomez</surname>
            ,
            <given-names>A.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaiser</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Polosukhin</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Attention is all you need</article-title>
          .
          <source>In: NIPS</source>
          . pp.
          <volume>5998</volume>
          {
          <issue>6008</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Wolf</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Debut</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sanh</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chaumond</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Delangue</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cistac</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rault</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Louf</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Funtowicz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brew</surname>
          </string-name>
          , J.:
          <article-title>Huggingface's transformers: Stateof-the-art natural language processing</article-title>
          . CoRR abs/
          <year>1910</year>
          .03771 (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Wolf</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Debut</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sanh</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chaumond</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Delangue</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cistac</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rault</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Louf</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Funtowicz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Davison</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shleifer</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , von Platen,
          <string-name>
            <surname>P.</surname>
          </string-name>
          , Ma,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Jernite</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Plu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Scao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.L.</given-names>
            ,
            <surname>Gugger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Drame</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Lhoest</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            ,
            <surname>Rush</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.M.</surname>
          </string-name>
          : Transformers:
          <article-title>State-of-the-art natural language processing</article-title>
          .
          <source>In: EMNLP</source>
          <year>2020</year>
          :
          <article-title>System Demonstrations</article-title>
          . pp.
          <volume>38</volume>
          {
          <fpage>45</fpage>
          .
          <string-name>
            <surname>ACL</surname>
          </string-name>
          (Oct
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lv</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guo</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          , Ma, S.:
          <article-title>Daeom: A deep attentional embedding approach for biomedical ontology matching</article-title>
          .
          <source>Applied Sciences</source>
          <volume>10</volume>
          (
          <issue>21</issue>
          ) (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>