From faa07a8f3337c5d191597ea9b9587cc0969d663c Mon Sep 17 00:00:00 2001 From: Jan Aalmoes Date: Fri, 13 Sep 2024 00:07:42 +0200 Subject: =?UTF-8?q?avnac=C3=A9=20aia,=20remerciement=20notations,=20notes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACSAC/proofs/proof_egd_eo.tex | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ACSAC/proofs/proof_egd_eo.tex (limited to 'ACSAC/proofs/proof_egd_eo.tex') diff --git a/ACSAC/proofs/proof_egd_eo.tex b/ACSAC/proofs/proof_egd_eo.tex new file mode 100644 index 0000000..435add2 --- /dev/null +++ b/ACSAC/proofs/proof_egd_eo.tex @@ -0,0 +1,35 @@ +\begin{theorem} +\label{th:eoo} +If $\hat{Y}$ satisfies \eo for $Y$ and $S$ then the balanced accuracy of \aia in \ref{tm:hard} is $\frac{1}{2}$ iff $Y$ is independent of $S$ or $\hat{Y}$ is independent of $Y$. +\end{theorem} + +\begin{proof} +Let $\attackmodel$ be the attack model trained for AS: $\hat{S}=a\circ \hat{Y}$. +By the total probability formula +{\footnotesize +\begin{align*} +P(\hat{S}=0|S=0)=&P(\hat{S}=0|S=0Y=0)P(Y=0|S=0)\\ ++&P(\hat{S}=0|S=0Y=1)P(Y=1|S=0) +\end{align*} +} +and as well +{\footnotesize +\begin{align*} +P(\hat{S}=1|S=1)=&P(\hat{S}=1|S=1Y=0)P(Y=0|S=1)\\ + +&P(\hat{S}=1|S=1Y=1)P(Y=1|S=1) +\end{align*} +} +Then we substitute those terms in the definition of the balanced accuracy of $\targetmodel$. +{\footnotesize +\begin{align*} + &\frac{P(\hat{S}=0|S=0)+P(\hat{S}=1|S=1)}{2}\\ + =&\frac{1}{2}+\frac{1}{2}\left(P(Y=0|S=0)-P(Y=0|S=1)\right)\\ + &\left(P(\hat{Y}\in \attackmodel^{-1}(\{1\})|S=1Y=0) - + P(\hat{Y}\in \attackmodel^{-1}(\{1\})|S=1Y=1)\right) +\end{align*} +} +The balanced accuracy is equal to 0.5 if and only if $P(Y=0|S=0)=P(Y=0|S=1)$ +or $\forall \attackmodel~P(\hat{Y}\in \attackmodel^{-1}(\{1\})|S=1Y=0)=P(\hat{Y}\in \attackmodel^{-1}(\{1\})|S=1Y=1)$. +The first term indicates that $Y$ is independent of $S$ and the second term indicates that $S=1$ the $\targetmodel$ random guess utility. +We can do the same computing for $S=0$ and obtain a similar conclusion. +\end{proof} \ No newline at end of file -- cgit v1.2.3