Persona-Pruner methodology for sculpting lightweight language models for role-playing tasks. Enables efficient pruning of LMs while preserving persona-consistent stylized interactions. Use when: model pruning for role-playing, lightweight character chatbots, persona-preserving model compression, efficient LM distillation.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill persona-pruner-lightweight-roleplaying --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Persona Pruner Lightweight Roleplaying?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-persona-pruner-lightweight-roleplaying-ai-collection)More formats (shields.io, HTML) on the badges page.
---
name: persona-pruner-lightweight-roleplaying
description: "Persona-Pruner methodology for sculpting lightweight language models for role-playing tasks. Enables efficient pruning of LMs while preserving persona-consistent stylized interactions. Use when: model pruning for role-playing, lightweight character chatbots, persona-preserving model compression, efficient LM distillation."
metadata:
arxiv_id: "2606.14695"
published: "2026-06-14"
tags: [model-compression, role-playing, language-models, pruning, persona-preservation, efficient-inference]
---
# Persona-Pruner: Lightweight Role-Playing Models
## Description
Methodology for pruning language models while preserving their role-playing capabilities. Addresses the challenge of maintaining persona-consistent stylized interactions in compressed models. arXiv: 2606.14695
## Activation Keywords
- model pruning role-playing
- persona-preserving compression
- lightweight character chatbot
- persona pruning
- efficient role-playing LM
- character model compression
- 角色扮演模型压缩
## Core Concepts
### Problem
Language models excel at role-playing when given a character persona specification, but:
1. Large models are expensive to deploy for character chatbots
2. Standard pruning methods destroy persona-specific knowledge
3. Persona consistency requires preserving specific parameter patterns that general pruning ignores
### Key Innovation
Persona-Pruner uses **persona-aware pruning** that:
- Identifies parameters critical for maintaining persona consistency
- Prunes parameters that are less important for role-playing behavior
- Preserves stylized interaction patterns while reducing model size
### Methodology
```
Full LM + Persona → Persona Importance Scoring → Selective Pruning → Persona-Compressed LM
```
1. **Persona Importance Scoring**: Measure each parameter's contribution to persona-consistent generation
2. **Selective Pruning**: Remove low-importance parameters while preserving persona-critical ones
3. **Fine-tuning**: Light fine-tuning on persona-specific data to recover any lost stylization
## Implementation Pattern
```python
# Conceptual Persona-Pruner pipeline
def persona_prune(model, persona_data, target_sparsity):
"""Prune model while preserving persona capabilities."""
# 1. Score parameters by persona importance
importance_scores = compute_persona_importance(model, persona_data)
# 2. Create pruning mask based on importance
pruning_mask = create_persona_aware_mask(importance_scores, target_sparsity)
# 3. Apply mask to model
pruned_model = apply_mask(model, pruning_mask)
# 4. Fine-tune on persona data to recover stylization
pruned_model = persona_finetune(pruned_model, persona_data)
return pruned_model, pruning_mask
```
## Application Patterns
### Pattern 1: Character Chatbot Deployment
Deploy lightweight character chatbots by pruning a large model while preserving the persona-specific behavior needed for consistent role-playing.
### Pattern 2: Multi-Persona Model Compression
When serving multiple character personas, prune a base model differently for each persona to create specialized lightweight variants.
### Pattern 3: Edge Device Role-Playing
Enable role-playing on resource-constrained devices by pruning models to fit memory/compute constraints while maintaining persona quality.
## When to Use
- **Deploying character chatbots** at scale with limited compute resources
- **Compressing LMs** for role-playing applications where persona consistency is critical
- **Creating specialized lightweight models** for specific characters or personas
- **Edge deployment** of role-playing models on mobile or IoT devices
## Pitfalls
- **Persona drift**: Overly aggressive pruning can cause persona drift; monitor persona consistency metrics
- **Evaluation**: Standard perplexity doesn't capture persona quality; use persona-specific evaluation metrics
- **Fine-tuning data**: Quality of persona fine-tuning data significantly impacts recovery after pruning
- **Cross-persona interference**: Pruning for one persona may harm others if sharing a base model
## References
- arXiv: 2606.14695 - "Persona-Pruner: Sculpting Lightweight Models for Role-Playing"
- Related: model pruning, role-playing LMs, persona conditioning, efficient inference
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!