Showing posts with label model benchmark. Show all posts
Showing posts with label model benchmark. Show all posts

Tuesday, November 22, 2022

Large Language Models: Towards a holistic benchmark

What a Herculean undertaking!

Of course, these Stanford University exhibit a strong desire to be politically correct: So out of 7 metrics 3 deal with the dominant ideologies of our time (i.e. toxicity, fairness, bias).

"Stanford studied 30 large language models so you don’t have to 
The university’s Center for Research on Foundation Models has combined several different metrics into one big, holistic benchmark that evaluates the accuracy, calibration, robustness, fairness, bias, toxicity, and efficiency of large language models. I was surprised to see that bigger models didn’t actually translate to better performance."

"... But the AI community lacks the needed transparency: Many language models exist, but they are not compared on a unified standard, and even when language models are evaluated, the full range of societal considerations (e.g., fairness, robustness, uncertainty estimation, commonsense knowledge, disinformation) have not be addressed in a unified way. ...
We believe holistic evaluation involves three elements:
  1. Broad coverage and recognition of incompleteness. ...
  2. Multi-metric measurement. Societally beneficial systems are characterized by many desiderata, but benchmarking in AI often centers on one (usually accuracy). ...
  3. Standardization. ... we should evaluate all the major LMs on the same scenarios to the extent possible.
..."

From the abstract:
"Language models (LMs) are becoming the foundation for almost all major language technologies, but their capabilities, limitations, and risks are not well understood. We present Holistic Evaluation of Language Models (HELM) to improve the transparency of language models. First, we taxonomize the vast space of potential scenarios (i.e. use cases) and metrics (i.e. desiderata) that are of interest for LMs. Then we select a broad subset based on coverage and feasibility, noting what's missing or underrepresented (e.g. question answering for neglected English dialects, metrics for trustworthiness). Second, we adopt a multi-metric approach: We measure 7 metrics (accuracy, calibration, robustness, fairness, bias, toxicity, and efficiency) for each of 16 core scenarios when possible (87.5% of the time). This ensures metrics beyond accuracy don't fall to the wayside, and that trade-offs are clearly exposed. We also perform 7 targeted evaluations, based on 26 targeted scenarios, to analyze specific aspects (e.g. reasoning, disinformation). Third, we conduct a large-scale evaluation of 30 prominent language models (spanning open, limited-access, and closed models) on all 42 scenarios, 21 of which were not previously used in mainstream LM evaluation. Prior to HELM, models on average were evaluated on just 17.9% of the core HELM scenarios, with some prominent models not sharing a single scenario in common. We improve this to 96.0%: now all 30 models have been densely benchmarked on the same core scenarios and metrics under standardized conditions. Our evaluation surfaces 25 top-level findings. For full transparency, we release all raw model prompts and completions publicly for further analysis, as well as a general modular toolkit. We intend for HELM to be a living benchmark for the community, continuously updated with new scenarios, metrics, and models."

Language Models are Changing AI. We Need to Understand Them Scholars benchmark 30 prominent language models across a wide range of scenarios and for a broad range of metrics to elucidate their capabilities and risks.




Sunday, February 16, 2020

How Google Deepmind Exercises Politically Correct Censorship

Correction (2/17/2020): Mea Culpa! It was Google Deepmind not Microsoft as stated in my original post!

Google recently released a huge text dataset for computational linguistics/machine learning called PG19. It contains the content of almost 29,000 books published before 1919 (I suppose to avoid copyright issues).

Google decided to cleanse the content of those old books by "mapping of offensive discriminatory words as specified by Ofcom [4] to placeholder tokens."

I think, this is a very dubious practice to censor such old books of offensive words/phrases, which were common a 100 years or more ago!

It is probably also very hard to defend this particular censorship practice as these words are irrelevant for current language modeling. Why then choose books that were published 100 years ago or longer! This books probably contain lots of outdated language!

By the way, Ofcom refers to "Attitudes to potentially offensive language and gestures on TV and radio Quick Reference Guide". "Ofcom is the regulator for the communications services that we use and rely on each day." Ofcom could very well be an Orwellian speak agency!

GitHub - deepmind/pg19: Contribute to deepmind/pg19 development by creating an account on GitHub.