Introduction
In the field of artificial intelligence, a significant gap exists between action recognition—identifying that a person is picking up a cup—and autonomous action planning—determining the sequence of steps required to achieve a high-level goal like "setting the table." Traditional robotics often relies on symbolic logic (e.g., PDDL), which assumes a "god-eye" view of the environment. However, real-world agents operate under egocentric vision, facing two primary hurdles: partial observability and a lack of robustness to environmental changes or execution errors.
To bridge this gap, researchers from the University of Rochester have introduced TAMFormer, a framework that leverages egocentric visual memory to plan tasks and recover from deviations in dynamic environments.
The TAMFormer Framework
The core of the proposed system is the Interactive Action Planning task, where an agent must generate a sequence of actions based on its current visual observation and a high-level goal. The architecture consists of two primary components: the Topological Affordance Memory (TAM) and the TAMFormer generator.
1. Topological Affordance Memory (TAM)
TAM is not a simple video buffer; it is a structured representation of possible actions (affordances) at specific locations. It employs three sub-modules:
- Localization ($L$): Maps the current visual input to the most relevant "node" in the agent's past experience.
- Affordance Learning ($P_\mu$): Uses supervised contrastive learning to group visually distinct scenes that share the same functional affordances (e.g., different tables that both allow "placing an object").
- Goal Association ($P_\omega$): A discriminator that evaluates whether a state transition aligns with the specific high-level goal.
2. Action Generation (TAMFormer)
TAMFormer utilizes a Transformer decoder to predict the next action. Rather than relying solely on the current frame, the model "queries" the TAM to retrieve the $K$-nearest neighbor experiences. This retrieved memory provides a rich context of past successes, allowing the agent to generate coherent, multi-step plans.
3. Robust Re-planning
A key innovation is the model's ability to recover from "action deviations." If an agent's path is interrupted or an action fails, the system treats the deviation as an optimization problem. It searches its memory for the closest valid state that still satisfies the goal association, effectively "nudging" the agent back onto a successful trajectory.
Experimental Evaluation
The framework was evaluated using the VirtualHome simulator, which provides photorealistic 3D indoor environments. The researchers recorded expert demonstrations for tasks such as "set up table" and "write an email" across various simulated apartments. Testing occurred across four scenarios, ranging from pure-text planning to visual interactive simulations where actions were intentionally permuted (the "Attack" scenario) to test robustness.
Results and Analysis
TAMFormer demonstrated superior performance compared to existing baselines like DDN and Ext-Mgail:
- Sequence Accuracy: In interactive settings, TAMFormer achieved a 72% Longest Common Sub-sequence (LCS) score, significantly higher than the 31% achieved by the next best baseline.
- Resilience to Interference: Under the "Attack" scenario, where actions were intentionally manipulated, TAMFormer maintained a 64% LCS. In contrast, other models' performance dropped to as low as 5%, highlighting TAMFormer's unique ability to re-plan.
- Executability: The model achieved near-perfect executability, ensuring that the planned actions were physically possible within the simulation constraints.
Conclusion
TAMFormer represents a significant step toward autonomous agents that can learn from egocentric experience. By treating memory as a topological map of possibilities rather than a static record, the framework achieves high-level planning capabilities and a level of robustness essential for real-world deployment. Future work will focus on learning from "noisy" or non-expert demonstrations and adapting the system to the complexities of real-world video data.
Summary updated