The Effect of Prompt Types on Text Summarization Performance With Large Language Models

This article presents a comparative analysis of three distinct prompting techniques—simple zero-shot, few-shot, and role-based—for the task of summarizing articles from diverse domains, using two large language models (LLMs): GPT 3.5 and Llama 2. The study investigates the efficacy of each prompt type in aiding summarization algorithms. The authors utilize two separate scoring metrics to ascertain the accuracy and cohesiveness of the generated summaries. Remarkably, findings indicate a predominant success of simple zero-shot prompts over their few-shot and role-based counterparts, for both LLMs. The superiority of simple zero-shot prompts underscores their versatility and potential for effective use across various topical spheres. The implications of this are significant, offering a streamlined approach to article summarization tasks and potential improvements in machine learning model training.

Authors

Institutions

Publication Details

Journal
Journal of Database Management
Published
2024-11-07
DOI
https://doi.org/10.4018/jdm.358475
Citations
2
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.69
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Effect of Prompt Types on Text Summarization Performance With Large Language Models

Akhilesh Bajaj, Iffat Borhan
2 citations
Journal of Database Management
Topic Modeling
0.69
article

The Effect of Prompt Types on Text Summarization Performance With Large Language Models

Akhilesh Bajaj, Iffat Borhan
article en
2 citations

Abstract

This article presents a comparative analysis of three distinct prompting techniques—simple zero-shot, few-shot, and role-based—for the task of summarizing articles from diverse domains, using two large language models (LLMs): GPT 3.5 and Llama 2. The study investigates the efficacy of each prompt type in aiding summarization algorithms. The authors utilize two separate scoring metrics to ascertain the accuracy and cohesiveness of the generated summaries. Remarkably, findings indicate a predominant success of simple zero-shot prompts over their few-shot and role-based counterparts, for both LLMs. The superiority of simple zero-shot prompts underscores their versatility and potential for effective use across various topical spheres. The implications of this are significant, offering a streamlined approach to article summarization tasks and potential improvements in machine learning model training.

Journal of Database ManagementVol. 35(1)
University of Tulsa (US)
Quality Education
Openalex Percentile: Top 23%
Topic Modeling
0.69
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.