SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.10047 · ICML · 2026

Rethinking Loss Reweighting for Imbalance Learning as an Inverse Problem: A Neural Collapse Point of View

Zhiqiang Gao, Jinping Wang, Zixin Tong, Zhiwu Xie

arXiv · PDF · Open in the Atlas

Code that ran

6 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 6 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.10047.json · badge: /api/ran/2605.10047.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
tongzixin716716/Inverse-Loss-Reweighting canonical (classifier label)
classifier basis: census
6 ran · 6 no recorded run
FunctionStatusWhere it lives
cifar_partition_by_grad_nogroup_bcl Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tongzixin716716/Inverse-Loss-Reweighting/utils.py
pointer only (licence: NONE) · get_code("c23d34000bafe4c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv1x1 Ran
ran; our contract draft was wrong, not the code
tongzixin716716/Inverse-Loss-Reweighting/models/resnext.py
pointer only (licence: NONE); the stored copy get_code serves, from medaitech/scrd4ad, is pointer only (licence: NONE) · get_code("2a80220dabcb742a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3 Ran
ran; our contract draft was wrong, not the code
tongzixin716716/Inverse-Loss-Reweighting/models/resnext.py
pointer only (licence: NONE); the stored copy get_code serves, from medaitech/scrd4ad, is pointer only (licence: NONE) · get_code("600ff2c45e0de056")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gradient_normalizers Ran
ran; our contract draft was wrong, not the code
tongzixin716716/Inverse-Loss-Reweighting/min_norm_solvers.py
pointer only (licence: NONE) · get_code("9c12115c283ca5af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

shot_acc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tongzixin716716/Inverse-Loss-Reweighting/utils.py
pointer only (licence: NONE) · get_code("3612da0362c505e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

translate_x_rel Ran
ran; our contract draft was wrong, not the code
tongzixin716716/Inverse-Loss-Reweighting/randaugment.py
pointer only (licence: NONE) · get_code("a4b471197204b414")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

imagenet_partition_by_grad_nogroup_bcl Not yet run
unverified (harvested, no recorded run)
tongzixin716716/Inverse-Loss-Reweighting/utils.py
pointer only (licence: NONE) · get_code("0a7500eb917e573a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

resnet32 Not yet run
unverified (harvested, no recorded run)
tongzixin716716/Inverse-Loss-Reweighting/dataset/resnet_cifar.py
pointer only (licence: NONE) · get_code("a46153beb2cbece1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

resnet32 Not yet run
unverified (harvested, no recorded run)
tongzixin716716/Inverse-Loss-Reweighting/models/resnet_cifar.py
pointer only (licence: NONE) · get_code("a8d9ab2416197501")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

resnet50 Not yet run
unverified (harvested, no recorded run)
tongzixin716716/Inverse-Loss-Reweighting/models/resnext.py
pointer only (licence: NONE) · get_code("7be5050a9402a4c8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

shear_x Not yet run
unverified (harvested, no recorded run)
tongzixin716716/Inverse-Loss-Reweighting/randaugment.py
pointer only (licence: NONE) · get_code("7b4e3d0bd192b677")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

shear_y Not yet run
unverified (harvested, no recorded run)
tongzixin716716/Inverse-Loss-Reweighting/randaugment.py
pointer only (licence: NONE) · get_code("e31c4b500a240e69")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tongzixin716716/Inverse-Loss-Reweighting when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 2 the same month, 0 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
conv1x1 112 other papers
111 dated earlier, 1 the same month · 6 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1806.01531 (2018-06)
Deep Mixture of Experts via Shallow Embedding
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 109 more not named here
conv3x3 111 other papers
110 dated earlier, 1 the same month · 6 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1806.01531 (2018-06)
Deep Mixture of Experts via Shallow Embedding
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 108 more not named here
shear_x 27 other papers
27 dated earlier
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 24 more not named here
shear_y 27 other papers
27 dated earlier
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 24 more not named here
translate_x_rel 26 other papers
26 dated earlier
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2109.03508 (2021-09)
RepNAS: Searching for Efficient Re-parameterizing Blocks
2109.06165 (2021-09)
CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptation
and 23 more not named here
shot_acc 2 other papers
2 dated earlier
2208.02567 (2022-08)
Constructing Balance from Imbalance for Long-tailed Image Recognition
2403.06726 (2024-03)
Probabilistic Contrastive Learning for Long-Tailed Visual Recognition
resnet50 1 other paper
1 dated earlier
2403.06726 (2024-03)
Probabilistic Contrastive Learning for Long-Tailed Visual Recognition

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Loss reweighting is a widely used strategy for long-tailed classification, but existing reweighting strategies often rely on heuristics and rarely define a well-specified target. Inspired by Neural Collapse (NC), the ideal simplex Equiangular Tight Frame (ETF) terminal geometry suggests equal per-class average loss as a reasonable target for reweighting. Based on the ideal equal loss objective, we consider loss reweighting as an inverse problem and propose an inverse-view reweighting strategy that infers class weights dynamically to match this ideal objective. Empirically, NC metrics suggest our method can effectively reduce the loss imbalance coefficient and closer alignment with NC geometry while consistently outperforming strong long-tailed baselines on different datasets. Our code is publicly available at: https://github.com/tongzixin716716/Inverse-Loss-Reweighting.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.10047")
get_code_for_paper("2605.10047")
have("2605.10047")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.10047.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.10047.svg)](https://syntology.ai/paper/2605.10047)

Connect an agent — have() is free.