alibaba / alibaba/x-deeplearning

AUC bug report

Open
#355 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
PureBasic
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

In ESMM, it seems there is a bug in auc computation. When there is no positive example in a batch, this batch is ignored for the auc computation. We cannot just simply remove this batch from computation, which is different from the auc caculation in tensorflow.

In my opinion, auc should be computed globally, insteady of averaging locally like in x-deeplearning. The all-negative batch can still change the number of FP globally, which cannot be ignored.

This bug makes the performance of esmm pretty high.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the ESMM AUC computation and its batch-level aggregation. Compare its handling of all-negative batches with TensorFlow's global AUC behavior, then add or update coverage for batches that contain no positive examples. Done means the metric incorporates false positives from those batches rather than ignoring them.

Written by the indexing model from the issue text.

Assessment

Tech stack
tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.