Saved in:
Bibliographic Details
Main Authors: Wei, Peipei, Dimitriadis, Dimitris, Xu, Yan, Shen, Mingwei
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.07165
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913686019375104
author Wei, Peipei
Dimitriadis, Dimitris
Xu, Yan
Shen, Mingwei
author_facet Wei, Peipei
Dimitriadis, Dimitris
Xu, Yan
Shen, Mingwei
contents We present PRINCIPLE-BASED PROMPTING, a simple but effective multi-agent prompting strategy for text classification. It first asks multiple LLM agents to independently generate candidate principles based on analysis of demonstration samples with or without labels, consolidates them into final principles via a finalizer agent, and then sends them to a classifier agent to perform downstream classification tasks. Extensive experiments on binary and multi-class classification datasets with different sizes of LLMs show that our approach not only achieves substantial performance gains (1.55% - 19.37%) over zero-shot prompting on macro-F1 score but also outperforms other strong baselines (CoT and stepback prompting). Principles generated by our approach help LLMs perform better on classification tasks than human crafted principles on two private datasets. Our multi-agent PRINCIPLE-BASED PROMPTING approach also shows on-par or better performance compared to demonstration-based few-shot prompting approaches, yet with substantially lower inference costs. Ablation studies show that label information and the multi-agent cooperative LLM framework play an important role in generating high-quality principles to facilitate downstream classification tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2502_07165
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Don't Just Demo, Teach Me the Principles: A Principle-Based Multi-Agent Prompting Strategy for Text Classification
Wei, Peipei
Dimitriadis, Dimitris
Xu, Yan
Shen, Mingwei
Computation and Language
Artificial Intelligence
We present PRINCIPLE-BASED PROMPTING, a simple but effective multi-agent prompting strategy for text classification. It first asks multiple LLM agents to independently generate candidate principles based on analysis of demonstration samples with or without labels, consolidates them into final principles via a finalizer agent, and then sends them to a classifier agent to perform downstream classification tasks. Extensive experiments on binary and multi-class classification datasets with different sizes of LLMs show that our approach not only achieves substantial performance gains (1.55% - 19.37%) over zero-shot prompting on macro-F1 score but also outperforms other strong baselines (CoT and stepback prompting). Principles generated by our approach help LLMs perform better on classification tasks than human crafted principles on two private datasets. Our multi-agent PRINCIPLE-BASED PROMPTING approach also shows on-par or better performance compared to demonstration-based few-shot prompting approaches, yet with substantially lower inference costs. Ablation studies show that label information and the multi-agent cooperative LLM framework play an important role in generating high-quality principles to facilitate downstream classification tasks.
title Don't Just Demo, Teach Me the Principles: A Principle-Based Multi-Agent Prompting Strategy for Text Classification
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2502.07165