tensorflow / tensorflow/recommenders

[Question] Batch metrics and Top K Factorized do not correlate.

Open
#537 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

Hi!

I have a retrieval model which is showing the following behaviour:

  • loss is reducing
  • top k factorized is falling (degrading)
  • top k batch metric is improving
  • AUC (batch) is improving

Tweaking the model, I have seen this also swap around, but there have been a few configurations in which these metrics seem to not correlate.

I would really like to understand and learn under which conditions this is possible.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names Top K Factorized, the batch top-k metric, batch AUC, and loss, but no files, tests, or entry points. Start by locating the definitions of those metrics and comparing their evaluation conditions; done means documenting when their values can diverge and why.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.