paper-with-me

Papers

diff History for Neural Language Agents

2023-12-12 · Ulyana Piterbarg, Lerrel Pinto, Rob Fergus

Neural Language Models (LMs) offer an exciting solution for general-purpose embodied control. However, a key technical issue arises when using an LM-based controller: environment observations must be converted to text, which coupled with history, results in long and verbose textual prompts. As a result, prior work in LM agents is limited to restricted domains with small observation size as well as minimal needs for interaction history or instruction tuning. In this paper, we introduce diff history, a simple and highly effective solution to these issues. By applying the Unix diff command on consecutive text observations in the interaction histories used to prompt LM policies, we can both abstract away redundant information and focus the content of textual inputs on the salient changes in the environment. On NetHack, an unsolved video game that requires long-horizon reasoning for decision-making, LMs tuned with diff history match state-of-the-art performance for neural agents while needing 1800x fewer training examples compared to prior work. Even on the simpler BabyAI-Text environment with concise text observations, we find that although diff history increases the length of prompts, the representation it provides offers a 25% improvement in the efficiency of low-sample instruction tuning. Further, we show that diff history scales favorably across different tuning dataset sizes. We open-source our code and data to https://diffhistory.github.io.

📄 PDF Abstract BibTeX arXiv:2312.07540

Code (1)

upiterbarg/diff_history 공식 구현

Tasks

Decision MakingNetHackSequence-to-sequence Language Modeling

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Cognitive Architectures for Language Agents

2023-09-05 · Theodore R. Sumers, Shunyu Yao, Karthik Narasimhan, Thomas L. Griffiths

Recent efforts have augmented large language models (LLMs) with external resources (e.g., the Internet) or internal control flows (e.g., prompt chaining) for tasks requiring grounding or reasoning, leading to a new class…

Decision Making

Persona2Web: Benchmarking Personalized Web Agents for Contextual Reasoning with User History

2026-02-19 · Serin Kim, Sangam Lee, Dongha Lee arxiv

Large language models have advanced web agents, yet current agents lack personalization capabilities. Since users rarely specify every detail of their intent, practical web agents must be able to interpret ambiguous quer…

From Signals to Structure: How Memory Architecture Drives Language Emergence in LLM Agents

2026-06-30 · Yashar Talebirad, Eden Redman, Ali Parsaee, Osmar R. Zaiane arxiv

How do two agents invent a shared language from scratch? In a Lewis signaling game, a sender and receiver must coordinate on a code using only their interaction history. We study five memory architectures across varying …

APeB: Benchmarking Personalization Ability of Large Language Model Agents

2026-07-03 · Garry Yang, Zizhe Chen, Xinru Chen, Yongqiang Chen 외 arxiv

LLM-powered agents struggle with personalization when users issue raw, underspecified queries. In this setting, agents must infer latent intent, extract preferences from noisy interaction histories, and select among comp…

On Path to Multimodal Historical Reasoning: HistBench and HistAgent

2025-05-26 · Jiahao Qiu, Fulian Xiao, Yimin Wang, Yuchen Mao 외

Recent advances in large language models (LLMs) have led to remarkable progress across domains, yet their capabilities in the humanities, particularly history, remain underexplored. Historical reasoning poses unique chal…

Optical Character Recognition (OCR)