Source code for ICASSP 2023 paper: Asymmetric Polynomial Loss for Multi-Label Classification.
APL is one step further beyond BCE-loss, ASL-loss, and PolyLoss. Surprisingly effective. Theoretically and experimentally validated.
Our code is based on ASL.
-
Replace your torch.nn.BCELoss() or ASL-loss with APLloss.py.
-
Adjust the parameters according to the discussion in the paper.
-
See the stable performance improvement.
We conduct experiments on Text Classification, Relation Extraction, and Image Classification.
Please click the above links and follow the steps in Quick Usage.