Skip to contents

log2(candidate space) - log2(the canary's rank).

Usage

morie_kamath_memorization_exposure(canary_ll, candidate_lls)

Arguments

canary_ll

Canary log-likelihood.

candidate_lls

Competitors.

Value

List with estimate, rank, max_exposure.

Examples

morie_kamath_memorization_exposure(canary_ll = 5L, candidate_lls = c(1, 2, 3, 4, 5, 6, 7, 8))
#> $estimate
#> [1] 0.8479969
#> 
#> $exposure
#> [1] 0.8479969
#> 
#> $rank
#> [1] 5
#> 
#> $n_candidates
#> [1] 9
#> 
#> $max_exposure
#> [1] 3.169925
#> 
#> $n
#> [1] 9
#> 
#> $method
#> [1] "canary exposure (Kamath Ch 6)"
#>