aidotse/LeakPro

Standardize naming for target outputs and attack signals across MIA attacks

開放

#444 建立於 2026年8月18日

 (1 則留言) (0 個反應) (0 位負責人)Python (26 個分叉)auto 404
documentationenhancementgood first issuepriority - 4

倉庫指標

星標
 (23 顆星)
PR 合併指標
 (平均合併 68天 23小時) (30 天內合併 5 個 PR)

描述

Different MIA implementations currently use different names for similar values. Examples include:

  • base: logits_target
  • attack_p: attack_signal and audit_signal
  • loss_trajectory: target
  • LiRA and MS-LiRA: taget_model_logitsm, target_signals, shadow_models_signals, and sample_target_signals

Use the same naming pattern across all similar MIA attacks. The names should make it clear whether a variable contains the model’s original output or a signal calculated from that output. For example, use target_outputs and shadow_outputs or target_model_outputs and shadow_model_outputs for original model outputs.

It might be better with outputs than logits, because LeakPro also supports regression and forecasting models, which do not necessarily produce logits.

貢獻者指南