DOI: 10.1145/3821527 ISSN: 2157-6904
Corrupting the When and What: Differentiable Adversarial Attacks for Continuous Time Event Sequences
Pritish Chakraborty, Vinayak Gupta, Rahul R, Srikanta Bedathur, Abir De
Continuous-Time Event Sequences (CTESs) are discrete events occurring at irregular times along a continuous timeline and are common in domains such as healthcare and finance. Marked Temporal Point Processes (MTPPs) model CTESs by capturing both event timing and type. While widely used, adversarial evaluation and attacks on MTPPs remain largely unexplored. In this work, we propose adversarial attacks specifically designed for MTPP models. A key requirement for effective adversarial attacks is
imperceptibility, i.e.,
the perturbations should remain subtle or undetectable. While in domains such as images or text this is typically enforced by constraining perturbations within a fixed
\(L_{p}\)
norm ball, applying similar constraints to CTESs is non-trivial due to their sequential nature and variability in time scales and sequence lengths. To address this challenge, we first permute the events and then introduce additive noise to the arrival timestamps. However, finding the worst-case adversarial example under this setting becomes a hard combinatorial problem, involving a search over a factorially large permutation space. To overcome this, we introduce a novel differentiable framework,
PermTPP
, that enables adversarial attacks by learning to minimize the model's likelihood while simultaneously constraining the distance between the original and perturbed CTESs. Experiments on four real-world datasets demonstrate that
PermTPP
achieves strong offensive and defensive performance, along with significantly lower inference time.