Towards Test-Time Adaptation for Emergent Language under Complexity Shifts
Emergent communication research has achieved high coordination in referential games, inducing discrete protocols that resemble language-like symbol systems. Despite extensive work across diverse emergent-language settings, a key gap remains: what happens when test instances demand finer distinctions or far more confusable distractors than in training? In emergent-language setups, however, the sender policy is fixed after training, leaving it unable to produce a more informative message when test instances become more complex, despite the expectation we place on the flexibility and adaptability of language. To address this deployment-time mismatch, we introduce a sender-side test-time adaptation framework that optimizes message generation using only the sender's internal self-play objective. While this concept represents a general framework, we specifically instantiate and evaluate it using a Vector-Quantized Emergent Language (VQ-EL) architecture, enabling variable-length descriptions using inference-time optimization without extra interaction rounds. Our experiments demonstrate that, across more complex inputs and more challenging candidate sets, our method consistently improves communication accuracy and, when needed, benefits from more descriptive messages. Our findings position test-time adaptation as a practical mechanism for making emergent languages robust to increased deployment-time complexity, offering a novel approach to adapting agents for real-world referential settings where the required message specificity is unpredictable. Code is available at: https://github.com/MehdiJmlkh/Test-Time-Emergent-Language.