paper-with-me

홈 › Papers

Large Language Models Prompting With Episodic Memory

2024-08-14 · Dai Do, Quan Tran, Svetha Venkatesh, Hung Le

Prompt optimization is essential for enhancing the performance of Large Language Models (LLMs) in a range of Natural Language Processing (NLP) tasks, particularly in scenarios of few-shot learning where training examples are incorporated directly into the prompt. Despite the growing interest in optimizing prompts with few-shot examples, existing methods for prompt optimization are often resource-intensive or perform inadequately. In this work, we propose PrOmpting with Episodic Memory (POEM), a novel prompt optimization technique that is simple, efficient, and demonstrates strong generalization capabilities. We approach prompt optimization as a Reinforcement Learning (RL) challenge, using episodic memory to archive combinations of input data, permutations of few-shot examples, and the rewards observed during training. In the testing phase, we optimize the sequence of examples for each test query by selecting the sequence that yields the highest total rewards from the top-k most similar training examples in the episodic memory. Our results show that POEM outperforms recent techniques like TEMPERA and RLPrompt by over 5.3% in various text classification tasks. Furthermore, our approach adapts well to broader language understanding tasks, consistently outperforming conventional heuristic methods for ordering examples.

📄 PDF Abstract BibTeX arXiv:2408.07465

Code (0)

등록된 구현이 없습니다.

Tasks

Few-Shot LearningReinforcement Learning (RL)text-classificationText Classification

Similar Papers 제목 키워드 기반

Evaluating Long-Term Memory for Long-Context Question Answering

2025-10-27 · Alessandra Terranova, Björn Ross, Alexandra Birch arxiv

In order for large language models to achieve true conversational continuity and benefit from experiential learning, they need memory. While research has focused on the development of complex memory systems, it remains u…

Question Answering

Reasoning Under 1 Billion: Memory-Augmented Reinforcement Learning for Large Language Models

2025-04-03 · Hung Le, Dai Do, Dung Nguyen, Svetha Venkatesh

Recent advances in fine-tuning large language models (LLMs) with reinforcement learning (RL) have shown promising improvements in complex reasoning tasks, particularly when paired with chain-of-thought (CoT) prompting. H…

GSM8KReinforcement Learning (RL)

Episodic Memories Generation and Evaluation Benchmark for Large Language Models

2025-01-21 · Alexis Huet, Zied Ben Houidi, Dario Rossi

Episodic memory -- the ability to recall specific events grounded in time and space -- is a cornerstone of human cognition, enabling not only coherent storytelling, but also planning and decision-making. Despite their re…

Echo: A Large Language Model with Temporal Episodic Memory

2025-02-22 · Wentao Liu, Ruohua Zhang, Aimin Zhou, Feng Gao 외

Research on large language models (LLMs) has shown remarkable performance in domains such as mathematics, programming, and literary creation. However, most studies have focused on semantic memory-based question answering…

Language ModelingLanguage ModellingLarge Language ModelQuestion Answering

EMemBench: Interactive Benchmarking of Episodic Memory for VLM Agents

2026-01-23 · Xinze Li, Ziyue Zhu, Siyuan Liu, Yubo Ma 외 arxiv

We introduce EMemBench, a programmatic benchmark generator for evaluating long-term episodic memory of agents through interactive games. Rather than using a fixed set of questions, EMemBench generates questions from envi…

Spatial Reasoning