<!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>Data: Ontology and Transformer-Based Methods</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Abhilash C B</string-name>
          <email>abhilashcb@iiitdwd.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nihar Sanda</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kavi Mahesh</string-name>
          <email>drkavimahesh@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Indian Institute of Information Technology Dharwad (IIIT Dharwad)</institution>
          ,
          <addr-line>Karnataka</addr-line>
          ,
          <country country="IN">India</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Ontology, Semantic Annotation, Association Rule Mining</institution>
          ,
          <addr-line>COVID-19, Interesting Patterns, Transformer</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>Data Interestingness resides in most information systems. Significant implicit facts are hidden in healthcare data. Existing data interestingness techniques rely on standard data mining methodologies that lack the semantic aspect of the data. Data Interestingness is a useful functionality in analyzing large data corpora. Finding significant patterns in data helps make it more convenient and understandable for end users. In this study, our primary goal is to identify interesting patterns using ontology-based mining techniques and process them with BioClinicalBERT and CovidBERT to identify the interesting rules from the mined corpora. Further, we use the semantic similarity measure to compare the models with their similarity index to analyze the understanding of the model. The experimental results found that our proposed method is novel and operates on structured healthcare data using domain ontology. Finally, as a use case, we demonstrated using the proposed approach for paraphrasing the rules for decision-makers.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Models</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>WNLPe-Health 2022
https://iiitdwd.ac.in/Dr.Kavi_Mahesh.php (K. Mahesh)
© 2023 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
https://github.com/abhilashcb8/ (A. C. B); https://koolgax99.github.io/ (N. Sanda);
the USA, then B also lives in the USA”. This type of rule a mined based on certain confidence.
These are necessary to have a complete KB. Rules are widely used in data and ontology for
alignment and fact-checking purposes.</p>
      <p>The Resource Description Framework (RDF) relies on graph-based structures. The description
from a graph illustrates the relationships between the entities. Also, the information is
decentralized, so connecting two graphs create a new graph. RDF follows an open-world assumption,
facts that are stated are considered true, and the facts that are not stated are considered unknown
Motivation With the abundance of healthcare data available, it is critical for decision-makers
to use it for predictive and preventive measures. Semantic data mining using ontology and
transformer-based methods can reveal hidden inferences from data. This encourages
decisionmakers to keep track of data points that are relevant or interesting. The main focus of this
paper is to infer interesting facts from two corpora of COVID-19 using the proposed interesting
framework. More precisely, our contribution is as follows:
• We define a framework for data interestingness using domain ontology.
• We propose a novel technique to identify interesting rules using ontology and
transformersbased methods.
• We compare the performances of two BioBERT Models for interestingness in COVID-19
data
Further, we demonstrated the usage of the proposed approach for paraphrasing the rules for
decision-makers.</p>
      <p>The remainder of the paper is as follows: Section 2 discusses the data and methods. Section 3
proposes the Ontology-based Data Interestingness (ODBI) framework used in this study. Section
4 discusses the results from two COVID-19 corpora by comparing their semantic nature of it.
Section 5 concludes the paper by outlining future research directions.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Literature Study</title>
      <p>Information extraction aims at automatically extracting information from unstructured data
sources. Applications include information retrieval, opinion mining, sentiment analysis,
question answering, and machine translation.</p>
      <p>
        In computer science, the domain-specific task requires ontology as data and semantic model
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. An ontology generally consists of an agreed (i.e., semantics) understanding of a specific
ifeld, axiomatization, explicitly expressed in a computer resource as a logical theory [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        Association Rule Mining (ARM) is the most important topic in data mining research. Its
goal is to discover interesting correlations, patterns, and associations between groups of items
in transaction databases. Telecommunication networks, market and risk management, and
inventory control all use association principles. Finding interesting association rules is a popular
and current topic in data mining techniques [
        <xref ref-type="bibr" rid="ref5 ref6 ref7">5, 6, 7</xref>
        ].
      </p>
      <p>In the state-of-the-art, several measurements are proposed, with ontology being less explored.
An ontology that uses the semantic web, where data is represented as Resource Description
Framework (RDF) triples (subject, predicate, object) makes it machine understandable. This
fortifies the system to infer knowledge using the underlying schema of ontology [ 8]. The
publication ”Attention is all you need” by [9] presented the Transformers architecture (2017).
The architecture of transformers is encoder-decoder. The BERT model has recently produced
cutting-edge results in a variety of NLP tasks in the same context. It’s a diferent kind of
transfer learning. BERT’s primary operating mode is a transfer by fine-tuning similar to the one
used by ULMFiT. Additionally, BERT can be used in the transfer mode by removing features
like ELMo. Early detection model using Chat bot analytical language resources of descriptive
questions to extract interesting facts. Three distinct models, CT-BERT, BERTweet, and Roberta
are tuned on COVID-19-linked text data to distinguish between fake and real news [10].
Outcomes of Literature These successful studies demonstrate that ontologies can be used
to improve the performance and enhance the usability of complex data analytics systems.
The transformer models used in the study were pre-trained on biological data, giving them a
deeper understanding of the terminology used in biomedicine. We use these state-of-the-art
transformer-based methods for generating rule embeddings and cluster them further to analyze
them with semantic scores for interesting ones.</p>
    </sec>
    <sec id="sec-4">
      <title>3. Preliminaries, Data and Methods</title>
      <p>This section explains the preliminary definitions and dataset with the proposed OBDI
methodology.</p>
      <sec id="sec-4-1">
        <title>3.1. Preliminaries</title>
        <p>
          Ontology and ARM methods closely work towards the data interestingness [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. In data mining
literature, association rule mining is widely used for rule generation based on frequent patterns.
This section aims to provide the readers with the necessary background knowledge.
Definition 1. Association Rule: Technique used to mine the frequent patterns in Data. The
discovered patterns define the relationship between them.
we call X →− Y as association rule. To have the strong association rule, we need to compute the
support and confidence as indicated in equations 1 and 2. Rules are defined considering our
domain information.
        </p>
        <p>= ( →  ) =
 ( →  ) =</p>
        <p>&amp; 
ℎ  &amp; 
(1)
(2)
Definition 2. Ontology: An Ontology O is defined as O = ( Tbox + Abox, G).
Tbox: define the schema or an ontology. Abox refers to RDF triples at the instance level. G is a
labeled graph structure produced by connecting the relations with concepts. Figure 1 illustrates the
importance of ontology.</p>
        <p>Definition 3. Data Interestingness: Our notion of data is derived by integrating domain ontology
with data in RDF and user interest rules.
3.2. Data
In this work, we used two COVID-19 corpora from the Indian state of Karnataka. 12 The data
statistics is illustrated in Table 1.</p>
      </sec>
      <sec id="sec-4-2">
        <title>3.3. Embeddings</title>
        <p>We generate the embedding using the BioClinicalBERT and CovidBERT models in this study.
BioClinicalBERT is a model trained with data corpora.</p>
        <p>BioClinicalBERT is a model that is initialized on BioBERT (BioBERT-Base v1.0 + PubMed
200K + PMC 270K) and then it is trained on the MIMIC III [11] notes. These MIMIC notes
consist of electronic health records from ICU patients of a hospital. For the pretraining of this
1https://karunadu.karnataka.gov.in/hfw/pages/home.aspx
2https://www.isibang.ac.in/ athreya/incovid19/
model, the authors utilized a batch size of 32, a maximum sequence length of 128 with a learning
rate of 5 ∗ 10−5. The models were trained for 150,000 steps using all MIMIC notes.</p>
        <p>CoviBERT is a model that Deepset trains on AllenAI’s COR19 dataset which consists of various
scientific articles about coronaviruses. The model is initialized on BERT word piece vocabulary.
Then, using the sentence-transformers library, it is fine-tuned on the SNLI and MultiNLI datasets
to construct universal sentence embeddings using the average pooling technique and a softmax
loss [12].</p>
      </sec>
      <sec id="sec-4-3">
        <title>3.4. Methodology</title>
        <p>The proposed OBDI framework, as in Figure 2, is an ontology-based mining framework that uses
semantic similarity to determine the interestingness of rules. OBDI’s goal is to automatically
generate rules and knowledge from datasets to improve future decision-making process
eficiency. OBDI’s logic structure is as follows: RDF data instances are created from a dataset and a
domain ontology. These data are backed by the domain experts’ knowledge and also ontology
concepts. Interesting rules are formulated as shown in Table 2,3 and 4 using the ontology and
experts’ knowledge. The OBDI methods include the IntApriori proposed [13]. It’s significant
that the generated rules are processed by BERT models for semantic scores to determine a rule’s
importance and degree of interest.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4. Results and Discussions</title>
      <p>This section discusses the semantic association rules generated from COVID-19 data and
how it is processed on BioClinicalBERT and CovidBERT for identifying the similarity-based
interesting rules. With the detailed analysis from the current state-of-the-art, BioClinicalBERT
and CovidBERT are used in this study.</p>
      <p>In a given set of rule embeddings, we find clusters that are closely related to the embeddings.
This mapping is facilitated by BioBERT embeddings [14] of the rules generated by
ontologybased mining. This helps reduce the rules’ search space to have the most interesting ones. The
cluster centroid is considered as the interesting point indicated as I . The rules that match the
cluster I value are termed as the most interesting ones. Focusing on the rules in the particular
cluster, we use BioClinicalBERT and CovidBERT [15] embeddings and text summarization
model to find the best-matched rules by generated the summarization of the cluster. Further,
this summarization is treated as a paraphrase to decision-makers for future actions.</p>
      <sec id="sec-5-1">
        <title>4.1. Semantic Association Rules from OBDI</title>
        <p>The goal of the OBDI framework is to generate interesting rules, given the data and the domain
ontology. The COP and COKPME ontology is used for generating semantic Association rules
[13]. Our previous studies illustrate the design and implementation of COP and COKPME 5.
Table 2 shows the semantic association rules of the KATrace COVID-19 Dataset. Further, these
rules will be used by BioClinicalBERT and CovidBERT to identify the interesting rules.
Rules in Ontology With the object and data properties defined in the COP ontology, the
relationships inferred by the reasoner are the initial path for interesting fact generation. We
define a set of rules that are operated on COP ontology for interesting fact generation. A few of
the rules are indicated in Figure 3.</p>
        <p>The rules are generated using ontology-based methods. A few of the rules with higher
confidence are listed in Table 2. The generated rules are semantically annotated so that
decisionmakers can interpret them and take the appropriate actions. The results show the patient’s age,
status, the location from which he traveled, and the treatment provided.</p>
        <p>Tables 3 and 4 describe the rules associated with its interesting index (I). The cluster centroid
values are used as interesting data points, as are the embedding values that point to specific
rules. Clustering using K-means [16] is applied to both the CovidBERT and BioClinicalBERT
embedding sets. Both models generated five centroid points, five of which were interesting (I).
Interesting rules are extracted from the rules pointing to the I value. The output of K-Means
clustering on CovidBERT and BioClinicalBERT embeddings is shown in Figure 4.</p>
        <p>Figure 5. depicts the distribution plot of the average of word embeddings obtained by the
two models BioClinicalBERT and CovidBERT. The model’s embedding distribution is also
typical. The distributed rules demonstrate the model’s understanding of the input rules. Table
5 also describes the ontology relationships distributed across the rule embeddings. It has been
discovered thattreatmentProvided and suferFrom are the two majorly identified ontology
relationships.</p>
        <p>5https://bioportal.bioontology.org/ontologies/COKPME
(a) Word Embeddings Average Cluster plot from CovidBert
(b) Word Embedding Average Cluster plot from
BioClinicalBERT</p>
        <p>The box-whisker plot of the semantic scores obtained from the two models BioClinicalBERT
and CovidBERT is shown in 6. When compared to the BioClinicalBERT model, the CovidBERT
model has a lot of variation in the semantic score. This demonstrates the two models’ diferent
levels of comprehension. The BioClinicalBERT model calculates high cosine similarity values
between these rules, implying that they are very similar. The value of the min, max and mean
similarity scores are as depicted in Table 6</p>
        <p>The results show that the methodology learns to generate interesting facts based on the
simple linguistic feature (COVID-19 Corpora) which are embedded in textual data using the
BioClinicalBERT and CovidBERT model. The paraphrased summary of the identified interesting
rules is as follows:</p>
        <p>• Patient with {ILI, Diabetic} are highly prone to COVID-19 Infection.
• Below the age group of 35 is all suggested to have {MPHQ} advice. So healthcare facilities
should be reserved for higher age groups.
• Many health workers are infected and admitted to their own hospitals, creating a shortage
of resources.</p>
        <p>• The most widely documented symptom in the COVID-19 dataset is the common flu.
The decision-makers understand these paraphrased rules for having preventive and predictive
analysis.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Conclusion</title>
      <p>This article proposes a novel methodology for mining ontology based on interesting facts
from the COVID-19 data corpora. The Mined ontology-based rules are used as input to the
transformer-based models like BioClinicalBERT and CovidBERT for interesting rules. The
aggregate value of all rule embeddings is clustered. Next, using the cluster centroid, the
Interestingness index (I) is derived and illustrated as the most interesting rule. Further, with
the similarity scores from both models, the rules are compared for their similarity index. It
observed that BioClinicalBERT outperformed CovidBERT with the similarity score by giving
high relevance to the generated rules. As future research directions, this study is continued to
compare the model-generated rules with domain expert rules to justify our claims. Another
possible extension of this work could be to use it in the applications like the state-of-the-art
COVID-19 Sentiment Analysis Toolkit.</p>
    </sec>
    <sec id="sec-7">
      <title>6. Acknowledgments</title>
      <p>This work was supported in part by the Department of Health and Family Welfare Services
(HFWS), Government of Karnataka, India. We also extend our special thanks to the E-Health
section of HFWS, Government of Karnataka, India, for providing all the necessary support and
encouragement. Also, we would like to thank two anonymous reviewers for commenting on
earlier versions of this paper.
[8] T. Berners-Lee, J. Hendler, O. Lassila, The semantic web, Scientific american 284 (2001)
34–43.
[9] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, I.
Polosukhin, Attention is all you need, Advances in neural information processing systems 30
(2017).
[10] A. Kumar, J. P. Singh, A. K. Singh, Covid-19 fake news detection using ensemble-based
deep learning model, IT Professional 24 (2022) 32–37.
[11] A. E. Johnson, T. J. Pollard, L. Shen, L.-w. H. Lehman, M. Feng, M. Ghassemi, B. Moody,
P. Szolovits, L. Anthony Celi, R. G. Mark, Mimic-iii, a freely accessible critical care database,
Scientific data 3 (2016) 1–9.
[12] S. Egami, Y. Yamamoto, I. Ohmukai, T. Okumura, Ciro: Covid-19 infection risk ontology,</p>
      <p>PloS one 18 (2023) e0282291.
[13] C. Abhilash, K. Mahesh, Ontology-based interestingness in covid-19 data, in: Research</p>
      <p>Conference on Metadata and Semantics Research, Springer, 2022, pp. 322–335.
[14] J. Lee, W. Yoon, S. Kim, D. Kim, S. Kim, C. H. So, J. Kang, Biobert: a pre-trained biomedical
language representation model for biomedical text mining, Bioinformatics 36 (2020)
1234–1240.
[15] E. Alsentzer, J. R. Murphy, W. Boag, W.-H. Weng, D. Jin, T. Naumann, M. McDermott,</p>
      <p>Publicly available clinical bert embeddings, arXiv preprint arXiv:1904.03323 (2019).
[16] C. Abhilash, K. Rohitaksha, S. Biradar, A comparative analysis of data sets using machine
learning techniques, in: 2014 IEEE international advance computing conference (IACC),
IEEE, 2014, pp. 24–29.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>A. C,</surname>
          </string-name>
          <article-title>K</article-title>
          . Mahesh,
          <article-title>Graph analytics applied to covid19 karnataka state dataset</article-title>
          ,
          <source>in: 2021 The 4th International Conference on Information Science and Systems</source>
          , Association for Computing Machinery, New York, NY, USA,
          <year>2021</year>
          , p.
          <fpage>74</fpage>
          -
          <lpage>80</lpage>
          . URL: https://doi.org/10.1145/ 3459955.3460603. doi:
          <volume>10</volume>
          .1145/3459955.3460603.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>C.</given-names>
            <surname>Abhilash</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Mahesh</surname>
          </string-name>
          ,
          <article-title>Ontology is what makes data interesting: Interestingness framework for covid-19 corpora</article-title>
          ,
          <source>Journal of Information Science</source>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B.</given-names>
            <surname>Bringmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Nijssen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zimmermann</surname>
          </string-name>
          ,
          <article-title>Pattern-based classification: A unifying perspective</article-title>
          ,
          <source>arXiv preprint arXiv:1111.6191</source>
          (
          <year>2011</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Wikipedia</surname>
            <given-names>contributors</given-names>
          </string-name>
          ,
          <source>Fair data - Wikipedia, the free encyclopedia</source>
          ,
          <year>2021</year>
          . URL: https: //en.wikipedia.org/w/index.php?title=
          <source>FAIR_data&amp;oldid=1038845392, [Online; accessed 24-August-2021].</source>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>F. H.</given-names>
            <surname>AL-Zawaidah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y. H.</given-names>
            <surname>Jbara</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Marwan</surname>
          </string-name>
          ,
          <article-title>An improved algorithm for mining association rules in large databases</article-title>
          ,
          <source>World of Computer science and information technology journal 1</source>
          (
          <year>2011</year>
          )
          <fpage>311</fpage>
          -
          <lpage>316</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>R.</given-names>
            <surname>Agrawal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Srikant</surname>
          </string-name>
          , et al.,
          <article-title>Fast algorithms for mining association rules</article-title>
          ,
          <source>in: Proc. 20th int. conf. very large data bases, VLDB</source>
          , volume
          <volume>1215</volume>
          ,
          <string-name>
            <surname>Citeseer</surname>
          </string-name>
          ,
          <year>1994</year>
          , pp.
          <fpage>487</fpage>
          -
          <lpage>499</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>F. F.</given-names>
            dos
            <surname>Santos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Domingues</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. V.</given-names>
            <surname>Sundermann</surname>
          </string-name>
          , V. O. de Carvalho,
          <string-name>
            <given-names>M. F.</given-names>
            <surname>Moura</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. O.</given-names>
            <surname>Rezende</surname>
          </string-name>
          ,
          <article-title>Latent association rule cluster based model to extract topics for classification and recommendation applications</article-title>
          ,
          <source>Expert Systems with Applications</source>
          <volume>112</volume>
          (
          <year>2018</year>
          )
          <fpage>34</fpage>
          -
          <lpage>60</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>