Ziqiao Wang, Yongyi Mao
We lifted 39 functions out of this paper's own repositories and ran 24 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 |
|---|---|---|
| thuml/CDAN | canonical | 11 of 17 |
| ZiqiaoWangGeothe/f-DD | canonical | 5 of 6 |
| nv-tlabs/fdal | canonical | 3 of 3 |
| ziqiaowanggeothe/f-dd | canonical | 2 of 2 |
| nv-tlabs/fDAL | — | 2 of 2 |
| thuml/MDD | — | 1 of 9 |
| Function | Status | Where it lives |
|---|---|---|
| ConjugateDualFunction | Ran | ziqiaowanggeothe/f-dd/fDAL/fDALLoss.py pointer only (licence: NONE) · get_code("aad432335d7326fd") |
| ConjugateDualFunction | Ran | nv-tlabs/fDAL/fDAL/fDALLoss.py pointer only (licence: NOASSERTION) · get_code("57ae887249ee4f12") |
| Entropy | Ran | thuml/CDAN/pytorch/loss.py pointer only (licence: NONE) · get_code("94b5622f0aa7add1") |
| GradientReverseLayer | Ran | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("c01460d60ad3396e") |
| alexnet | Ran | thuml/CDAN/pytorch/network.py pointer only (licence: NONE) · get_code("dbadbf1a0f7deaa6") |
| alexnet | Ran | thuml/CDAN/pytorch/alexnet.py pointer only (licence: NONE) · get_code("30679fa4ad63dfee") |
| fDALLoss | Ran | ziqiaowanggeothe/f-dd/fDAL/fDALLoss.py pointer only (licence: NONE) · get_code("5e078405cc6bd3fe") |
| fDALLoss | Ran | nv-tlabs/fDAL/fDAL/fDALLoss.py pointer only (licence: NOASSERTION) · get_code("fcd5fdd3e39941db") |
| fixed_padding | Ran | thuml/CDAN/tensorflow/network.py pointer only (licence: NONE) · get_code("5756d6bfbcce2dfc") |
| grl_hook | Ran | thuml/CDAN/pytorch/loss.py pointer only (licence: NONE) · get_code("9768efb52f591b55") |
| image_classification_test | Ran | thuml/CDAN/pytorch/train_image.py pointer only (licence: NONE) · get_code("dd5b0e1fe8cd7d78") |
| image_test | Ran | thuml/CDAN/pytorch/pre_process.py pointer only (licence: NONE) · get_code("560cf0bf3a66afbc") |
| image_test_10crop | Ran | thuml/CDAN/pytorch/pre_process.py pointer only (licence: NONE) · get_code("5713157b26d7f68d") |
| image_train | Ran | thuml/CDAN/pytorch/pre_process.py pointer only (licence: NONE) · get_code("7ca82968fbea82c4") |
| inv_lr_scheduler | Ran | thuml/CDAN/pytorch/lr_schedule.py pointer only (licence: NONE) · get_code("693fef7015113684") |
| l_loader | Ran | ZiqiaoWangGeothe/f-DD/data_list.py pointer only (licence: NONE) · get_code("edd7184ac144c4fa") |
| read_lines | Ran | thuml/CDAN/tensorflow/prep.py pointer only (licence: NONE) · get_code("0cb72c021b9db859") |
| resnet18 | Ran | ZiqiaoWangGeothe/f-DD/resnet.py pointer only (licence: NONE) · get_code("0c46ccefec425cdf") |
| resnet34 | Ran | ZiqiaoWangGeothe/f-DD/resnet.py pointer only (licence: NONE) · get_code("aa9223622a589ee6") |
| resnet50 | Ran | ZiqiaoWangGeothe/f-DD/resnet.py pointer only (licence: NONE) · get_code("4dba9202f6681a44") |
| rgb_loader | Ran | ZiqiaoWangGeothe/f-DD/data_list.py pointer only (licence: NONE) · get_code("2c5ce24ea2b5d2a4") |
| sample_batch | Ran | nv-tlabs/fdal/demos/demo_mnist_usps.py pointer only (licence: NOASSERTION) · get_code("7c115a542ded0b00") |
| scheduler | Ran | nv-tlabs/fdal/demos/demo_mnist_usps.py pointer only (licence: NOASSERTION) · get_code("b443a88d848fa725") |
| test_accuracy | Ran | nv-tlabs/fdal/demos/demo_mnist_usps.py pointer only (licence: NOASSERTION) · get_code("02a979a0b77b81bf") |
| AlexNetFc | Not yet run | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("0ff3397a4c5d6d8e") |
| CDAN | Not yet run | thuml/CDAN/pytorch/loss.py pointer only (licence: NONE) · get_code("385d1e010dfb76a9") |
| MDD | Not yet run | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("9b82f0f515a02d24") |
| MDDNet | Not yet run | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("42a3f0e51b7fd956") |
| ResNet101Fc | Not yet run | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("d13ed5810705537a") |
| ResNet152Fc | Not yet run | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("efa54f07511dd885") |
| ResNet18Fc | Not yet run | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("c3f94bdd9fbfb7e6") |
| ResNet34Fc | Not yet run | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("42bcc5718e42c2ac") |
| ResNet50Fc | Not yet run | thuml/MDD/model/MDD.py pointer only (licence: NONE) · get_code("6ae60f54e4a71898") |
| batch_norm | Not yet run | thuml/CDAN/tensorflow/network.py pointer only (licence: NONE) · get_code("f4fba27e3fd641f2") |
| calc_coeff | Not yet run | thuml/CDAN/pytorch/network.py pointer only (licence: NONE) · get_code("e352afa5762c5a6b") |
| conv2d_fixed_padding | Not yet run | thuml/CDAN/tensorflow/network.py pointer only (licence: NONE) · get_code("c756a6986ed2d1b8") |
| make_dataset | Not yet run | ZiqiaoWangGeothe/f-DD/data_list.py pointer only (licence: NONE) · get_code("2301055cb33836bc") |
| train_image_process | Not yet run | thuml/CDAN/tensorflow/prep.py pointer only (licence: NONE) · get_code("d4b7fc45bc547d26") |
| train_prep | Not yet run | thuml/CDAN/tensorflow/prep.py pointer only (licence: NONE) · get_code("4feb1f96606917ce") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Unsupervised domain adaptation (UDA) plays a crucial role in addressing distribution shifts in machine learning. In this work, we improve the theoretical foundations of UDA proposed in Acuna et al. (2021) by refining their f -divergence-based discrepancy and additionally introducing a new measure, f -domain discrepancy (f -DD). By removing the absolute value function and incorporating a scaling parameter, f -DD obtains novel target error and sample complexity bounds, allowing us to recover previous KL-based results and bridging the gap between algorithms and theory presented in Acuna et al. (2021). Using a localization technique, we also develop a fast-rate generalization bound. Empirical results demonstrate the superior performance of f -DD-based learning algorithms over previous works in popular UDA benchmarks.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2402.01887")
get_code_for_paper("2402.01887")
have("2402.01887")
Connect an agent — have() is free.