flowchart LR A(Input Variations) --> B(Perturbed Data) A --> C(Unperturbed Data) B --> D(Adversarial Perturbation) B --> E(Non-adversarial Perturbation) C --> F(Out-of-distribution) C --> G(Outlier & Infrequent Behaviour) C --> H(Concept Drift)
🧑💻 Zhipeng “Zippo” He @ School of Information Systems
Queensland University of Technology
Comfirmation Seminar
March 15, 2023
\[ \DeclareMathOperator*{\argmin}{arg\,min} $\newcommand{\one}{\unicode{x1d7d9}}$ "\uD54F" \]
Research Background

In machine learning, robustness refers to the ability of a model to:
perform well on unseen or new data
variations in the input
A robust model:
flowchart LR A(Input Variations) --> B(Perturbed Data) A --> C(Unperturbed Data) B --> D(Adversarial Perturbation) B --> E(Non-adversarial Perturbation) C --> F(Out-of-distribution) C --> G(Outlier & Infrequent Behaviour) C --> H(Concept Drift)
An adversarial attack is a method to generate adversarial examples.
Adversarial examples are specialised inputs created with the purpose of confusing a neural network, resulting in the misclassification of a given input. These notorious inputs are indistinguishable to the human eye but cause the network to fail to identify the contents of the image. (Goodfellow, Shlens, and Szegedy 2015)


Data Posioning
Backdoor Attack
Evasion Attack
Confidence Reduction
Nontargeted Misclassification
Targeted Misclassification
Source/Target Misclassification
Given a credit score classification systems \(f: \mathbb{X}\to \mathbb{Y}\) with three classes \(\mathbb{Y} = \{\)Poor, Standard, Good\(\}\), select an input instance \(\boldsymbol{x}\in\mathbb{X}\) to craft a adversarial example \(\boldsymbol{x}^{adv}\):
Poor, 90% confidence) → \(\boldsymbol{x}^{adv}\) (Poor, 50% confidence)Poor) → \(\boldsymbol{x}^{adv}\) (a different class, Standard or Good)Poor or Standard) → \(\boldsymbol{x}^{adv}\) (specific class Good)Poor) → \(\boldsymbol{x}^{adv}\) (specific class Good)Confidence Reduction
Nontargeted Misclassification
Targeted Misclassification
Source/Target Misclassification
White-Box Attacks
Grey-Box Attacks
Black-Box Attacks
White-Box Attacks
Grey-Box Attacks
Black-Box Attacks
Adversarial defences are techniques used to protect machine learning models from adversarial attacks.
Adversarial Training
Input Randomisation
Defensive Distillation
Ensemble Methods
Image (unstructured):
Tabular (structured):

Different feature ranges and feature types
Missing or complex irregular spatial dependencies exist in correlation
Information loss may happen when pre-processing features with dependency
Changing a single feature can entirely flip a prediction on tabular data

Multi-dimensional feature dependencies
Variable-length inputs
Sequence order constraints
LowProFool attack (Ballet et al. 2019)
Gaps: Only work on numerical features, but not for categorical features.

Gaps: Perturb event logs with random noise, but not worst-case perturbation; only perturb dynamic features but not the order of sequence.
Research Questions
Researchers have been working on making models more robust to adversarial attacks on unstructured data. However, researchers have rarely investigated adversarial robustness for structured data.
How can one construct predictive models that are robust to adversarial attacks for both tabular data and sequential data?
RQ1: What characteristics can be applied to determine the success of adversarial attacks on structured data?
RO1: Identify the set of characteristics of successful adversarial attacks on structured data.
RQ2: How to evaluate the characteristics of adversarial attacks (identified in RQ1) on structured data?
RO2: Develop an evaluation framework to benchmark adversarial attacks on structured data.
RQ3: What techniques can be utilised to reduce the impact of adversarial attacks, as identified in RQ2, on the robustness of predictive models for structured data?
RO3: Design defence algorithms into predictive models against adversarial attacks for structured data.
Research Plan

Phase I: Background research, problem definition, and literature review
Phase II: Evaluation of adversarial attack techniques (Iterative)
Phase III: Development and evaluation of defence techniques (Iterative)
Phase IV: Tool implementation and thesis write up
For Phases II and III, I will begin investigation with tabular data and then move on to sequential data.
Progress to Date
Phase 1.2
Effectiveness
Imperceptibility
Transferability
Phase 1.2
Effectiveness
Imperceptibility
Transferability
Phase 2.1
Accuracy drop between Natural Accuracy & Robust Accuracy (Yang et al. 2021).
\[ \begin{gathered} \text{Natural Accuracy}= \frac{1}{n}\sum_{i=1}^{n}\one(f(\boldsymbol{x}_i)=y_i) \\ \text{Robust Accuracy}= \frac{1}{n}\sum_{i=1}^{n}\one(f(\boldsymbol{x}^{adv}_i)= y_i) \end{gathered} \]
Phase 2.1
The success rate of an adversarial attack is the percentage of input samples that are successfully manipulated to cause misclassification by the model.
\[ \begin{gathered} \text{Untargeted Success Rate} = \frac{1}{n}\sum_{i=1}^{n}\one( \boldsymbol{x}^{adv})\neq f(\boldsymbol{x}_i)) \\ \text{Targeted Success Rate} = \frac{1}{n}\sum_{i=1}^{n}\one( \boldsymbol{x}^{adv})= y^*_i) \end{gathered} \]
Phase 2.1
A good adversarial example is expected to perturb fewer features that will result in changing the model’s prediction.
Here, I adapt \(\ell_0\) norm (Croce and Hein 2019) to tabular data as sparsity metric, which measures the number of changed features in an adversarial example \(\boldsymbol{x}^{adv}\) compared to the original input vector \(\boldsymbol{x}\).
\[ Spa(\boldsymbol{x}^{adv}, \boldsymbol{x})=\ell_0(\boldsymbol{x}^{adv}, \boldsymbol{x})=\sum_{i=1}^{n}\one( x^{adv}_i-x_i) \]
Phase 2.1
A good adversarial example is expected to introduce minimal perturbation, which can be obtained as the smallest distance to the original feature vector.
Phase 2.1
Phase 2.1
Phase 2.1
Perturbed vectors should be as similarly as possible to the majority of original vectors.
Phase 2.1
Phase 2.1
Phase 2.2

Phase 1.3 & 2.2
Selection Criteria:
Total 13 variants of 7 attacks with different norm.
Gradient-based: FGSM, BIM, MIM, PGD
Decision boundary-based: DeepFool, LowProFool
Optimization-based: C&W attack
Phase 2.2
Selection Criteria:
Logistic Regression (LR)
Support Vector Machine (SVM)
Multilayer Perceptrons (MLP)
Phase 2.2
| Dataset | Data Type | Total Inst. |
Train/Test Set |
Total Feat. |
Cate. Feat. |
Num. Feat. |
Enc.Cate. Feat. |
|---|---|---|---|---|---|---|---|
| Adult | Mixed | 32651 | 26048/6513 | 12 | 8 | 4 | 98 |
| Breast | Num | 569 | 455/114 | 30 | 0 | 30 | 0 |
| COMPAS | Mixed | 7214 | 5771/1443 | 11 | 7 | 4 | 19 |
| Diabetes | Num | 768 | 614/154 | 8 | 0 | 8 | 0 |
| German | Mixed | 1000 | 800/200 | 20 | 15 | 5 | 58 |
Phase 2.2
Similar and reasonable accuracy among three predictive models suggests comparability of the impact of adversarial examples across models.
| Datasets | LR | SVM | MLP |
|---|---|---|---|
| Adult | 0.8524 | 0.8532 | 0.8521 |
| German | 0.8125 | 0.8125 | 0.7969 |
| COMPAS | 0.7933 | 0.7976 | 0.8089 |
| Diabetes | 0.7578 | 0.7578 | 0.7266 |
| Breast Cancer | 0.9844 | 0.9844 | 0.9688 |
Phase 2.3
There is a trade-off between imperceptibility and effectiveness.
Phase 2.3
Optimisation-based attacks should be the preferred methods for tabular data.
Overall, C&W \(\ell_2\) attack obtains the best balance between imperceptibility and effectiveness.
C&W attack is designed to optimise a loss function that combines both the perturbation magnitude with distance metrics and the prediction confidence with objective function:
\[ \argmin_{\boldsymbol{x}^{adv}} \Vert\boldsymbol{x}-\boldsymbol{x}^{adv}\Vert_p + c\cdot z(\boldsymbol{x}^{adv}) \]
Phase 2.3
Adding sparsity as a term in the optimisation function is important for adversarial attacks on structured data.
Phase 2.3
Future Work
Phase 2.1
Introduce domain knowledge into the evaluation of imperceptibility.
Immutability
Feasibility
:::
Phase 2.1

Medium-Low to High;Race are changed.Phase 2.1

Phase 2.2 & 2.3
Extension of benchmark
Phase 3
Adversarial Defences
CORE ranking A* Conferences
CORE ranking A Conferences
Scimago Q1 Journals
Thank you!
