# MARIE: A Context-Aware Term Mapping with String Matching and Embedding Vectors
## 4 Discussion  
### Impact of \(\alpha\)  
Hyperparameter \(\alpha\) balances the effect of structural and contextual information on calculating the overall similarity score with MARIE, thereby altering the mapping accuracy, as shown in Table 1. Therefore, we additionally analyzed the changes in the accuracy, with respect to various \(\alpha\), in the target dataset with 50,000 random samples. Within the range between 0.2 and 0.9, we changed the value of \(\alpha\) in increments of 0.1. As shown in Figure 2, there is an optimal cutoff value of \(\alpha\) that maximizes the mapping accuracy, thereby suggesting that solely relying on either structural or contextual information is not sufficient for accurate mapping. However, the optimal value of \(\alpha\) will vary, depending on the input and target datasets, and should be determined based on the type of discrepancy that is prevalent in them. If the word order discrepancy is a major difference between the input and target datasets, an \(\alpha\) value greater than 0.5 should be used for better mapping accuracy. On the other hand, if the words missing from the corresponding terms are prevalent, an \(\alpha\) value less than 0.5 is recommended. \begin{table}
\begin{tabular}{c c c c} \hline \hline
**Mapping Methods** & **Rank 1** & **Rank 2** & **Rank 3** \\ \hline \multirow{4}{*}{MARIE} & **cobicist 150 mg/elvitegravir** & \multirow{4}{*}{tenofovir alafenamide} & \multirow{4}{*}{tenofovir alafenamide 25 mg oral} \\  & **200 mg/tenofovir alafenamide** & & (RxNorm 1858261) (0.8536) & \\  & & **10 mg oral tablet** & & (RxNorm 476445) (0.8433) \\  & [RxNorm 1721612) (0.8538) & & \\ \hline \multirow{4}{*}{R/O} & ataxanavir 300 mg/cbicistast & \multirow{4}{*}{300 mg/proclaims 10 mg/papain} & \multirow{4}{*}{tenofovir alafenamide 25 mg oral} \\  & 150 mg oral tablet & & 100 mg oral tablet (RxNorm 1858261) (0.4255) \\  & [RxNorm 1601654) (0.4371) & & & Extension OMGOT1092499) (0.4333) \\ \hline \multirow{4}{*}{BiBiBERT Embedding Vectors} & **cobicistast 150 mg/elvitegravir** & \multirow{4}{*}{tenofovir alafenamide} & \multirow{4}{*}{tenofovir alafenamide 25 mg oral} \\  & **200 mg/tenofovir alafenamide** & & & \\  & **10 mg oral tablet** & & (RxNorm 476445) (0.9616) & \\  & [RxNorm 1721612) (0.8985) & & & \\ \hline \multicolumn{4}{c}{**(a)tensorflow alafenamide/emtricitabine/elvitegravir/cobicistast 10 mg/200 mg/150 mg/150 mg/150 mg tab (local concept)**} \\ \hline Mapping Methods & Rank 1 & Rank 2 & Rank 3 \\ \hline \multirow{4}{*}{MARIE} & **cortisone (mass/time) in 24 h** & \multirow{4}{*}{color of urine (LOINC Lab} \\  & urine (LOINC Lab \\  & Test 14044-2) (0.8700) & & \\ \hline \multirow{4}{*}{R/O} & color of urine (LOINC Lab \\  & Test 5778-6) (0.5882) & & \\  & & & \\  & \multirow{4}{*}{color of urine (LOINC Lab \\  & Test 4044-2) (0.5862)} & & \\ \hline BioBERT Embedding Vectors & \multirow{4}{*}{
\begin{tabular}{} \end{tabular} } & simatotropin-15 th specimen post \\  & xxx challenge & \multirow{4}{*}{insulin ab (litre) in serum} \\  & (LOINC component) (0.9509) & & (LOINC Lab Test 11087-4) (0.9481) \\ \hline \multicolumn{4}{c}{**(b) cortisol (24 h urine)** (local concept)} \\ \hline Mapping Methods & Rank 1 & Rank 2 & Rank 3 \\ \hline \multirow{4}{*}{MARIE} & does manage liesotomy & \multirow{4}{*}{**bone marrow pathology biopsy**} \\  & (SNOMED CT Clinical Finding & \multirow{4}{*}{**report narrative**} \\  & 10/373100000109) (0.8203) & & \\ \cline{1-1} \cline{3-3}  & & & \\ \cline{1-1} \cline{3-3}  & & & \\ \cline{1-1} \cline{3-3}  & & & \\ \hline \multirow{2}{*}{R/O} & pilopes (RxNorm Extension \\  & OMG20219160) (0.5) & & \\ \hline BioBERT & her3 agilissuer and smears & \multirow{2}{*}{procedure on head (SNOMED CT} \\  & (LOINC Hierarchy \\  & LP31242-5) (0.9449) & & \\ \cline{1-1} \cline{3-3}  & & & \\ \hline \hline \end{tabular}
\end{table} 
Table 2: Comparison of the top three mapped outcomes from MARIE, the R/O string matching method and embedding vector-based mapping. A bold and underlined term represents a correctly mapped term.