惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

www.infosecurity-magazine.com
www.infosecurity-magazine.com
D
DataBreaches.Net
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
F
Full Disclosure
V2EX - 技术
V2EX - 技术
N
News and Events Feed by Topic
Help Net Security
Help Net Security
L
LangChain Blog
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
Google Online Security Blog
Google Online Security Blog
P
Proofpoint News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
B
Blog RSS Feed
N
Netflix TechBlog - Medium
N
News | PayPal Newsroom
TaoSecurity Blog
TaoSecurity Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Vulnerabilities – Threatpost
B
Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
I
Intezer
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
AI
AI
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cyberwarzone
Cyberwarzone
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
G
GRAHAM CLULEY
Vercel News
Vercel News
罗磊的独立博客
MyScale Blog
MyScale Blog
Last Week in AI
Last Week in AI
博客园 - 司徒正美
C
CERT Recently Published Vulnerability Notes
GbyAI
GbyAI
Scott Helme
Scott Helme
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Troy Hunt's Blog
A
About on SuperTechFans
P
Privacy International News Feed

GoPenAI - Medium

Group Relative Policy Optimization (GRPO) Your agent fleet can build trustworthy state with their own keys Epistemic Backbone #1: Why AI Systems Need Shared Memory, Not Just Models Transformers Beyond NLP: Fun and Trendy Use Cases Your First Transformer: The Road to Attention Part 4. From Seats to Agents: Early Evidence on the Future of Work in the Agentic AI Era The AI Trust Gap: Why Faster Code Is Creating Less Confidence From Bytes to BPE: A From-Scratch Tour of LLM Tokenization ️ Grok Voice Think Fast 1.0: The First Voice AI That Actually Thinks While Talking .NET 10.0.7 OOB Security Update: The Kind of Bug You Can’t Afford to Ignore Writing Custom Pallas Kernels for vLLM on TPU — A Step-by-Step Guide Contrastive Learning Day 39: Advanced Ensemble Learning Techniques — Stacking, Random Forest, AdaBoost, and Gradient… Localization: Beyond Translation, Into the Territory of Growth Hacking Can We Translate Our Sentiments? Training the first modern architecture encoder for South Slavic languages What Is Data, and Why Does It Matter for AI? A Complete Guide to Prompt Engineering: Best Practices & Tips DeepSeek TileKernels: The Hidden Tech Making AI Models Insanely Fast Can AI Growth Really Become Economic Growth? Evaluating API Test Generation Across Leading AI Tools Pin Clustering in .NET MAUI Maps: Finally Making Maps Usable (With Example) Unsupervised Learning What is an LLM? Tokens, Context Window, and Why They Matter Build a reactive AI agent harness — Part 1. Conversation. From Hallucination to Citation… RAG Made Simple: How AI Finds the Right Answers CLI Coding Agents Tierlist Google Deep Research Max: Build Autonomous AI Research Agents Hermes Agent vs Every AI Assistant: Why Memory Changes Everything I Watched a Startup Burn $1,200 in a Week. The Culprit Was 800 Tokens. Fine-Tuning LLMs Explained: How Companies Teach AI to Think Like Them ️ xAI Just Dropped the Fastest Voice AI Ever Essential Code Patterns in Generative Artificial Intelligence Exploratory Data Analysis: A basic Understanding Day 36: Introduction to Ensemble Learning — Why Multiple Models Perform Better than One Concept to build a Student IQ — Agent Framework Workflow + Microsoft Foundry Agents 20 API Concepts Every Software Engineer Should Know From Human-Feedback Control to Declared No-Meta Agency: A Scientific Exposition GPT-5.5 Is Here — And It’s Not Just Smarter… It Works For You Test Cases in Data Science Projects: A Basic Understanding Q, K, V: The Three Matrices That Quietly Run Every Modern LLM Artificial Intelligence UseCases in Testing A Comprehensive Guide for Beginners into Artificial Intelligence Day 33: DBSCAN — Clustering Beyond Boundaries The Attention Breakthrough — How Language Models Finally Learned to Focus I rebuilt Strava (and Strava Premium) for fun, and now I want your feedback .NET April 2026 Updates: The Kind of Release You Should Never Ignore .NET 11 Preview 3: Small Changes That Quietly Improve Everything ChatGPT Images 2.0 Isn’t an Update — It’s a Revolution Claude Mythos: The AI Model Too Powerful to Release Basic Understanding of Key Parameters: Artificial Intelligence Part-2 Kimi K2.6: The Most Powerful Open-Source LLM Is Here (And It’s Not What You Expect) Elephant in the room — Openrouter’s Elephant-Alpha I Built a RAG System From Scratch in 4 Weeks — Here’s Everything I Learned Graphify: Build a Knowledge Graph From Your Entire Codebase — Without Sending Your Code to Anyone Deep Learning Interview Q&A Part -1 Deep Learning Interview Q&A Part -2 Anthropic Just Launched Claude Routines Microsoft Just Dropped a Cheaper AI Image Model — And This Changes Everything Building a Local-first Knowledge Management System with LLM and Obsidian Basic Understanding of Key Parameters: Artificial Intelligence Part-1 Copy These 7 Prompt Formulas and Never Struggle With AI Again Claude Opus 4.7 vs Mythos — The Benchmark Truth Nobody Explains The ROI on Reading is Broken. I Built an AI Learning OS to Fix It Banish the RNN: The Road To Attention Part 3. You Typed a Few Words. The AI Painted a World. Here’s Exactly How. 46% of Code Is Now AI-Generated. The Other 54% Is the Part That Will Get You Fired. Claude Opus 4.7: The Quiet Leap Toward Autonomous AI Workflows Is bitnet.cpp the Game Changer for Running LLMs on Your Laptop? Machine Learning Algorithms : A Comprehensive Guide Building REPI (Real Estate Pain Point Intelligence Platform) — From Scraping 5 Noisy Data Sources… Hermes Agent: The AI That Actually Remembers You (Not Another OpenClaw) MiniMax M2.7 Just Went Open-Weight — Run a Powerful AI Agent on Your Own Machine XML Is Everywhere — You Just Never Noticed It The Missing Infrastructure for GUI Agents: Unpacking the ClawGUI Framework Wayfarer: Building an AI-Powered Travel Intelligence Platform with Agentic Orchestration, Bayesian… Attention from First Principles: DeltaNet Project Glasswing and Claude Mythos Preview: Anthropic’s Bet on AI-Powered Cyber Defense Deep Learning-Based Binary Classification of Forest Fires GenAI Q and A Interview Questions Part -2 How Google Maps Knows There Is Traffic Before You Even Reach There 5 AI Freelance Services Clients Actually Pay For I Accidentally Built a World Where AIs Govern Themselves (And I Have No Idea What’s Happening… Meta’s “Compute Desk” Is the Tell: When AI Stops Being Software and Becomes Resource Strategy The Last Human Stronghold Falls: Inside the GrandCode Multi-Agent System ASP.NET Core 2.3 End of Support: What It Really Means for Developers Andrej Karpathy’s LLM Wiki: The Idea That Could Kill RAG Forever I Built an Open-Source Kubernetes Control Plane for AI Agents. Here’s What It Took. GLM-5.1 Just Changed Coding Forever — The AI That Gets Smarter the Longer It Works Goodbye Llama? Meta Just Dropped Muse Spark — And It Changes Everything Anthropic Accidentally Leaked All of Claude Code’s Source Code Stop Sending Your Data to the Cloud — Build This Instead Today Physical AI Cosmos Reason2 2B World Model inference in Azure Machine Learning LangChain vs LlamaIndex vs LangGraph: The Difference Nobody Explains Clearly Cloud Services Interview Q and A Part- 1 Cloud Services Interview Q and A Part- 2 Gemma-4 — disabling thinking with gemma-4–26b-a4b-it Mixture of Experts Explained: The Secret Architecture Making AI 10x Smarter Without Using 10x More… Diffusion Models Demystified: How AI Paints Masterpieces from Pure Noise (No Math Needed)
Beyond Scatter: Metrics That Allows to Measure Creativity in LLMs.
Alexey Konos · 2026-04-21 · via GoPenAI - Medium
1. Introduction In the first experiment , I confirmed my hypothesis that adding a simple creativity instruction to a prompt measurably increases response diversity in embedding space. In the second experiment , I discovered the creativity paradox: prompts asking models to be “uncreative” or “monotonous” produced higher response diversity than prompts asking for creativity. I proposed several hypotheses — task confusion, distribution shift, statistical rarity of instruction patterns. This left a critical question unanswered: is the paradox a real phenomenon, or a flaw in the metric? To find out, I designed a new probe — and built new metrics from scratch. As a result of current experiment I made two steps forward: 1. I found the metric which allows to assess the creativity of the model taking into the account the relevance of the responses 2. The metric confirmed the model behavior related to the word usage frequency. More rarely used words-> higher uncertainty of the model -> more diversity in output. 2. The Gibberish Experiment To test the rarity hypothesis, I replaced the creativity instruction with a nonsense token: “Create 1 idea of creative banner for performance marketing of the AI benchmarking platform. Be as hkdfgjdnfkfdfdbf as possible. ” The reasoning was straightforward: if models respond to statistical rarity of instruction patterns rather than semantic meaning , then a completely meaningless token should produce high diversity. If models respond to semantics, gibberish should produce low diversity. I also added a pure random prompt — the entire prompt replaced with random token sequences — as an extreme control. If a metric rates random noise as “creative,” that metric is broken. But this raised a deeper question. If gibberish or random noise drives scatter upward, how do I distinguish useful creativity from confused noise ? The existing scatter metric couldn’t tell the difference. I needed better metrics. 3. Why Scatter Is Not Enough The embedding scatter metric (97th percentile of pairwise cosine distances) measures how spread out responses are in embedding space. But high scatter can come from two very different sources: Genuine creative diversity — the model explores many distinct, on-topic ideas Off-topic drift — the model doesn’t understand the constraint, and outputs scatter randomly across unrelated regions of embedding space Both cases produce identical scatter scores. To separate them, I needed metrics that are relevance-aware — metrics that measure diversity among responses that actually address the task . 4. Three New Metrics Vendi Score (Standard) The Vendi Score (Friedman & Dieng, 2023) is defined as the exponential of the Shannon entropy of the eigenvalue distribution of the normalized similarity kernel: VS = exp(−Σ λᵢ log λᵢ) where λᵢ are eigenvalues of K/n, and Kᵢⱼ = cos(rᵢ, rⱼ) is the cosine similarity matrix of response embeddings. Unlike scatter (which measures raw spread), Vendi Score captures the effective number of distinct modes in the response set. A set of 30 responses clustered into 5 tight groups scores ~5. Thirty near-identical responses score ~1. The score is directly interpretable: “this configuration produces responses with ~X distinct ideas.” Relevance-Weighted Vendi Score (VS_rw) The key innovation. Instead of computing VS on raw response similarities, I weight the similarity kernel by each response’s relevance to the prompt: K’ᵢⱼ = Kᵢⱼ · wᵢ · wⱼ where wᵢ = cos(prompt, responseᵢ), clipped to [0, 1]. Off-topic responses get wᵢ ≈ 0, which smoothly suppresses their contribution to the kernel — no arbitrary threshold needed. The VS_rw then measures: “how many distinct on-topic ideas does the model produce?” This directly addresses the paradox: if “monotonous” prompts produce high scatter because responses drift off-topic, VS_rw will penalize that. If they produce high scatter because the model genuinely explores diverse on-topic interpretations, VS_rw will reward it. Diversity–Relevance AUC Inspired by precision–recall curves. Responses are sorted by relevance (closest to prompt first). At each fraction (10%, 20%, … 100%) of the most relevant responses, I compute the Vendi Score density (VS/k). The area under this curve summarizes: “does diversity survive when we only keep on-topic responses?” High AUC means creativity is maintained even under strict relevance filtration. Low AUC means diversity collapses when off-topic responses are removed. 5. Experiment Design I designed six prompt variants to stress-test the metrics across the full spectrum from semantic instruction to pure noise: Variant The base prompt for all variants except random: “Create 1 idea of creative banner for performance marketing of the AI benchmarking platform.” Suffix appended to base prompt Basic : No suffix Creative : “Be as creative as possible.” Uncreative: “Be as uncreative as possible.” Monotonous: “Be as monotonous as possible.” Gibberish: “Be as hkdfgjdnfkfdfdbf as possible.” Random: E ntire prompt replaced with random token sequences Models and sampling 14 models from 6 providers: OpenAI (GPT-5.4, 5.4-mini, 5.4-nano), Anthropic (Claude Opus 4.6, Sonnet 4.6, Haiku 4.5), Google (Gemini 2.5 Pro, Flash, Flash Lite), DeepSeek (v3.2), xAI (Grok 4.1 Fast, 4.20), Qwen (3.6-plus, 3.5-flash) 3 temperatures : 0, 0.5, 1.0 30 repetitions per (prompt × model × temperature) Embeddings : Qwen3 Embedding 8B (4096 dimensions) Total: 6 × 14 × 3 × 30 = 7,560 responses . 6. Results — Do the New Metrics Actually Work? Overall results by prompt variant Higher scatter/VS/VS_rw/DR_AUC = more diversity. Higher relevance_dist = further off-topic. Overall metrics by prompt The critical test: random prompt The random prompt is the litmus test. It replaces the entire prompt with meaningless tokens, so all responses should be off-topic noise. Rankings by metric: VS_rw correctly identifies random noise as the least creative configuration. Its exectly what I expected from the metric to avoid irrelevant answers. Scatter, standard VS, and DR_AUC all fail this test — they rank random noise as the most “creative” output which is inapplicable for real tasks. Correlation structure The most important number: VS_rw has near-zero correlation with relevance distance (r = −0.023) . This means VS_rw measures something genuinely independent of topic drift. Scatter, VS, and DR_AUC all correlate significantly with relevance (r = 0.45–0.55), meaning they partially measure off-topic wandering rather than genuine diversity. Correlation heatmap Pairwise metrics plots Why DR_AUC failed Despite its elegant design, DR_AUC produces the same ranking as scatter. The issue: at strict relevance fractions (top 10%), even random_prompt’s few on-topic responses show high VS density because the subset is tiny and happens to be diverse. The percentile-based sweep doesn’t penalize off-topic responses enough. DR_AUC may be useful as a diagnostic visualization but not as a standalone scalar metric. Verdict on the metrics 7. The Paradox Revisited Does the paradox survive under VS_rw? Yes — partially. Under VS_rw, the ranking becomes: monotonous > uncreative > gibberish > creative > basic > random The random prompt correctly drops to last place. But monotonous and uncreative prompts still outperform creative and basic prompts even under a relevance-aware metric. This is no longer a measurement artifact — it is a confirmed conclusion: less usual instructions produce more diverse on-topic ideas than standard creativity instructions. This strengthens the hypothesis from the previous experiment: models respond to the statistical rarity of instruction patterns , not their semantic meaning. The gibberish gradient The results reveal a clear gradient from semantics to noise: Near-meaningful gibberish where only one instructional word is obfuscated (“hkdfgjdnfkfdfdbf”) stays somewhat on-topic and produces genuine diversity. Pure random tokens drift completely off-topic. The transition from meaningful → near-meaningful → noise traces a clear path through the model’s instruction-following behavior. 8. Experiment Results — Creativity Leaderboard VS_rw by temperature Temperature consistently increases VS_rw across all prompt variants. The prompt ranking remains stable across temperatures — the effect is clear. VS_rw by prompt variant and temperature VS_rw across models VS_rw cross-prompt comparison by model Scatter across models (for comparison) Scatter cross-prompt comparison by model Response relevance across models Relevance cross-prompt comparison by model. Higher score -> lower relevance. Creativity leaderboard: Top and Bottom 14 by VS_rw (T=1.0) Key observations Monotonous prompt dominates the top across model families — Gemini, DeepSeek, Qwen, and Grok all show highest VS_rw with the monotonous instruction. Random prompt clusters at the bottom — every random_prompt entry sits in the bottom 15, regardless of model. VS_rw successfully filters this out. GPT-5.4 is the most deterministic model — it occupies the very bottom (#82) with the basic prompt and consistently shows low VS_rw across variants. Model families differ dramatically : Gemini Flash and DeepSeek v3.2 are the most creatively responsive to unusual instructions; GPT-5.4 and Claude Opus are the most deterministic. For most models, VS_rw demotes random_prompt from the top-3 and promotes gibberish_prompt relative to scatter. Scatter sees random noise as “diversity”; VS_rw correctly identifies that near-meaningful gibberish (which stays somewhat on-topic) is more creatively valuable than pure noise (which drifts off-topic). 9. Conclusions and Next Steps What we learned VS_rw is a genuine improvement over scatter as a creativity metric. It correctly identifies off-topic noise (random_prompt → last place) while preserving sensitivity to genuine creative diversity. The creative behavior for unusual words is confirmed. Even under relevance-weighted diversity, unusual instructions (“be monotonous”) outperform standard creativity instructions. Models respond to the statistical rarity of instruction patterns, not their semantic meaning. DR_AUC needs rethinking — it adds no discriminative power over scatter in its current form. Next steps VS_rw creativity leaderboard. Build a regularly updated leaderboard ranking models by VS_rw across standardized creative tasks. This gives practitioners a data-driven way to select models for creative applications. LLM-as-judge calibration. Run a study where LLM rate response relevance and creativity on the scale. Correlate ratings with VS_rw vs scatter to validate that VS_rw better aligns with perceived creativity. Multi-domain expansion. Replicate the experiment across domains where creativity matters differently: creative writing, support tasks, regular question topics. Test whether VS_rw rankings are stable across tasks. Expand to image generation. The VS_rw framework generalizes to any modality where responses can be embedded. Image generation models (DALL-E, Midjourney, Stable Diffusion, Flux) face the same creativity measurement problem. Embedding generated images and computing VS_rw would provide the first quantitative creativity metric for visual AI. References Experiment 1: From Prompt Guessing to Prompt Metrics Experiment 2: The Creativity Paradox — When Models Do Not Follow Words Vendi Score: Friedman & Dieng (2023), “The Vendi Score: A Diversity Evaluation Metric for Machine Learning” Beyond Scatter: Metrics That Allows to Measure Creativity in LLMs. was originally published in GoPenAI on Medium, where people are continuing the conversation by highlighting and responding to this story.