How to Make the Most of LLMs' Grammatical Knowledge for Acceptability Judgments
<|reference_start|>How to Make the Most of LLMs' Grammatical Knowledge for Acceptability Judgments: The grammatical knowledge of language models (LMs) is often measured using a benchmark of linguistic minimal pairs, where LMs are presented with a pair of acceptable and unacceptable sentences and required to judge which is acceptable. The existing dominant approach, however, naively calculates and compares the probabilities of paired sentences using LMs. Additionally, large language models (LLMs) have yet to be thoroughly examined in this field. We thus investigate how to make the most of LLMs' grammatical knowledge to comprehensively evaluate it. Through extensive experiments of nine judgment methods in English and Chinese, we demonstrate that a probability readout method, in-template LP, and a prompting-based method, Yes/No probability computing, achieve particularly high performance, surpassing the conventional approach. Our analysis reveals their different strengths, e.g., Yes/No probability computing is robust against token-length bias, suggesting that they harness different aspects of LLMs' grammatical knowledge. Consequently, we recommend using diverse judgment methods to evaluate LLMs comprehensively.<|reference_end|>
@article{ide2024how,
    title={How to Make the Most of LLMs' Grammatical Knowledge for Acceptability
  Judgments},
    author={Yusuke Ide, Yuto Nishida, Miyu Oba, Yusuke Sakai, Justin Vasselli,
  Hidetaka Kamigaito, Taro Watanabe},
    journal={arXiv preprint arXiv:2408.09639},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.09639},
    primaryClass={cs.CL cs.AI}
}