paper-with-me

홈 › Papers

Quantifying and Optimizing Global Faithfulness in Persona-driven Role-playing

2024-05-13 · Letian Peng, Jingbo Shang

Persona-driven role-playing (PRP) aims to build AI characters that can respond to user queries by faithfully sticking with all persona statements. Unfortunately, existing faithfulness criteria for PRP are limited to coarse-grained LLM-based scoring without a clear definition or formulation. This paper presents a pioneering exploration to quantify PRP faithfulness as a fine-grained and explainable criterion, which also serves as a reliable reference for optimization. Our criterion first discriminates persona statements into active and passive constraints by identifying the query-statement relevance. Then, we incorporate all constraints following the principle that the AI character's response should be (a) entailed by active (relevant) constraints and (b) not contradicted by passive (irrelevant) constraints. We translate this principle mathematically into a novel Active-Passive-Constraint (APC) score, a constraint-wise sum of natural language inference (NLI) scores weighted by relevance scores. In practice, we build the APC scoring system by symbolically distilling small discriminators from GPT-4 for efficiency. We validate the quality of the APC score against human evaluation based on example personas with tens of statements, and the results show a high correlation. We further leverage it as a reward system in direct preference optimization (DPO) for better AI characters. Our experiments offer a fine-grained and explainable comparison between existing PRP techniques, revealing their advantages and limitations. We further find APC-based DPO to be one of the most competitive techniques for sticking with all constraints and can be well incorporated with other techniques. We then extend the scale of the experiments to real persons with hundreds of statements and reach a consistent conclusion.

📄 PDF Abstract BibTeX arXiv:2405.07726

Code (1)

KomeijiForce/Active_Passive_Constraint_Koishiday_2024 공식 구현 pytorch

Tasks

Natural Language Inference

Methods 이 논문이 사용한 방법론

Attention 설명 없음
DPO 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Position-Wise Feed-Forward Layer 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Technical Note: Defining and Quantifying AND-OR Interactions for Faithful and Concise Explanation of DNNs

2023-04-26 · Mingjie Li, Quanshi Zhang

In this technical note, we aim to explain a deep neural network (DNN) by quantifying the encoded interactions between input variables, which reflects the DNN's inference logic. Specifically, we first rethink the definiti…

Investigating the Interplay between Contextual and Parametric Chain-of-Thought Faithfulness under Optimization

2026-05-24 · Jingyi Sun, Qianli Wang, Pepa Atanasova, Nils Feldhus 외 arxiv

Chain-of-Thought (CoT) faithfulness, i.e., whether CoTs genuinely reflect large language models' (LLM) underlying behavior, is typically evaluated with metrics under two disjoint paradigms: contextual faithfulness, measu…

Detailed Human-Centric Text Description-Driven Large Scene Synthesis

2023-11-30 · Gwanghyun Kim, Dong Un Kang, Hoigi Seo, Hayeon Kim 외

Text-driven large scene image synthesis has made significant progress with diffusion models, but controlling it is challenging. While using additional spatial controls with corresponding texts has improved the controllab…

Image GenerationLanguage ModelingLanguage ModellingLarge Language Model+1

Evaluating Readability and Faithfulness of Concept-based Explanations

2024-04-29 · Meng Li, Haoran Jin, Ruixuan Huang, Zhihao Xu 외

With the growing popularity of general-purpose Large Language Models (LLMs), comes a need for more global explanations of model behaviors. Concept-based explanations arise as a promising avenue for explaining high-level …

Perks and Pitfalls of Faithfulness in Regular, Self-Explainable and Domain Invariant GNNs

2024-06-21 · Steve Azzolin, Antonio Longa, Stefano Teso, Andrea Passerini

As Graph Neural Networks (GNNs) become more pervasive, it becomes paramount to build robust tools for computing explanations of their predictions. A key desideratum is that these explanations are faithful, i.e., that the…

InformativenessOut-of-Distribution Generalization