mlsanityData to 14 Oct 2026

From Raw Corpora to Domain Benchmarks: Automated Evaluation of LLM Domain Expertise

arXiv 2506.07658 ↗First posted 9 Jun 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Accurate domain-specific benchmarking of LLMs is essential, specifically in domains with direct implications for humans, such as law, healthcare, and education. However, existing benchmarks are documented to be contaminated and are based on multiple-choice questions, which suffer from inherent biases. To measure domain-specific knowledge in LLMs, we present a deterministic pipeline that transforms raw domain corpora into completion-style benchmarks without relying on other LLMs or costly human annotation. Our approach first extracts domain-specific keywords and related target vocabulary from an input corpus. It then constructs prompt-target pairs where domain-specific words serve as prediction targets. By measuring LLMs' ability to complete these prompts, we provide a direct assessment of domain knowledge at low computational cost. Our pipeline avoids benchmark contamination, enables automated updates with new domain data, and facilitates fair comparisons between base and instruction-tuned (chat) models. We validate our approach by showing that model performances on our benchmark significantly correlate with those on an expert-curated benchmark. We then demonstrate how our benchmark provides insights into knowledge acquisition in domain-adaptive, continual, and general pretraining. Finally, we examine the effects of instruction fine-tuning by comparing base and chat models within our unified evaluation framework. In conclusion, our pipeline enables scalable, domain-specific, LLM-independent, and unbiased evaluation of both base and chat models.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 38 of its 51 references that are in the map. First posted on arXiv 9 Jun 2025.

Builds on

38 of 51 references.

References · 38

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  5. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  6. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  7. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  8. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
  9. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  10. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  11. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  12. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
26 more
  1. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
  2. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  3. 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,184
  4. 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 836
  5. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 528
  6. 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 445
  7. 20242 OLMo 2 Furiouscited by 340
  8. 2023MedAlpaca -- An Open-Source Collection of Medical Conversational AI Models and Training Datacited by 286
  9. 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
  10. 2023Don't Make Your LLM an Evaluation Benchmark Cheatercited by 194
  11. 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 142
  12. 2024When Benchmarks are Targets: Revealing the Sensitivity of Large Language Model Leaderboardscited by 137
  13. 2021DEMix Layers: Disentangling Domains for Modular Language Modelingcited by 132
  14. 2022Analyzing Transformers in Embedding Spacecited by 132
  15. 2021Language Model Evaluation Beyond Perplexitycited by 78
  16. 2023FinGPT: Democratizing Internet-scale Data for Financial Large Language Modelscited by 67
  17. 2024Investigating Continual Pretraining in Large Language Models: Insights and Implicationscited by 57
  18. 2024Changing Answer Order Can Decrease MMLU Accuracycited by 42
  19. 2023AstroLLaMA: Towards Specialized Foundation Models in Astronomycited by 41
  20. 2023Interpretable Long-Form Legal Question Answering with Retrieval-Augmented Large Language Modelscited by 35
  21. 2024Beyond Perplexity: Multi-dimensional Safety Evaluation of LLM Compressioncited by 33
  22. 2022M2D2: A Massively Multi-domain Language Modeling Datasetcited by 26
  23. 2023A Glitch in the Matrix? Locating and Detecting Language Model Grounding with Fakepediacited by 24
  24. 2024Faster and Lighter LLMs: A Survey on Current Challenges and Way Forwardcited by 21
  25. 2024Adaptation Odyssey in LLMs: Why Does Additional Pretraining Sometimes Fail to Improve?cited by 8
  26. 2025LLM-Powered Benchmark Factory: Reliable, Generic, and Efficientcited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.