EU AI Act Article 50 — 20 days to seal | Get passport
🐉

Mava Reward Function Inspector

Interactive RL reward tuning for DEFONEOS drone swarm — 34 functions, live behavioral prediction

INTERACTIVE CORE_DEMO
ISR Reconnaissance
Swarm Formation
C2 Relay
Search & Rescue
CBRN Detection
Perimeter Patrol

🎛️ Reward Function Weights

Core Mission Rewards

80
70
60
75

Formation & Coordination

65
95
55
50

Safety & Compliance

100
90
100
85
70

Energy & Efficiency

60
55
40
45

📊 Live Behavioral Prediction

Predicted Swarm Behavior Profile

Based on current reward weights, the trained policy will exhibit:

Aggressiveness
Medium
Risk Taking
Low
Cohesion
High
Coverage
Medium
Endurance
Medium
Safety Score
High

Reward Function Detail

Training Metrics Projection

MetricPredictedBaseline
Convergence (episodes)~1.8M2.05M
Final Reward-12.3-15.1
Success Rate87%82%
Collision Rate0.3%0.8%
Mission Time4.2 min5.1 min
Battery at RTB28%22%

⚠️ Reward Hacking Warnings

📋 Reward Function Catalog (34)

R1: Target Acquisition
r = α · 1[target_in_FOV] + β · 1[target_classified]
Positive reward when a target enters the drone's field of view and is classified by YOLOv8
R2: Area Coverage
r = γ · |new_cells_covered| / |total_cells|
Rewards exploring new grid cells on the operational map
R3: Formation Cohesion
r = -δ · Σ|pi - pcentroid|²
Penalises drones straying from the formation centroid
R4: Collision Avoidance
r = -ε · Σ 1[d_ij < d_safe]
Heavy penalty for inter-drone proximity violations
R5: Geofence Compliance
r = -ζ · 1[outside_geofence] · 100
Massive penalty for leaving the operational geofence
R6: Energy Efficiency
r = η · (1 - ΔE / ΔE_max)
Rewards energy-efficient flight paths
R7: Comm Relay
r = θ · 1[link_quality > threshold]
Rewards maintaining communication link quality
R8: ISR Dwell
r = ι · min(t_dwell, t_max) / t_max
Rewards dwelling over targets for ISR data collection
R9: Battery Reserve
r = -κ · 1[battery < 20%]
Penalises low battery states to encourage RTB
R10: Altitude Limit
r = -λ · 1[alt > alt_max or alt < alt_min]
Penalises altitude violations per airspace regs
R11-R17: Scenario-specific
Per-scenario reward shaping
SAR pattern search, CBRN plume tracking, perimeter sweep, C2 relay mesh, etc.
R18-R34: Safety + efficiency
Multi-objective shaping terms
No-fly zone, wind compensation, speed limits, path optimisation, RTB timing, etc.