Reward Prediction with Factorized World States
StateFactory uses hierarchical object-attribute structures for zero-shot reward prediction, reducing EPIC distance by 60%.
Key Findings
Methodology
This paper introduces StateFactory, which decomposes unstructured observations into hierarchical object-attribute structures using large language models. Rewards are estimated via semantic similarity between current and goal states through hierarchical routing, avoiding biases from supervised training. Evaluation on the RewardPrediction benchmark across five domains with 2454 trajectories shows the model achieves a 60% reduction in EPIC distance compared to VLWM-critic and 8% compared to LLM-as-a-Judge, demonstrating strong cross-domain generalization. The approach combines state extraction, goal interpretation, and hierarchical matching, ensuring semantic consistency and robustness.
Key Results
- StateFactory achieves an average EPIC distance of 0.297 across all domains, outperforming supervised and representation-free baselines. On AlfWorld and ScienceWorld, success rates increase by 21.64% and 12.40%, respectively. Ablation studies confirm that hierarchical object-attribute structures and dynamic goal interpretation are critical for performance. The model generalizes well to unseen tasks, approaching the upper bound of supervised models trained on all data.
Significance
This work addresses the core challenge of reward model generalization in reinforcement learning, moving beyond data-dependent supervised methods. By leveraging semantic hierarchies, it enhances zero-shot adaptability, crucial for real-world applications like robotics and virtual assistants. The introduced benchmark provides a systematic way to evaluate reward quality, fostering progress in reward modeling research. The approach offers a scalable, interpretable framework that bridges symbolic and neural representations, paving the way for more flexible, robust AI systems.
Technical Contribution
The paper proposes StateFactory, a novel hierarchical object-attribute decomposition method, combined with a semantic similarity-based reward estimation. It introduces the RewardPrediction benchmark for systematic evaluation, and demonstrates that explicit semantic structuring significantly improves zero-shot reward prediction accuracy. The framework integrates recurrent state and goal interpretation modules, enabling dynamic, context-aware reward estimation without task-specific training. These innovations collectively advance the state-of-the-art in reward modeling and generalization.
Novelty
This is the first work to embed hierarchical object-attribute structures into reward prediction, enabling semantic matching across diverse tasks. Unlike prior supervised or implicit methods, it emphasizes explicit semantic decomposition and dynamic goal updating, resulting in superior zero-shot performance. The creation of a dedicated benchmark for step-wise reward evaluation further distinguishes this work, setting new standards for reward model assessment.
Limitations
- The approach relies heavily on pre-trained language models, which may struggle in highly complex or domain-specific environments. Its performance in real-time, high-frequency decision scenarios needs further optimization. Additionally, the computational cost of semantic matching and hierarchical routing can be high, limiting scalability in large-scale applications.
Future Work
Future research will focus on integrating reinforcement learning to optimize reward continuity, exploring multi-modal inputs for richer state representations, and expanding benchmark scenarios to include more complex, dynamic tasks. Enhancing efficiency and robustness in real-time settings will also be prioritized, aiming for broader deployment in real-world systems.
AI Executive Summary
Reward prediction plays a vital role in reinforcement learning and planning, guiding agents toward goal achievement. Traditional supervised reward models, however, tend to overfit training data, limiting their ability to generalize to new environments. This challenge is particularly acute in complex, multi-domain tasks where explicit reward signals are sparse or unavailable. To address this, the authors introduce StateFactory, a hierarchical semantic framework that decomposes unstructured observations into object-attribute structures using large language models. This structured representation enables reward estimation through semantic similarity, which is inherently more robust and interpretable.
The core innovation lies in combining dynamic goal interpretation with hierarchical routing, allowing the model to adapt to environmental changes and unseen tasks. The authors evaluate their approach on RewardPrediction, a comprehensive benchmark covering five diverse domains, including robotics, scientific reasoning, text-based games, web navigation, and classical planning. Results show that StateFactory reduces the EPIC distance by 60% compared to VLWM-critic and 8% compared to LLM-as-a-Judge, outperforming both supervised and implicit methods in zero-shot settings.
Furthermore, the improved reward quality translates into significant gains in agent planning success rates—over 21% on AlfWorld and 12% on ScienceWorld—demonstrating practical benefits. The study highlights the importance of semantic hierarchies in reward modeling, paving the way for more generalizable, scalable AI systems. Future directions include integrating reinforcement learning for reward continuity, multi-modal state representations, and expanding benchmark scenarios to handle more complex, dynamic environments, ultimately moving toward truly autonomous, adaptable agents.
Deep Analysis
Background
Recent advances in reinforcement learning (RL) and planning have emphasized the importance of reward signals for guiding agent behavior. Early methods relied on handcrafted rewards, which limited scalability. Deep learning introduced learned reward models, exemplified by works like VLWM and LLM-based critics, but these often overfit to training domains, hindering zero-shot generalization. To overcome this, semantic representations and hierarchical structures have been explored, aiming to capture task progress more abstractly. Despite progress, existing methods struggle with cross-domain transfer, especially in environments with sparse or noisy signals. The need for robust, interpretable, and generalizable reward prediction mechanisms remains urgent, motivating the development of models like StateFactory that leverage language models for semantic decomposition and dynamic goal interpretation.
Core Problem
The core challenge addressed is how to design reward prediction models that generalize across diverse, unseen environments without retraining. Existing supervised models tend to overfit, losing effectiveness in new tasks. Implicit methods, while flexible, lack explicit semantic grounding, leading to noisy or volatile reward signals. Additionally, evaluating reward quality step-by-step remains difficult due to the absence of standardized benchmarks. These issues hinder the deployment of autonomous agents capable of robust, zero-shot planning in real-world scenarios, where environments are dynamic and goals vary widely. Developing a unified, semantic-based reward prediction framework capable of cross-domain generalization is thus a critical open problem.
Innovation
The paper introduces several key innovations: 1) StateFactory, which decomposes observations into hierarchical object-attribute structures using language models, providing rich semantic representations; 2) a dynamic goal interpretation module that updates goal states based on interaction history, ensuring contextual relevance; 3) a hierarchical routing mechanism that matches objects and attributes between current and goal states via semantic similarity, enabling fine-grained reward estimation; 4) a new benchmark, RewardPrediction, designed to evaluate step-wise reward accuracy across multiple domains with ground-truth rewards and EPIC distance metrics. These innovations collectively enable zero-shot reward prediction with high accuracy and cross-domain robustness, addressing fundamental limitations of prior models.
Methodology
- �� State extraction: Use pre-trained language models to parse raw observations into structured object-attribute states, maintaining semantic richness.
- �� Goal interpretation: Employ a recurrent module to dynamically update goal states based on ongoing interactions, capturing environmental changes.
- �� Hierarchical routing: For each goal object, identify corresponding objects in current state by maximizing identity and attribute similarity, using semantic embeddings.
- �� Reward computation: Aggregate local object-level similarities into a global reward signal via normalized averaging, reflecting overall task progress.
- �� Training and evaluation: Use the RewardPrediction benchmark, measuring performance with EPIC distance, and conduct ablation studies to validate each component’s contribution.
Experiments
The evaluation spans five environments—AlfWorld, ScienceWorld, TextWorld, WebShop, BlocksWorld—covering robotics, scientific reasoning, text puzzles, web navigation, and spatial planning. Each environment provides multiple trajectories with step-wise actions, observations, and ground-truth rewards. The models are compared against supervised reward models, VLWM-critic, and LLM-as-a-Judge, using EPIC distance as the primary metric. Ablation studies analyze the impact of hierarchical structures, goal interpretation, and semantic matching. Results show that StateFactory achieves an average EPIC distance of 0.297, outperforming baselines, with success rate improvements of over 21% in AlfWorld and 12% in ScienceWorld. The experiments demonstrate strong zero-shot generalization and robustness across tasks.
Results
StateFactory significantly outperforms supervised and implicit methods, reducing average EPIC distance to 0.297 across all domains. In unseen tasks, it approaches the upper bound of models trained on all data, with a 60% reduction compared to VLWM-critic. Success rates on AlfWorld and ScienceWorld improve by 21.64% and 12.40%, respectively. Ablation confirms hierarchical object-attribute structures and dynamic goal interpretation as critical for performance. The results establish the method’s strong cross-domain generalization, validating its potential for scalable reward prediction in complex environments.
Applications
This approach can be directly applied to robotics, virtual assistants, and complex simulation environments requiring robust reward signals. It enables agents to adapt to new tasks without retraining, reducing development costs and increasing flexibility. The semantic hierarchical framework also supports explainability, aiding debugging and trust. Long-term, it can facilitate autonomous systems capable of continuous learning and adaptation in dynamic real-world settings, such as autonomous vehicles and intelligent manufacturing.
Limitations & Outlook
The method relies heavily on pre-trained language models, which may not perform well in highly specialized or low-resource domains. Its computational complexity, especially semantic matching and hierarchical routing, poses challenges for real-time deployment. The framework’s robustness in highly noisy or adversarial environments remains to be tested. Future work should focus on improving efficiency, scalability, and robustness, as well as extending to multi-modal data and more complex tasks.
Plain Language Accessible to non-experts
想象你在一个大型工厂工作,工厂每天都在生产不同的产品。工厂的管理者希望你能判断每个生产环节是否顺利完成。以前,他们用一套固定的规则,比如“检测机器是否正常”、“确认工人是否在工作”,但这些规则很难应对突然的变化,比如新产品或突发故障。现在,工厂引入了一个聪明的助手,它会观察每个环节的细节,比如机器的状态、工人的动作,然后用一种“理解”工厂的方式,判断生产是否接近完成。这个助手会把复杂的观察拆解成“对象”和“属性”,比如“机器A:正常”、“工人:正在装配”。它还会根据目标,比如“完成产品X”,动态调整判断标准。这样,无论工厂发生什么变化,这个助手都能准确判断生产进度,帮助管理者做出决策。这就像本文提出的StateFactory,把观察变成层次化的语义结构,用语义相似度判断任务是否完成。
ELI14 Explained like you're 14
想象你在学校的厨房帮忙做饭。平时你只知道要做一道菜,但每次的材料和步骤都不同。有时候你用规则,比如“加盐”、“炒熟”,但如果菜谱变化太大,这些规则就不管用了。现在,你的老师告诉你一个新办法:你先观察所有的食材和工具,把它们分类,比如“蔬菜”、“调料”、“锅”、“刀”。然后,你根据目标菜肴,比如“炒青菜”,动态调整你的判断:你看看“青菜”是否变嫩了,锅里的水是否蒸发了。这就像用一种“理解”厨房的方式,判断你是不是快做好了。这比单纯记规则更聪明,因为它能适应不同的菜谱和变化。本文的StateFactory就像这个聪明的厨师,把所有观察拆成对象和属性,用语义相似度判断任务是否完成,帮助机器人或AI更好地理解环境和目标。
Glossary
RewardPrediction (奖励预测)
预测智能体在特定状态和目标下的奖励值,帮助规划与决策。技术上通过语义相似度实现。
论文中提出的奖励预测机制。
EPIC distance (EPIC距离)
衡量预测奖励与真实奖励差异的指标,越小代表预测越准确。基于Pearson相关系数。
用于评估奖励模型的性能。
层次化对象-属性结构
将观察拆解为对象和其动态属性的层次结构,增强语义表达能力。
StateFactory的核心技术。
动态目标解读
实时根据环境变化调整目标状态,确保奖励估计的准确性。
实现跨域泛化的关键机制。
语义相似度
衡量两个语义表示的相似程度,用于奖励估计。
模型中用于奖励计算的核心指标。
Open Questions Unanswered questions from this research
- 1 如何进一步提升模型在极端复杂环境中的鲁棒性,尤其是在多模态信息融合方面仍未充分探索。
- 2 模型在高动态变化环境中的实时性和计算效率仍需优化,未来需结合硬件加速和模型剪枝技术。
Applications
Immediate Applications
机器人自主导航
利用StateFactory实现高精度奖励预测,提升机器人在未知环境中的路径规划和任务完成效率。
Long-term Vision
通用智能系统
推动跨域、零-shot奖励预测技术在虚拟助手、自动驾驶等领域的应用,逐步实现真正的通用智能。
Abstract
Agents must infer action outcomes and select actions that maximize a reward signal indicating how close the goal is to being reached. Supervised learning of reward models could introduce biases inherent to training data, limiting generalization to novel goals and environments. In this paper, we investigate whether well-defined world state representations alone can enable accurate reward prediction across domains. To address this, we introduce StateFactory, a factorized representation method that transforms unstructured observations into a hierarchical object-attribute structure using language models. This structured representation allows rewards to be estimated naturally as the semantic similarity between the current state and the goal state under hierarchical constraint. Overall, the compact representation structure induced by StateFactory enables strong reward generalization capabilities. We evaluate on RewardPrediction, a new benchmark dataset spanning five diverse domains and comprising 2,454 unique action-observation trajectories with step-wise ground-truth rewards. Our method shows promising zero-shot results against both VLWM-critic and LLM-as-a-Judge reward models, achieving 60% and 8% lower EPIC distance, respectively. Furthermore, this superior reward quality successfully translates into improved agent planning performance, yielding success rate gains of +21.64% on AlfWorld and +12.40% on ScienceWorld over reactive system-1 policies and enhancing system-2 agent planning. Project Page: https://statefactory.github.io