Views
No views yet
random_uniform — augmentation parameters are sampled uniformly at random within learned ranges| Component | Config |
|---|---|
| Embedder | unet_small2_yuv_quant — U-Net operating in YUV space, 8 blocks, batch norm |
| Extractor | convnext_tiny — ConvNeXt-Tiny encoder + pixel decoder |
| Payload | 16 bits |
| Adversary | DINOv2 backbone + GRU + MLP, hidden dim 256, Gumbel-Softmax τ=1.0 |
1OMP_NUM_THREADS=40 torchrun --nproc_per_node=4 train.py --local_rank 0 \
2 --video_dataset none --image_dataset sa-1b-full-resized --workers 4 \
3 --extractor_model convnext_tiny --embedder_model unet_small2_yuv_quant \
4 --hidden_size_multiplier 1 --nbits 16 \
5 --scaling_w_schedule Cosine,scaling_min=0.2,start_epoch=200,epochs=200 \
6 --scaling_w 1.0 --scaling_i 1.0 --attenuation jnd_1_1 \
7 --epochs 500 --iter_per_epoch 1000 \
8 --scheduler CosineLRScheduler,lr_min=1e-6,t_initial=500,warmup_lr_init=1e-8,warmup_t=5 \
9 --optimizer AdamW,lr=5e-4 \
10 --lambda_dec 1.0 --lambda_d 0.1 --lambda_i 0.1 --perceptual_loss yuv \
11 --num_augs 2 --augmentation_config configs/all_augs.yaml \
12 --disc_in_channels 1 --disc_start 50 \
13 --use_adversary True \
14 --adversary_entropy_weight 0.1 \
15 --adversary_hidden_dim 256 \
16 --adversary_gumbel_temperature 1.0 \
17 --adversary_param_head_type random_uniform \
18 --adversary_vi_alpha 0.0 \
19 --adversary_start_epoch 5 \
20 --percep_loss_start_epoch 50configs/augs.yaml): identity, JPEG, crop, rotate, rotate90, horizontal flip, perspective, Gaussian blur, brightness, contrast, saturation, hue, H.264, H.264 RGB, H.265.configs/ for architecture details. Load with:1from videoseal.models.videoseal import Videoseal
2model = Videoseal.load_from_checkpoint("adv_d2_phtrandom_uniform_a0.0_ew0.10/checkpoint.pth")1@article{cat2025,
2 title={Compositional Adversarial Training for Robust Visual Watermarking},
3 author={Anonymous Authors},
4 year={2025},
5}