Luke Hollis commited on
Commit
d742d8a
ยท
1 Parent(s): fd3af74

Add MARL Infiltration Risk Assessment Model and dataset ๐Ÿ“Š๐Ÿค–

Browse files
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MARL Infiltration Risk Assessment Model
2
+
3
+ A Multi-Agent Reinforcement Learning (MARL) model for infiltration risk assessment in security scenarios.
4
+
5
+ [Preview](https://app.isildur.co)
6
+
7
+ - **Multi-agent architecture**: Defender and adversary agents
8
+ - **Enhanced Data**: Synthetic scenarios LLM-enhanced (should be real historical data for production use)
9
+ - **Features**: Terrain, weather, target types, infiltration methods, and countermeasures, etc
10
+
11
+
12
+ ![Training Metrics](images/training_metrics.png)
13
+
14
+ - **Python**: 3.8+
15
+ - **Dependencies**: PyTorch 2.0+, NumPy, Matplotlib
16
+ - **Hardware**: CPU compatible, GPU recommended
17
+
18
+ ## Citation
19
+
20
+ ```
21
+ @software{marl_infiltration_risk_model,
22
+ author = {Isildur},
23
+ title = {MARL Infiltration Mission Risk Assessment Model},
24
+ year = {2025},
25
+ url = {https://huggingface.co/spatial-ai/marl-infiltration-risk}
26
+ }
27
+ ```
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "MARL Infiltration Risk Assessment Model",
3
+ "version": "1.0.0",
4
+ "date": "2025-03-26",
5
+ "architecture": {
6
+ "type": "multi_agent_reinforcement_learning",
7
+ "agents": ["defender", "adversary"],
8
+ "state_dim": 40,
9
+ "action_dim": 10,
10
+ "hidden_dim": 128
11
+ },
12
+ "training": {
13
+ "dataset_size": 20000,
14
+ "llm_enhanced_examples": 1000,
15
+ "llm_model": "deepseek-r1-distill-llama-70b-specdec",
16
+ "epochs": 100,
17
+ "batch_size": 32,
18
+ "learning_rate": 0.001,
19
+ "final_metrics": {
20
+ "defender_accuracy": 0.72,
21
+ "adversary_accuracy": 0.73,
22
+ "defender_loss": 0.93,
23
+ "adversary_loss": 0.91
24
+ }
25
+ },
26
+ "features": {
27
+ "terrain_types": ["urban", "mountain", "coastal", "desert", "forest"],
28
+ "weather_conditions": ["clear", "cloudy", "rain", "fog", "sandstorm", "snow"],
29
+ "target_types": ["military", "industrial", "infrastructure", "government", "civilian"],
30
+ "infiltration_methods": ["ground", "aerial", "maritime", "underground", "cyber"],
31
+ "equipment_options": [
32
+ "night_vision", "thermal_imaging", "communication_devices", "weapons",
33
+ "explosives", "hacking_tools", "climbing_gear", "diving_gear", "disguises",
34
+ "drones", "vehicles", "signal_jammers"
35
+ ],
36
+ "countermeasure_options": [
37
+ "guards", "cameras", "motion_sensors", "alarms", "barriers", "biometric_access",
38
+ "patrols", "drones", "dogs", "facial_recognition", "signal_jammers"
39
+ ]
40
+ },
41
+ "formats": {
42
+ "pytorch": "model.pt",
43
+ "onnx": "model.onnx"
44
+ },
45
+ "license": "MIT",
46
+ "repository": "https://huggingface.co/spatial-ai/marl-infiltration-risk"
47
+ }
datasets/infiltration_scenarios_20250326_182522.json ADDED
The diff for this file is too large to render. See raw diff
 
datasets/infiltration_training_20250326_182522.json ADDED
The diff for this file is too large to render. See raw diff
 
images/.DS_Store ADDED
Binary file (6.15 kB). View file
 
images/training_metrics.png ADDED
model/.DS_Store ADDED
Binary file (6.15 kB). View file
 
model/marl_20250326_192758/adversary.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48440f464c15bdf045b89b30e76abd81c9a0fd234f8f797318d24d874cdf2cd3
3
+ size 89948086
model/marl_20250326_192758/config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "marl_world_model_20250326_192758",
3
+ "version": "1.0",
4
+ "created_at": "2025-03-26T19:27:59.105505",
5
+ "model_type": "MARL",
6
+ "architecture": {
7
+ "state_dim": 45,
8
+ "action_dim": 16,
9
+ "hidden_dim": 1024
10
+ },
11
+ "files": {
12
+ "pytorch_model": "model.pt",
13
+ "defender_onnx": "defender.onnx",
14
+ "adversary_onnx": "adversary.onnx"
15
+ },
16
+ "source": {
17
+ "original_model": "marl_model_20250326_192235.pt"
18
+ }
19
+ }
model/marl_20250326_192758/defender.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e051763c8eb6a1f7be5dbbd9a9283eec8c71397df0de04630de513d16dc90ac
3
+ size 89948076
model/marl_20250326_192758/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a445884178ff400cb2b6be9634311d9de7ca0d020df8792e5be366de94b1b2d
3
+ size 260008516