kTrans: Knowledge-Aware Transformer for Binary Code Embedding
원문 초록
Binary Code Embedding (BCE) has important applications in various reverse engineering tasks such as binary code similarity detection, type recovery, control-flow recovery and data-flow analysis. Recent studies have shown that the Transformer model can comprehend the semantics of binary code to support downstream tasks. However, existing models overlooked the prior knowledge of assembly language. In this paper, we propose a novel Transformer-based approach, namely kTrans, to generate knowledge-aware binary code embedding. By feeding explicit knowledge as additional inputs to the Transformer, and fusing implicit knowledge with a novel pre-training task, kTrans provides a new perspective to incorporating domain knowledge into a Transformer framework. We inspect the generated embeddings with outlier detection and visualization, and also apply kTrans to 3 downstream tasks: Binary Code Similarity Detection (BCSD), Function Type Recovery (FTR) and Indirect Call Recognition (ICR). Evaluation results show that kTrans can generate high-quality binary code embeddings, and outperforms state-of-the-art (SOTA) approaches on downstream tasks by 5.2%, 6.8%, and 12.6% respectively. kTrans is publicly available at: https://github.com/Learner0x5a/kTrans-release
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Robust Spatiotemporal Epidemic Modeling with Integrated Adaptive Outlier Detection
Diversify and Conquer: Open-set Disagreement for Robust Semi-supervised Learning with Outliers
Importance Sampling for Nonlinear Models
Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safety
Adversarial Subspace Generation for Outlier Detection in High-Dimensional Data
Out-of-Distribution Detection on Graphs: A Survey
토론
이 논문과 연결된 포럼 글이 아직 없습니다.