We lifted 4 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| dxlong2000/FormatEval | canonical | 4 of 4 |
| Function | Status | Where it lives |
|---|---|---|
| check_bolding | Ran | dxlong2000/FormatEval/src/output/evaluate_generation_SystematicF1_FI.py pointer only (licence: NONE) · get_code("10163f07fc4024b3") |
| check_free_form_follow | Ran | dxlong2000/FormatEval/src/output/evaluate_generation_SystematicF1_FI.py pointer only (licence: NONE) · get_code("3a21d477b1ff88ad") |
| check_mcq_answer | Ran | dxlong2000/FormatEval/src/output/evaluate_generation_SystematicF1_FI.py pointer only (licence: NONE) · get_code("967e049ba4d608b0") |
| compute_variance | Ran | dxlong2000/FormatEval/EvalData/sampling.py pointer only (licence: NONE) · get_code("306480175aba7766") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
We present the first systematic evaluation examining format bias in performance of large language models (LLMs). Our approach distinguishes between two categories of an evaluation metric under format constraints to reliably and accurately assess performance: one measures performance when format constraints are adhered to, while the other evaluates performance regardless of constraint adherence. We then define a metric for measuring the format bias of LLMs and establish effective strategies to reduce it. Subsequently, we present our empirical format bias evaluation spanning four commonly used categories -- multiple-choice question-answer, wrapping, list, and mapping -- covering 15 widely-used formats. Our evaluation on eight generation tasks uncovers significant format bias across state-of-the-art LLMs. We further discover that improving the format-instruction following capabilities of LLMs across formats potentially reduces format bias. Based on our evaluation findings, we study prompting and fine-tuning with synthesized format data techniques to mitigate format bias. Our methods successfully reduce the variance in ChatGPT's performance among wrapping formats from 235.33 to 0.71 (%$^2$).
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2408.08656")
get_code_for_paper("2408.08656")
have("2408.08656")
Connect an agent — have() is free.