aidanmclaughlin/AidanBench
关于
Aidan Bench attempts to measure <big_model_smell> in LLMs.
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文AidanBench: Stress-Testing Language Model Creativity on Open-Ended Questions
Some models feel competent despite under-scoring on benchmarks like MMLU, GPQA, MATH, or NIAH.
AidanBench rewards:
- Creativity
- Reliability
- Contextual attention
- Instruction following
AidanBench penalizes mode collapse and inflexibility, has no score ceiling, and aligns with real-world open-ended use.
Methodology
We give LLMs a set of open-ended questions spanning various domains:
"Provide an explanation for Japan's Lost Decades.",
"How might you use a brick and a blanket?",
"What architectural features might you include in a tasteful house?",
"Propose a solution to Los Angeles traffic.",
"What activities might I include at a party for firefighters?",
"How could we redesign schools to better prepare students for the 22nd century?",
# ... and many more
For each question, we ask the model to generate novel answers while avoiding previous responses. The benchmark continues generating answers until either:
- The answer becomes incoherent ($C \leq 15/100$)
- The answer is too similar to previous responses ($N \leq 0.15$)
Scoring System
Given a language model $\mathcal{M}$ and question $q$, we compute the score $S_{\mathcal{M}}(q)$ as:
$$ S_{\mathcal{M}}(q) = \max{n \in \mathbb{N} : \forall i \leq n, r_i \in V(R_{i-1})} $$
where $r_i = \mathcal{M}(q, R_{i-1})$ represents the $i$-th generated response and $R_i = {r_1, ..., r_i}$ captures the response history. The validity function $V(R)$ enforces our termination criteria:
$$ V(R) = {r : C(r) > \tau_c \land N(r, R) > \tau_n} $$
Coherence Score $C(r)$: Each response is evaluated by a judge model $\mathcal{J}$ (o1-mini) on a scale of $[0, 100]$:
$$ C(r) = \mathcal{J}(q, r) $$
Novelty Score $N(r, R)$: For each new response $r$, we compute:
$$ N(r, R) = 1 - \max_{r' \in R} \frac{e(r) \cdot e(r')}{|e(r)| |e(r')|} $$
where $e(r)$ denotes the response embedding.
The final AidanBench score aggregates performance across all questions $Q$:
$$ S_{\mathcal{M}} = \sum_{q \in Q} S_{\mathcal{M}}(q) $$
Results
Here are the latest benchmark results across various models:
We test models at temperature=0.7.
Setup
Prerequisites
- Python 3.x
- OpenAI API key
- OpenRouter API key
Installation
Clone the repository:
git clone https://github.com/aidanmclaughlin/Aidan-Bench.git cd Aidan-BenchInstall required packages:
pip install -r requirements.txtSet up environment variables:
export OPENAI_API_KEY="your-openai-key" export OPEN_ROUTER_KEY="your-openrouter-key"
Running the Benchmark
Run the benchmark with:
python benchmark/main.py
The script will guide you through several choices:
Select model(s) to benchmark
- Choose from a list of supported models
- Option to test multiple models in sequence
Configure test parameters
- Threading mode (multi-threaded or single-threaded)
- Temperature setting (default: 0.7)
- Number of questions to test
- Use of LLM judge for similarity scoring
Configure thresholds The benchmark uses three key thresholds:
Coherence threshold $\tau_c$ controls minimum answer quality
Embedding threshold $\tau_n$ prevents semantic redundancy
LLM similarity threshold (optional) provides additional diversity checking
Results will be saved to results.json and can be visualized using the included visualization tool.
Visualization
After running the benchmark, you can visualize results using the included visualization tool:
cd visualize_results
python -m http.server 8000
Then open http://localhost:8000/visualization in your browser to explore the results interactively.
Citation
If you find AidanBench useful in your research, please consider citing:
@inproceedings{mclaughlin2025aidanbench,
title={AidanBench: Stress-Testing Language Model Creativity on Open-Ended Questions},
author={Aidan McLaughlin*, James Campbell*, Anuja Uppuluri*, Yiming Yang},
booktitle={NeurIPS 2024 Workshop on Language Gamification},
year={2024}
}
(* denotes equal contribution)
探索相关项目
加载中…