Paper Reading AI Learner

Implementing Long Text Style Transfer with LLMs through Dual-Layered Sentence and Paragraph Structure Extraction and Mapping

2025-05-11 05:53:33
Yusen Wu, Xiaotie Deng

Abstract

This paper addresses the challenge in long-text style transfer using zero-shot learning of large language models (LLMs), proposing a hierarchical framework that combines sentence-level stylistic adaptation with paragraph-level structural coherence. We argue that in the process of effective paragraph-style transfer, to preserve the consistency of original syntactic and semantic information, it is essential to perform style transfer not only at the sentence level but also to incorporate paragraph-level semantic considerations, while ensuring structural coherence across inter-sentential relationships. Our proposed framework, ZeroStylus, operates through two systematic phases: hierarchical template acquisition from reference texts and template-guided generation with multi-granular matching. The framework dynamically constructs sentence and paragraph template repositories, enabling context-aware transformations while preserving inter-sentence logical relationships. Experimental evaluations demonstrate significant improvements over baseline methods, with structured rewriting achieving 6.90 average score compared to 6.70 for direct prompting approaches in tri-axial metrics assessing style consistency, content preservation, and expression quality. Ablation studies validate the necessity of both template hierarchies during style transfer, showing higher content preservation win rate against sentence-only approaches through paragraph-level structural encoding, as well as direct prompting method through sentence-level pattern extraction and matching. The results establish new capabilities for coherent long-text style transfer without requiring parallel corpora or LLM fine-tuning.

Abstract (translated)

本文探讨了使用大型语言模型(LLM)的零样本学习在长文本风格转换中的挑战,并提出了一种分层框架,该框架结合了句子级别的风格适应与段落级别的结构一致性。我们主张,在进行有效的段落级风格转换过程中,为了保持原始句法和语义信息的一致性,仅在句子级别上执行风格转移是不够的,还必须纳入段落级别的语义考虑,并确保跨句子关系中的结构连贯性。 我们的框架ZeroStylus通过两个系统阶段运作:从参考文本中获得分层模板以及使用多粒度匹配进行模板引导生成。该框架动态构建了句级和段落级模板库,使得在保持句子间逻辑关系的同时能够进行上下文感知的转换。 实验评估显示,在评估风格一致性、内容保留和表达质量三个维度上的三轴向指标中,结构化重写方法比直接提示方法平均得分高出0.2分(6.90对6.70),超过了基线方法。消融研究验证了在风格转移过程中使用模板层次结构的必要性:通过段落级别的结构性编码,在内容保留胜率上超越仅处理句子的方法;通过句级模式提取和匹配,也优于直接提示法。 这些结果为无需平行语料库或LLM微调的一致长文本风格转换建立了新的能力。

URL

https://arxiv.org/abs/2505.07888

PDF

https://arxiv.org/pdf/2505.07888.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot