MCP
RG

Ryan Grainger

7 papers in the library · Same-name authors told apart using DBLP

Papers

7
Learning Universal Adversarial Perturbations for Ordered Top-K Targeted Attacks
Thomas PaniaguaRyan GraingerTianfu Wu
This paper introduces AllAttacK, a method that learns ordered Top-K targeted universal adversarial perturbations (UAPs) for deep neural networks. Unlike prior untargeted UAPs, AllAttacK learns perturbations that aggressively target a sequence of label classes (up to Top-6), transferring across unseen images and, when learned from an ensemble of diverse train models, across unseen models and images. The method jointly optimizes over images, models, and label targets by posing the problem as a maximum satisfiability (MAXSAT) problem. Evaluated on ImageNet-1k with 27 models and over 500 UAPs, the perturbations show strong transferability and interpretable characteristics.
OpenReviewOpenReview · September 19, 2025
0
Differentiable Polygon Modeling for Object Instance Segmentation
Thomas PaniaguaRyan GraingerTianfu Wu
This paper presents the first differentiable polygon-based instance segmentation method. Using a fixed vertex count $K$, it introduces PolygonAlign to align predicted $K$-vertex polygons with variable-length ground-truth polygons, allowing a simple $\ell_2$ loss, and a learnable active-contour model with an affine-transformation-decoupled initialization and one-step refinement, parameterizing polygons via translation, rotation, and vertex displacements. On MS-COCO 2017 with Sparse R-CNN, it achieves state-of-the-art accuracy and shows a much higher empirical upper bound, encouraging further research.
OpenReviewOpenReview · September 26, 2024
0
0
Revisiting and Expanding Targeted Universal Adversarial Perturbations
Thomas PaniaguaRyan GraingerTianfu Wu
This paper revisits and expands universal adversarial perturbations (UAPs) for white-box targeted attacks, simultaneously addressing three axes: model, data, and target. For the target axis, the proposed method AllAttacK adopts the aggressive ordered top-$K$ attack protocol ($K\geq 1$), generalizing the traditional top-$1$ setting. Built on KL-divergence-based adversarial distillation and quadratic-programming-based methods, AllAttacK employs a joint mini-data-batch and mini-model-batch optimization strategy to learn UAPs efficiently across many DNNs and images. Tested on ImageNet-1k with an ensemble of diverse models, the learned perturbations are doubly transferable across models and images, and appear sensible.
OpenReviewOpenReview · September 26, 2024
0
0
QuadAttack: A Quadratic Programming Approach to Ordered Top-K Attacks
Thomas PaniaguaRyan GraingerTianfu Wu
QuadAttack proposes a quadratic programming (QP) method for ordered top-K targeted attacks on DNNs. It directly solves a QP in the feature embedding space to satisfy the attack constraint, exploiting class coherence, then computes the data-space perturbation via one-step back-propagation. Experiments on ImageNet-1k with ResNet-50, DenseNet-121, and vision transformers push successful ordered top-K attacks from K=10 to K=20 at a low budget (1×60) and improve success rates for K=5.
arXivarXiv · · December 12, 2023
0
0
PaCa-ViT: Learning Patch-to-Cluster Attention in Vision Transformers
Ryan GraingerThomas PaniaguaXi SongNaresh CuntoorMun Wai LeeTianfu Wu
Vision Transformers (ViTs) are built on the assumption of treating image patches as "visual tokens" and learn patch-to-patch attention. The patch embedding based tokenizer has a semantic gap with respect to its counterpart, the textual tokenizer. The patch-to-patch attention suffers from the quadratic complexity issue, and also makes it non-trivial to explain learned ViTs. To address these issues in ViT, this paper proposes to learn Patch-to-Cluster attention (PaCa) in ViT. Queries in our PaCa-ViT starts with patches, while keys and values are directly based on clustering (with a predefined small number of clusters). The clusters are learned end-to-end, leading to better tokenizers and inducing joint clustering-for-attention and attention-for-clustering for better and interpretable models. The quadratic complexity is relaxed to linear complexity. The proposed PaCa module is used in designing efficient and interpretable ViT backbones and semantic segmentation head networks. In experiments, the proposed methods are tested on ImageNet-1k image classification, MS-COCO object detection and instance segmentation and MIT-ADE20k semantic segmentation. Compared with the prior art, it obtains better performance in all the three benchmarks than the SWin and the PVTs by significant margins in ImageNet-1k and MIT-ADE20k. It is also significantly more efficient than PVT models in MS-COCO and MIT-ADE20k due to the linear complexity. The learned clusters are semantically meaningful. Code and model checkpoints are available at https://github.com/iVMCL/PaCaViT.
CVFCVF · June 2023
0
QuadAttacKK: A Quadratic Programming Approach to Learning Ordered Top-KK Adversarial Attacks
Thomas PaniaguaRyan GraingerTianfu Wu
QuadAttac$K$ is a quadratic programming (QP) method for learning ordered top-$K$ targeted adversarial attacks against deep neural networks. Unlike prior top-1 approaches, it directly solves a QP in the feature embedding space to satisfy the attack constraint, exploiting class coherence, then obtains the data-space perturbation via one-step back-propagation. On ImageNet-1k with ResNet-50, DenseNet-121, and vision transformers, it extends successful ordered attacks from $K=10$ to $K=20$ at low cost, improves success for $K=5$, and retains $K=1$ performance.
OpenReviewOpenReview · May 11, 2023
0
PaCa-ViT: Learning Patch-to-Cluster Attention in Vision Transformers
Ryan GraingerThomas PaniaguaXi SongNaresh CuntoorMun Wai LeeTianfu Wu
PaCa-ViT replaces the standard patch-to-patch attention in Vision Transformers with a patch-to-cluster attention mechanism, where queries remain on patches but keys and values are derived from a small, fixed number of learnable clusters. This reformulation reduces the quadratic complexity of patch-to-patch attention to linear complexity, while producing semantically meaningful clusters that improve interpretability. The backbone and segmentation head built with PaCa modules achieve higher accuracy than Swin and PVT on ImageNet-1k, MS-COCO, and MIT-ADE20k, and are more efficient than PVT on the latter two benchmarks.
arXivarXiv · · March 22, 2022
0
55
Frequent collaborators
Thomas Paniagua (7)
Tianfu Wu (7)
Xi Song (2)
Naresh Cuntoor (2)
Mun Wai Lee (2)