<!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>A Best Match KNN-based Approach for Large-scale Product Categorization</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Haohao Hu</string-name>
          <email>haohaohu@yorku.ca</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wenying Feng</string-name>
          <email>wfeng@trentu.ca</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Runjie Zhu</string-name>
          <email>sherryzh@yorku.ca</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xing Tan</string-name>
          <email>xtan@yorku.ca</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yuqi Wang</string-name>
          <email>yuqiwang@trentu.ca</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jimmy Xiangji Huang</string-name>
          <email>jhuang@yorku.ca</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Electrical Engineering</institution>
          ,
          <addr-line>and Computer Science, York</addr-line>
          ,
          <institution>University</institution>
          ,
          <addr-line>Toronto, ON</addr-line>
          ,
          <country country="CA">Canada</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Mathematics</institution>
          ,
          <addr-line>Trent</addr-line>
          ,
          <institution>University</institution>
          ,
          <addr-line>Peterborough, ON</addr-line>
          ,
          <country country="CA">Canada</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>School of Information Technology, York University</institution>
          ,
          <addr-line>Toronto, ON</addr-line>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <abstract>
        <p>We use K Nearest Neighbors (KNN) classic classification model and the Best Match (BM)25 probabilistic information retrieval model to assess how eficiently the classic KNN model could be modified to solve the real-life product categorizing problem. This paper gives a system description of the KNN-based algorithm for solving the product classification problem. Our submissions experimented are based on the Rakuten 1M product listings datasets in tsv format provided by the Rakuten Institute of Technology Boston. The classification of our KNN algorithm was based on the product title similarity scores generated from the BM25 Information Retrieval Model. With the setting of k=3 in KNN, our proposed program achieved 0.7809, 0.7821, 0.7790 in weighted-{precision, recall and F1 score} respectively in the test dataset.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>CCS CONCEPTS</title>
      <p>• Information systems → Probabilistic retrieval models;
Clustering and classification ; • Computing methodologies →</p>
      <sec id="sec-1-1">
        <title>Instance-based learning; • Applied computing → Enterprise ontologies, taxonomies and vocabularies;</title>
        <p>SIGIReCom’ 18; Large-scale taxonomy classification</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>INTRODUCTION</title>
      <p>As the fast-paced development of the internet, there has been a huge
rise of the e-commerce market. Online shopping platforms such as
Amazon and Alibaba provide not only goods meeting consumers’
specific needs, but also products that are basically everyone’s daily
consumption in life. Almost all the e-commerce platforms aim for
updating their shopping lists and inventories at their fastest speed
to target certain consumers in order to win a bigger proportion of
the market. Therefore, the technologies adopted to eficiently and
efectively recognizing product categories become more important.
This would, on one hand, help the system operators to add in or
delete certain items from consumers’ shopping list. On the other
hand, it would also be easier for system operators or managers to
deal with data analysis and data management in future. This specific
data challenge belongs to the large-scale taxonomy classification
domain and focuses on the fundamental problem of predicting
product’s category in the taxonomy tree with given product’s title.
2</p>
    </sec>
    <sec id="sec-3">
      <title>RELATED WORK AND MOTIVATION</title>
      <p>
        Properly categorizing a new product as a dynamically updated
category in the form of a taxonomy tree is of critical importance for
e-commerce. Algorithms in support automated process for
categorizing need to be straightforwardly simple for its scalability, flexible
to allow labeling errors and noises, distributive over tree branches
and paths hence the taxonomy trees they create are largely balanced.
Leading approaches for measuring path similarities in a taxonomy
tree make use of Wordnet [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and address the problem in terms of
product taxonomy alignment [
        <xref ref-type="bibr" rid="ref1 ref13">1, 13</xref>
        ]. A most recent efort turns to
graphical models enriched with semantics, using frameworks such
as Markov Logic Networks [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], or Probabilistic Soft Logic [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The
taxonomy can actually be flatted for the purpose of categorizing.
For example, in [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ], a two-level classification, first on discovering
latent groups through clustering the target classes, on training to
classify items into those groups. The approach calls for additional
parameter tuning.
      </p>
      <p>
        Nearest-neighbor for classification can be traced back to as early
as 1950s [
        <xref ref-type="bibr" rid="ref4 ref9">4, 9</xref>
        ]. We chose KNN for this task, because: 1) KNN has
been used in text classification, which is similar to this taxonomy
classification task. Although it is simple, it was shown to perform
as well as SVM in text classification [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. 2) according to our analysis,
the training dataset contains 3008 distinct category id paths, which
is computationally expensive in general and particularly for more
complicated algorithms such SVM.
      </p>
      <p>
        Cosine similarity (or Vector Space Model (VSM)) is often used
to measure similarity between two text documents[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. We chose
BM25 model, as it is often considered better than VSM. Since this
current research uses BM25 to measure the similarity between two
specific product titles, we give some brief review on BM25 and its
predecessor Okapi here [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The leader of our team Prof. Huang
was instrumental in the research reported in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], and has
continued to work and contribute consistently on the subject for two
decades to follow, in theory and in application. More specifically,
as recorded in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], an enhanced version BM25 and Okapi system
win Huang and his team the first place in the Genomics/biomedical
track among all 135 entrants from around the world in international
TREC competitions organized by National Institute of Standards
&amp; Technology. Term proximity for enhancement of BM25 were
proposed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], with solidly verified improvement on
efectiveness. Pseudo term (a.k.a., Cross Term) to model term proximity for
boosting retrieval performance and thus the bigram CRoss TErm
Retrieval (CRTER) retrieval model for searching were proposed
in [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. Meanwhile, an integrated sampling technique
incorporating both over-sampling and under-sampling, with an ensemble
of SVMs to improve the prediction performance is considered in
[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]; A novel machine-learning-based data classification algorithm
applied to network intrusion detection is reported in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]; In [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ],
data mining to Pseudo-Relevance Feedback for High Performance
Text Retrieval is investigated.
3
      </p>
    </sec>
    <sec id="sec-4">
      <title>METHODOLOGY</title>
      <p>In this section we first give brief introduction to technical
preliminaries, BM25 the ranking function in particular. Categorization
through classification in terms of KNN+BM25 is explained next
(pseudo code in the upper part of Table 1), with an example
provided. The framework in support of the classifier is also presented
(illustration in Figure 1 and pseudo code in the lower part of Table
1).
3.1</p>
    </sec>
    <sec id="sec-5">
      <title>Preliminaries</title>
      <p>We chose the K nearest neighbors (KNN), which is a classic
classification algorithm, as our major classification approach. KNN is
traditionally a simple algorithm that stores all the available
candidates for classification, and it classifies each new candidate based
on the similarity measure.</p>
      <p>Definition 1: KNN classification:</p>
      <p>K-nearest neighbors algorithm is structured on the basis of
feature similarity measurement. In other words, the degree of how
closely the sparse sample features resemble the training dataset
determines how we classify a given data point.</p>
      <p>The most intuitive K-nearest neighbor classifier is to set the
k = 1, or the one nearest neighbor classifier which assigns point a
to the class of its closest neighbor in the feature space,
Cn1nn (a) = Y (1)
(1)</p>
      <p>Thus, k-nearest neighbor classifier could be considered as a
generalized weighted nearest neighbor classifier where the assignment
of k nearest neighbors is a weight of k1 and all others weigh zero.
Specifically, Íin=1 wni = 1 represents the ith nearest neighbor is
assigned with a weight of wni . Therefore, with the weighted score
of the nearest neighbor classifier, the class of its closest neighbor
in a feature space will denote as Cnwnn with weights {wni }in=1.</p>
      <sec id="sec-5-1">
        <title>Definition 2: BM25:</title>
        <p>
          BM25 (Best Match) [
          <xref ref-type="bibr" rid="ref15 ref16 ref5">5, 15, 16</xref>
          ] is a probabilistic ranking function
which ranks the matching documents based on their degree of
relevance to the given user queries.
        </p>
        <p>To get a document D’s BM25 score given a query Q, a weighting
function for each query term qi ∈ Q and the document D is first
calculated as follows:
w(qi , D) = (k1 + 1) × T F (qi , D)</p>
        <p>K + T F (qi , D)
×
(k3 + 1) × QT F (qi )
k3 + QT F (qi )
(2)
where K = k1 × [(1 − b) + b × dl /avdl ], dl is the length of D, avdl
is the average document length. k1, k3, b are parameters. I DF (qi ) =
log (1 + N − DF (qi ) + 0.5 ). N is the number of indexed documents</p>
        <p>DF (qi ) + 0.5
in the collection. DF (qi ) is the number of documents containing qi .
T F (qi , D) is the number of occurrence of qi in D, and QT F (qi ) is the
number of occurrence of qi in Q. A document D’s BM25 similarity
score given a query Q is calculated as the sum of D’s weight for
each Q’s term:
× I DF (qi )
|Q |
Õ
i=1
BM25(Q, D) =
w(qi , D),
(3)
where w is the term weight obtained from the above Equation (2),
|Q | is the number of terms in Q.
3.2</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>A KNN+BM25 Classifier for Categorization</title>
      <p>In our program, k of our KNN classifier is set as a parameter with
respect to a given query. The output of searcher using BM25 model
will return at most k top matches. And these top matched products’
categoy id paths are the input of our KNN classifier. In other words,
an input of our KNN algorithm consists of category id paths of k
closest training titles given a test title. And the output of our KNN
algorithm is the majority category id path among category id paths
of those training titles, i.e. the category with highest occurrence.
We wanted to examine whether it was efective to use a flat
classification structure to solve the given problem instead of a hierarchical
one. Thus, all items in the product list are classified in one shot.</p>
      <p>A BM25 similarity score is calculated for each title in the training
set and a title in test set. In KNN paradigm, the similarity function of
our approach is the BM25 similarity score between an item title in
test set and an item title in training set. The higher the BM25 score,
the more similar a training title and a test title. We tried setting
diferent values of k in KNN to see whether or not predicting based
on individual match is better than on multiple matches, since the
individual match may be an outlier. Our KNN+BM25 algorithm is
shown in the upper part of Table 1.</p>
      <p>Suppose pi is a product in the training dataset T R. pi contains
product title pti and product category id path ci . tj is a product title
in the test dataset T E. N is the number of products in T R. When k =
1, we assign the category id path c1 of the top 1 matched training
title (document), i.e. the title pt1 with highest BM25 similarity score
given that test title (query) t , as the predicted category id path pc:
pc = c1
where BM25(t , pt1) = maxm ∈ {1,2, ..., N } BM25(t , ptm )</p>
      <p>Generally, when k &gt; 1, we assign the majority category id path of
returned top n (n ≤ k, since it is possible that the number of matches
is less than k) products’ category id paths {c1, c2, ..., cn }.
Specifically, the algorithm finds the distinct category id paths {dc1, dc2, ...,
dci } ⊂ {c1, c2, ..., cn }(i ≤ n) and their number of occurrences
{Occur (dc1), Occur (dc2), ..., Occur (dci )} (Ími=1 Occur (dcm ) = n).
The distinct category id path dcj with the highest number of
occurrences among the category id paths of the top k matched training
titles given a test title is deemed the predicted category id path pc:
pc = dcj
where</p>
      <p>Occur (dcj ) =</p>
      <p>max
q ∈ {1,2, ...,i }</p>
      <sec id="sec-6-1">
        <title>Occur (dcq )</title>
        <p>(4)
If the category id paths have same number of occurrence within
the top matched training titles, we assign the category id path of
the higher ranked matched training title(s) as predicted category id
path. For example, if</p>
        <p>Occur (dc1) = Occur (dc2) =</p>
        <p>max
q ∈ {1,2, ...,i }</p>
      </sec>
      <sec id="sec-6-2">
        <title>Occur (dcq )</title>
        <p>(5)
, then dc1 is the predicted category id path. If no match is found
(n = 0), we assign "2296&gt;3597&gt;689" as predicted category id path,
which corresponds to "Media&gt;Music&gt;Pop" (manually judging from
training data and Rakuten website1).</p>
        <p>Here is an example to show a typical product listing in our
dataset. We set k1 = 1.2, b = 0.92 in BM25. As shown in Fig.2, given
this item (query) in test dataset:
"Sterling Silver Dangle Ball Earrings w/ Brilliant Cut
CZ Stones &amp; Yellow Topaz-colored Crystal Balls, 1""
(26 mm) tall"
1https://www.rakuten.com
function KNN_BM25(q, DC, k) returns predicted category
id path
inputs: q: the query (test title)</p>
        <p>DC: the document collection of product titles and
corresponding category id paths
k: the k value in KNN algorithm
local variables: pj : the jth matched training product
containing ptj (product title) and cj
(its corresponding category id path)
pc: the predicted category id path
search q in DC with BM25 IR model
get top n (n ≤ k) matches {pt1, pt2, ..., ptn } ⊂ DC
and corresponding {c1, c2, ..., cn }
if n equals 0 then</p>
        <p>set pc as "2296&gt;3597&gt;689"
else</p>
        <p>set pc as the majority category id path of {c1, c2, ..., cn }
end if
return pc
procedure Main_program(T R, T E, k) returns prediction file
inputs: T R: the training dataset</p>
        <p>T E: the test dataset
k: the k value for KNN algorithm
local variables: pj : the jth training product
containing ptj (product title) and cj
(its corresponding category id path)
tj : the jth test product title
pcj : the predicted category id path of tj
for each pj ∈ T R do
preprocess ptj
tokenize ptj
normalize ptj
lowercase ptj
index ptj
store (ptj , cj ) in DocumentCollection
end for
for each tj ∈ T E do
preprocess tj and store it in temp_t
get pcj through KNN_BM25(temp_t , DocumentCollection, k)
write tj and pcj in prediction file
end for</p>
        <p>If we set k = 10, then the searcher will return the item’s top
10 matches in training set according to BM25 similarity score of a
document and the query in descending order as shown in Table 2
below.</p>
        <p>As an illustration, the term weight for the matched term "sterling"
(q1) in the top 1 document (D1) is calculated as follows:
Ranking Product Title
Category Id Path</p>
        <p>BM25 score
1
2
3
4
5
6
7
8
9
10</p>
        <p>The KNN algorithm (majority voting) then counts the
occurrences of the categories within these matches. As shown in
Table 3 below, "1608&gt;2320&gt;2173&gt;2878" (corresponding to "Clothing,
Shoes &amp; Accessories&gt;Jewelry &amp; Watches&gt;Earrings&gt;Stud Earrings")
has the highest number of occurrences among the top 1/3/5/7/10
matches’ categories. Thus, the category ’1608&gt;2320&gt;2173&gt;2878’ is
assigned as the predicted category id path when our KNN
algorithm’s k is set to 1/3/5/7/10. We have mannually verified on the
Rakuten website2 that this prediction is correct.
Based on the classifier as above, we actually implement a system
for the classifier in action. Figure 1 is a pictorial description of the
system, where ovals are functional components, cylinder is index
and rounded rectangles are data inputs/outputs in interaction with
the classifier system. Specifically, input product can be efectively
categorized through searching the index of product titles in training
dataset. Training data are preprocessed and tokenized to get to a
word-based index pool. Given a query, the system calculates the
BM25 relevance score of the given product title and training titles,
and categorizes it into the category of its most relevant product
title(s) in training set. The implementation is in JAVA. We explored
diferent approaches and strategies for minimizing the classification
error and matching the product categories with high accuracy.</p>
        <p>More precisely, as shown in Figure 1 and lower part of Table 1,
major flow of the product categorizing system is as follows:</p>
        <p>First, the Rakuten Training Dataset T R (800,000 product titles
with category id paths) in tsv format is read line by line as document
inputs. Each document pj ∈ T R has two fields, one for product title</p>
        <p>Candidate Category Id Path</p>
        <p>Candidate Category
1608&gt;2320&gt;2173&gt;2878
1608&gt;2320&gt;498&gt;1546
1608&gt;2320&gt;2173&gt;3881</p>
        <p>1608&gt;2320&gt;3648
1608&gt;2320&gt;2495&gt;3682</p>
        <p>Clothing, Shoes &amp; Accessories&gt;Jewelry &amp; Watches&gt;Earrings&gt;Stud Earrings 1
Clothing, Shoes &amp; Accessories&gt;Jewelry &amp; Watches&gt;Pendants &amp; Neck- 0
laces&gt;Pendants
Clothing, Shoes &amp; Accessories&gt;Jewelry &amp; Watches&gt;Earrings&gt;Earring Sets 0
Clothing, Shoes &amp; Accessories&gt;Jewelry &amp; Watches&gt;Rings 0
Clothing, Shoes &amp; Accessories&gt;Jewelry &amp; Watches&gt;Accessories&gt;Individual 0
Charms
ptj and one for category id path cj . Second, documents’ product
titles ptj are preprocessed. Specifically, "w/out" was replaced by
"without", "w/" was replaced by "with", "&amp;" was replaced by "and",
"’" was replaced by "feet" and """" was replaced by "inches". After
that, documents’ product titles ptj and category id paths cj are
indexed in text field and string field respectively. Product titles ptj
in text fields are analyzed by Lucene Standard Analyzer. Specifically,
they are tokenized by Lucene’s standard tokenizer, before being
normalized by Lucene’s standard filter and turned into lowercase by
lowercase filter. In contrast, category id paths cj in string fields are
not analyzed, since they are target categories for later classification.
After that, Test Dataset T E (200,000 product titles without category
id paths) is read line by line as query inputs. Same as the training
data, test titles tj ∈ T E are preprocessed in the same way. Then, the
searcher searches the index with test title tj with BM25 similarity
to get top n (n ≤ k) most relevant training titles {pt1, ..., ptn } and
their corresponding category id paths {c1, ..., cn }. This is followed
by our KNN algorithm (as shown in upper part of Table 1) that
returns the most frequent category id path among top n matched
training title(s)’ category id paths {c1, c2, ..., cn } given a test title
tj as predicted category id path pcj . Finally, test titles and their
predicted category id paths are written in a tsv file.
4</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>EXPERIMENTAL ANALYSIS</title>
      <p>In this section, we test our system on Rakuten data.
Experimental set-ups are introduced first, results obtained are analyzed. We
specifically tested on diferent k values in KNN and diferent
values of k1 and b in BM25 for their impacts on efectiveness of the
classifier and the system.
4.1</p>
    </sec>
    <sec id="sec-8">
      <title>Experimental Set-ups</title>
      <p>Experiments were mainly done on a laptop with 4GB RAM. We
trained the K nearest neighbors algorithm using the Rakuten 800,000
product listings in tsv format provided. And we used the Java
program to exercise the experiments. Lucene is an open-source
information retrieval (IR) software library which is empowered to do full
text indexing and full text searching capability. This architecture is
built on the idea of a document with fields of text. We exercise our
experiments on top of the Lucene API in order to get a full product
list search for the most accurate result of product categorization.</p>
      <p>We tried setting diferent values of k in KNN to see whether or
not predicting based on individual match (k = 1) is better than
The results in Table 4 above show the oficial results of our primary
submissions. In this classification problem, the experimental results
are evaluated with weighted-{precision (P), recall (R) and F1 score}
respectively. Precision is an evaluation of the fraction of relevant
items among all retrieved times; Recall is an evaluation of the
fraction of relevant items that have been retrieved over the total
amount of the relevant items. And the F1 Score is a measure of
the accuracy of the test. In our experiment, with the setting of
parameter k = 3 in KNN classification algorithm, our program
achieved 0.79, 0.78 and 0.78 for the weighted-{P, R and F1 score}
respectively in a subset of the test dataset. The results of k=1, 3
and 5 are roughly the same, because the top document matches
of a query are highly similar to each other and thus have high
probability of belonging to the same category. Also, the results for
k = 3 rather than k = 1 is the best one among diferent settings
of k, because the top documents have high probability to have the
same BM25 similarity score and thus the top 1 document’s category
may be an outlier. Generally, we can see that the prediction result
declines as k increases, since titles with lower similarity are less
likely to belong to the same category, as shown in the Example in
Section 3.2.</p>
      <p>Aside from tuning k in KNN, we have tried to tune the parameters
of the BM25 IR model to get higher classification accuracy. We
found a slight diference in between the tuning of the parameters.
Specifically, with the same setting of k = 1 in KNN algorithm, by
setting k1 = 1.2, b=0.35, we achieved slightly lower results of (0.78,
0.77, 0.77) for weighted-{P, R and F1 score} respectively than those
of the default parameters (k1 = 1.2, b = 0.75) which get (0.78, 0.78,
0.78) for weighted-{P, R and F1 score} respectively. Also, we splited
the training dataset into 2 parts, 1 as training set (1-in-2-TRAIN)
and 1 as testing set (2-in-2-TEST)(category id paths are removed)
and gold standard (2-in-2-GOLD). Then, we conducted parameter
tuning by fixing k for KNN to 3, k1 to 1.2 and changing the value
of b. We found the optimal weighted-F1 score is obtained when
b = 0.92 or 0.93.</p>
      <p>We have also compared results of using the stopword filter in
Lucene’s standard analyzer to those of not using it. We found that
using stopword filter would slightly reduce the results, since after
stop word removal, documents (training titles) may have no terms.</p>
      <p>
        Apart from the BM25 model, we also used Lucene’s VSM
(default setting, parameter-free) to conduct searching on the product
list. When k is set to 1 in KNN, the results (0.77, 0.77, 0.77) are
slightly lower than those of BM25 IR model on a subset of the test
dataset. This is because compared to VSM that only incorporates
term frequency (TF) and inverse document frequency (IDF), BM25
also takes the average document length (avdl) into account , which
leads to higher accuracy rate as results. We also tried Lucene’s
implementation of Dirichlet Language Model [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] and Jelinek-Mercer
Language Model[
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] and tuned the parameter µ and λ respectively.
We found by using the same training set (1-in-2-TRAIN), test set
(2in-2-TEST) and k = 3 for KNN, the results of the Dirichlet Language
Model (µ is set to 0.1)(0.7492, 0.7563, 0.7499) and Jelinek-Mercer
Language model (λ = 0.25)(0.7494, 0.7569, 0.7501) are slightly lower
than those of BM25 (0.7539, 0.7573, 0.7534)(k1 = 1.2, b = 0.92)(all
models’ parameters are tuned to optimize weighted-F1 score) in
terms of weighted-{P, R and F1 score} respectively.
5
      </p>
    </sec>
    <sec id="sec-9">
      <title>BRIEF SUMMARY</title>
      <p>In this paper, we described our taxonomy classification system
based on KNN with Lucene BM25 similarity score.</p>
      <p>The insights from participating this competition are as follows:
IR model can be used as similarity function in KNN to generate
competitive prediction results.</p>
      <p>
        For future work, we are going to incorporate word associations
into our analysis by adding algorithms like bigram or Word2Vec
skip-gram [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] into the Lucene search system to get more accurate
match. In particular, CRTER (CRoss TERm) [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] can be combined
with BM25 model. We also found that the most important
partof-speech (POS) for predicting product category is noun. Thus, it
would be helpful to incorporate POS tagger into the search engine to
give more weights to nouns. It is also interesting to use other more
powerful IR models, such as Context-sensitive Proximity Model
[
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], as similarity function in KNN.
      </p>
    </sec>
    <sec id="sec-10">
      <title>ACKNOWLEDGMENTS</title>
      <p>We gratefully acknowledge the support by NSERC (Natural
Sciences and Engineering Research Council of Canada) CREATE
(Collaborative Research and Training Experience Program) award in
ADERSIM (Advanced Disaster, Emergency and Rapid-response
Simulation)3, ORF-RE (Ontario Research Fund - Research excellence)4
award in BRAIN (Big Data Research, Analytics, and Information
Network) Alliance5, and the Research Chair Program at York
University, Canada.
5 http://www.brainalliance.ca/</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Steven</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Aanen</surname>
            , Damir Vandic, and
            <given-names>Flavius</given-names>
          </string-name>
          <string-name>
            <surname>Frasincar</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Automated Product Taxonomy Mapping in an E-commerce Environment</article-title>
          .
          <source>Expert Systems with Applications 42</source>
          ,
          <issue>3</issue>
          (
          <year>2015</year>
          ),
          <fpage>1298</fpage>
          -
          <lpage>1313</lpage>
          . https://doi.org/10.1016/j.eswa.
          <year>2014</year>
          .
          <volume>09</volume>
          .032
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Varun</given-names>
            <surname>Embar</surname>
          </string-name>
          , Golnoosh Farnadi, Jay Pujara, and
          <string-name>
            <given-names>Lise</given-names>
            <surname>Getoor</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Aligning Product Categories Using Anchor Products</article-title>
          .
          <source>In First Workshop on Knowledge Base Construction, Reasoning and Mining.</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Wenying</given-names>
            <surname>Feng</surname>
          </string-name>
          , Qinglei Zhang, Gongzhu Hu, and Jimmy Xiangji Huang.
          <year>2014</year>
          .
          <article-title>Mining Network Data for Intrusion Detection through Combining SVMs with Ant Colony Networks</article-title>
          .
          <source>Future Generation Comp. Syst</source>
          .
          <volume>37</volume>
          (
          <year>2014</year>
          ),
          <fpage>127</fpage>
          -
          <lpage>140</lpage>
          . https: //doi.org/10.1016/j.future.
          <year>2013</year>
          .
          <volume>06</volume>
          .027
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Jiawei</given-names>
            <surname>Han</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Micheline</given-names>
            <surname>Kamber</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Jian</given-names>
            <surname>Pei</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Data Mining: Concepts and Techniques (3rd ed</article-title>
          .). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Micheline</given-names>
            <surname>Hancock-Beaulieu</surname>
          </string-name>
          , Mike Gatford, Xiangji Huang, Stephen E. Robertson, Steve Walker, and
          <string-name>
            <given-names>P. W.</given-names>
            <surname>Williams</surname>
          </string-name>
          .
          <year>1996</year>
          .
          <article-title>Okapi at TREC-5</article-title>
          .
          <source>In Proceedings of The Fifth Text REtrieval Conference</source>
          , TREC 1996, Gaithersburg, Maryland, USA, November
          <volume>20</volume>
          -
          <issue>22</issue>
          ,
          <year>1996</year>
          . http://trec.nist.gov/pubs/trec5/papers/city.procpaper.ps.gz
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Ben</given-names>
            <surname>He</surname>
          </string-name>
          , Jimmy Xiangji Huang, and
          <string-name>
            <given-names>Xiaofeng</given-names>
            <surname>Zhou</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Modeling Term Proximity for Probabilistic Information Retrieval Models</article-title>
          .
          <source>Inf. Sci</source>
          .
          <volume>181</volume>
          ,
          <issue>14</issue>
          (
          <year>2011</year>
          ),
          <fpage>3017</fpage>
          -
          <lpage>3031</lpage>
          . https://doi.org/10.1016/j.ins.
          <year>2011</year>
          .
          <volume>03</volume>
          .007
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Xiangji</given-names>
            <surname>Huang</surname>
          </string-name>
          , Yan Rui Huang, Miao Wen,
          <string-name>
            <surname>Aijun</surname>
            <given-names>An</given-names>
          </string-name>
          , Yang Liu, and
          <string-name>
            <given-names>Josiah</given-names>
            <surname>Poon</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>Applying Data Mining to Pseudo-Relevance Feedback for High Performance Text Retrieval</article-title>
          .
          <source>In Proceedings of the 6th IEEE International Conference on Data Mining (ICDM</source>
          <year>2006</year>
          ),
          <fpage>18</fpage>
          -
          <lpage>22</lpage>
          December 2006,
          <string-name>
            <given-names>Hong</given-names>
            <surname>Kong</surname>
          </string-name>
          , China.
          <fpage>295</fpage>
          -
          <lpage>306</lpage>
          . https://doi.org/10.1109/ICDM.
          <year>2006</year>
          .22
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Xiangji</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Ming</given-names>
            <surname>Zhong</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Luo</given-names>
            <surname>Si</surname>
          </string-name>
          .
          <year>2005</year>
          . York University at TREC 2005:
          <article-title>Genomics Track</article-title>
          .
          <source>In Proceedings of the Fourteenth Text REtrieval Conference</source>
          , TREC 2005, Gaithersburg, Maryland, USA, November
          <volume>15</volume>
          -
          <issue>18</issue>
          ,
          <year>2005</year>
          . http://trec.nist.gov/ pubs/trec14/papers/yorku-huang2.geo.pdf
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Bing</given-names>
            <surname>Liu</surname>
          </string-name>
          .
          <year>2007</year>
          .
          <article-title>Web Data Mining: Exploring Hyperlinks</article-title>
          , Contents, and
          <string-name>
            <given-names>Usage</given-names>
            <surname>Data</surname>
          </string-name>
          . Springer Science &amp; Business Media.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Yang</surname>
            <given-names>Liu</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiaohui Yu</surname>
          </string-name>
          ,
          <source>Jimmy Xiangji Huang, and Aijun An</source>
          .
          <year>2011</year>
          .
          <article-title>Combining Integrated Sampling with SVM Ensembles for Learning from Imbalanced Datasets</article-title>
          .
          <source>Inf. Process. Manage</source>
          .
          <volume>47</volume>
          ,
          <issue>4</issue>
          (
          <year>2011</year>
          ),
          <fpage>617</fpage>
          -
          <lpage>631</lpage>
          . https://doi.org/10.1016/j.ipm.
          <year>2010</year>
          .
          <volume>11</volume>
          . 007
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Tomas</surname>
            <given-names>Mikolov</given-names>
          </string-name>
          , Ilya Sutskever, Kai Chen, Greg S Corrado, and
          <string-name>
            <given-names>Jef</given-names>
            <surname>Dean</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Distributed Representations of Words and Phrases and Their Compositionality</article-title>
          .
          <source>In Advances in Neural Information Processing Systems</source>
          .
          <volume>3111</volume>
          -
          <fpage>3119</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>George</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Miller</surname>
          </string-name>
          .
          <year>1995</year>
          .
          <article-title>WordNet: A Lexical Database for English</article-title>
          .
          <source>Commun. ACM</source>
          <volume>38</volume>
          ,
          <issue>11</issue>
          (Nov.
          <year>1995</year>
          ),
          <fpage>39</fpage>
          -
          <lpage>41</lpage>
          . https://doi.org/10.1145/219717.219748
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Sangun</given-names>
            <surname>Park</surname>
          </string-name>
          and
          <string-name>
            <given-names>Wooju</given-names>
            <surname>Kim</surname>
          </string-name>
          .
          <year>2007</year>
          .
          <article-title>Ontology Mapping between Heterogeneous Product Taxonomies in an Electronic Commerce Environment</article-title>
          .
          <source>International Journal of Electronic Commerce</source>
          <volume>12</volume>
          ,
          <issue>2</issue>
          (
          <year>2007</year>
          ),
          <fpage>69</fpage>
          -
          <lpage>87</lpage>
          . http://www.jstor.org/stable/ 27751250
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>Matthew</given-names>
            <surname>Richardson</surname>
          </string-name>
          and
          <string-name>
            <given-names>Pedro</given-names>
            <surname>Domingos</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>Markov Logic Networks</article-title>
          .
          <source>Mach. Learn</source>
          .
          <volume>62</volume>
          ,
          <issue>1</issue>
          -
          <fpage>2</fpage>
          (
          <issue>Feb</issue>
          .
          <year>2006</year>
          ),
          <fpage>107</fpage>
          -
          <lpage>136</lpage>
          . https://doi.org/10.1007/s10994-006-5833-1
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Stephen</surname>
            <given-names>E</given-names>
          </string-name>
          <string-name>
            <surname>Robertson</surname>
          </string-name>
          .
          <year>1997</year>
          .
          <article-title>Overview of the Okapi Projects</article-title>
          .
          <source>Journal of Documentation 53</source>
          ,
          <issue>1</issue>
          (
          <year>1997</year>
          ),
          <fpage>3</fpage>
          -
          <lpage>7</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Stephen</surname>
            <given-names>E Robertson</given-names>
          </string-name>
          , Steve Walker, Susan Jones,
          <string-name>
            <surname>Micheline M Hancock-Beaulieu</surname>
            ,
            <given-names>Mike</given-names>
          </string-name>
          <string-name>
            <surname>Gatford</surname>
          </string-name>
          , et al.
          <year>1995</year>
          .
          <article-title>Okapi at TREC-3</article-title>
          . NIST Special Publication Sp
          <volume>109</volume>
          (
          <year>1995</year>
          ),
          <fpage>109</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Dan</surname>
            <given-names>Shen</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jean-David Ruvini</surname>
            ,
            <given-names>and Badrul</given-names>
          </string-name>
          <string-name>
            <surname>Sarwar</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Large-scale Item Categorization for E-Commerce</article-title>
          .
          <source>In Proceedings of the 21st ACM International Conference on Information and Knowledge Management (CIKM '12)</source>
          . ACM, New York, NY, USA,
          <fpage>595</fpage>
          -
          <lpage>604</lpage>
          . https://doi.org/10.1145/2396761.2396838
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>Chengxiang</given-names>
            <surname>Zhai and John Laferty</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>A Study of Smoothing Methods for Language Models Applied to Ad Hoc Information Retrieval</article-title>
          .
          <source>In ACM SIGIR Forum</source>
          , Vol.
          <volume>51</volume>
          . ACM,
          <volume>268</volume>
          -
          <fpage>276</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>Jiashu</given-names>
            <surname>Zhao</surname>
          </string-name>
          and Jimmy Xiangji Huang.
          <year>2014</year>
          .
          <article-title>An Enhanced Context-sensitive Proximity Model for Probabilistic Information Retrieval</article-title>
          .
          <source>In Proceedings of the 37th international ACM SIGIR conference on Research &amp; development in information retrieval. ACM</source>
          ,
          <volume>1131</volume>
          -
          <fpage>1134</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Jiashu</surname>
            <given-names>Zhao</given-names>
          </string-name>
          ,
          <source>Jimmy Xiangji Huang, and Ben He</source>
          .
          <year>2011</year>
          .
          <article-title>CRTER: Using Cross Terms to Enhance Probabilistic Information Retrieval</article-title>
          .
          <source>In Proceeding of the 34th International ACM SIGIR Conference on Research and Development in Information Retrieval</source>
          ,
          <string-name>
            <surname>SIGIR</surname>
          </string-name>
          <year>2011</year>
          , Beijing, China,
          <source>July 25-29</source>
          ,
          <year>2011</year>
          .
          <fpage>155</fpage>
          -
          <lpage>164</lpage>
          . https://doi.org/10. 1145/2009916.2009941
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>