File size: 6,623 Bytes
4718e19 508f4b5 4718e19 6124ffa 508f4b5 6124ffa 508f4b5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 | ---
license: other
license_name: brsx-open-license
license_link: https://brsxlabs.gt.tc/brsxlicense.html
tags:
- cyber
- hybrid
---
# ShadowCore-v2

Symbolic Network Risk Intelligence
## Overview
ShadowCore-v2 is an 83.92M parameter hybrid neural architecture designed for symbolic network risk classification.
The model analyzes fixed-length sequences of network events and predicts a risk score between 0 and 9, representing increasing levels of network instability, degradation, and failure severity.
ShadowCore-v2 is the successor to ShadowCore-v1 and introduces a significantly expanded token vocabulary, a larger output space, and richer representation of network behavior while maintaining greater than 90% training accuracy.
Developed by BRSX-Labs.
---
# Highlights
* 83.92M Parameters
* CNN + GRU + Transformer + Mamba-like Hybrid Architecture
* 11 Symbolic Network Event Tokens
* 10 Risk Classes (0-9)
* Context Length: 64 Tokens
* Global Sequence-Level Classification
* > 90% Training Accuracy
* Supports Recovery-Aware Risk Estimation
---
# What's New in ShadowCore-v2
## Expanded Vocabulary
ShadowCore-v1 used only four symbolic events:
```text
U
D
+
-
```
ShadowCore-v2 expands the vocabulary to eleven network events:
```text
U
D
+
-
J
R
L
T
C
H
F
```
This allows the model to represent more realistic network conditions and failure scenarios.
---
## Expanded Output Space
ShadowCore-v1:
```text
3 Risk Classes
```
ShadowCore-v2:
```text
10 Risk Classes
(0-9)
```
This enables finer anomaly severity estimation and more granular decision making.
---
## Improved Network Awareness
ShadowCore-v2 introduces explicit representation of:
* Packet Loss
* Retransmissions
* Jitter
* Connection Resets
* Timeouts
* Recovery Events
* Traffic Bursts
which were not available in ShadowCore-v1.
---
# Token Definitions
```text
U = Upload Increase
D = Download Increase
+ = Latency Increase
- = Latency Decrease
J = Jitter
R = Retransmission
L = Packet Loss
T = Timeout
C = Connection Reset
H = Recovery
F = Flow Burst
```
---
# Token Interpretation
```text
Low Risk
H = Recovery
U = Upload Increase
D = Download Increase
- = Latency Decrease
Moderate Risk
+ = Latency Increase
F = Flow Burst
High Risk
J = Jitter
R = Retransmission
Critical Risk
L = Packet Loss
T = Timeout
C = Connection Reset
```
Actual predictions depend on the entire sequence and not on individual token presence.
---
# Risk Scale
```text
0 = Healthy
1 = Normal Operation
2 = Minor Variation
3 = Low Risk Anomaly
4 = Moderate Risk
5 = Elevated Risk
6 = Significant Risk
7 = Severe Risk
8 = Critical Risk
9 = Extreme Risk / Failure State
```
---
# Architecture
ShadowCore-v2 uses four specialized experts operating in parallel.
```text
Input
β
Embedding
β
βββββββββββββββββ
β CNN Expert β
βββββββββββββββββ€
β GRU Expert β
βββββββββββββββββ€
β Transformer β
βββββββββββββββββ€
β Mamba Expert β
βββββββββββββββββ
β
Fusion
β
Global Pooling
β
Classifier
β
Risk Score
```
---
# Embedding Layer
```text
Vocabulary Size : 11
Dimension : 512
```
All symbolic tokens are projected into a shared embedding space before expert processing.
---
# CNN Expert
Purpose:
* Local pattern extraction
* Burst detection
* Short-term event relationships
Configuration:
```text
Blocks : 7
Channels : 960
Kernel : 3
```
---
# GRU Expert
Purpose:
* Sequential modeling
* Temporal event tracking
Configuration:
```text
Hidden Size : 960
Layers : 4
```
---
# Transformer Expert
Purpose:
* Long-range dependencies
* Global context understanding
Configuration:
```text
Layers : 6
Heads : 8
Feedforward : 2048
Dropout : 0.1
```
---
# Mamba-like Expert
Purpose:
* Efficient state-space sequence modeling
* Long-context compression
Configuration:
```text
Layers : 10
State Dim : 1408
```
---
# Fusion Layer
Outputs from all experts are concatenated and fused.
```text
CNN
+
GRU
+
Transformer
+
Mamba
β
Linear Fusion
β
LayerNorm
β
GELU
```
---
# Classification Head
```text
Global Mean Pooling
β
Linear(512)
β
GELU
β
Linear(10)
```
Final output:
```text
Risk Score
0-9
```
---
# Model Size
```text
Total Parameters
83.92 Million
```
---
# Training Configuration
```text
Optimizer : AdamW
Learning Rate : 1e-4
Batch Size : 64
Epochs : 4
Gradient Clip : 1.0
Checkpoint
Every 1000 Steps
```
---
# Sequence Format
Input length must be exactly 64 tokens.
Example:
```text
UUUDDUUUDDUUUUDDHHHHUUUDD++JJRRLLTTUUUDDUUUDDUUUUDDHHHHUUUDD
```
---
# Benchmark Summary
ShadowCore-v2 maintains greater than 90% training accuracy despite:
```text
Vocabulary Expansion
4 Tokens
β
11 Tokens
Output Expansion
3 Classes
β
10 Classes
```
Observed training results:
```text
Epoch 1 β 90%
Epoch 2 β 92%
Epoch 3 β 92%
Epoch 4 β 92-93%
```
This indicates that the architecture successfully scales to a larger symbolic event space without major degradation in training performance.
---
# Behavioral Evaluation
Observed behavior during manual testing suggests that the model:
* Differentiates Timeout and Connection Reset events.
* Detects increasing failure density.
* Uses intermediate risk levels instead of binary decisions.
* Recognizes Recovery patterns.
* Reacts to escalating anomaly accumulation.
* Produces stable risk estimates for normal traffic sequences.
Example observations:
```text
Healthy Traffic
β Low Risk
Timeout + Recovery
β Reduced Risk
Connection Reset Dominated
β Critical Risk
Mixed Jitter / Loss / Retransmission
β Medium-High Risk
```
---
# Intended Use
ShadowCore-v2 is intended for:
* Network anomaly research
* Symbolic traffic classification
* Risk scoring experiments
* Cybersecurity research
* Educational projects
* Sequence classification studies
---
# Limitations
* Fixed context length of 64 tokens.
* Requires symbolic event encoding.
* Not intended as a production IDS/IPS replacement.
* Training accuracy is not equivalent to real-world deployment performance.
* Requires domain-specific token generation pipelines.
---
# Citation
```text
ShadowCore-v2
83.92M Parameter Hybrid CNN-GRU-Transformer-Mamba
Architecture for Symbolic Network Risk Classification
Developed by BRSX-Labs
2026
```
|