Improving LLM's Response with a New Prompt Framework RCFOR

Recent advancements in prompt engineering have significantly enhanced the performance of large language models (LLMs), enabling better adaptation to diverse tasks. While CO-STAR has been widely used for structured prompt optimization, its rigid structure and inefficiencies in handling complex queries limit its flexibility. To address these challenges, we propose RCFOR, a novel framework, which is built on five components: Role, Context, Focus, Objective, and Response designed to enhance adaptability and efficiency in prompt engineering. Inspired by reinforcement learning techniques in few-shot learning and advanced prompt tuning strategies, our method improves generalization across different AI applications. Experimental evaluations using GPT-4o-mini model, on a food dataset demonstrate that RCFOR achieves an accuracy of 0.91, closely matching CO-STAR's performance while offering superior adaptability and efficiency. Our approach aligns with recent advancements in prompt-based model optimization, such as Chain-of-Thought prompting and instruction tuning, further highlighting its potential for broader AI applications. These findings position RCFOR as an effective alternative to CO-STAR, offering enhanced flexibility, improved response accuracy, and dynamic adaptability in complex scenarios.

Authors

Institutions

Publication Details

Published
2025-07-25
DOI
https://doi.org/10.1109/atigb66719.2025.11142192
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improving LLM's Response with a New Prompt Framework RCFOR

Tuan Pham, Tuan Nguyen Ngoc
Topic Modeling
article

Improving LLM's Response with a New Prompt Framework RCFOR

Tuan Pham, Tuan Nguyen Ngoc
article en

Abstract

Recent advancements in prompt engineering have significantly enhanced the performance of large language models (LLMs), enabling better adaptation to diverse tasks. While CO-STAR has been widely used for structured prompt optimization, its rigid structure and inefficiencies in handling complex queries limit its flexibility. To address these challenges, we propose RCFOR, a novel framework, which is built on five components: Role, Context, Focus, Objective, and Response designed to enhance adaptability and efficiency in prompt engineering. Inspired by reinforcement learning techniques in few-shot learning and advanced prompt tuning strategies, our method improves generalization across different AI applications. Experimental evaluations using GPT-4o-mini model, on a food dataset demonstrate that RCFOR achieves an accuracy of 0.91, closely matching CO-STAR's performance while offering superior adaptability and efficiency. Our approach aligns with recent advancements in prompt-based model optimization, such as Chain-of-Thought prompting and instruction tuning, further highlighting its potential for broader AI applications. These findings position RCFOR as an effective alternative to CO-STAR, offering enhanced flexibility, improved response accuracy, and dynamic adaptability in complex scenarios.

University of Da Nang (VN)
Openalex Percentile: Top 87%
Topic Modeling
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.