14
$\begingroup$

Hi fellow bioacousticians,

I am working on a needle-in-a-haystack detection problem and am trying to figure out the best way to assess the rate of false negatives. My goal is to detect gunshots in terabytes of PAM data from Central Africa using a template-based detector with monitoR in R, which seems to be working decently well. Calculating the precision (true positives / positives) is a breeze, but recall (true positives / false negatives) is more challenging, since gunshots occur very rarely (there is a gunshot every 1-2 days and the data is continuous). Manually scanning files to see how many gunshots were missed by my detector would be extremely time consuming, not to mention that I would want to see how the recall varies with habitat type, but I can't think of another option to see how many gunshots were missed by my model.

Have any of you ever been in a similar situation with a similar problem? If so, what was the most time-efficient way to get a robust understanding of recall in this context? Or, did you not calculate recall and just spoke about precision?

Thanks!

$\endgroup$
1
  • $\begingroup$ Can you provide a little more detail on the spectral properties etc. of a gunshot and potential confounding sounds? - part of the answer here might be to use a high false positive rate detector which could reduce manual analysis time but we need a little more info on the target sounds. $\endgroup$
    – user213
    Commented Jul 5, 2022 at 21:09

1 Answer 1

3
$\begingroup$

Unfortunately, if you want to evaluate recall, you absolutely need to know ALL the true events. In theory, you can use any method to find them but the underlying hypothesis is that the method gives 100% correct results. In practice, the "true" events are found by manually inspecting all the files because it is what is considered to be the closest to ground truth (only subject to human error).

You can annotate a subset of your database but it has to be representative of the rest of the database. Then, you can make the assumption that the recall on the annotated database is equal to the recall on the rest of the database.

$\endgroup$
2
  • 1
    $\begingroup$ Has anyone written a paper on determining the size of a subsample that you might need to annotate to get a reliable estimate of that recall? I'm not familiar with one but it feels like something that should be out there. $\endgroup$
    – dtsavage
    Commented Jul 6, 2022 at 15:44
  • $\begingroup$ @dtsavage this question is related and you might find it helpful bioacoustics.stackexchange.com/questions/16/… $\endgroup$
    – selene
    Commented Jul 7, 2022 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.