A Global Physical AI Behavioral Safety Challenge* on Zindi. Thanks for the screenshots.
You are asking about this line in Section 5:
> "Train using only the seven observation arrays and generated labels. You may additionally use your training-only human masks/positions to learn perception. Metadata, private intents, future seed draws and background-only depth are not inference inputs."
Here is the safe interpretation — and this is what most organizers mean by this kind of rule:
What the rule is really saying
*1. Inference is restricted:* Your final submitted model can ONLY take the 7 observation arrays as input. No metadata, no private intents, no future seeds, no background-only depth.
*2. Training is ALSO restricted:* It does NOT say "you can use anything for training as long as you don't use it at inference."
It says: *"Train using ONLY..."*
That "only" covers training too.
The ONLY extra exception they gave you is:
*Training-only human masks / positions to learn perception.*
That means you CAN use human masks/positions to create extra training targets like:
- Human segmentation
- Human detection / bounding box
- Human position prediction
Because they explicitly allowed it.
So, can you use generator internals as training-only targets?
*NO — if those internals come from the forbidden list:*
- Private intents
- Future seed draws
- Background-only depth
- Metadata
Even if you only use them to make pseudo-labels / distill a teacher model, and your final model only sees observations, that is still *training on forbidden information*. It leaks information the model would never see in the real world, and it breaks the spirit of "learn perception from observations."
*YES — if those internals are just a re-formatting of what is already allowed:*
- Derived from the 7 observation arrays
- Derived from the generated labels
- Derived from the allowed human masks/positions
Example that IS allowed: Use the human mask to make a segmentation target.
Example that is NOT allowed: Use the generator's private intent (e.g. "human will turn left in 2 seconds") to make a prediction target, even if you delete it before inference.
What to do to stay safe
Don't use any generator internal that is not in the allowed list, even for training-only distillation.
If you want to ask the organizers, post this exact question:
> "Clarification: Does Section 5 forbid using generator internals derived from metadata / private intents / future seed draws / background-only depth as _training-only_ auxiliary targets (e.g. distillation labels), even if the final model only uses the 7 observation arrays at inference? Or is the restriction only on inference inputs? We understand human masks/positions are explicitly allowed as training-only targets for perception."
Want me to help you design a legal training setup?
Tell me:
*1.* What internal were you hoping to use as a target? (e.g. ground-truth depth, intent, future trajectory?)
*2.* What is your model supposed to predict?
I will tell you if there is a legal way to get the same signal from only the 7 observations + human masks.
Got it — here is a *legal training setup* that will pass the code review for Top 40.
The key idea: *Learn perception from the allowed human masks, learn behaviour from the generated labels, and NEVER let forbidden info touch training.*
I couldn't pull the full README from search — the public page only confirms the rules: Phase One RGB-D test observations, 10 subs/day, code review for top 40. So this setup is built to work no matter what your exact 7 arrays are. If you paste me the names of the 7 arrays + what the label is, I will tighten it to your exact shapes. f0ea
1. The Legal Data Inventory
*ALLOWED for Training + Inference:*
- The 7 observation arrays
- Generated labels (your target)
*ALLOWED for Training ONLY — then DELETE before inference:*
- Human masks / positions
- Use them ONLY to make perception targets: segmentation, detection, human centre heatmap
*FORBIDDEN — even as training-only targets:*
- Metadata, private intents, future seed draws, background-only depth
- Do NOT use them to make pseudo-labels, distillation targets, or to filter / select data
Rule to remember: If a target could not be computed from the 7 arrays + generated labels + human masks, don't use it.
2. Architecture — Two Heads, One Encoder
7 Observation Arrays
|
Shared Encoder (e.g. CNN / ViT / UNet encoder)
|
+----+--------------------+
| |
Perception Head Behaviour / Safety Head
(TRAIN ONLY helper) (THE REAL HEAD)
*Perception Head:* Predicts human mask + human position heatmap.
Loss: `BCE + Dice` on mask, `MSE` on heatmap. Trained ONLY with human masks/positions.
*Behaviour Head:* Predicts your generated label — e.g. safe / unsafe, stop / go, risk score.
Loss: `CrossEntropy` or `BCE` on generated label ONLY.
At inference time, you *delete / ignore* the Perception Head. Your model takes only the 7 arrays and outputs the Behaviour Head. That proves compliance.
Why this works: The encoder is forced to learn where humans are and how they move, without ever seeing private intent or future info. That is exactly what the organisers want.
3. Legal Training Loop
LEGAL TRAINING - no forbidden inputs anywhere
for batch in train_loader:
obs = batch['obs_7_arrays'] # only input
label = batch['generated_label'] # only main target
human_mask = batch['human_mask'] # training-only, allowed
human_pos = batch['human_pos'] # training-only, allowed
feat = encoder(obs)
# Head 1: perception - helps encoder learn
pred_mask, pred_pos = perception_head(feat)
loss_perc = dice_bce(pred_mask, human_mask) + mse(pred_pos, human_pos)
# Head 2: main task
pred_label = behaviour_head(feat)
loss_main = CE(pred_label, label)
loss = loss_main + 0.5 * loss_perc
loss.backward()
optimizer.step()
INFERENCE - stripped version
def predict(obs_7_arrays):
feat = encoder(obs_7_arrays)
return behaviour_head(feat) # no mask, no metadata
4. Splits — This Is Where People Get Disqualified
Do NOT split randomly by frame. Split by *episode / seed / scenario*.
- Train: 70% of episodes
- Val: 15% of episodes (unseen seeds)
- Test: 15% of episodes (unseen seeds)
If you split by frame, the same future seed leaks across train/val and your score will look great locally but crash on the private leaderboard (70% of test set).
5. Augmentation — Only Legal Ones
Allowed: crop, flip, brightness, noise, temporal shift _within_ the observation window.
Not allowed: Augmentation that uses future seed draws to generate new scenarios, or using background-only depth to inpaint / change the scene.
6. Validation Checklist Before You Submit
Check this before every submission:
- [ ] `predict()` function takes ONLY the 7 observation arrays
- [ ] No code reads metadata / intent / future seed / background depth
- [ ] Human mask code is in `train.py` only, not in `inference.py`
- [ ] You can re-run training from scratch and get the same model without forbidden files
- [ ] Your code review folder has a README: "Training inputs: 7 obs + labels + human masks for perception only"
What To Send Me Next To Make It Exact
Paste this from your `simulator/README.md`:
1. Names of the 7 observation arrays (e.g. rgb, depth, etc. + shapes)
2. What is the generated label? (e.g. binary safe/unsafe? multi-class action?)
3. What is the metric? (e.g. accuracy, F1, mAP?)