Menu

The metric was measuring my model, not the problem
📰

The metric was measuring my model, not the problem

DEV Community: datascience·David Mashiah·9 days ago
#wZGHou9r
#devtodatascience#science#devto#dev#model
Long article (1284 words) — no AI summary yet.
Reading 0:00
15s threshold

I had a score that predicted which training sets would generalise. It repeated itself to two decimal places across independent runs, which is usually how you know something is real. Then I swapped the model underneath it and the score fell apart.

There is a genre of number in machine learning that I have started to distrust, and this is the story of how I produced one myself and nearly believed it.

The genre is the transferability score. You have a model trained on one kind of data and you want to know, before spending anything, whether it will hold up on a different kind. That is the out-of-distribution question, and it is the one that decides whether a model survives deployment. So you compute some distance between the two datasets and use it as a warning light. Several of these exist in the literature. They are attractive because they are cheap and because they promise to answer a question that is otherwise only answerable by doing the expensive thing.

I tested one on a benchmark I built. It worked.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.