Balancing Stylization and Truth via Disentangled Representation Steering

2508.04530v2 cs.CL 2025-08-09
Авторы:

Chenglei Shen, Zhongxiang Sun, Teng Shi, Xiao Zhang, Jun Xu

Резюме на русском

Научная статья **"Balancing Stylization and Truth via Disentangled Representation Steering"** рассматривает проблему того, что стилизация выводов бо LLM часто приводит к снижению их точности. Традиционные методы редактирования представлений, незаметно вливая стилистические признаки, портят логическую корректность ответов. Авторы определяют этот эффект как "stylization-induced truthfulness collapse", связанный с корреляцией в запасном пространстве внимания. Решением является механизм **StyliTruth**, позволяющий разделить стильные и логические направления в представлении модели, используя ортогональное отбрасывание подпространств. Этот подход обеспечивает независимое управление стилем и точностью, уменьшая влияние одного на другой. Адаптивные векторы направления, работающие на уровне токенов, позволяют динамически регулировать процесс генерации. Исследования показали, что **StyliTruth** эффективно повышает точность, сохраняя стиль, и превосходит предыдущие методы в балансировке этих двух характеристик.

Abstract

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.

Ссылки и действия