/ Модель

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

Контекст
514 токенов
Параметры
152 млн
Лицензия
CC BY-NC 4.0
Архитектура
roberta · dense
Базовая модель
DarkBERT
Библиотека
transformers
Опубликована
15 авг 2024

DarkBERT-finetuned-ner

Разметка токеновТекст → label3 профессии

Модель на базе DarkBERT извлекает сущности VERIS из англоязычных описаний киберинцидентов для анализа угроз и структурирования отчетов.

14скачиваний за 30 дней5лайковвеса обновлены8 сен 2024

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

guidobenb/DarkBERT-finetuned-ner — англоязычная модель распознавания именованных сущностей для анализа описаний киберинцидентов. Она разработана на базе s2w-ai/DarkBERT и дообучена на данных VCDB в формате VERIS; архитектура — RoBERTa для классификации токенов, около 151,8 млн параметров, контекст — до 514 токенов.

Модель предназначена для извлечения сущностей категорий VERIS 4A: участников инцидента, активов, действий и атрибутов. Её можно применять для структурирования отчетов об инцидентах, сбора данных киберразведки и анализа открытых сведений об утечках, вторжениях, вредоносном ПО и DDoS-атаках. В опубликованной оценке F1 составляет 0,5014, precision — 0,4628, recall — 0,5470, поэтому результаты требуют проверки и могут пропускать или неверно размечать сущности.

Модель распространяется по лицензии CC BY-NC 4.0, которая ограничивает коммерческое использование. Исходная модель DarkBERT предварительно обучена на текстах даркнета, а обучающие данные этой версии происходят из публичной базы инцидентов VCDB.

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

  • извлечение участников, активов, действий и атрибутов из отчетов о киберинцидентах
  • структурирование описаний утечек данных для базы инцидентов
  • разметка сведений о вторжениях и атаках вредоносного ПО
  • извлечение сущностей из отчетов о DDoS-атаках
  • подготовка данных для анализа тенденций киберинцидентов

Ограничения

На оценочном наборе F1 составляет 0,5014, поэтому точность извлечения сущностей ограничена и результаты следует проверять. Лицензия CC BY-NC 4.0 запрещает коммерческое использование.

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

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

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

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

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

Открыть на Hugging Face

DarkBERT-finetuned-ner

This model is a fine-tuned version of s2w-ai/DarkBERT on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.6416
  • Precision: 0.4628
  • Recall: 0.5470
  • F1: 0.5014
  • Accuracy: 0.8901

Model description

VERISBERTA is an advanced language model designed to improve threat intelligence analysis in the field of critical infrastructures. He specializes in interpreting security incident narratives, using domain-specific vocabulary when trained with real incident data extracted from Verizon's cybersecurity incident database.

This model is based on the darkBERT model and has been fine-tuned with data from VCDB to identify key entities and terms. VERISBERTA aims to be a useful tool for cybersecurity professionals, facilitating the collection and analysis of critical threat intelligence data in critical infrastructures.

Intended uses & limitations

A machine learning model has been developed for the classification and identification of named entities (NER) in the context of cybersecurity incidents, using the VERIS vocabulary (Vocabulary for Event Recording and Incident Sharing) and its 4A categories (actor, asset, action and attribute). The model is based on the BERT architecture and has been pre-trained on a corpus prepared especially for this work with narratives extracted from VCDB, which allows it to better understand the VERIS language and the characteristics of this environment. The model has demonstrated good performance in the evaluation tasks, reaching an Accuracy of 0.88.

Future lines of work

Different techniques can be explored to improve the performance of the NER model, such as the use of more advanced text preprocessing techniques or the incorporation of other machine learning models. The VERIS vocabulary can be expanded to include new named entities relevant to the analysis of cybersecurity incidents. The capabilities of the model can be extended with new tasks such as text-classification to identify types of CIA attributes in incident narratives by analyzing other models available in HF that are more specific to this type of problem.

Training and evaluation data

The VCDB is a free, public repository of publicly disclosed security incidents encoded in VERIS format. The dataset contains information on a wide range of incidents, including malware attacks, intrusions, data breaches, and denial-of-service (DoS) attacks, and a wide range of real-world security incidents, which can help CIT teams better understand current and emerging threats. The VCDB can be used to analyze trends in security incidents, such as the most common types of attacks, threat actors, and target sectors. It can also be used to train threat intelligence models that can help identify and prevent security incidents, which is the purpose of this paper.

Training procedure

trainer = Trainer( model, args, train_dataset=tokenized_datasets["train"], eval_dataset=tokenized_datasets["test"], data_collator=data_collator, tokenizer=tokenizer, compute_metrics=compute_metrics ) trainer.train()

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0002
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 16
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 10

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
No log1.01110.39330.35630.43370.39120.8726
No log2.02220.34910.43450.56720.49210.8886
No log3.03330.39910.42840.54050.47800.8795
No log4.04440.39690.45650.57970.51080.8877
0.27445.05550.42760.47370.56900.51700.8887
0.27446.06660.52370.49180.56370.52530.8862
0.27447.07770.54720.48550.55030.51590.8877
0.27448.08880.63190.45810.56990.50790.8855
0.27449.09990.65110.49010.57440.52890.8901
0.062710.011100.67580.49000.56810.52620.8899

Framework versions

  • Transformers 4.42.4
  • Pytorch 2.3.1+cu121
  • Datasets 2.21.0
  • Tokenizers 0.19.1

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
RobertaForTokenClassification
Ревизия весов
45bc087

0 моделей