aimhubio / aim

Aim 💫 — An easy-to-use & supercharged open-source experiment tracker.
https://aimstack.io
Apache License 2.0
4.94k stars 299 forks source link

Comparing Distributions accross various runs. #2169

Open osoblanco opened 1 year ago

osoblanco commented 1 year ago

🚀 Feature

I would like to be able to compare tracked distributions across several runs in order to gain insights about training/inference dynamics.

Motivation

This feature can allow seeing how a certain dynamic is changing within the model w.r.t. parameter changes across runs. For example: seeing the weight dynamics of the initial or final layer when the pretrained backbone model is changed or many many use cases akin to this.

Alternatives

You can always calculate the mean of the values and track that as a metric, but that robs you oh seeing the full granular dynamic

Additional context

These screenshots are from 2 different runs I tried comparing.

Screenshot from 2022-09-14 21-10-43 Screenshot from 2022-09-14 21-16-19 Screenshot from 2022-09-14 21-30-00 Screenshot from 2022-09-14 21-40-41

gorarakelyan commented 1 year ago

@osoblanco thanks for sharing the use-case, makes a lot of sense! We are going to release the Distributions Explorer in the coming releases. It would enable selecting, grouping and comparing tracked distributions.

A temporary workaround might be tracking those distributions as plotly figures and comparing them via Figures Explorer (released with Aim v3.13). Example: short_figures

gorarakelyan commented 1 year ago

@roubkar tagging you here so you are aware of the thread.