arXiv Open Access 2024

StyleDistance: Stronger Content-Independent Style Embeddings with Synthetic Parallel Examples

Ajay Patel Jiacheng Zhu Justin Qiu Zachary Horvitz Marianna Apidianaki +2 lainnya
Lihat Sumber

Abstrak

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 .

Topik & Kata Kunci

Penulis (7)

A

Ajay Patel

J

Jiacheng Zhu

J

Justin Qiu

Z

Zachary Horvitz

M

Marianna Apidianaki

K

Kathleen McKeown

C

Chris Callison-Burch

Format Sitasi

Patel, A., Zhu, J., Qiu, J., Horvitz, Z., Apidianaki, M., McKeown, K. et al. (2024). StyleDistance: Stronger Content-Independent Style Embeddings with Synthetic Parallel Examples. https://arxiv.org/abs/2410.12757

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓