Training and simulation
Rehearse on a digital twin of the terrain, and generate synthetic images so detectors have seen monsoon weather.
A staff ride that needs a clear day and a free range can be postponed for months. A detector trained on dry-season photographs fails in rain, fog and standing water, which is the weather it will actually see. This lab builds two training aids: a terrain twin for rehearsal, and a set of synthetic images so a detector learns monsoon conditions. Both are for training. Neither aims a weapon or produces a firing solution. The principles keep the platform on that side of the line.
A terrain twin for rehearsal
The twin is a map with elevation, the road graph from the logistics lab, water, and the positions the exercise controller places. It is built from data the force may use for training: its own survey, and published elevation and imagery of the training area.
What a rehearsal needs from it:
| Layer | Used for |
|---|---|
| Elevation and slope | Whether a route is walkable or drivable |
| Roads, ferries, bridges, with the class and the seasonal state | The same graph the supply router uses |
| Water and flood depth, when the exercise says so | A route that existed yesterday and does not today |
| Unit positions the controller entered | The picture the students see |
| Time and weather the controller set | Visibility and the monsoon attributes below |
Students plan on the twin. The controller changes a bridge to closed or raises a flood layer, and the students replan. The twin records the plan they submitted and the state of the map at that moment, so an after-action review plays the same ground rather than a remembered one.
Serve the twin as ordinary map tiles and a feature service on OpenShift. Heavy tiles can live on object storage (ObjectScale or the in-cluster store). A game engine is optional and is not required to get value from the twin. The value is a shared, replayable ground truth for the exercise.
Keep exercise data labelled exercise: true so it never enters an operational index by accident. A fictional unit position that leaks into the live common picture is a safety problem, not a software quirk.
Synthetic images for monsoon weather
Detectors in the ISR lab are asked to mark vehicles, roads and standing water. If every training photo was taken in sun, the detector's errors in rain are predictable. Collecting a labelled monsoon set by waiting for weather is slow. Synthesising the weather on images you already have is the practical addition.
- Start from labelled images you have the right to use. Labels are boxes or regions for vehicle, road and standing water, made by a person.
- Generate monsoon variants of those images: heavy rain, low cloud, glare on wet roads, mud, fog. Use a generation model you have mirrored and reviewed, or a classical augmentation pipeline (blur, haze, darkening, reflections) when you want the label to stay exactly valid. Classical augmentation keeps the box coordinates true. Generative restyling can move an object, so a person re-checks the box or you discard the frame.
- Hold out a set of real monsoon images that the generator never saw. That hold-out is the only score that counts. A detector that improves on synthetic rain and is unchanged on real rain has memorised the generator.
- Train on the GPU workbenches of the sovereign platform. Version the set, the generator and the weights together, so a later exercise knows what the detector was shown.
The detector's output in training is a box on an image in the twin or in a playback. An instructor confirms it. The weights are not loaded into an operational sensor by this lab's pipeline. Promoting a model into the ISR review queue is a separate, signed decision, with the real-weather hold-out attached.
What to measure
For the twin: can a student complete a replanned route after the controller closes a bridge, and does the after-action replay match what they saw? For the detector: on the real monsoon hold-out, how often a vehicle, a road and standing water are found, compared with the same detector trained without the synthetic set. Publish both numbers from your hold-out. A vendor's weather demo is not your hold-out.
Controller workflow
A rehearsal is a sequence, not a tile service.
- Load the district graph. Every segment starts
open. The dataset is markedexercise: true. - Students submit a route. Store it with the graph version and the clock.
- The controller closes one bridge or raises the flood layer.
- Students submit again. The twin rejects a route that still uses the closed segment.
- The after-action view plays both submissions against the state at that moment.
assert closed_segment not in second_route
assert record["exercise"] is True
assert record["graph_version"] == current_version
A twin that draws a closed bridge and still accepts the old route teaches the wrong lesson. Fix the check before you add weather.
Detector checks
| What you see | What to change |
|---|---|
| Synthetic rain scores rise, real monsoon scores do not | The hold-out is the score that counts. The generator's look became the feature |
| Boxes no longer sit on the vehicle after a restyle | Use classical augmentation, or have a person relabel |
| An exercise unit shows on a live map | exercise was not a query filter |
| The road layer disagrees with logistics | One graph, two views. Do not keep a second copy in the twin |
Keep dataset_id, generator, holdout_id and the exercise flag beside the checkpoint. A promotion onto the ISR review queue is a separate signed step, and a checkpoint without a hold-out id is not a candidate.
The workbench that trains has a GPU and no default route. Tiles and images live on object storage. The generator and the starting weights are images you have already mirrored.
Files in the exercise record
Keep enough to replay the hour.
- Graph version and which segments were
closedat each submission. - The routes the students submitted, and whether the twin accepted them.
- The controller's user id and the clock.
exercise: trueon every object, checked by a query that the live logistics graph rejects.- For a detector run: dataset id, generator id, hold-out id, and the real-weather scores beside the synthetic ones.
An after-action review that cannot open those files is a slideshow. The twin's job is to make the review about the ground the students had, which you can only do if you stored it.
What's next
- Surveillance and ISR: where a detector that survives the hold-out is allowed to propose marks.
- Disaster response: the flood layer the twin and the live relief map share.
- Logistics and maintenance: the road graph both labs write to.