SC2: Towards Enhancing Content Preservation and Style Consistency in Long Text Style Transfer
Text style transfer (TST) aims to vary the style polarity of text while preserving the semantic content. Although recent advancements have demonstrated remarkable progress in short TST, it remains a relatively straightforward task with limited practical applications. The more comprehensive long TST task presents two challenges: (1) existing methods encounter difficulties in accurately evaluating content attributes in multiple words, leading to content degradation; (2) the conventional vanilla style classifier loss encounters obstacles in maintaining consistent style across multiple generated sentences. In this paper, we propose a novel method SC2, where a multilayer Joint Style-Content Weighed (JSCW) module and a Style Consistency loss are designed to address the two issues. The JSCW simultaneously assesses the amounts of style and content attributes within a token, aiming to acquire a lossless content representation and thereby enhancing content preservation. The multiple JSCW layers further progressively refine content representations. We design a style consistency loss to ensure the generated multiple sentences consistently reflect the target style polarity. Moreover, we incorporate a denoising non-autoregressive decoder to accelerate the training. We conduct plentiful experiments and the results show significant improvements of SC2 over competitive baselines. Our code: https://github.com/jiezhao6/SC2.
Code (0)
등록된 구현이 없습니다.
Tasks
DecoderDenoisingStyle TransferText Style TransferSimilar Papers 제목 키워드 기반
Enhancing Content Preservation in Text Style Transfer Using Reverse Attention and Conditional Layer Normalization
Text style transfer aims to alter the style (e.g., sentiment) of a sentence while preserving its content. A common approach is to map a given sentence to content representation that is free of style, and the content repr…
DecoderSentenceStyle TransferText Style TransferVISTA: Triplet-Supervised Video Style Transfer with Diffusion Transformers
Video style transfer aims to render videos in a target artistic style while preserving content, structure, and motion. While image stylization has advanced rapidly, video stylization remains challenging due to temporal i…
Style TransferInversion-Free Video Style Transfer with Trajectory Reset Attention Control and Content-Style Bridging
Video style transfer aims to alter the style of a video while preserving its content. Previous methods often struggle with content leakage and style misalignment, particularly when using image-driven approaches that aim …
DenoisingStyle TransferVideo Style TransferICAS: IP Adapter and ControlNet-based Attention Structure for Multi-Subject Style Transfer Optimization
Generating multi-subject stylized images remains a significant challenge due to the ambiguity in defining style attributes (e.g., color, texture, atmosphere, and structure) and the difficulty in consistently applying the…
Style TransferQwenStyle: Content-Preserving Style Transfer with Qwen-Image-Edit
Content-Preserving Style transfer, given content and style references, remains challenging for Diffusion Transformers (DiTs) due to its internal entangled content and style features. In this technical report, we propose …
Continual LearningStyle Transfer