A Question about Research mi_lira_2021: Why is logpdf used instead of logcdf?
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
调研方向
首先定位 Research mi_lira_2021 实现,并检查使用 scipy.stats.norm.logpdf 进行的分数计算。将该计算与引用论文中的公式 4 进行比较,并确定该实现是否是有意为之,还是应该使用相应的累积概率;当通过有文档记录的解释或已确认的修正确认并解决这一差异时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Hi,
I have a question regarding how the score for the offline attack is calculated in the Research mi_lira_2021 code.
In the code the score is calculated using logpdf
score = scipy.stats.norm.logpdf(sc, mean_out, std_out+1e-30)
but if I understand correctly this does not match equation 4 in the paper that describes how the score should be calculated. The equation looks like this $\Lambda = 1- Pr[Z > \phi (f(x)_{y} ) ]$, where $Z \sim \mathcal{N} (\mu_o, \sigma^2_o)$ which should mean that cdf should be used and not pdf. Is there any particular reason for why the pdfis used in the implementation over cdf?
- 主要语言
- Python
- 星标
- 2k
- 派生
- 477
- 平均合并
- 17 小时 24 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tensorflow/privacy 的其他 Issue
-
难度 5/5 一周以上 新手友好度 1/100
tensorflow/privacy#633 · 1 条评论 ·
-
HUSSIENALI0780未关闭
难度 5/5 一周以上 新手友好度 1/100
tensorflow/privacy#626 · 1 条评论 ·
-
٦٦٧٧未关闭
难度 5/5 一周以上 新手友好度 1/100
tensorflow/privacy#625 ·
-
Bug Report未关闭
难度 5/5 一周以上 新手友好度 10/100
tensorflow/privacy#624 ·
-
Secure未关闭
难度 5/5 一周以上 新手友好度 10/100
tensorflow/privacy#623 ·
查看 tensorflow/privacy 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug z-test-failure
难度 2/5 1-3 小时 新手友好度 84/100
torch-spyre/spyre-inference#1598 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
zilliztech/memsearch#853 ·
维护者通常 1 天内回复
-
IPA characters未关闭
难度 2/5 1-3 小时 新手友好度 66/100
tywr/Nordwand-Mono#55 ·
维护者通常 1 天内回复
-
physical
难度 2/5 1-3 小时 新手友好度 74/100
antonyrag/ragleap-core#1339 ·