Accelerating similarity-based model matching using dual hashing

被引:0
|
作者
He, Xiao [1 ]
Liu, Yi [2 ]
He, Huihong [3 ]
机构
[1] Univ Sci & Technol Beijing, Sch Comp & Commun Engn, 30 Xueyuan Rd, Beijing 100083, Peoples R China
[2] Coordinat Ctr China, Natl Comp Network Emergency Response Tech Team, 3A Yumin Rd, Beijing 100029, Peoples R China
[3] China Acad Ind Internet, Bldg 403,10 Courtyard,Jiuxianqiao North Rd, Beijing 100015, Peoples R China
基金
北京市自然科学基金;
关键词
Model matching; Similarity-preserving hashing; Integrity-based hashing; Edit distance;
D O I
10.1007/s10270-024-01173-1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Similarity-based model matching is the cornerstone of model versioning. It pairs model elements based on a distance metric (e.g., edit distance). However, calculating the distances between elements is computationally expensive. Consequently, a similarity-based matcher typically suffers from performance issues when the model size increases. Based on observation, there are two main causes of the high computation cost: (1) when matching an element p, the matcher calculates the distance between p and every candidate element q, despite the obvious dissimilarity between p and q; (2) the matcher always calculates the distance between p and q '\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$q'$$\end{document}, even though q and q '\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$q'$$\end{document} are very similar and the distance between p and q is already known. This paper proposes a dual-hash-based approach, which employs two entirely different hashing techniques-similarity-preserving hashing and integrity-based hashing-to accelerate similarity-based model matching. With similarity-preserving hashing, our approach can quickly filter out the dissimilar candidate elements according to their similarity hashes computed using our similarity-preserving hash function, which maps an element to a 64-bit binary hash. With integrity-based hashing, our approach can cache and reuse computed distance values by associating them with the checksums of model elements. We also propose an index structure to facilitate hash-based model matching. Our approach has been implemented and integrated into EMF Compare. We evaluate our approach using open-source Ecore and UML models. The results show that our hash function is effective in preserving the similarity between model elements and our matching approach reduces time costs by 20-88% while assuring the matching results consistent with EMF Compare.
引用
收藏
页数:24
相关论文
共 50 条
  • [1] Accelerating Similarity-Based Model Matching Using On-The-Fly Similarity Preserving Hashing
    He, Xiao
    Tang, Letian
    Li, Yutong
    [J]. PROCEEDINGS OF THE 25TH INTERNATIONAL ACM/IEEE CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS 2022, 2022, : 244 - 254
  • [2] Similarity-Based Matching for Face Authentication
    Rosenberger, Christophe
    Brun, Luc
    [J]. 19TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION, VOLS 1-6, 2008, : 2829 - 2832
  • [3] Similarity-based asymmetries in perceptual matching
    Hodgetts, Carl J.
    Hahn, Ulrike
    [J]. ACTA PSYCHOLOGICA, 2012, 139 (02) : 291 - 299
  • [4] SFTM: Fast matching of web pages using Similarity-based Flexible Tree Matching
    Brisset, Sacha
    Rouvoy, Romain
    Seinturier, Lionel
    Pawlak, Renaud
    [J]. INFORMATION SYSTEMS, 2023, 112
  • [5] ACCELERATING SIMILARITY-BASED DISCRIMINANT ANALYSIS USING CLASS-SPECIFIC PROTOTYPES
    Passalis, Nikolaos
    Tefas, Anastasios
    [J]. 2018 25TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2018, : 161 - 165
  • [6] A Similarity-Based Object Matching Process for Integrating Geodatabases
    Schaefers, Michael
    Lipeck, Udo W.
    [J]. DATABASES AND INFORMATION SYSTEMS VIII, 2014, 270 : 101 - 114
  • [7] Entity Matching with String Transformation and Similarity-Based Features
    Sakai, Kazunori
    Dong, Yuyang
    Oyamada, Masafumi
    Takeoka, Kunihiro
    Okadome, Takeshi
    [J]. SOFTWARE FOUNDATIONS FOR DATA INTEROPERABILITY, SFDI 2021, 2022, 1457 : 76 - 87
  • [8] Deep Secure Quantization: On secure biometric hashing against similarity-based attacks
    Chen, Yanzhi
    Wo, Yan
    Xie, Renjie
    Wu, Chudan
    Han, Guoqiang
    [J]. SIGNAL PROCESSING, 2019, 154 : 314 - 323
  • [9] Similarity-Based Hybrid Malware Detection Model Using API Calls
    Alhashmi, Asma A.
    Darem, Abdulbasit A.
    Alashjaee, Abdullah M.
    Alanazi, Sultan M.
    Alkhaldi, Tareq M.
    Ebad, Shouki A.
    Ghaleb, Fuad A.
    Almadani, Aloyoun M.
    [J]. MATHEMATICS, 2023, 11 (13)
  • [10] Model Description of Similarity-Based Recommendation Systems
    Kanamori, Takafumi
    Osugi, Naoya
    [J]. ENTROPY, 2019, 21 (07)