paper-with-me

홈 › Papers

LLMs as Method Actors: A Model for Prompt Engineering and Architecture

2024-11-08 · Colin Doyle

We introduce "Method Actors" as a mental model for guiding LLM prompt engineering and prompt architecture. Under this mental model, LLMs should be thought of as actors; prompts as scripts and cues; and LLM responses as performances. We apply this mental model to the task of improving LLM performance at playing Connections, a New York Times word puzzle game that prior research identified as a challenging benchmark for evaluating LLM reasoning. Our experiments with GPT-4o show that a "Method Actors" approach can significantly improve LLM performance over both a vanilla and "Chain of Thoughts" approach. A vanilla approach solves 27% of Connections puzzles in our dataset and a "Chain of Thoughts" approach solves 41% of puzzles, whereas our strongest "Method Actor" approach solves 86% of puzzles. We also test OpenAI's newest model designed specifically for complex reasoning tasks, o1-preview. When asked to solve a puzzle all at once, o1-preview solves 79% of Connections puzzles in our dataset, and when allowed to build puzzle solutions one guess at a time over multiple API calls, o1-preview solves 100% of the puzzles. Incorporating a "Method Actor" prompt architecture increases the percentage of puzzles that o1-preview solves perfectly from 76% to 87%.

📄 PDF Abstract BibTeX arXiv:2411.05778

Code (1)

colindoyle0000/llms-as-method-actors 공식 구현

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

Tapping the Potential of Large Language Models as Recommender Systems: A Comprehensive Framework and Empirical Analysis

2024-01-10 · Lanling Xu, Junjie Zhang, Bingqian Li, Jinpeng Wang 외

Recently, Large Language Models~(LLMs) such as ChatGPT have showcased remarkable abilities in solving general tasks, demonstrating the potential for applications in recommender systems. To assess how effectively LLMs can…

Prompt EngineeringRecommendation Systems

Leveraging Large Language Models with Chain-of-Thought and Prompt Engineering for Traffic Crash Severity Analysis and Inference

2024-08-04 · Hao Zhen, Yucheng Shi, Yongcan Huang, Jidong J. Yang 외

Harnessing the power of Large Language Models (LLMs), this study explores the use of three state-of-the-art LLMs, specifically GPT-3.5-turbo, LLaMA3-8B, and LLaMA3-70B, for crash severity inference, framing it as a class…

Logical ReasoningPrompt Engineering

From Instruction to Output: The Role of Prompting in Modern NLG

2026-01-21 · Munazza Zaib, Elaf Alhazmi arxiv

Prompt engineering has emerged as an integral technique for extending the strengths and abilities of Large Language Models (LLMs) to gain significant performance gains in various Natural Language Processing (NLP) tasks. …

Prompt Engineering

Unleashing the potential of prompt engineering for large language models

2023-10-23 · Banghao Chen, Zhaofeng Zhang, Nicolas Langrené, Shengxin Zhu

This comprehensive review delves into the pivotal role of prompt engineering in unleashing the capabilities of Large Language Models (LLMs). The development of Artificial Intelligence (AI), from its inception in the 1950…

HallucinationPrompt EngineeringPrompt Learning

How Effective are Generative Large Language Models in Performing Requirements Classification?

2025-04-23 · Waad Alhoshan, Alessio Ferrari, Liping Zhao

In recent years, transformer-based large language models (LLMs) have revolutionised natural language processing (NLP), with generative models opening new possibilities for tasks that require context-aware text generation…

ClassificationText Generation