Style representations aim to embed texts with similar writing styles closely and texts with different styles far apart, regardless of content. However, the contrastive triplets often used for training these representations may vary in both style and content, leading to potential content leakage in the representations. We introduce StyleDistance, a novel approach to training stronger content-independent style embeddings. We use a large language model to create a synthetic dataset of near-exact paraphrases with controlled style variations, and produce positive and negative examples across 40 distinct style features for precise contrastive learning. We assess the quality of our synthetic data and embeddings through human and automatic evaluations. StyleDistance enhances the content-independence of style embeddings, which generalize to real-world benchmarks and outperform leading style representations in downstream applications. Our model can be found at https://huggingface.co/StyleDistance/styledistance .
Dalian University of Technology(大连理工大学);Zhejiang University(浙江大学);University of Science and Technology of China(中国科学技术大学);Tencent(腾讯);Tongji University(同济大学)
Break the Checkbox: Challenging Closed-Style Evaluations of Cultural Alignment in LLMs
Department of Computer Science, National Center for Text Mining, The University of Manchester(计算机科学系,文本挖掘国家中心,曼彻斯特大学);Department of Computer Science and Engineering, Islamic University of Technology(计算机科学与工程系,伊斯兰技术大学)
Interpretable Stylistic Variation in Human and LLM Writing Across Genres, Models, and Decoding Strategies
Software Engineering Institute, AI Division, Carnegie Mellon University(卡内基梅隆大学软件工程院,人工智能分部);Department of Statistics & Data Science, Carnegie Mellon University(卡内基梅隆大学统计与数据科学系)
ParaSpeechCLAP: A Dual-Encoder Speech-Text Model for Rich Stylistic Language-Audio Pretraining
Department of Computer Science, The University of Texas at Austin, USA(德克萨斯大学奥斯汀分校计算机科学系);Computer Science and Data Science, New York University, USA(纽约大学计算机科学与数据科学系)