Paper Reading AI Learner

Minerva: A Programmable Memory Test Benchmark for Language Models

2025-02-05 16:53:45
Menglin Xia, Victor Ruehle, Saravan Rajmohan, Reza Shokri

Abstract

How effectively can LLM-based AI assistants utilize their memory (context) to perform various tasks? Traditional data benchmarks, which are often manually crafted, suffer from several limitations: they are static, susceptible to overfitting, difficult to interpret, and lack actionable insights--failing to pinpoint the specific capabilities a model lacks when it does not pass a test. In this paper, we present a framework for automatically generating a comprehensive set of tests to evaluate models' abilities to use their memory effectively. Our framework extends the range of capability tests beyond the commonly explored (passkey, key-value, needle in the haystack) search, a dominant focus in the literature. Specifically, we evaluate models on atomic tasks such as searching, recalling, editing, matching, comparing information in context memory, and performing basic operations when inputs are structured into distinct blocks, simulating real-world data. Additionally, we design composite tests to investigate the models' ability to maintain state while operating on memory. Our benchmark enables an interpretable, detailed assessment of memory capabilities of LLMs.

Abstract (translated)

基于大型语言模型(LLM)的AI助手如何有效地利用其记忆(上下文)来执行各种任务?传统的数据基准测试通常由人工创建,存在若干局限性:它们是静态的、容易过拟合、难以解释且缺乏可操作见解——无法在模型未能通过测试时确定具体缺失的能力。在这篇论文中,我们提出了一种框架,用于自动生成一套全面的测试来评估模型利用其记忆的有效能力。我们的框架扩展了常见探索范围之外的能力测试(如密码查找、键值对搜索和大海捞针),这些是文献中的主要关注点。特别地,我们在结构化成不同块的输入上评估模型,执行原子任务,例如搜索、回忆、编辑、匹配和比较上下文记忆中的信息,并在模拟现实世界数据的情况下进行基本操作。此外,我们设计了合成测试来调查模型在处理内存时保持状态的能力。我们的基准测试使LLM的记忆能力能够得到可解释且详细的评估。

URL

https://arxiv.org/abs/2502.03358

PDF

https://arxiv.org/pdf/2502.03358.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot