RelationMatch
RelationMatch: Matching In-batch Relationships for Semi-supervised Learning (https://arxiv.org/abs/2305.10397)
Install / Use
/learn @yifanzhang-pro/RelationMatchREADME
RelationMatch
Official implementation of paper "RelationMatch: Matching In-batch Relationships for Semi-supervised Learning" (https://arxiv.org/abs/2305.10397).
- Achieving 15.21% accuracy improvement over FlexMatch on the STL-10 dataset!
Installation
You can create the ssl environment by just running this command:
conda env create -f environment.yaml
Then you may activate ssl environment by conda activate ssl
Runnning experiments
Under ssl environment, run following command:
python BASE_METHOD.py --c=PATH/TO/YOUR/CONFIG
BASE_METHOD can be one of fixmatch, flexmatch, with respect to RelationMatch and RelationMatch(w/ CPL) in paper.
We provide our example config in configs/BASE_METHOD/ folder with relation suffix. You can use diff to find the difference between relation match configs and TorchSSL configs, and it's easy to modify other TorchSSL configs to RelationMatch configs follow our sample configs.
Acknowledgement
We implement our RelationMatch method based on TorchSSL repo. Thanks for their wonderful work!
Citations
Please cite the paper and star this repo if you use RelationMatch and find it interesting/useful, thanks!
@article{zhang2023relationmatch,
title={RelationMatch: Matching In-batch Relationships for Semi-supervised Learning},
author={Zhang, Yifan and Yang, Jingqin and Tan, Zhiquan and Yuan, Yang},
journal={arXiv preprint arXiv:2305.10397},
year={2023}
}
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
400Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
19.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
