NeurIPS 2026 · Poster

Dynamic Physical Adversarial LED Patterns via Reinforcement Learning

Closed-loop control of a wearable LED array to evade person detectors.

Konstantin Zyryanov Department of Physics, Lomonosov Moscow State University zyryanov.konstantin.sergeevich@gmail.com
Nikita Lotts Faculty of Computer Science, HSE University nklotts@edu.hse.ru
A wearable garment covered in a dense grid of addressable RGB LED panels, mounted on a mannequin with its controller and wiring visible.
The testbed: 39 panels of 16 × 16 RGB LEDs — 9,984 individually addressable diodes.
89.1%
Attack success rate on YOLOv8
84.7%
Attack success rate on Faster R-CNN
86.8%
Attack success rate on RetinaNet
+38–42pp
Over the same policy frozen to one static pattern

Abstract

Physical adversarial attacks today are static. This one is not.

Physical adversarial attacks expose limitations of computer vision systems, but most existing methods rely on static patches or textures. We study closed-loop physical adversarial control, where an agent adapts a programmable emissive actuator using environmental observations and black-box detector feedback during training. We implement this setting using a wearable RGB LED array and Physically Regularized Soft Actor-Critic (PR-SAC) with latent action parameterization. Across YOLOv8, Faster R-CNN and RetinaNet, dynamic PR-SAC achieves attack success rates of 89.1 %, 84.7 % and 86.8 %, outperforming optimized static LED patterns by 38.3–42.1 percentage points. Evaluation in unseen locations shows reduced but substantial attack effectiveness. We further analyze input-processing defenses and persistent training instability, including Q-drift and entropy collapse. Our results highlight the importance of evaluating adaptive physical attacks through direct evasion metrics, environmental generalization and training stability.

Automated person detection is now routine in surveillance, access control and scene monitoring, which raises the question from both sides: how reliable are these systems against perturbations that adapt, and what recourse does someone who has not consented to being tracked actually have? Printed patches, adversarial T-shirts and camouflage textures are all optimized once and then fixed. Light, distance and viewing angle keep changing. The pattern doesn't.

Our question

Can an emissive pattern that adapts to the scene, using only black-box detector feedback, beat a fixed one?

Testbed

A wearable array of 9,984 RGB LEDs

39 × 16²
LED panels of 16 × 16 addressable diodes
29,952
RGB control values — the raw action dimension d
Orange Pi 5 Pro
Drives the LED matrix and the onboard cameras
3 GB GPU
GTX 1060 — training and detector inference
  • Two onboard cameras, front and back, are what the policy observes — sensors, not evaluation cameras.
  • A separate external camera feeds the target detector, so attack performance is measured independently of what the policy sees.

Formulation

The attack as a closed-loop RL problem

Pipeline diagram: the PR-SAC agent produces a latent action, the Orange Pi decodes and upsamples it onto the LED matrix, the physical scene is captured by an external detector camera, the detector returns a confidence, and the reward updates the policy.
Figure 2. The closed loop. PR-SAC emits an action, the controller renders it on the garment, a separate camera captures the scene, and the detector's confidence becomes the reward.
Reward rt = 1 − Cdet(Itdet)
+ λdiv · Var(at)
+ λtemp · ‖at − at−1‖2

The first term drives detector confidence down; the auxiliary terms reward diversity and temporal variation. The whole reward is a stochastic physical composition — rendering, then detection, then measurement noise — which is what makes it non-stationary.

Threat model

Black-box throughout. No gradients, no detector weights, no access to the evaluation camera. Training sees detector confidence and the two onboard cameras; at test time the policy generates patterns from onboard observations alone, with no detector feedback at all.

Section 3.3

Method

PR-SAC: three fixes on top of Soft Actor-Critic

Off-policy RL destabilizes in a physical loop for three reasons: every detector score carries sensor noise, the scene drifts so the Bellman operator becomes time-dependent, and replayed transitions stop matching the current policy. The result is Q-drift, entropy collapse and degradation after the peak. Each fix targets one cause.

1 Smooth

Regularize the actor

Penalize jumps between neighboring LEDs and between consecutive frames, biasing learning toward physically consistent trajectories.

+ λs‖∇LED at‖² + λt‖at − at−1‖²
2 Trust

Down-weight noisy transitions

The critic loss is weighted by the estimated reward variance, so unreliable physical feedback counts for less.

wi = 1 / (ε + σ̂r²(si, ai))
3 Recent

Recency-weighted replay

Stale samples from an older scene are discounted, reducing the mismatch between the replay buffer and the current environment.

ρi = exp(−β(T − ti))

These improve stability in practice. PR-SAC comes with no formal convergence guarantee — the Bellman operator is genuinely time-dependent in this setting. Sections 4.2 and 4.4

Action space

Latent actions tame 29,952 dimensions

Direct LED-level control reaches several thousand dimensions and destabilizes the critic. We act in a small latent space, then decode and upsample deterministically onto the full array.

Latent actionlow-dimensional at
Decodelearned decoder
Structured upsamplingdeterministic
9,984-LED patternrendered on the garment
Final detection confidence — lower is a stronger attack
Direct LED control0.71
Latent action0.60
Latent + structured upsampling0.43

Degradation after the peak falls along with it: 0.19 → 0.18 → 0.13. The upsampling factor itself trades detail for stability — low factors keep high-frequency detail but are unstable, high ones over-smooth, and an intermediate factor is best. Table 1 and Figure 4b, mean over 15 runs

Main result

Adapting beats any fixed pattern

The decisive comparison is PR-SAC (dynamic) against PR-SAC (frozen) — the same trained policy, pinned to a single pattern. The gain comes from adapting, not from the pattern itself.

Table 2. Attack success rate (%), higher is better. Unseen means locations excluded from training.
Method YOLOv8 Faster R-CNN RetinaNet
Clean0.4 ± 0.21.4 ± 0.90.6 ± 0.5
Random LED8.7 ± 3.810.6 ± 4.17.9 ± 3.6
CMA-ES (static)43.5 ± 5.445.1 ± 5.147.8 ± 5.3
Vanilla SAC61.9 ± 6.055.8 ± 6.854.6 ± 6.3
PR-SAC (frozen)50.8 ± 5.942.6 ± 5.546.8 ± 5.4
PR-SAC (random snapshot)22.5 ± 4.920.8 ± 4.515.7 ± 4.3
PR-SAC (dynamic)89.1 ± 4.384.7 ± 5.086.8 ± 3.8
PR-SAC (unseen locations)77.3 ± 5.469.8 ± 5.674.5 ± 5.2
+38.3 / +42.1 / +40.0 pp dynamic over frozen, on YOLOv8 / Faster R-CNN / RetinaNet

Generalization

New locations: weaker, but still strong

Trained policies evaluated without fine-tuning in locations excluded from training — new backgrounds, geometry and illumination. Attack success falls from 89.1 / 84.7 / 86.8 % to 77.3 / 69.8 / 74.5 %, still above every static baseline measured in familiar conditions (≤ 50.8 %).

Detection confidence against camera distance from 1 to 5 metres. Baselines stay near 0.95; under attack, confidence dips to about 0.40–0.47 at 2–3 metres and rises again toward 0.70–0.79 at 5 metres.
Figure 5a. Distance (1–5 m). Strongest at 2–3 m; weaker as the garment shrinks in frame.
Detection confidence against camera angle from 0 to 60 degrees. Baselines stay near 0.92; under attack, confidence rises from about 0.40–0.47 head-on to roughly 0.68–0.75 at 60 degrees.
Figure 5b. Viewing angle (0–60°). Falls off as the visible LED area distorts.

Partial environmental generalization — not robustness under arbitrary outdoor or sensor conditions. Section 5.1

Transferability

Patterns partially transfer across detectors

Table 3. Cross-model transferability. Cells are mean detection confidence; darker is a stronger attack.
Train ↓ · Test → YOLO Faster R-CNN RetinaNet
YOLO 0.40 0.48 0.51
Faster R-CNN 0.52 0.47 0.56
RetinaNet 0.54 0.55 0.43
weakerstronger attack

Diagonal 0.40 / 0.47 / 0.43; off-diagonal 0.48–0.56, against 0.92–0.96 with no attack.

Defenses

Dedicated defenses help; none removes the attack

Generic transformations leave substantial residual evasion. Purpose-built physical-attack filters do markedly better, but RAPID — the strongest tested — still leaves 17.6–29.8 % attack success.

Table 8. Input-processing defenses, on the same evaluation frames. Lower ASR means a stronger defense.
Defense YOLOv8 Faster R-CNN RetinaNet
No defense89.1 % conf. 0.4084.7 % conf. 0.4786.8 % conf. 0.43
Gaussian blur61.2 % conf. 0.5456.8 % conf. 0.5669.4 % conf. 0.51
JPEG compression63.6 % conf. 0.5358.9 % conf. 0.5971.0 % conf. 0.56
Morphological39.8 % conf. 0.6930.9 % conf. 0.7346.5 % conf. 0.66
UDFilter35.7 % conf. 0.7027.8 % conf. 0.7441.2 % conf. 0.68
RAPID24.6 % conf. 0.7417.6 % conf. 0.7829.8 % conf. 0.72

Stability

Entropy collapse is delayed, not removed

The entropy coefficient α falls from about 1.0 to 0.04 over a run, and action variance peaks near episode 700 before collapsing. PR-SAC pushes that collapse later but does not eliminate it, and it coincides with the degradation phase below. Checkpoints are therefore selected by minimum mean confidence on a held-out validation sequence — never the final one.

Detection confidence against training episode for RetinaNet, Faster R-CNN and YOLO: confidence drops to roughly 0.40–0.47 between episodes 350 and 700, then climbs back toward 0.60–0.65 by episode 2000.
Figure 4a. Detection confidence over training. The best attack phase sits around episodes 350–700; after that, performance degrades.

Protocol. ASR is the percentage of frames with no person detection matching the ground-truth box at IoU ≥ 0.5 and confidence ≥ 0.6. Every number on this page is a mean over 15 independent seeds × 300 evaluation frames, with 95 % Student-t intervals; each run is 2,000 episodes of roughly 10–12 s, about 5–6 hours. An operator varies pose, viewpoint, distance and illumination on a schedule shared by every compared method. Section 4.5

Limitations & impact

What this does not show

Three person detectors and one wearable LED platform. Unseen-location results do not establish robustness under uncontrolled conditions, and other target classes, other actuators, adversarially trained detectors and certified defenses remain untested. Training is unstable. Adaptive physical attacks could be misused against surveillance or safety-critical perception; our aim is the opposite — better robustness evaluation under realistic physical conditions.

Responsible release

To mitigate misuse risks, we do not release real-time deployment tools or optimized policies for specific targets.

Citation

BibTeX

@inproceedings{zyryanov2026dynamic,
  title     = {Dynamic Physical Adversarial {LED} Patterns via Reinforcement Learning},
  author    = {Konstantin Zyryanov and Nikita Lotts},
  booktitle = {Advances in Neural Information Processing Systems 40 (NeurIPS 2026)},
  year      = {2026}
}