Conditional Tree Matching for Inference-Time Adaptation of Tree Prediction Models
Harshit Varma, Abhijeet Awasthi, Sunita Sarawagi
Abstract
We present CTREEOT, a convergent, differentiable algorithm for matching two trees when each tree is conditioned on some input. Such conditional tree matching is useful for light-weight, few-shot adaptation of tree prediction models without parameter fine-tuning. CTREEOT includes an alignment algorithm that extends the popular Sinkhorn algorithm for matching tree nodes while supporting constraints on tree edges. The algorithm involves alternating between matrix rescaling and message passing updates, and can be efficiently expressed as GPU tensor operations. The second part of CTREEOT is finegrained relevance-based reweighting of nodes that makes the match scores useful for prediction tasks. We demonstrate the usefulness of CTREEOT for cross-schema adaptation of Text-to-SQL, a popular semantic parsing task. We show that compared to state-of-the-art methods, we achieve significant increase in adaptation accuracy.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models cites Case-based Reasoning for Natural Language Queries over Knowledge Bases
- Nearest Neighbor Machine Translation cites Generalization through Memorization: Nearest Neighbor Language Models
- Case-based Reasoning for Natural Language Queries over Knowledge Bases cites Generalization through Memorization: Nearest Neighbor Language Models
- Case-based Reasoning for Natural Language Queries over Knowledge Bases cites Nearest Neighbor Machine Translation
Cited by top-tier papers2
- Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema PruningZhili Shen, Pavlos Vougiouklis, Chenxin Diao, Kaustubh Vyas et al.EMNLP 2024 · 3 citations
- Reliable Answers for Recurring Questions: Boosting Text-to-SQL Accuracy with Template Constrained DecodingSmit Jivani, Sarvam Maheshwari, Sunita SarawagiSIGMOD 2026 · 1 citation
Builds on14
- Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2020 · 1,038 citations
- Nearest Neighbor Machine TranslationUrvashi Khandelwal, Angela Fan, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2021 · 323 citations
- UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language ModelsTianbao Xie, Chen Henry Wu, Peng Shi, Ruiqi Zhong et al.EMNLP 2022 · 222 citations
- Graph Optimal Transport for Cross-Domain AlignmentLiqun Chen, Zhe Gan, Yu Cheng, Linjie Li et al.ICML 2020 · 193 citations
- Case-based Reasoning for Natural Language Queries over Knowledge BasesRajarshi Das, Manzil Zaheer, Dung Thai, Ameya Godbole et al.EMNLP 2021 · 111 citations
Related papers
- Rationalizing Text Matching: Learning Sparse Alignments via Optimal TransportKyle Swanson, Lili Yu, Tao LeiACL 2020 · 3 citations
- Structured Case-Based Reasoning for Inference-Time Adaptation of Text-to-SQL ParsersAbhijeet Awasthi, Soumen Chakrabarti, Sunita SarawagiAAAI 2023 · 7 citations
- Adaptable Text Matching via Meta-Weight RegulatorBo Zhang, Chen Zhang, Fang Ma, Dawei SongSIGIR 2022
- Adaptive Softassign via Hadamard-Equipped SinkhornBinrui Shen, Qiang Niu, Shengxin ZhuCVPR 2024 · 2 citations
- ADnEV: Cross-Domain Schema Matching using Deep Similarity Matrix Adjustment and EvaluationRoee Shraga, Avigdor Gal, Haggai RoitmanVLDB 2020 · 37 citations
