arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.15061cs.LGcs.CL
收藏

Antislop:一个用于识别并消除语言模型中重复模式的综合框架

Antislop: A Comprehensive Framework for Identifying and Eliminating Repetitive Patterns in Language Models

Independent(独立研究者);Thoughtworks;Columbia University(哥伦比亚大学);New York University(纽约大学)

Samuel Paech, Allen Roush, Judah Goldfeder, Ravid Shwartz-Ziv

AI总结:

针对大语言模型输出中存在的重复套话slop问题,研究提出Antislop框架,结合采样器、自动化分析流水线和FTPO微调方法,实现90%的套话削减率且跨域性能更优。

摘要:

大语言模型(LLM)的广泛应用催生了一种特有的重复措辞现象,被称为“slop(AI套话)”,这种现象会降低输出质量,还会让AI生成的文本一眼就能被识别出来。我们提出了Antislop,这是一个综合框架,可提供检测并消除这些过度使用模式的工具。我们的方法结合了三项创新:(1)Antislop采样器,它在推理阶段使用回溯机制抑制不需要的字符串,同时不会破坏词表;(2)自动化流水线,可对照人类基线分析特定模型的slop特征并生成训练数据;(3)最终词元偏好优化(Final Token Preference Optimization,FTPO),这是一种新型微调方法,作用于单个词元,可在推理轨迹中出现禁用模式的位置精准调整对数几率(logits)。我们证实,部分slop模式在LLM输出中的出现频率比人类文本高出1000倍以上。Antislop采样器可成功抑制8000多种模式同时保持输出质量,而词元禁用方法仅处理2000种模式就会失效。最重要的是,FTPO实现了90%的slop削减率,同时在GSM8K、MMLU以及创意写作任务等跨域评估中保持甚至提升了性能。相比之下,DPO尽管抑制效果更弱,却在写作质量和词汇多样性上出现了显著下降。我们以MIT许可证发布了所有代码和结果,访问地址为:https://github.com/sam-paech/auto-antislop。

英文摘要:

Widespread LLM adoption has introduced characteristic repetitive phraseology, termed "slop," which degrades output quality and makes AI-generated text immediately recognizable. We present Antislop, a comprehensive framework providing tools to both detect and eliminate these overused patterns. Our approach combines three innovations: (1) The Antislop Sampler, which uses backtracking to suppress unwanted strings at inference time without destroying vocabulary; (2) An automated pipeline that profiles model-specific slop against human baselines and generates training data; (3) Final Token Preference Optimization (FTPO), a novel fine-tuning method that operates on individual tokens, surgically adjusting logits wherever a banned pattern has appeared in an inference trace. We demonstrate that some slop patterns appear over 1,000x more frequently in LLM output than human text. The Antislop Sampler successfully suppresses 8,000+ patterns while maintaining quality, whereas token banning becomes unusable at just 2,000. Most importantly, FTPO achieves 90% slop reduction while maintaining or improving performance in cross-domain evals including GSM8K, MMLU, and creative writing tasks. In contrast, DPO suffers significant degradation in writing quality and lexical diversity despite achieving weaker suppression. We release all code and results under MIT license: https://github.com/sam-paech/auto-antislop.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑