DROP and VQAv2 mis-read some bold `Answer:` lines (multi-span DROP answers and VQAv2 rows lose credit)

Open
#2,326 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@beartester34 is already working on this.

Since Dec 4, 2026.

  • #2327 by @beartester34 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python

Research direction

Start by reading drop_adapter.py and vqav2_adapter.py, focusing on the answer extraction patterns named in the issue; also check evalscope/benchmarks/slake/utils.py for the related pattern. Run the supplied offline scoring examples to reproduce the failures. Done means bold answer formats extract the final answer correctly and DROP multi-span and VQAv2 scores match the expected results; pull request #2327 is already open against this issue.

Written by the indexing model from the issue text.

Description

DROP and VQAv2 lose points for some bold final answer lines that chat models often write.

Self-Check List

Before submitting an issue, please ensure you have completed the following steps:

Problem Description

DROP (drop_adapter.py, re.findall(r'(?i)Answer\s*:\s*([^\n]+)', ...)) and VQAv2 (vqav2_adapter.py, _ANSWER_PATTERN = re.compile(r'ANSWER:\s*(.*)', re.I)) read the final answer line with a case-insensitive regex. That regex keeps markdown bold in the captured text, and it does not match **Answer**: ... (bold closing before the colon), so then the whole reply is scored.

Not every bold line loses credit. DROP treats * as punctuation for single answers, so **Answer:** 43 and **Answer: 43** still score 1. These forms lose points:

  • DROP, multi-span answers: **Answer:** ["Brady", "Palmer"] extracts ** ["Brady", "Palmer"] and **Answer: ["Brady", "Palmer"]** extracts ["Brady", "Palmer"]**. Neither parses as a JSON list, so the multi-span path from #2111 is skipped and the answer is scored as one string (em 0, f1 0.33 instead of 1/1).
  • DROP, any answer written as **Answer**: ...: no match, so the whole reply is scored (e.g. **Answer**: 43 -> em 0, f1 0.5).
  • VQAv2, all three shapes (**ANSWER: yes** -> yes**, **ANSWER:** yes -> ** yes, **Answer**: yes -> whole reply): vqa_score is 0. For the first two exact_match is 1 on the same prediction, so the two metrics disagree. I saw this both on a unanimous row (10 x "yes") and on a mixed row (8 x "2", "two", "3").

#1870 fixed the same output shape in seven other open-answer adapters. Its description left VQAv2 and SLAKE unchanged because their regex was already case-insensitive. The case-insensitive regex still keeps the bold markers and misses **Answer**:. DROP was not mentioned there. evalscope/benchmarks/slake/utils.py has the same pattern: **ANSWER: CT** still scores (punctuation is stripped), but Looking at the image.\n**Answer**: CT falls back to the whole reply (acc 0).

Completion Benchmark Expected extraction / score Actual extraction / score
**Answer:** ["Brady", "Palmer"] drop ["Brady", "Palmer"], em 1, f1 1 ** ["Brady", "Palmer"], em 0, f1 0.33
**Answer**: ["Brady", "Palmer"] drop ["Brady", "Palmer"], em 1, f1 1 whole reply, em 0, f1 0.25
**Answer:** 43 drop 43, em 1, f1 1 ** 43, em 1, f1 1 (not affected)
**ANSWER: yes** (10 x "yes") vqav2 yes, vqa_score 1, exact_match 1 yes**, vqa_score 0, exact_match 1
A dog.\n**Answer**: yes (10 x "yes") vqav2 yes, vqa_score 1, exact_match 1 whole reply, vqa_score 0, exact_match 0

EvalScope Version (Required)

main @ 96635395 (also present in v1.15.1)

Tools Used

  • Native / Native framework
  • Opencompass backend
  • VLMEvalKit backend
  • RAGEval backend
  • Perf / Model inference stress testing tool
  • Arena / Arena mode

Executed Code or Instructions

Offline, no dataset download or model needed:

from evalscope import TaskConfig
from evalscope.api.dataset import Sample
from evalscope.api.evaluator import TaskState
from evalscope.api.model import ModelOutput
from evalscope.api.registry import get_benchmark

def score(bench, completion, sample):
    state = TaskState(model='m', sample=sample, completed=True, output=ModelOutput.from_content('m', completion))
    s = get_benchmark(bench, TaskConfig(datasets=[bench])).calculate_metrics(state).score
    print(bench, repr(completion), '->', repr(s.extracted_prediction), s.value)

spans, yes = Sample(input='q', target=str([('Brady', 'Palmer')])), Sample(input='q', target='', metadata={'answers': ['yes'] * 10})
for c in ['Answer: ["Brady", "Palmer"]', '**Answer:** ["Brady", "Palmer"]', '**Answer**: ["Brady", "Palmer"]']: score('drop', c, spans)
for c in ['ANSWER: yes', '**ANSWER: yes**', 'A dog.\n**Answer**: yes']: score('vqav2', c, yes)

Error Log

drop 'Answer: ["Brady", "Palmer"]' -> '["Brady", "Palmer"]' {'em': 1.0, 'f1': np.float64(1.0)}
drop '**Answer:** ["Brady", "Palmer"]' -> '** ["Brady", "Palmer"]' {'em': 0, 'f1': np.float64(0.33)}
drop '**Answer**: ["Brady", "Palmer"]' -> '**Answer**: ["Brady", "Palmer"]' {'em': 0, 'f1': np.float64(0.25)}
vqav2 'ANSWER: yes' -> 'yes' {'vqa_score': 1.0, 'exact_match': 1.0}
vqav2 '**ANSWER: yes**' -> 'yes**' {'vqa_score': 0.0, 'exact_match': 1.0}
vqav2 'A dog.\n**Answer**: yes' -> 'A dog.\n**Answer**: yes' {'vqa_score': 0.0, 'exact_match': 0.0}

Running Environment

  • Operating System: Linux
  • Python Version: 3.11

Additional Information

  • #1870 fixed the same bold / lower-case ANSWER: line output shape in seven other open-answer adapters (VQAv2 and SLAKE were left unchanged there as already case-insensitive).
  • #2111 added multi-span JSON scoring for DROP, which only applies when the extracted text starts with [.
  • #1916 / #2113 changed VQAv2 scoring to the official toolkit, where punctuation is only normalised when annotators disagree. That part is intended; the problem here is the extraction step before it.
Dominant language
Python
Stars
3.8k
Forks
606
Avg merge
1d 1h
Merged PRs (30d)
189

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelscope/evalscope

All issues in modelscope/evalscope

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.