arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.02858cs.CLcs.LG
收藏

优化大型语言模型中的幽默生成:温度配置与架构权衡

Optimizing Humor Generation in Large Language Models: Temperature Configurations and Architectural Trade-offs

University of Cambridge(剑桥大学)

Evgenii Evstafev

AI总结:

本研究系统评估13个最先进LLMs在软件开发幽默生成中的表现,通过715种温度与提示词配置测试,发现架构解释38.7%性能方差,73%模型在低温下表现最佳,为幽默生成系统提供了模型选择与配置指南。

摘要:

大型语言模型(LLMs)在创意文本生成方面展现出日益增强的能力,但对其幽默生成的系统评估仍未被充分探索。本研究对5个架构系列中的13个最先进LLMs进行了全面分析,评估了它们为软件开发者生成技术相关幽默的表现。通过测试715种温度设置和提示词变体的独特配置的全因子设计,我们使用五个加权标准评估模型输出:幽默质量、领域相关性、概念原创性、语调精确度和表达效率。我们的方法采用严格的统计分析,包括方差分析(ANOVA)、相关性研究和二次回归,以识别最优配置和架构影响。结果显示,各模型之间存在显著的性能差异,某些架构比基线系统高出21.8%。温度敏感性分析表明,73%的模型在较低随机性设置(≤ 0.5)下达到峰值性能,尽管最优范围因架构而异。我们识别出不同的模型集群:在效率与质量间保持平衡的紧凑高性能模型,与需要更长输出以获得边际收益的冗长专家模型。统计验证确认模型架构解释了38.7%的性能方差,幽默质量与概念原创性之间存在显著相关性。本研究建立了模型选择和配置的实用指南,展示了温度调整和架构考量如何影响幽默生成效果。这些发现推进了对LLMs在创意技术写作中能力的理解,并为开发者实施幽默生成系统提供了经验验证的配置策略。

英文摘要:

Large language models (LLMs) demonstrate increasing capabilities in creative text generation, yet systematic evaluations of their humor production remain underexplored. This study presents a comprehensive analysis of 13 state-of-the-art LLMs across five architectural families, evaluating their performance in generating technically relevant humor for software developers. Through a full factorial design testing 715 unique configurations of temperature settings and prompt variations, we assess model outputs using five weighted criteria: humor quality, domain relevance, concept originality, tone precision, and delivery efficiency. Our methodology employs rigorous statistical analysis including ANOVA, correlation studies, and quadratic regression to identify optimal configurations and architectural influences. Results reveal significant performance variations across models, with certain architectures achieving 21.8% superiority over baseline systems. Temperature sensitivity analysis demonstrates that 73% of models achieve peak performance at lower stochasticity settings (<= 0.5), though optimal ranges vary substantially by architecture. We identify distinct model clusters: compact high-performers maintaining efficiency-quality balance versus verbose specialists requiring longer outputs for marginal gains. Statistical validation confirms model architecture explains 38.7% of performance variance, with significant correlations between humor quality and concept originality. The study establishes practical guidelines for model selection and configuration, demonstrating how temperature adjustments and architectural considerations impact humor generation effectiveness. These findings advance understanding of LLM capabilities in creative technical writing and provide empirically validated configuration strategies for developers implementing humor-generation systems.

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

↑