Shenda Hong, Xiang Lan, Hanshu Yan, Mengling Feng
We lifted 9 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| lanxiang1017/dynamicbadpairmining_iclr24 | — | 7 of 9 |
| Function | Status | Where it lives |
|---|---|---|
| BasicBlock | Ran | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("97f4b7a71f2a6dc1") |
| InfoNCE | Ran | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("13196a05922a4556") |
| LinearClassifier | Ran | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("070f933207345be3") |
| ResNet | Ran | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("d18829d3a6df39e9") |
| ResNet34 | Ran | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("3a802f69ecd390d5") |
| get_scores | Ran | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("c18b03944ec98848") |
| loss_ntxent | Ran | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("1743b3639fe9448a") |
| save_model | Not yet run | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("c995c24f3dfc702c") |
| simpleModel | Not yet run | lanxiang1017/dynamicbadpairmining_iclr24/models/dbpm_model.py pointer only (licence: NONE) · get_code("e99558104673f3e0") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Not all positive pairs are beneficial to time series contrastive learning. In this paper, we study two types of bad positive pairs that can impair the quality of time series representation learned through contrastive learning: the noisy positive pair and the faulty positive pair. We observe that, with the presence of noisy positive pairs, the model tends to simply learn the pattern of noise (Noisy Alignment). Meanwhile, when faulty positive pairs arise, the model wastes considerable amount of effort aligning non-representative patterns (Faulty Alignment). To address this problem, we propose a Dynamic Bad Pair Mining (DBPM) algorithm, which reliably identifies and suppresses bad positive pairs in time series contrastive learning. Specifically, DBPM utilizes a memory module to dynamically track the training behavior of each positive pair along training process. This allows us to identify potential bad positive pairs at each epoch based on their historical training behaviors. The identified bad pairs are subsequently down-weighted through a transformation module, thereby mitigating their negative impact on the representation learning process. DBPM is a simple algorithm designed as a lightweight plug-in without learnable parameters to enhance the performance of existing state-of-the-art methods. Through extensive experiments conducted on four large-scale, real-world time series datasets, we demonstrate DBPM's efficacy in mitigating the adverse effects of bad positive pairs.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2302.03357")
get_code_for_paper("2302.03357")
have("2302.03357")
Connect an agent — have() is free.