Abstract
Language-conditioned reinforcement learning (RL) faces a fundamental challenge: task ambiguity. As the diversity of natural language instructions increases, agents often struggle to distinguish between semantically similar commands or map divergent expressions to the same objective. We introduce Distributional Aligned Learning (DAIL), a method that addresses this "identity crisis" through two key mechanisms: distributional value estimation and trajectory-wise semantic alignment. By modeling the full distribution of returns and enforcing mutual information between agent behavior and linguistic input, DAIL achieves state-of-the-art results on the BabyAI and ALFRED benchmarks, demonstrating that architectural alignment is more effective than simple model scaling for language grounding.
1. Introduction
In language-conditioned RL, agents must translate natural language instructions into sequences of actions. While this paradigm offers a natural interface for human-agent collaboration, it is plagued by linguistic flexibility. Specifically, agents encounter two types of ambiguity:
- Divergent Expressions: Multiple distinct instructions (e.g., "Move to the entrance" and "Go to the door") describing the same task.
- Overlapping Instructions: Similar linguistic structures (e.g., "Pick up the red ball" and "Pick up the red box") describing different tasks.
As the instruction space grows, standard RL agents often fail to discern which rewards correspond to which specific objectives. This paper demonstrates that this failure is not merely a matter of model capacity—simply increasing the size of a standard agent does not resolve the ambiguity. Instead, a fundamental shift in how tasks are represented and valued is required.
2. The DAIL Framework
Distributional Aligned Learning (DAIL) is built upon the Conservative Q-Learning (CQL) framework for offline RL. It introduces two primary innovations designed to resolve task ambiguity.
2.1 Distributional Language-Guided Policy
Standard RL typically estimates the expected value (a scalar) of a state-action pair. However, a single number often fails to capture the nuances of complex, language-conditioned tasks. DAIL instead estimates a value distribution. By modeling the entire range of possible returns, the agent preserves fine-grained information about the reward landscape. This distributional approach allows the agent to maintain distinct representations for tasks that might have similar average rewards but different underlying structures, effectively improving the sample complexity of task disambiguation.
2.2 Trajectory-Wise Semantic Alignment
To further bridge the gap between language and behavior, DAIL incorporates a contrastive learning module. Using the InfoNCE loss, the framework maximizes the mutual information between the agent's trajectory and the provided linguistic instruction. This process forces the model to learn a shared embedding space where successful trajectories are mathematically aligned with the semantic meaning of their corresponding instructions. This alignment ensures that the agent's "behavioral signature" is consistent with the linguistic intent.
3. Experimental Evaluation
The authors evaluated DAIL across three environments of increasing complexity to test its robustness against instruction ambiguity.
3.1 Controlled Ambiguity in Minigrid
Using a modified Minigrid environment, the researchers created a "toy" experiment with a fixed number of goals but a varying number of instructions (up to 512). The results confirmed that while standard CQL performance degrades as the number of instructions increases, DAIL maintains high success rates. Notably, a "CQL-double" model with twice the parameters still failed to match DAIL's performance, suggesting that the "identity crisis" is an architectural problem rather than a scaling one.
3.2 Benchmarking on BabyAI and ALFRED
- BabyAI (SynthLoc): A grid-world environment requiring complex interactions (e.g., "put the yellow key next to a green ball"). DAIL achieved an overall success rate of 81.7%, significantly outperforming vanilla CQL (72.6%) and imitation learning baselines like GCBC (74.1%). In the most difficult "PutNext" tasks, DAIL nearly doubled the performance of the baseline (49.1% vs 27.6%).
- ALFRED: A 3D household environment involving first-person visual observations and over 53,000 unique instructions. DAIL achieved a 56.8% success rate on validation tasks, surpassing other state-of-the-art offline RL methods such as IQL (52.0%) and CQL (50.4%).
4. Discussion and Insights
The success of DAIL highlights the importance of distributional representations in language-conditioned tasks. Theoretical analysis provided in the paper suggests that learning the "shape" of the reward distribution is inherently more efficient for telling tasks apart than learning a simple mean value.
Furthermore, t-SNE visualizations of the task embeddings reveal that DAIL produces much cleaner clusters than baseline models. While standard models often confuse instructions like "Open door" and "Go to door," DAIL’s semantic alignment module ensures these tasks are clearly separated based on their functional requirements.
5. Conclusion and Future Work
DAIL provides a robust framework for addressing task ambiguity in language-conditioned RL. By combining distributional value estimation with semantic trajectory alignment, the model achieves superior grounding and performance across diverse benchmarks.
Future research directions include testing the framework on physical robotic platforms to evaluate its resilience to sensor noise and extending the theoretical proofs of distributional RL's advantages to the online RL setting. Additionally, integrating DAIL with high-level Large Language Model (LLM) planners could enable the solution of long-horizon, multi-step household tasks.
Summary updated