
gittech. site
for different kinds of informations and explorations.
LLM Thematic Generalization Benchmark
LLM Thematic Generalization Benchmark
This benchmark measures how effectively various LLMs can infer a narrow or specific "theme" (category/rule) from a small set of examples and anti-examples, then detect which item truly fits that theme among a collection of misleading candidates. The overall process involves generating themes, creating examples and anti-examples, filtering out low-quality data via a "double-check" step, and finally prompting LLMs to score the real example among several distractors.
Visualizations
1. Average Rank of the Correct Example
This chart displays, for each model, the average rank that model assigns to the true example (when placed among seven distractors). Ranks range from 1 (top score) to 8 (lowest).
- Smaller values indicate better performance, because it means the correct example is consistently placed near the top.
- A bar height of 2.0 would mean that on average, the leftover correct item was the second-highest-scored candidate.
2. Distribution of Ranks
A more granular view of the ranks each model assigns to the leftover correct example per file, showing how stable or varied those ranks are across different themes.
3. ModelāModel Correlation
A correlation matrix based on how similarly two models assign a ādifference scoreā to the correct vs. anti-examples. It highlights which LLMs behave similarly or deviate significantly.
4. How Often the Correct Example is the Highest Score
A stacked bar chart indicating how frequently each model places the real leftover example strictly at the top (or tied for top). This quickly shows which LLMs are best at ensuring the real item is #1 vs. merely near the top.
Leaderboard
Rank | Model | Avg Rank | Skipped/Total |
---|---|---|---|
1 | o1 | 1.80 | 0/810 |
2 | DeepSeek R1 | 1.80 | 0/810 |
3 | Gemini 2.0 Flash Think Exp 01-21 | 1.84 | 0/810 |
4 | o3-mini (medium reasoning effort) | 1.85 | 0/810 |
5 | Gemini 2.0 Flash Think Exp Old | 1.90 | 0/810 |
6 | Claude 3.5 Sonnet 2024-10-22 | 1.93 | 0/810 |
7 | o1-mini | 1.95 | 0/810 |
8 | GPT-4o | 1.96 | 0/810 |
9 | Gemini 2.0 Flash Exp | 2.00 | 0/810 |
10 | DeepSeek-V3 | 2.03 | 0/810 |
11 | Qwen QwQ * | 2.05 | 280/810 |
12 | Llama 3.1 405B | 2.08 | 0/810 |
13 | Qwen 2.5 Max | 2.08 | 2/810 |
14 | Microsoft Phi-4 | 2.10 | 0/810 |
15 | Mistral Large 2 | 2.11 | 0/810 |
16 | Amazon Nova Pro | 2.11 | 0/810 |
17 | Llama 3.3 70B | 2.12 | 0/810 |
18 | Gemini 1.5 Pro (Sept) | 2.13 | 0/810 |
19 | Grok 2 12-12 | 2.21 | 0/810 |
20 | Qwen 2.5 72B | 2.21 | 0/810 |
21 | Claude 3.5 Haiku | 2.25 | 0/810 |
22 | Mistral Small 3 | 2.25 | 0/810 |
23 | MiniMax-Text-01 | 2.28 | 0/810 |
24 | GPT-4o mini | 2.30 | 0/810 |
25 | Gemma 2 27B | 2.60 | 0/810 |
- Avg Rank is the mean ranking assigned to the correct example across 810 test files.
- Skipped indicates how many outputs failed to parse or didnāt follow the required output format (e.g., missing
and tags).
Benchmark Method in Detail
Theme & Example Creation
We prompt high-quality LLMs (Claude 3.5 Sonnet, Grok 2, Gemini 1.5 Pro, GPT-4o, DeepSeek-V3) to generate 2,000 unique, succinct āthemesā that foucs on a narrow concept. Each is based on a random trio of starting points, ensuring novelty.
Gather Examples & Anti-Examples
For each theme, we then request four
<example>
entries that specifically fit it, plus 20<anti_example>
entries that could belong to a broader or partially overlapping category but do not fit the exact theme.Quality Check (āDouble Checkā)
- We create specialized prompts that ask LLMs to score how well each of the four real examples (#1ā4) matches the theme, and how well each of the twenty anti-examples (#5ā24) fits the notion of being ābroader or related but not the theme.ā
- We parse these 24 numeric scores (per file, per LLM), computing standardized z-scores. If a real example scores poorly (z < -2.5) or if the top anti-examples fail to show sufficiently high āanti-exampleā scores, that file is discarded.
- From the initial 2,000 sets, we end up retaining 810 sets (themes + examples + anti-examples).
Final āPickā Challenge
- From each of the 810 validated sets, the final prompt includes 3 real examples + 3 anti-examples as context.
- The fourth real example is hidden among 7 top "misleading" anti-examples (8 total)
- We then prompt 26 different LLMs to assign a 0ā10 score to each of these 8 candidates. A perfect approach would always rank the correct example #1.
Result Analysis
- If a model consistently places the real leftover example at or near the top, it implies strong thematic generalization.
- We compile the results into multiple stats, including average rank, difference vs. the anti-example average, fraction of times the real item is top, etc.
Examples
862
Examples: mathematical models, decision trees, flowcharts
Anti-examples: diagrams, maps, blueprints
Candidates:
- checklists
- spreadsheets
- weather forecasts
- mind mapping <- correct pick
- road signs
- instruction manuals
- summaries
- outlines
Theme: "Concepts or systems that involve solving complex problems through simplification or abstraction"
376
Examples: clay pot, bamboo sieve, calabash gourd spoon
Anti-examples: plastic serving spoon, rubber spatula, plastic strainer
Candidates:
- cast iron skillet
- wooden mortar <- correct pick
- nylon cooking utensils
- ceramic bowl
- stone grinding wheel
- porcelain plate
- silicone baking mat
- bamboo steamer basket
Theme: "Tools or implements traditionally used in West African food preparation that are made primarily from a single, naturally occurring material."
Note
Note that in general "verification vs. generation complexity asymmetry notions continue to hold empirically when replacing tailored algorithms with Language Models (LMs)" (https://arxiv.org/abs/2407.16831v1). "An LLM may be able to perform individual steps in a task, e.g. evidence verification, more accurately than the LLM can perform an entire task" (https://arxiv.org/abs/2306.00024). Verification tends to require fewer resources or simpler reasoning, so even very complex AI-generated benchmark items can be checked for correctness by another model with relative ease.
In our benchmark, it's trivial for top LLMs to see if an example or counterexample fits a known theme. But hide the theme, and generalizing from a few examples to one underlying concept, then picking among adversarial alternatives, gets way harder. This asymmetry lets us use LLMs for both creating and evaluating benchmark items.
We also checked for self-grading bias. None detected.
Updates and Other Benchmarks
- Feb 4, 2025: DeepSeek R1, o3-mini (medium reasoning effort), Gemini 2.0 Flash Thinking Exp 01-21, Qwen 2.5 Max, Microsoft Phi-4, Amazon Nova Pro, Mistral Small 3, MiniMax-Text-01 added.
- Also check out Multi-Agent Elimination Game LLM Benchmark, LLM Public Goods Game, LLM Step Game, LLM Creative Story-Writing Benchmark, LLM Confabulation/Hallucination Benchmark, LLM Deception Benchmark, NYT Connections Benchmark, and LLM Divergent Thinking Creativity Benchmark.
- Follow @lechmazur on X (Twitter) for other upcoming benchmarks and more.