mlsanityData to 14 Oct 2026

Combining AI and AM - Improving Approximate Matching through Transformer Networks

arXiv 2208.11367 ↗First posted 24 Aug 2022cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Approximate matching (AM) is a concept in digital forensics to determine the similarity between digital artifacts. An important use case of AM is the reliable and efficient detection of case-relevant data structures on a blacklist, if only fragments of the original are available. For instance, if only a cluster of indexed malware is still present during the digital forensic investigation, the AM algorithm shall be able to assign the fragment to the blacklisted malware. However, traditional AM functions like TLSH and ssdeep fail to detect files based on their fragments if the presented piece is relatively small compared to the overall file size. A second well-known issue with traditional AM algorithms is the lack of scaling due to the ever-increasing lookup databases. We propose an improved matching algorithm based on transformer models from the field of natural language processing. We call our approach Deep Learning Approximate Matching (DLAM). As a concept from artificial intelligence (AI), DLAM gets knowledge of characteristic blacklisted patterns during its training phase. Then DLAM is able to detect the patterns in a typically much larger file, that is DLAM focuses on the use case of fragment detection. We reveal that DLAM has three key advantages compared to the prominent conventional approaches TLSH and ssdeep. First, it makes the tedious extraction of known to be bad parts obsolete, which is necessary until now before any search for them with AM algorithms. This allows efficient classification of files on a much larger scale, which is important due to exponentially increasing data to be investigated. Second, depending on the use case, DLAM achieves a similar or even significantly higher accuracy in recovering fragments of blacklisted files. Third, we show that DLAM enables the detection of file correlations in the output of TLSH and ssdeep even for small fragment sizes.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 42 references that are in the map. First posted on arXiv 24 Aug 2022.

Builds on

17 of 42 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  6. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  7. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
  8. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
  9. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,304
  10. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  11. 2017Malware Detection by Eating a Whole EXEcited by 115
  12. 2021Learning to Break Deep Perceptual Hashing: The Use Case NeuralHashcited by 25
5 more
  1. 2015Deep Semantic Ranking Based Hashing for Multi-Label Image Retrievalcited by 24
  2. 2017Lempel-Ziv Jaccard Distance, an Effective Alternative to Ssdeep and Sdhashcited by 8
  3. 2022NapierOne: A modern mixed file data set alternative to Govdocs1cited by 2
  4. 2018Fuzzy Hashing as Perturbation-Consistent Adversarial Kernel Embeddingcited by 1
  5. 2021Essential Characteristics of Approximate matching algorithms: A Survey of Practitioners Opinions and requirement regarding Approximate Matchingcited by 1

Built on by

Not cited yet.