Skip to content
Back to skills

Msqa Eval

ASecurity

Evaluates graduate-level materials science reasoning and factual knowledge through long-form explanatory answers and binary true/false questions. It probes model capabilities in domain-specific knowledge retrieval, multi-step scientific reasoning, and accuracy under both direct prompting and retrieval-augmented generation (RAG) settings. Use when the user wants to benchmark on MSQA, or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 11, 2026
ai-agentspythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill msqa-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Msqa Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Msqa Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-msqa-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-msqa-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: msqa-eval
description: Evaluates graduate-level materials science reasoning and factual knowledge through long-form explanatory answers and binary true/false questions. It probes model capabilities in domain-specific knowledge retrieval, multi-step scientific reasoning, and accuracy under both direct prompting and retrieval-augmented generation (RAG) settings. Use when the user wants to benchmark on MSQA, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2505.23982
  bibtex_key: cheung2025msqa
  confidence: high
---

# msqa-eval

> MSQA: Benchmarking LLMs on Graduate-Level Materials Science Reasoning and Knowledge — Cheung et al. (2025) (arXiv:2505.23982, 2025)

## What this evaluates

Evaluates graduate-level materials science reasoning and factual knowledge through long-form explanatory answers and binary true/false questions. It probes model capabilities in domain-specific knowledge retrieval, multi-step scientific reasoning, and accuracy under both direct prompting and retrieval-augmented generation (RAG) settings.

## Datasets

- **MSQA** — total 1757; splits: test (1757); repo https://github.com/jerry3027/MSQA

## Metrics

- `accuracy` **(primary)** — range: percent
  - Percentage of correctly answered questions. For binary tasks, exact keyword matching for 'YES' or 'NO'. For long-answer tasks, GPT-4o judge classifies responses as 'correct', 'mostly correct', or 'incorrect'; the first two are counted as correct.

## Input / output format

**Input**: Question text. Optionally augmented with top-5 BM25-retrieved paragraphs from Methods/Results sections. For binary tasks, optionally includes chain-of-thought prompting instructions.

**Output**: Long-answer: free-text scientific explanation. Binary-answer: exact string 'YES' or 'NO'.

## Scoring recipe

```python
def compute_accuracy(preds, golds, task_type):
    correct = 0
    for p, g in zip(preds, golds):
        if task_type == 'binary':
            if p.strip().upper() in ('YES', 'NO') and p.strip().upper() == g.strip().upper():
                correct += 1
        elif task_type == 'long':
            judge_label = llm_judge_eval(p, g)
            if judge_label in ('correct', 'mostly correct'):
                correct += 1
    return (correct / len(preds)) * 100
```

## Common pitfalls

- Domain-specific fine-tuned models often underperform general-purpose LLMs due to overfitting and distributional shifts between their training data and the benchmark.
- Chain-of-thought prompting can degrade binary-answer accuracy by introducing factually incorrect intermediate reasoning steps.
- LLM-as-judge (e.g., GPT-4o-mini) exhibits verbosity bias and may accept vague explanations, requiring validation against stronger judges or human experts.

## Evidence (verbatim from paper)

> For binary-answer evaluations, accuracy is determined by exact keyword matching for responses containing either “YES” or “NO”. Performance results are uniformly reported as accuracy percentages across all experiments. Evaluating the long-answer responses is conducted through GPT-4o acting as an LLM judge, assessing responses as either “correct” or “mostly correct”, both categories counted as correct in our metrics.

## Citation

```bibtex
@misc{cheung2025msqa,
  title={MSQA: Benchmarking LLMs on Graduate-Level Materials Science Reasoning and Knowledge},
  author={Cheung et al. (2025)},
  year={2025},
  note={arXiv:2505.23982}
}
```

- arXiv: 2505.23982

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.