Domain Mastery Benchmark: An Ever-Updating Benchmark for Evaluating Holistic Domain Knowledge of Large Language Model-A Preliminary Release

Sihang JiangarXiv 2023 · DOI

TL;DR

Large Language Models (LLMs) are getting incredibly good, but we don't have a great way to test their deep understanding of specific subjects. This paper introduces DomMa, a new benchmark designed to rigorously evaluate LLMs' domain knowledge across a wide range of subjects, using real-world exam questions. DomMa aims to provide a more comprehensive and continuously updated evaluation than existing benchmarks.

What Problem Does This Paper Address?

As LLMs become more powerful, they're starting to show impressive capabilities in understanding and generating text. However, current evaluation benchmarks often fall short when it comes to assessing their true "domain mastery" – the deep, nuanced knowledge required in fields like medicine, law, or engineering. Many existing benchmarks are either too narrow in scope, lack depth, rely on subjective evaluations, or are susceptible to data contamination (where test data might have been part of the LLM's training data). This makes it difficult to truly understand how well LLMs perform in specialized domains, compare them to human experts, or identify their weaknesses.

Methods

The core of DomMa is its comprehensive dataset and a novel evaluation approach.

  • Dataset Construction: DomMa is built using over 100,000 questions from Chinese graduate entrance exams and undergraduate mid-term/final exams. These questions are meticulously categorized according to China's 112 first-level subject classifications, providing a hierarchical structure that captures different levels of domain depth. To ensure data quality, questions with clear ground truths (fill-in-the-blank, multiple-choice, true/false) were prioritized. Chinese questions are also translated into English.
  • Auto-Updating Mechanism: To combat data contamination and keep pace with LLM advancements, DomMa employs an auto-updating scheme. Manually annotated questions serve as "seed data" to train an annotation model. This model then continuously labels new data, which is periodically integrated into the benchmark. Curriculum learning is used to fine-tune the model on recent data, ensuring it stays relevant.
  • Evaluation Methods: Recognizing the challenges of evaluating LLM outputs (especially text-to-text generation), DomMa proposes three distinct evaluation methods:
  • White-box evaluation: For models where parameters are accessible, probabilities are used to determine the chosen option.
  • Grey-box evaluation: For models with unavailable parameters, instructions guide the model to generate probabilities for specific options.
  • Black-box evaluation: For models with restricted capabilities, they are asked to directly repeat options, and semantic similarity is used to identify the preferred choice.
  • Additionally, to mitigate "guessing" and prompt sensitivity, questions are queried with multiple instructions, and options are constructed using synonym databases or morphological techniques to avoid easy pattern matching.

Datasets

  • DomMa Benchmark: A newly introduced benchmark comprising over 100,000 questions in both Chinese and English. It covers a wide range of domains based on China's 112 first-level subject classifications.
  • Source Data: Graduate entrance examination questions and undergraduate mid-term/final exam questions from Chinese universities.

Key Insights and Ideas

  • The Need for Domain-Specific Evaluation: Existing general-purpose benchmarks are becoming insufficient as LLMs advance. A dedicated focus on domain knowledge is crucial for understanding their true capabilities and limitations.
  • Hierarchical Subject Classification: Using a structured system like China's 112 first-level subjects allows for a more granular assessment of domain depth, going beyond broad categories.
  • Continuous Updating is Essential: The dynamic nature of LLM training data necessitates an evolving benchmark to prevent contamination and maintain relevance. The auto-updating mechanism is a key innovation here.
  • Flexible Evaluation for Diverse LLMs: The three proposed evaluation methods (white-box, grey-box, black-box) acknowledge the varied architectures and accessibility of LLMs, offering a more robust assessment framework.

Key Results

The paper is a preliminary release and focuses on introducing the benchmark and methodology. Specific quantitative results comparing LLMs on DomMa are not detailed in this initial release. The authors state their goal is to provide a metric to evaluate how well models manage domain-specific knowledge and to cater particularly to LLMs.

Limitations and Future Work

  • Preliminary Release: This is a preliminary release, suggesting that further refinement and expansion of the benchmark are planned.
  • Data Contamination: While the auto-updating mechanism aims to mitigate this, ensuring complete avoidance of training data in evaluation remains a significant challenge for LLMs trained on vast internet corpora.
  • Human Expert Comparison: The paper poses the question of how LLMs compare to human experts but does not present the results of such comparisons in this preliminary release. Future work will likely involve detailed experimental evaluations and comparisons.
  • Annotation Model Refinement: The effectiveness of the auto-updating relies on the accuracy of the trained annotation model, which will require ongoing monitoring and improvement.

Summary updated

Abstract

Domain knowledge refers to the in-depth understanding, expertise, and familiarity with a specific subject, industry, field, or area of special interest. The existing benchmarks are all lack of an overall design for domain knowledge evaluation. Holding the belief that the real ability of domain language understanding can only be fairly evaluated by an comprehensive and in-depth benchmark, we introduces the Domma, a Domain Mastery Benchmark. DomMa targets at testing Large Language Models (LLMs) on their domain knowledge understanding, it features extensive domain coverage, large data volume, and a continually updated data set based on Chinese 112 first-level subject classifications. DomMa consist of 100,000 questions in both Chinese and English sourced from graduate entrance examinations and undergraduate exams in Chinese college. We have also propose designs to make benchmark and evaluation process more suitable to LLMs.
BibTeX
@misc{jiang2023domain,
  author = {Sihang Jiang},
  title = {{Domain Mastery Benchmark: An Ever-Updating Benchmark for Evaluating Holistic Domain Knowledge of Large Language Model-A Preliminary Release}},
  year = {2023},
  eprint = {2304.11679},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.11679},
}
Figure