Prompting or Fine-tuning? A Comparative Study of Large Language Models for Taxonomy Construction
Boqi Chen, Fandi Yi, D\'aniel Varr\'o

TL;DR
This study compares prompting and fine-tuning methods of large language models for taxonomy construction, finding prompting often outperforms fine-tuning without training data, but fine-tuning offers easier constraint satisfaction.
Contribution
It introduces a general framework for taxonomy construction considering structural constraints and systematically compares prompting and fine-tuning approaches.
Findings
Prompting outperforms fine-tuning without training data.
Performance gap widens with smaller datasets.
Fine-tuning allows easier post-processing to satisfy constraints.
Abstract
Taxonomies represent hierarchical relations between entities, frequently applied in various software modeling and natural language processing (NLP) activities. They are typically subject to a set of structural constraints restricting their content. However, manual taxonomy construction can be time-consuming, incomplete, and costly to maintain. Recent studies of large language models (LLMs) have demonstrated that appropriate user inputs (called prompting) can effectively guide LLMs, such as GPT-3, in diverse NLP tasks without explicit (re-)training. However, existing approaches for automated taxonomy construction typically involve fine-tuning a language model by adjusting model parameters. In this paper, we present a general framework for taxonomy construction that takes into account structural constraints. We subsequently conduct a systematic comparison between the prompting and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Software Engineering Research
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · {Dispute@FaQ-s}How to file a dispute with Expedia? · Multi-Head Attention · Attention Is All You Need · Cosine Annealing · Softmax · Layer Normalization · 15 Ways to Contact How can i speak to someone at Delta Airlines · Linear Layer · Dense Connections
