StateFactory: Breakthrough in Zero-Shot Reward Prediction via Factorized World States

Reward Prediction with Factorized World States

Summary
Problem
Method
Results
Takeaways
Abstract

This paper introduces StateFactory, a zero-shot reward prediction framework that factorizes unstructured text observations into hierarchical object-attribute structures. Evaluated on the new RewardPrediction benchmark across five diverse domains, it achieves SOTA zero-shot performance, reducing EPIC distance by 60% and 8% compared to VLWM-critic and LLM-as-a-Judge, respectively.

In the quest for autonomous agents that can plan in novel environments, the Reward Signal serves as the critical compass. However, most current agents rely on supervised reward models that are notoriously brittle—scaling well within their training data but failing spectacularly when faced with unseen goals.

The paper "Reward Prediction with Factorized World States" (to be presented at a major 2025-2026 venue) proposes a paradigm shift: instead of training a model to "guess" a reward, we should extract a structured "Blueprint" of the world and measure how well the current reality aligns with that blueprint.

TL;DR

  • The Problem: Supervised reward models overfit to domain-specific patterns, failing to generalize to new tasks.
  • The Solution: StateFactory, a method that decomposes raw text observations into a hierarchical "Object-Attribute" structure.
  • The Outcome: Superior zero-shot reward accuracy across 5 domains (AlfWorld, ScienceWorld, etc.) and a significant boost in agent success rates (+21% in AlfWorld).

The "Illusion of Progress" in Flat Text

Existing methods often treat the world state as a "flat" string of text or a singular embedding. This leads to two major issues:

  1. Information Overload: Task-irrelevant noise (e.g., the color of a wall) overshadows critical state changes (e.g., whether the oven is on).
  2. Attribute Entanglement: In a description like "a hot mug on the table," a model might struggle to distinguish if the progress comes from the "hot" part or the "on the table" part.

Authors argue that the geometry of the state space must explicitly reflect physical transitions.


Methodology: The StateFactory Engine

StateFactory operates on a simple yet profound intuition: Rewards are semantic distances between structured hierarchies.

1. Recurrent State Extraction

Instead of a one-pass summary, StateFactory uses a tracking function that maintains temporal consistency. It factorizes the world into a set of entities , where each entity is a tuple of identity and dynamic attributes:

2. Hierarchical Routing for Reward

The reward isn't a black-box scalar. It is calculated through a three-step matching process:

  • Object Matching: Identifying the physical "Mug" in the scene that matches the "Mug" in the goal.
  • Attribute Matching: Comparing the specific state (e.g., location: on table) against the target.
  • Global Aggregation: Averaging fulfillment scores across all required objects.

StateFactory Framework Figure: The StateFactory architecture showing the coupling of state extraction and goal interpretation.


The RewardPrediction Benchmark

The authors introduced a massive new benchmark to test this. Unlike previous datasets with sparse rewards, RewardPrediction provides step-wise ground truth for 2,454 trajectories across:

  • ScienceWorld: Complex scientific reasoning.
  • AlfWorld: Domestic embodied tasks.
  • WebShop: E-commerce navigation.
  • BlocksWorld & TextWorld: Strategic and procedural puzzles.

Experimental Insights: Structure Wins

The results confirm that Abstraction and Factorization are the keys to generalization.

  • Zero-Shot Mastery: StateFactory (0.297 EPIC distance) outperformed the best representation-free baselines and even beat single-domain supervised models when tested on new domains.
  • Ablation on Granularity: Moving from "Unstructured Text" to "Object-Attribute" factorization reduced the error from 0.57 to 0.30.

Experimental Results Table: Comprehensive comparison showing StateFactory's superior zero-shot alignment.

Utility for Planning

The ultimate test: Does better reward prediction make for better agents? By integrating StateFactory rewards into a ReAct agent (System-1) and MCTS (System-2), the success rates jumped significantly. The dense reward signal allows agents to "break out" of loops where pure language reasoning typically fails.

DomainBase ReActReAct + StateFactory
AlfWorld34.33%55.97% (+21.6%)
ScienceWorld22.63%35.03% (+12.4%)

Critical Analysis & Conclusion

StateFactory proves that structure is a feature, not a constraint. By forcing a Language Model to think in terms of objects and attributes, we ground its outputs in physical reality.

Limitations:

  • The method relies on the "Reasoning Capability" (e.g., Thinking modes) of the backbone LLM. Smaller models still struggle with the initial factorization.
  • It assumes that the world can be neatly decomposed into objects, which might be challenging in more fluid or continuous environments (like gas dynamics or soft robotics).

Future Outlook: This work paves the way for "World-Model-Integrated" agents that don't just act, but constantly verify their progress against a structured mental map. As LLM reasoning costs decrease, StateFactory-style factorization could become the standard for robust, verifiable AI planning.

Find Similar Papers

Try Our Examples

  • Find recent papers focusing on zero-shot reward modeling and goal-reaching in text-based environments using foundation models.
  • What are the original theoretical foundations of using semantic similarity and latent distances for progress estimation in Reinforcement Learning?
  • Explore research that applies hierarchical object-attribute factorization to multimodal or visual world models for agentic planning.
Contents
StateFactory: Breakthrough in Zero-Shot Reward Prediction via Factorized World States
1. TL;DR
2. The "Illusion of Progress" in Flat Text
3. Methodology: The StateFactory Engine
3.1. 1. Recurrent State Extraction
3.2. 2. Hierarchical Routing for Reward
4. The RewardPrediction Benchmark
5. Experimental Insights: Structure Wins
5.1. Utility for Planning
6. Critical Analysis & Conclusion