One Task, Many Interfaces: Simple Cross-Interface Consistency Training Improves LLM Agent Robustness

Artin Tajdini, Manpreet Kaur and Peng Qi (University of Washington, Uniphore) show that post-trained agents depend on the exact tool interface they were trained on, and propose Cross-Interface Policy Regularization (CIPR) to make them consistent across interfaces.
Ask this paper
Problem. Renaming an action or changing notation leaves the task unchanged but lowers agent accuracy. Interface randomization only widens the set of interfaces the agent depends on.
Method. CIPR replaces action names with uninformative identifiers, shows each sample under two interfaces whose equivalent actions are known, and penalizes the KL divergence between the two action distributions.
Result. On agentic function calling, held-out interface perturbations cut a post-trained agent's accuracy by nearly 25%. CIPR recovers 10.5% without lowering accuracy on the original interface.
Coverage. Works in both supervised and RL post-training, and as self-distillation it makes AgentLM robust to renamed WebShop actions.
Limits. It needs a canonicalization adapter at inference, does not improve argument errors, and was tested up to 9B parameters.
Abstract
Post-training binds the competence of an LLM agent to the interface it was trained on. Semantics-preserving perturbations of that interface, such as renaming an action or changing the notation, leave the underlying task unchanged yet make the agent worse at it. Scoring each sample independently means interface randomization only broadens this dependence from a single interface to the training interface distribution, so out-of-distribution perturbations still degrade the agent. We propose Cross-Interface Policy Regularization (CIPR), a self-supervised objective that replaces action names with uninformative identifiers and presents each training sample under two interfaces in which equivalent actions are identified by construction. CIPR penalizes the KL divergence between the action distributions induced under the two interfaces, so the policy behaves consistently across them. We evaluate CIPR in both supervised and reinforcement-learning post-training, where it improves robustness. On agentic function calling, held-out interface perturbations reduce the accuracy of a post-trained agent by nearly 25%, and CIPR recovers 10.5% while leaving accuracy on the unchanged interface intact.