Descriptive History Representations: Learning Representations by Answering Questions

Guy Tennenholtz, Jihwan Jeong, Chih-Wei Hsu, Yinlam Chow, Craig Boutilier

Abstract

Effective decision making in partially observable environments requires compressing long interaction histories into informative representations. We introduce Descriptive History Representations (DHRs): sufficient statistics characterized by their capacity to answer relevant questions about past interactions and potential future outcomes. DHRs focus on capturing the information necessary to address task-relevant queries, providing a structured way to summarize a history for optimal control. We propose a multi-agent learning framework, involving representation, decision, and question-asking components, optimized using a joint objective that balances reward maximization with the representation's ability to answer informative questions. This yields representations that capture the salient historical details and predictive structures needed for effective decision making. We validate our approach on user modeling tasks with public movie and shopping datasets, generating interpretable textual user profiles which serve as sufficient statistics for predicting preference-driven behavior of users.

1. Introduction

Reinforcement learning (RL) in partially observable environments is notoriously difficult because agents must make decisions based on an entire history of past actions and observations. Traditional approaches typically rely on belief states, which require pre-defined Markovian state spaces, or Predictive State Representations (PSRs), which attempt to predict low-level future observations. However, predicting every raw data point is computationally expensive and often captures noise irrelevant to the primary goal.

This paper addresses the "representation bottleneck" by introducing Descriptive History Representations (DHRs). Instead of predicting low-level raw data, DHRs learn to summarize complex interaction histories by training models to answer high-level, semantically meaningful questions. This shift allows the model to capture high-level abstractions—such as a user's brand loyalty or stylistic preferences—that actually drive behavior, effectively filtering out historical noise.

2. Methodology: The DHR Framework

The authors propose a multi-agent cooperative training paradigm involving four key components:

  • DHR Encoder ($E$): An LLM-based agent that compresses raw history (e.g., past purchases and reviews) into a compact textual representation $z$, referred to as a textual user profile.
  • Answer Agent ($\nu_A$): An agent that must answer questions about future behavior using only the generated profile $z$.
  • Decision Agent ($\pi_D$): An agent that makes recommendations based on the profile $z$.
  • QA Generator ($\nu^*_{QA}$): An "oracle" used during training that analyzes the entire trajectory (past and future) to generate ground-truth question-answer pairs.
The DHR multi-agent training framework, illustrating the interaction between the history encoder, decision agent, QA generator, and answer agent.

The system is optimized using a joint objective that balances maximizing the RL reward (making accurate recommendations) with minimizing the divergence between the Answer Agent’s predictions and the Oracle’s ground truth. This variational approach ensures the generated profiles contain the "sufficient statistics" needed for accurate task performance.

3. Experimental Evaluation

The framework was evaluated on two large-scale recommendation datasets: MovieLens 25M (movie ratings) and Amazon Reviews (Clothing, Shoes, and Jewelry). The authors utilized state-of-the-art language models, including Gemini 1.5 Flash and Gemma V3 (4B and 12B), to implement the agents.

4. Results and Key Insights

Experimental results demonstrate that DHRs significantly enhance decision-making performance. For instance, on the Amazon dataset, the prediction accuracy of Gemma V3 4B improved from 0.34 to 0.71 when enhanced with DHR.

Key findings include:

  • Text as a Sufficient Statistic: A short natural language summary (approximately 256 tokens) can serve as a sufficient statistic, containing nearly all the information necessary to match the performance of models using the full, raw history.
  • Interpretability: Because the representation is explicitly trained to answer questions, the resulting user profiles are human-readable and provide clear reasoning for specific recommendations.
  • Ablation Dynamics: As shown in Figure 4, there is a "sweet spot" for profile length (around 256 tokens). Interestingly, providing too much history or excessively long profiles can lead to diminishing returns due to increased noise or processing difficulty for the answer agent.
Ablation studies on MovieLens showing the impact of history length, profile length, and the number of questions on recommendation reward.

5. Conclusion

DHRs provide a structured and interpretable way to summarize interaction histories for optimal control. By focusing on task-relevant queries rather than raw data prediction, the framework achieves high performance while maintaining human-readability. Future work may explore adversarial QA generation to automate question selection and applying DHRs to more dynamic domains like robotics or complex multi-turn dialogue systems.

Summary updated

BibTeX
@misc{tennenholtz2025descriptive,
  author = {Guy Tennenholtz and Jihwan Jeong and Chih-Wei Hsu and Yinlam Chow and Craig Boutilier},
  title = {{Descriptive History Representations: Learning Representations by Answering Questions}},
  year = {2025},
  eprint = {2506.02125},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.02125},
}
Figure