Lune

ACL Findings2025

CodeTaxo: Enhancing Taxonomy Expansion with Limited Examples via Code Language Prompts

Qingkai Zeng, Yuyang Bai, Zhaoxuan Tan, Zhenyu Wu, Shangbin Feng, Meng Jiang

Abstract

Taxonomies provide structural representations of knowledge and are crucial in various applications. The task of taxonomy expansion involves integrating emerging entities into existing taxonomies by identifying appropriate parent entities for these new query entities. Previous methods rely on self-supervised techniques that generate annotation data from existing taxonomies but are less effective with small taxonomies (fewer than 100 entities). In this work, we introduce CODETAXO, a novel approach that leverages large language models through code language prompts to capture the taxonomic structure. Extensive experiments on five real-world benchmarks from different domains demonstrate that CODETAXO consistently achieves superior performance across all evaluation metrics, significantly outperforming previous stateof-the-art methods. The code and data are available at https://github.com/QingkaiZeng/ CodeTaxo-official.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • PAL: Program-aided Language Models cites Language Models of Code are Few-Shot Commonsense Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on23

  1. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  2. PAL: Program-aided Language ModelsLuyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon et al.ICML 2023 · 700 citations
  3. At Which Training Stage Does Code Data Help LLMs Reasoning?Yingwei Ma, Yue Liu, Yue Yu, Yuanliang Zhang et al.ICLR 2024 · 106 citations
  4. Language Models of Code are Few-Shot Commonsense LearnersAman Madaan, Shuyan Zhou, Uri Alon, Yiming Yang et al.EMNLP 2022 · 103 citations
  5. TaxoExpan: Self-supervised Taxonomy Expansion with Position-Enhanced Graph Neural NetworkJiaming Shen, Zhihong Shen, Chenyan Xiong, Chi Wang et al.WWW 2020 · 85 citations

Related papers

  1. A Unified Taxonomy-Guided Instruction Tuning Framework for Entity Set Expansion and Taxonomy ExpansionYanzhen Shen, Yu Zhang, Yunyi Zhang, Jiawei HanACL Findings 2025 · 1 citation
  2. TaxoEnrich: Self-Supervised Taxonomy Completion via Structure-Semantic RepresentationsMinhao Jiang, Xiangchen Song, Jieyu Zhang, Jiawei HanWWW 2022 · 45 citations
  3. Compress and Mix: Advancing Efficient Taxonomy Completion with Large Language ModelsHongyuan Xu, Yuhang Niu, Yanlong Wen, Xiaojie YuanWWW 2025 · 6 citations
  4. STEAM: Self-Supervised Taxonomy Expansion with Mini-PathsYue Yu, Yinghao Li, Jiaming Shen, Hao Feng et al.KDD 2020 · 47 citations
  5. TEMP: Taxonomy Expansion with Dynamic Margin Loss through Taxonomy-PathsZichen Liu, Hongyuan Xu, Yanlong Wen, Ning Jiang et al.EMNLP 2021 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines