Model Card for cisco-ai/SecureBERT2.0-cross-encoder
The
SecureBERT 2.0 Cross-Encoder
is a cybersecurity domain-specific model fine-tuned from
SecureBERT 2.0
.
It computes
pairwise similarity scores
between two texts, enabling use in
text reranking, semantic search, and cybersecurity intelligence retrieval
tasks.
Model Details
Model Description
Developed by:
Cisco AI
Model type:
Cross Encoder (Sentence Similarity)
Architecture:
ModernBERT (fine-tuned via Sentence Transformers)
Generic text similarity outside the cybersecurity domain
Tasks requiring generative reasoning or open-domain question answering
Bias, Risks, and Limitations
The model reflects the distribution of cybersecurity-related data used during fine-tuning.
Potential risks include:
Overrepresentation of specific malware, technologies, or threat actors
Bias toward technical English sources
Reduced performance on non-English or mixed technical/natural text
Recommendations
Users should evaluate results for domain alignment and combine with other retrieval models or heuristic filters when applied to non-cybersecurity contexts.
How to Get Started with the Model
Using the Sentence Transformers API
Install dependencies
pip install -U sentence-transformers
Run Inference
from sentence_transformers import CrossEncoder
# Load the model
model = CrossEncoder("cisco-ai/SecureBERT2.0-cross-encoder")
# Example pairs
pairs = [
["How does Stealc malware extract browser data?",
"Stealc uses Sqlite3 DLL to query browser databases and retrieve cookies, passwords, and history."],
["Best practices for post-acquisition cybersecurity integration?",
"Conduct security assessment, align policies, integrate security technologies, and train employees."],
]
# Compute similarity scores
scores = model.predict(pairs)
print(scores)
The evaluation was performed on a
held-out test set
of cybersecurity-related question–answer pairs and document retrieval tasks.
Data includes:
Threat intelligence descriptions and related advisories
Exploit procedure and mitigation text pairs
Cybersecurity Q&A and incident analysis examples
Factors
Evaluation considered multiple aspects of similarity and relevance:
Domain diversity:
different cybersecurity subfields (malware, vulnerabilities, network defense)
Task diversity:
retrieval, reranking, and relevance scoring
Pair length:
from short queries to long technical documents
Metrics
The model was evaluated using standard information retrieval metrics:
Mean Average Precision (mAP):
measures ranking precision across all retrieved results
Recall@1 (R@1):
measures the proportion of correct top-1 matches
Normalized Discounted Cumulative Gain (NDCG@10):
evaluates ranking quality up to the 10th result
Mean Reciprocal Rank (MRR@10):
assesses the average rank position of the first correct answer
Results
Model
mAP
R@1
NDCG@10
MRR@10
ms-marco-TinyBERT-L2
0.920
0.849
0.964
0.955
SecureBERT 2.0 Cross-Encoder
0.955
0.948
0.986
0.983
Summary
The
SecureBERT 2.0 Cross-Encoder
achieves
state-of-the-art retrieval and ranking performance
on cybersecurity text similarity tasks.
Compared to the general-purpose
ms-marco-TinyBERT-L2
baseline:
It improves
mAP
by +0.035
Achieves nearly perfect
R@1
and
MRR@10
, indicating highly accurate top-1 retrieval
Shows the strongest
NDCG@10
, reflecting excellent ranking quality across top results
These results confirm that
domain-specific pretraining and fine-tuning
substantially enhance semantic understanding and information retrieval capabilities in cybersecurity applications.
Cite:
Bibtex
@article{aghaei2025securebert,
title={SecureBERT 2.0: Advanced Language Model for Cybersecurity Intelligence},
author={Aghaei, Ehsan and Jain, Sarthak and Arun, Prashanth and Sambamoorthy, Arjun},
journal={arXiv preprint arXiv:2510.00240},
year={2025}
}
SecureBERT2.0-cross_encoder huggingface.co is an AI model on huggingface.co that provides SecureBERT2.0-cross_encoder's model effect (), which can be used instantly with this cisco-ai SecureBERT2.0-cross_encoder model. huggingface.co supports a free trial of the SecureBERT2.0-cross_encoder model, and also provides paid use of the SecureBERT2.0-cross_encoder. Support call SecureBERT2.0-cross_encoder model through api, including Node.js, Python, http.
SecureBERT2.0-cross_encoder huggingface.co is an online trial and call api platform, which integrates SecureBERT2.0-cross_encoder's modeling effects, including api services, and provides a free online trial of SecureBERT2.0-cross_encoder, you can try SecureBERT2.0-cross_encoder online for free by clicking the link below.
cisco-ai SecureBERT2.0-cross_encoder online free url in huggingface.co:
SecureBERT2.0-cross_encoder is an open source model from GitHub that offers a free installation service, and any user can find SecureBERT2.0-cross_encoder on GitHub to install. At the same time, huggingface.co provides the effect of SecureBERT2.0-cross_encoder install, users can directly use SecureBERT2.0-cross_encoder installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
SecureBERT2.0-cross_encoder install url in huggingface.co: