平衡风格化与真实性:通过解耦表示引导
Balancing Stylization and Truth via Disentangled Representation Steering
AI总结:
针对表示编辑导致LLM风格化响应时真实性下降的问题,提出StyliTruth,通过正交去flation解耦风格与真实子空间,并设计自适应令牌级引导向量,在多种风格和语言上显著减少真实性崩溃并优于现有方法。
摘要:
通过表示编辑生成风格化的大语言模型(LLM)响应,是实现细粒度输出控制的一种有前景的方法。然而,存在固有的权衡:施加独特风格往往会降低真实性。现有的表示编辑方法通过天真地注入风格信号,忽视了这种附带影响,并经常污染模型的核心真实性表示,导致答案正确性下降。我们将这种现象称为风格化引起的真实性崩溃。我们将此问题归因于某些关键注意力头中风格方向与真实方向之间的潜在耦合,并提出了StyliTruth,一种在保持风格化的同时保持真实性完好的机制。StyliTruth通过正交去flation过程,在模型的表示空间中将风格相关子空间与真实相关子空间分离。这种分解使得风格和真实性能够在各自的子空间中独立控制,从而最小化干扰。通过在每个子空间内设计自适应的、令牌级的引导向量,我们动态且精确地控制生成过程,以同时保持风格保真度和真实性。我们在多种风格和语言上验证了我们的方法。大量实验和分析表明,StyliTruth显著减少了风格化引起的真实性崩溃,并在平衡风格遵循与真实性方面优于现有的推理时干预方法。
英文摘要:
Generating stylized large language model (LLM) responses via representation editing is a promising way for fine-grained output control. However, there exists an inherent trade-off: imposing a distinctive style often degrades truthfulness. Existing representation editing methods, by naively injecting style signals, overlook this collateral impact and frequently contaminate the model's core truthfulness representations, resulting in reduced answer correctness. We term this phenomenon stylization-induced truthfulness collapse. We attribute this issue to latent coupling between style and truth directions in certain key attention heads, and propose StyliTruth, a mechanism that preserves stylization while keeping truthfulness intact. StyliTruth separates the style-relevant and truth-relevant subspaces in the model's representation space via an orthogonal deflation process. This decomposition enables independent control of style and truth in their own subspaces, minimizing interference. By designing adaptive, token-level steering vectors within each subspace, we dynamically and precisely control the generation process to maintain both stylistic fidelity and truthfulness. We validate our method on multiple styles and languages. Extensive experiments and analyses show that StyliTruth significantly reduces stylization-induced truthfulness collapse and outperforms existing inference-time intervention methods in balancing style adherence with truthfulness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。