CTreeOT
[ICML 2023] Official code for our paper: 'Conditional Tree Matching for Inference-Time Adaptation of Tree Prediction Models'
Install / Use
/learn @hrshtv/CTreeOTREADME
Conditional Tree Matching for Inference-Time Adaptation of Tree Prediction Models
Official code for our paper: 'Conditional Tree Matching for Inference-Time Adaptation of Tree Prediction Models' presented at ICML 2023.
Overall Approach and Alignment Algorithm
<p align="center"> <img src="assets/ctreeot.png"/ height='500rem'> <img src="assets/algorithm.png"/ height='500rem'> </p>Setup
- Create a virtual environment and activate it
- Install PyTorch 1.11.0 for your machine and CUDA version from here
- Install
tqdmandmatplotlib
Running the Code
ctreeot.py: implementation of the CTreeOT algorithmsinkhorn.py: implementation of the Sinkhorn algorithmmain.py: runs the experiments comparing the run time and constraint violations of Sinkhorn and CTreeOT on various tree sizes. Seerun.shfor more details on how to runmain.py.plot.py: generates the run time and constraint violation plots comparing Sinkhorn and CTreeOT in./plots. Note that the current plots present inside./plotswere obtained by running the experiments on Google Colab with an NVIDIA T4 GPU, unlike the ones reported in the paper which were on an NVIDIA RTX A6000 GPU.
Citation
If you found our work useful, please cite us as:
@InProceedings{pmlr-v202-varma23a,
title = {Conditional Tree Matching for Inference-Time Adaptation of Tree Prediction Models},
author = {Varma, Harshit and Awasthi, Abhijeet and Sarawagi, Sunita},
booktitle = {Proceedings of the 40th International Conference on Machine Learning},
pages = {34908--34923},
year = {2023},
editor = {Krause, Andreas and Brunskill, Emma and Cho, Kyunghyun and Engelhardt, Barbara and Sabato, Sivan and Scarlett, Jonathan},
volume = {202},
series = {Proceedings of Machine Learning Research},
month = {23--29 Jul},
publisher = {PMLR},
pdf = {https://proceedings.mlr.press/v202/varma23a/varma23a.pdf},
url = {https://proceedings.mlr.press/v202/varma23a.html}
}
Related Skills
feishu-drive
349.0k|
things-mac
349.0kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
clawhub
349.0kUse the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com
postkit
PostgreSQL-native identity, configuration, metering, and job queues. SQL functions that work with any language or driver
