BUSTA-IFCE-Qwen3-0.6B
An identifier-free code embedding model that locates functions in embedding space by what they do rather than by how their identifiers are spelled. It is fine-tuned to associate source code with its decompiled, stripped counterpart in both directions, a task useful to binary reverse engineers who need to match unknown binary functions back to source.
This is the headline model from the paper Identifier-Free Code Embedding Models for Scalable Search. It is part of the BUSTA (Binary UnderStanding Task Assistant) family of models.
- Paper: arXiv:2605.05251
- Demo: Identifier-free code search (match real decompiled functions to source)
- Code: github.com/MITRE-Identifier-Free-Code-Embedding/ifce
- Base model: Qwen/Qwen3-Embedding-0.6B (Apache-2.0)
- Authors: Eric Wolos, Michael Doyle (The MITRE Corporation)
Naming: Earlier versions of the paper and the GitHub code refer to this model as
mitRE-embed-Qwen-0.6B. It is the same model.
Model at a glance
| Base model | Qwen/Qwen3-Embedding-0.6B |
| Parameters | ~0.6B |
| Embedding dimension | 1024 |
| Max sequence length | 2048 tokens |
| Task | Decompiled <-> source code retrieval |
| Similarity | Cosine (embeddings are L2-normalized) |
| License | Apache-2.0 |
Performance

On the Assemblage retrieval benchmark (searching decompiled queries against a pool
of source and decompiled candidates, 59k functions), BUSTA-IFCE-Qwen3-0.6B
reaches MRR 0.41, roughly 5x the best baseline (0.08) and far ahead of models
many times its size. Its FP8 variant matches it. See the paper for the full set of
retrieval conditions and the Signsrch algorithm-constant results.
Intended use
Retrieval and similarity over code, specifically associating decompiled / stripped functions with source functions (and vice versa). Typical uses:
- Searching a corpus of source functions for the match to a decompiled function.
- Searching decompiled candidates for the match to a known source function.
- General code-to-code similarity where naming is unreliable or absent.
Usage
Install sentence-transformers and load the model. No special query or document instruction prompt is required; encode the raw code strings directly.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("the-mitre-corporation/BUSTA-IFCE-Qwen3-0.6B")
source = "int add(int a, int b) { return a + b; }"
decompiled = "longlong FUN_00101130(int param_1,int param_2){return param_1 + param_2;}"
emb = model.encode([source, decompiled], normalize_embeddings=True)
print(float(emb[0] @ emb[1])) # cosine similarity
Example: match a decompiled function to its source
A realistic use is ranking a pool of candidate source functions against one decompiled, stripped function (the names are gone, only the behavior remains).
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("the-mitre-corporation/BUSTA-IFCE-Qwen3-0.6B")
# A decompiled, stripped function recovered from a binary (the query).
query = """
ulong FUN_00101160(long param_1,int param_2) {
ulong uVar1; int i;
uVar1 = 0;
for (i = 0; i < param_2; i = i + 1) {
uVar1 = uVar1 + *(int *)(param_1 + (long)i * 4);
}
return uVar1;
}
"""
# Candidate source functions to search over.
candidates = [
"int sum_array(const int *a, int n){ int s=0; for(int i=0;i<n;i++) s+=a[i]; return s; }",
"int factorial(int n){ int r=1; for(int i=2;i<=n;i++) r*=i; return r; }",
"size_t str_len(const char *s){ const char *p=s; while(*p) p++; return (size_t)(p-s); }",
]
q = model.encode(query, normalize_embeddings=True)
pool = model.encode(candidates, normalize_embeddings=True)
scores = pool @ q
for rank, i in enumerate(scores.argsort()[::-1], 1):
print(f"{rank}. {scores[i]:.3f} {candidates[i]}")
# The summation source (sum_array) ranks first: the model recognizes the
# array-accumulation loop despite the stripped names and decompiler artifacts.
Training
- Data: source / decompiled function pairs derived from the Assemblage corpus (roughly 498k training pairs). The decompiled side is the anchor and the source side the positive.
- Objective: contrastive learning with
CachedMultipleNegativesRankingLoss(in-batch negatives), over a single epoch (964 steps). - Hyperparameters: effective batch size 512 (in-batch negatives), learning rate 2e-5 with a cosine schedule and 0.1 warmup ratio, bf16 mixed precision, 1% of the training data held out for validation.
- Hardware: 4x NVIDIA H100.
Evaluation
On the Assemblage retrieval benchmark (Decompiled to Source, both representations in the search pool):
| Metric | Value |
|---|---|
| MRR | 0.4104 |
| Recall@1 | 0.3065 |
| Recall@5 | 0.5176 |
| Recall@10 | 0.6427 |
| MRR@10 | 0.3983 |
For comparison, the off-the-shelf Qwen3-Embedding-0.6B base scores MRR 0.0569 on
the same benchmark. See the paper for the full comparison against other embedding
models and for the Signsrch algorithm-constant association results.
Seed robustness. Follow-up runs reproduced the fine-tuning with two random seeds under a smaller-batch regime (256 in-batch negatives) and landed within about 0.001 MRR of each other (0.3548 and 0.3559), indicating the result is not sensitive to the random seed. These reduced-batch scores sit a few points below the batch-512 numbers reported above, which are the paper's headline configuration and the weights released here.
Limitations
- Trained on x86-64 ELF/PE functions compiled from the Assemblage corpus; behavior on other architectures, languages, or decompilers (the training used pseudo-C decompilation) may differ.
- Very long functions are truncated at 2048 tokens.
- The model is a retrieval / similarity model, not a generative one.
Citation
@article{wolos2026ifce,
title = {Identifier-Free Code Embedding Models for Scalable Search},
author = {Wolos, Eric and Doyle, Michael},
journal = {arXiv preprint arXiv:2605.05251},
year = {2026}
}
License
Released under Apache-2.0, consistent with the base model Qwen/Qwen3-Embedding-0.6B. Developed by The MITRE Corporation.