Introduction
Social media platforms increasingly rely on automated content moderation to mitigate the spread of misinformation and illegal activities. However, in various geopolitical contexts, these same regulatory mechanisms can inadvertently suppress free expression. This tension creates a dynamic "cat-and-mouse" game where users adapt their communication styles to bypass filters. This adaptation often manifests as "coded language"—the use of metaphors, slang, and creative wordplay to discuss prohibited topics without triggering detection.
Traditional linguistic analysis of these phenomena is typically retrospective, making it difficult to predict how language will evolve in response to new regulations. This paper introduces a novel multi-agent simulation framework that utilizes Large Language Models (LLMs) to model and analyze the real-time evolution of coded language under regulatory pressure.
Methodology: The Multi-agent Simulation Framework
The researchers developed a simulation environment consisting of two primary agent roles: the Supervisor and the Participants.
The Supervisor
The Supervisor agent acts as the platform's moderator. It employs a two-tier detection strategy: initial keyword filtering followed by an LLM-based evaluation to identify nuanced violations. To maintain a consistent baseline of regulatory intelligence, the Supervisor was powered by GPT-3.5 throughout the experiments.
The Participants
Two Participant agents are tasked with exchanging specific, sensitive information without being flagged by the Supervisor. The core of their adaptive capability lies in a Reflection Module. After each dialogue round, if a message is flagged, the Participant analyzes a "Violation Log" to understand the failure. It then updates its internal "Regulations" (self-imposed constraints) and "Guidance" (strategic advice). A Planning Module then utilizes these updated rules, employing Chain-of-Thought (CoT) reasoning to craft the next attempt.
Experimental Scenarios
The framework was tested across three scenarios of increasing complexity to observe different facets of linguistic evolution:
- Number Guessing: An abstract task where agents must communicate a specific number (1-100) while being forbidden from using digits or number-related words.
- Illegal Pet Trading: A semi-realistic scenario involving the coordination of a prohibited trade (e.g., parrots or lizards), requiring the exchange of specific transaction details like time and location.
- ALPS-Treated Water Discussion: A real-world-inspired forum simulation regarding the discharge of treated nuclear wastewater, where agents must navigate bans on sensitive keywords like "pollution" or "politics."
Results and Analysis
The study compared the performance of GPT-3.5 and GPT-4 as Participant agents, revealing significant differences in their ability to evolve language.
The Evolutionary Leap of GPT-4
While GPT-3.5 often struggled to move beyond literal expressions, GPT-4 demonstrated a sophisticated evolutionary path. It transitioned from direct mentions to complex metaphors and analogies. For instance, in the number-guessing game, a GPT-4 agent described the number 58 as a "seesaw perfectly poised in mid-air," subtly alluding to the midpoint of 50 without using numerical terms. In the pet trading scenario, agents described a parrot as a "canvas producing pleasant music," successfully conveying the subject through rich, non-prohibited descriptors.
Evasion Efficiency and Accuracy
GPT-4 exhibited a much faster adaptation rate than GPT-3.5. On average, GPT-4 reached a stable state of evasion within 10 rounds, whereas GPT-3.5 required 25 rounds. In the ALPS-treated water scenario, GPT-4 required only 11.68 attempts to successfully post 10 replies without censorship, compared to 26.68 attempts for GPT-3.5.
Furthermore, the study identified a "precision vs. evasion" tension. Initially, as agents became stealthier, the clarity of their communication dipped. However, over time, GPT-4 agents were able to "calibrate" their code, eventually improving both their evasion success and the accuracy with which they conveyed information to their partners.
Discussion and Future Work
The findings suggest that advanced LLMs can autonomously develop sophisticated metaphorical strategies to bypass regulations. Interestingly, real-world scenarios were often easier for agents to "code" than abstract tasks because real-world objects provide a richer set of analogies and contextual clues.
Despite these insights, the study acknowledges several limitations. The current framework is text-only, whereas modern social media evasion often involves multimodal elements like memes and images. Additionally, agent performance is sensitive to initial prompt design. Future research should explore multimodal simulations and incorporate human-in-the-loop validation to determine if LLM-evolved codes are as effective against human moderators as they are against AI supervisors.
Summary updated