Skip to content
Open access

Improving few-shot stance detection with MINE: meta-prompting and in-context N-shot examples

Aug 2026 · International Journal of Data Science and Analysis · Vol 22 · 0 citations · 57 references

TL;DR

This work presents MINE (Meta-prompting and In-context N-shot Examples), a simple, light-weight, training-free framework that first creates a target-specific LLM stance agent through meta-prompting, and then augments it with a small number of semantically retrieved examples.

Abstract

Stance detection aims to identify an author’s stance toward a target topic. Although recent prompting-based methods enable zero- and few-shot stance detection with large language models (LLMs), they often require extensive prompting or costly use of multiple LLM agents, as well as large labeled training datasets. We present MINE (Meta-prompting and In-context N-shot Examples), a simple, light-weight, training-free framework that first creates a target-specific LLM stance agent through meta-prompting, and then augments it with a small number of semantically retrieved examples. While meta-prompting and retrieval-augmented in-context learning have been studied independently, these components have not been combined specifically for stance detection in a training-free pipeline to the best of our knowledge. We also provide a systematic empirical study that quantifies the effects of the example retrieval strategy, sentence encoder choice, demonstrator pool size, and the number of examples on the performance of this hybrid methodology. We show that MINE achieves competitive performance when deployed as either a zero-shot or few-shot stance detector, matching or exceeding existing prompting-only approaches on SemEval-2016 and P-Stance while using fewer prompts and demonstrations. MINE remains effective with minimal labeled data (e.g., 10% of the training demonstrator pool) and generalizes to related tasks, including aspect-based sentiment analysis and cross-target stance detection.

Read PDF

Similar papers

Open access Sep 2026

Evaluating Prompt Engineering Techniques for LLaMA-3: A Study of Zero-Shot, Few-Shot, and Chain-of-Thought Prompts Across Reasoning and Classification Tasks

Prompt engineering has emerged as a practical and resource-efficient alternative to fine-tuning large language models (LLMs), particularly as these methods have a lower computation cost than fine-tuning. In this paper, three widely adopted prompting techniques—Zero-Shot, Few-Shot, and Chain-of-Thought (CoT)—were assess...

Darren Astle Travasso, Aboozar Taherkhani · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.