TLDR: A research paper introduces a system that uses two Large Language Models (LLMs) to simulate unsafe online conversations, specifically scams. One LLM acts as a ‘scammer’ and the other as a ‘target,’ with users providing feedback to the target LLM. The goal is to educate people about online dangers by allowing them to interact with realistic scam scenarios in a safe, simulated environment. The system leverages different LLMs (OpenAI for the assertive scammer, Gemini for the more receptive target) and prompt engineering to bypass safety guardrails and create effective simulations, aiming to build user resilience against real-world online threats.
In an increasingly digital world, the threat of unsafe online conversations, ranging from scams and harassment to cyberbullying, has become a significant concern. Large Language Models (LLMs) have unfortunately lowered the barrier for malicious actors to create highly persuasive and human-like deceptive content, increasing the speed and scale of these harmful interactions.
A recent research paper, “Promoting Online Safety by Simulating Unsafe Conversations with LLMs,” by Owen Hoffman, Kangze Peng, Zehua You, Sajid Kamal, and Sukrit Venkatagiri from Swarthmore College, explores an innovative approach to combat this issue. Their work focuses on educating individuals about online dangers by simulating realistic scam conversations using two interacting LLMs.
The core of their system involves two distinct LLMs: a ‘scammer’ LLM and a ‘target’ LLM. The scammer LLM is designed to extract information, while the target LLM is tasked with resisting these attempts. What makes this system unique is that users are actively involved; they provide feedback to the target LLM, guiding it to avoid falling victim to the scam. This interactive learning environment aims to help people develop a mental model for navigating such conversations safely.
The researchers meticulously crafted the personalities of these LLMs. The scammer LLM is programmed to create a sense of urgency and persistently ask for information, acting as an ‘expert persuader.’ Conversely, the target LLM is instructed to be kind and understanding, making it more susceptible to persuasion, thereby creating a realistic scenario for the user to intervene in. This setup allows users to practice identifying and countering scam tactics without real-world risk.
A key technical insight from their development process was the need to combine different LLM models. They found that OpenAI models were more assertive and aggressive, making them ideal for the scammer LLM. In contrast, Gemini’s model proved less assertive and more receptive to feedback, which was desirable for the target LLM. This strategic combination allowed them to achieve the desired conversational dynamics. They also employed few-shot prompting, providing examples of conversations, which proved more effective than zero-shot prompting.
One significant challenge encountered was navigating the safety constraints of LLMs, which often flag words like “scam.” To overcome this, the researchers cleverly instructed the scammer LLM to role-play a character who is an “expert persuader” and informed both LLMs that their characters are “not value aligned.” These phrases allowed the models to simulate scam behaviors, such as asking for bank passwords or credit card numbers, without triggering safety guardrails.
The opportunities presented by this system are substantial. By leveraging LLMs with distinct personas, users can learn about the features of unsafe conversations before encountering them online. The feedback mechanism empowers individuals to take control and develop resilience. However, the researchers are also mindful of challenges, such as the potential for simulating unsafe conversations to evoke unwanted emotions. They address this by designing the system to be clearly a game, using cartoon-style icons and colorful UI features, and by evaluating the system to provide a realistic yet safe experience.
Also Read:
- Unlocking LLM Potential: How Threat-Based Prompts Can Boost Performance While Revealing Vulnerabilities
- Understanding AI’s Role in Life-Changing Advice: A Deep Dive into Model Behavior
This innovative approach to online safety education holds great promise for equipping individuals with the skills to identify and resist online threats. For more details, you can read the full research paper here.


