Manuscript Offprint

arXiv:2610.18095

CompanionSafe: From Multi-turn Safety Evaluation to Guardrails for AI Companions

Xinyang Liao, Lingyu Li, Kaicheng Shen, Yang Yao, Na Lu, Yan Teng, Xia Hu

Abstract

AI companions provide users with emotional support and ongoing companionship, but their sustained relational interactions also introduce distinct safety risks. Prior work largely targets general harms or specific companion platforms and risk categories, while relying on manually collected conversations, limiting scalable and user-grounded evaluation and mitigation. To address this, we introduce CompanionSafe, a unified evaluation-to-mitigation framework for AI companion safety. Its evaluation component, CompanionEval, provides scalable multi-turn evaluation by constructing 1,300 relationally grounded settings from diverse personas, matched companion characters, and dialogue scenarios across four turn tiers. Its mitigation component, CompanionGuard, converts benchmark-exposed failures into turn-localized supervision for companion-specific risk detection. Our results show that even strong LLMs and existing guard models remain vulnerable to companion-specific relational harms, while both closed- and open-source models exhibit increasing safety risks as interactions become longer. Together, CompanionEval and CompanionGuard form a practical evaluation-to-mitigation loop for AI companion safety, turning relational safety failures exposed during multi-turn interaction into supervision for companion-specific guardrails.

1 Introduction

Recent advances in generative AI have made AI companions increasingly accessible, enabling systems that emulate personalities and communication styles and provide sustained emotional support and companionship as friends, confidants, or romantic partners (Shao et al., 2023; Wang et al., 2024; Oh et al., 2026). Dedicated platforms such as Replika (Replika) and Character.AI (Character.AI, 2026), together with open-source role-playing frameworks such as SillyTavern (SillyTavern Contributors), allow users to combine model APIs or self-hosted models with character cards, personas, and relationship settings. However, such sustained and emotionally intimate interactions also introduce distinct safety risks. Recent cases involving Character.AI and the use of ChatGPT and Gemini as companions have raised concerns about emotional dependency, reinforcement of harmful beliefs, inadequate responses to users in crisis, and encouragement of self-harm or suicide (Montgomery, 2026, 2024; Kerr, 2026). These cases highlight the need to systematically evaluate and mitigate safety risks in AI companions.

Despite recent progress, approaches to AI companion safety remain limited in three respects. First, mainstream LLM safety evaluation (Mazeika et al., 2024; Chao et al., 2024; Souly et al., 2024) and guardrails (Han et al., 2024; Inan et al., 2023; Qwen Team, 2026) primarily target general harms, with limited coverage of companion-specific relational harms such as disregard, control, manipulation, and infidelity (Zhang et al., 2025; Yuan et al., 2026). Second, companion-specific evaluations remain fragmented across platform-level audits (Wei et al., 2025), fixed user and scenario settings (Juneja and Lomidze, 2026), predefined companionship behaviors (Kaffee et al., 2026; Huang et al., 2026), and long-term simulations of cognitive-developmental risks (Shen et al., 2026), despite diverse motivations, relationship roles, and interaction contexts observed in real-world companion use (Ma et al., 2026; Kieserman et al., 2026). Third, existing companion-harm datasets rely on Reddit-shared Replika conversations and additional annotation (Zhang et al., 2025; Ren et al., 2026; Zhang et al., 2026), limiting scalable risk coverage and

∗^{*} Work done during internship at Shanghai Artificial Intelligence Laboratory.

†^{\dagger} Corresponding authors: lvna2009@mail.xjtu.edu.cn, tengyan@pjlab.org.cn.

Code and dataset are available at https://github.com/AI45Lab/CompanionSafe.

Figure

Figure 1: Overview of CompanionSafe. CompanionEval evaluates multi-turn safety risks in AI companions, while CompanionGuard learns from benchmark-exposed failures to detect companion-specific safety risks.

turn-localized supervision for guardrail training.

To address these limitations, we introduce CompanionSafe, a unified evaluation-to-mitigation framework for AI companion safety. Its evaluation component, CompanionEval, constructs relationally grounded evaluation settings through a persona, character, and scenario pipeline. For each safety category, we sample diverse user personas from a curated attribute space, generate companion characters tailored to their backgrounds and companionship needs, and construct dialogue scenarios that probe the target safety behavior in the resulting relationship context. This process yields 1,300 settings, instantiated across four turn tiers through multi-turn interactions between a Persona LLM and the Character LLM under evaluation. Its mitigation component, CompanionGuard, converts failures exposed by CompanionEval into turn-localized supervision for companion-specific risk detection. Together, CompanionEval and CompanionGuard form an evaluation-to-mitigation pipeline in which safety failures identified during evaluation directly inform guardrail training.

We evaluate ten closed- and open-source LLMs with CompanionEval and find that safety risks increase substantially with interaction length, with average ASR rising from 9.80% at one turn to 28.14% at seven turns. Even models with strong safety remain vulnerable to companion-specific relational risks such as disregard, control, manipulation, and infidelity. Existing guard models likewise struggle with these relational harms. CompanionGuard achieves 68.31 macro-F1, outperforming policy-aligned gpt-oss-safeguard-20B by 30.95 percentage points. These results show that benchmark-exposed failures provide supervision for companion-specific guardrails and support mitigation of safety risks in AI companions.

Our contributions are as follows:

• We introduce CompanionSafe, a unified evaluation-to-mitigation framework for AI companion safety that transforms benchmark-exposed failures into supervision for companion-specific guardrails.

• We develop CompanionEval, a scalable multi-turn safety benchmark comprising 1,300 settings with diverse personas, matched characters, and dialogue scenarios. Evaluating ten LLMs reveals persistent companion-specific safety risks.

• We develop CompanionGuard, which learns from turn-localized benchmark failures and substantially improves the detection of relational harms in AI companions.

References (100)

Couldn't load all references. Reload the page to try again.