Skip to content

feat!: aggregate losses for temporal downscaler#1069

Open
mc4117 wants to merge 105 commits into
mainfrom
feat/aggregate_loss
Open

feat!: aggregate losses for temporal downscaler#1069
mc4117 wants to merge 105 commits into
mainfrom
feat/aggregate_loss

Conversation

@mc4117
Copy link
Copy Markdown
Member

@mc4117 mc4117 commented Apr 23, 2026

Description

For temporal consistency when using the temporal downscaler, we have been experimenting with using additional loss functions. We have seen large improvements in consistency especially for precipitation and so would strongly recommend using these loss functions when running the temporal downscaler and would like to implement these in anemoi-core. These include:

min across the window
max across the window
mean across the window
diff across the window

image image

What issue or task does this change relate to?

This PR is related to this issue #1059

Additional notes

As a contributor to the Anemoi framework, please ensure that your changes include unit tests, updates to any affected dependencies and documentation, and have been tested in a parallel setting (i.e., with multiple GPUs). As a reviewer, you are also responsible for verifying these aspects and requesting changes if they are not adequately addressed. For guidelines about those please refer to https://anemoi.readthedocs.io/en/latest/

By opening this pull request, I affirm that all authors agree to the Contributor License Agreement.


📚 Documentation preview 📚: https://anemoi-training--1069.org.readthedocs.build/en/1069/


📚 Documentation preview 📚: https://anemoi-graphs--1069.org.readthedocs.build/en/1069/


📚 Documentation preview 📚: https://anemoi-models--1069.org.readthedocs.build/en/1069/

@github-project-automation github-project-automation Bot moved this to To be triaged in Anemoi-dev Apr 23, 2026
@mc4117 mc4117 self-assigned this Apr 23, 2026
@mc4117 mc4117 marked this pull request as draft April 23, 2026 13:44
@mc4117 mc4117 added the ATS Approval Not Needed No approval needed by ATS label Apr 23, 2026
@mc4117 mc4117 moved this from To be triaged to Now In Progress in Anemoi-dev Apr 23, 2026
@mc4117 mc4117 added this to the Temporal Downscaler milestone Apr 23, 2026
@mchantry mchantry changed the title feat: aggregate losses for temporal downscaler feat!: aggregate losses for temporal downscaler May 13, 2026
@mchantry mchantry added ATS Approved Approved by ATS and removed ATS Approval Needed Approval needed by ATS labels May 13, 2026
@mc4117
Copy link
Copy Markdown
Member Author

mc4117 commented May 14, 2026

I confirm that the old code and the new code are equivalent

train_afkcrps0 95_step-train_multi_dataset_loss_step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ATS Approved Approved by ATS config Affects the config files to training documentation Improvements or additions to documentation training

Projects

Status: Under Review

Development

Successfully merging this pull request may close these issues.

New losses for temporal downscaler

4 participants