TacoPrompt: A Collaborative Multi-Task Prompt Learning Method for Self-Supervised Taxonomy Completion

Hongyuan Xu, Ciyi Liu, Yuhang Niu, Yunong Chen, Xiangrui Cai, Yanlong Wen, Xiaojie Yuan

Introduction

Taxonomies serve as the backbone of structured knowledge, organizing concepts through hierarchical "is-a" relationships. In rapidly evolving fields like Computer Science or Medicine, new concepts emerge daily, making manual updates to these hierarchies an impossible task. While "Taxonomy Expansion"—the process of adding new concepts as leaf nodes—has seen significant research, the more complex problem of Taxonomy Completion remains a challenge.

The Taxonomy Completion Challenge

Taxonomy completion involves placing a new concept (query) into an existing hierarchy, potentially as an internal node between a parent and a child. This is significantly harder than expansion because it requires identifying a specific position within a branch rather than just a leaf attachment.

The Taxonomy Completion Problem: Inserting new concepts as internal nodes rather than just leaves.

Existing automated methods often suffer from two primary drawbacks:

  1. Leaf-Only Bias: Training data typically favors leaf additions, leading models to overfit and fail at internal node placement.
  2. Disconnected Subtasks: Traditional models treat parent-finding and child-finding as isolated tasks, missing the synergistic information that could inform the final placement.

The TacoPrompt Framework

To address these issues, the authors propose TacoPrompt, a self-supervised framework that treats taxonomy completion as a triplet semantic matching problem using a Pre-trained Language Model (PLM).

Prompt Learning with MLM Heads

Instead of adding a standard classification layer—which often leads to overfitting on small datasets—TacoPrompt utilizes the pre-trained Masked Language Modeling (MLM) head of a Language Model. By framing the problem as a "fill-in-the-blank" task (e.g., predicting if a triplet matches), the model leverages the rich semantic knowledge already present in the PLM, enhancing generalization and resisting the leaf-only bias.

Collaborative Multi-Task Learning

TacoPrompt introduces two variants to bridge the gap between subtasks:

  • TacoPrompt-Chain: This variant uses a "Chain-of-Thought" style approach. It first performs parent-matching and child-matching subtasks, then feeds the explicit "Yes/No" results back into the prompt as textual context for the final decision.
  • TacoPrompt-Hidden: This version uses soft prompts (learnable hidden vectors) to pass information between tasks within the transformer layers, allowing for a more fluid exchange of information.
TacoPrompt-Chain Multi-Task Learning: Using subtask results as explicit context for final anchor-matching.

Efficiency: TacoPrompt++

To overcome the computational cost of cross-encoders, the authors developed TacoPrompt++. This two-stage pipeline uses a lightweight retriever to identify the top 50 candidates, which TacoPrompt then re-ranks. This optimization improves inference speed by up to 1,000x without sacrificing accuracy.

Experimental Evaluation

TacoPrompt was benchmarked against state-of-the-art models on three diverse datasets: SemEval-Food, MeSH (Medical Subject Headings), and WordNet-Verb. These datasets were specifically curated to include non-leaf attachment scenarios.

Key Results

  • Superior Accuracy: TacoPrompt consistently outperformed all baselines. On the SemEval-Food dataset, it achieved a 71.7% Mean Reciprocal Rank (MRR), a substantial improvement over the previous best (57.9%).
  • Non-Leaf Performance: In the most difficult scenarios—inserting nodes into the middle of a tree—TacoPrompt-Chain improved Hit@1 by an average of 16.6% across all datasets.
  • Comparison with LLMs: Interestingly, task-tuned TacoPrompt outperformed much larger models like Llama-2-7B in few-shot settings, highlighting the importance of structural awareness in taxonomy tasks.

Conclusion

TacoPrompt represents a significant step forward in automated knowledge organization. By combining the power of prompt learning with a collaborative multi-task architecture, it effectively mitigates the leaf-only bias and provides a robust solution for the complex task of taxonomy completion. Future work may explore incorporating sibling node information to further refine the vertical placement of new concepts.

Summary updated

BibTeX
@inproceedings{xu2023tacoprompt,
  author = {Hongyuan Xu and Ciyi Liu and Yuhang Niu and Yunong Chen and Xiangrui Cai and Yanlong Wen and Xiaojie Yuan},
  title = {{TacoPrompt: A Collaborative Multi-Task Prompt Learning Method for Self-Supervised Taxonomy Completion}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.979},
}
Figure