Year: 2025
Type: conference-paper
Abstract: Text style transfer (TST) aims to flexibly adjust the style of text while preserving its core content.Although large language models (LLMs) excel in TST tasks, they often encounter unidirectionality issues in style transfer due to imbalanced training data and their tendency to generate safer responses.These challenges present a significant obstacle in achieving effective style transfer.To address this issue, we propose a novel method for text style transfer based on neuron activation modulation (NAM-TST).This approach identifies neurons related to style through gradient-based activation difference analysis and calculates the activation differences between the source and target styles.During text generation, we use the activation difference to align the activation values of stylerelated neurons with those of the target style to guide the model in performing the transfer.This strategy enables the model to generate text that satisfies specific style requirements, effectively mitigating the unidirectional issue inherent in LLMs during style transfer.Experiments on benchmark datasets demonstrate that NAM-TST significantly enhances style transfer quality while preserving content consistency.
Authors: Chaona Kong, Jianyi Liu, Yifan Tang, Ru Zhang
Institution: Beijing University of Posts and Telecommunications
Language: English
Topic: Topic Modeling
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: gold
Award: G7272630985
OpenAlex ID: W4412888426
