/ Модель

Характеристики

Контекст
32 768 токенов
Параметры
508 млн
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-Embedding-0.6B
Библиотека
sentence-transformers
Опубликована
15 окт 2026

BUSTA-IFCE-Qwen3-0.6B

ЭмбеддингиТекст → embedding3 профессии
123скачиваний за 30 дней2лайкавеса обновлены26 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Модель создаёт эмбеддинги кода для поиска и сопоставления исходных функций с декомпилированными, даже когда имена идентификаторов удалены.

BUSTA-IFCE-Qwen3-0.6B — текстовая модель эмбеддингов, разработанная Эриком Волосом и Майклом Дойлом из The MITRE Corporation. Она дообучена на Qwen/Qwen3-Embedding-0.6B для поиска функций в пространстве эмбеддингов по их поведению, даже если имена идентификаторов удалены или отличаются. Основной сценарий — сопоставление исходного кода с декомпилированными функциями и обратный поиск; модель также подходит для поиска похожих фрагментов кода, когда имена ненадёжны.

Модель использует плотную архитектуру Qwen3, содержит около 507,6 млн параметров и создаёт эмбеддинги размерности 1024. Заявленный максимальный контекст — 32 768 токенов, однако README указывает, что функции длиннее 2048 токенов обрезаются. Для поиска по коду авторы сообщают MRR 0,4104 на бенчмарке Assemblage. Модель не генерирует текст; её веса распространяются по лицензии Apache-2.0.

Сценарии применения

  • поиск исходной функции по её декомпилированной версии
  • поиск декомпилированной функции по исходному коду
  • ранжирование кандидатов на соответствие функции из бинарного файла
  • поиск похожих функций кода при удалённых или ненадёжных именах

Ограничения

Обучение проводилось на функциях x86-64 ELF/PE из Assemblage с псевдо-C декомпиляцией, поэтому качество на других архитектурах, языках и декомпиляторах может отличаться. README сообщает об обрезке функций длиннее 2048 токенов; модель предназначена для поиска и сходства, а не для генерации.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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.

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 modelQwen/Qwen3-Embedding-0.6B
Parameters~0.6B
Embedding dimension1024
Max sequence length2048 tokens
TaskDecompiled <-> source code retrieval
SimilarityCosine (embeddings are L2-normalized)
LicenseApache-2.0

Performance

Function retrieval accuracy (MRR) on the Assemblage benchmark

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):

MetricValue
MRR0.4104
Recall@10.3065
Recall@50.5176
Recall@100.6427
MRR@100.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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · sentence-transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3Model
Ревизия весов
785522b

0 моделей