Multimodal Policy Internalization for Conversational Agents

Zhenhailong Wang, Jiateng Liu, Amin Fazel, Ritesh Sarkhel, Xing Fan, Xiang Li, Chenlei Guo, Heng Ji, Ruhi Sarikaya

TL;DR

This paper introduces Multimodal Policy Internalization (MPI), a novel approach to "baking" complex, reasoning-heavy system instructions directly into a model's weights. By using a three-stage training framework called TriMPI, the authors enable agents to follow intricate multimodal rules without needing massive system prompts, slashing inference costs by over 90% while significantly improving policy adherence.

The Problem: Bloated Prompts and Fragile Agents

Modern AI agents (like ChatGPT or Alexa) rely on "policies"—long system prompts that define business rules, response styles, and tool-usage constraints. As these agents become more capable, these policies are ballooning in size (sometimes up to 50,000 tokens), leading to two major issues:

  1. Efficiency: These prompts impose a massive "tax" on every query, increasing latency and computational cost.
  2. Reliability: Even the best models struggle to faithfully follow complex, multi-step reasoning rules buried in a lengthy system prompt.
Comparison of standard policy prompting versus Multimodal Policy Internalization (MPI).

While "prompt compression" exists, it usually targets simple templates. This paper tackles the much harder task of internalizing multimodal policies—rules that involve visual reasoning (e.g., "If you see a cyan object, check if it's a cylinder")—so the model "just knows" the rules without being told every single time.

Methods: The TriMPI Framework

The authors propose TriMPI, a three-stage training recipe designed to move knowledge from the prompt into the model's parameters:

  1. Visually-Masked Continual Pretraining (VM-CPT): The model is first "warmed up" by performing language modeling directly on the policy text. To handle the multimodal nature, visual tokens are masked out during this stage, forcing the model to focus on the logical structure of the instructions.
  2. Chain-of-Thought Supervised Finetuning (CoT SFT): The model is trained on (Image, Query, Reasoning, Answer) tuples. The "Reasoning" part is a step-by-step trace of the model following the policy, teaching it the process of rule-following.
  3. Reinforcement Learning with PolicyRollout: This is the core innovation. Standard RL (like GRPO) often fails here because the model explores "blindly" without the policy in-context. PolicyRollout augments the RL process by generating some responses with the policy provided as a guide. These "policy-aware" rollouts help the model discover the correct behavior, which then informs the gradients for the model when it's running without the policy.

New Benchmarks for Policy Internalization

To test MPI, the authors introduced two new datasets:

  • ClevrPolicy: A synthetic dataset based on CLEVR. It uses decision trees (up to 6 layers deep) to create complex visual reasoning rules. It includes a "Multimodal" version where the policy itself contains image crops as examples.
Overview of the ClevrPolicy dataset creation, showing how decision trees are converted into text policies for visual QA.
  • GTAPolicy: A real-world-inspired dataset for tool-calling. It features 13 tools and 24 rules involving "versioning" (e.g., "Use OCR_v5 if the user has < 250 credits") and user-conditional logic.

Key Insights and Results

  • Internalization Beats Compression: Simply shortening a prompt is a band-aid. Internalization actually improves the model's "common sense" regarding specific business logic, making it more robust than if the prompt were provided in-context.
  • The RL Grounding Problem: You cannot just remove a policy and expect RL to work. Without the "map" (the policy), the model's exploration is too noisy. PolicyRollout acts as a temporary scaffold during training that is kicked away at inference time.
  • Performance Leap: TriMPI achieved up to a 70.7% absolute gain in accuracy over standard Chain-of-Thought finetuning on the most complex ClevrPolicy tasks.
  • Massive Efficiency Gains: By removing the policy from the inference prompt, the authors saw a 93.9% reduction in prompt tokens and an 85.7% reduction in prefill time (the time it takes the model to start generating).
  • Robustness: Unlike simple finetuning, which often causes "catastrophic forgetting" of general knowledge, TriMPI maintained strong performance on general benchmarks like MMLU and MMMU. Furthermore, TriMPI models proved highly capable of following new, contradictory instructions provided in-context (overriding their "internal" rules) when necessary.

Limitations and Future Work

  • Data Scaling: The current datasets, while complex, are still relatively constrained. Scaling this to the messiness of open-web multimodal instructions is the next frontier.
  • Sophisticated Pretraining: The authors suggest that simple visual masking in the CPT stage is a baseline; more advanced ways to align text instructions with visual concepts during pretraining could further boost results.
  • Policy Mixtures: Real-world agents often have to balance multiple, sometimes conflicting, policies simultaneously. Training for "mixture-of-policies" internalization remains an open challenge.

Summary updated

BibTeX
@inproceedings{wang2026multimodal,
  author = {Zhenhailong Wang and Jiateng Liu and Amin Fazel and Ritesh Sarkhel and Xing Fan and Xiang Li and Chenlei Guo and Heng Ji and Ruhi Sarikaya},
  title = {{Multimodal Policy Internalization for Conversational Agents}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=fSE0rUngCX},
}
Figure