atlas

Research map / Large language models / Language, safety and interpretability

SETLEXSEM CHALLENGE: Using Set Operations to Evaluate the Lexical and Semantic Robustness of Language Models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Uncertainty quantification for LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces SetLexSem, a synthetic benchmark of set operations (union, intersection, difference, symmetric difference) that systematically varies lexical and semantic properties of set members to test LLM robustness, finding poor robustness especially on semantically "deceptive" sets.

Problem

LLMs are evaluated on algorithmic tasks with limited, possibly leaked datasets, and their accuracy may vary with incidental features such as operation type, operand size, token type, length, frequency, and semantic relatedness of set members. The paper asks whether LLMs perform set operations robust

Approach

Uses finite set operations as a controllable synthetic probe: operands can be any nameable symbols, so lexical form, corpus frequency, token length, and WordNet hypernym-based semantic groupings ("deceptive" sets) can be varied systematically while the algorithm stays fixed. The figure of merit is variance of accuracy rather than mean accuracy, interpreted as System 2 robustness.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Swap half of the semantically grouped words between setsClaude Haiku on SetLexSem deceptive words · SetLexSem deceptive wordsaccuracy: 91.84 -> 71.88Hurt
Use semantically uniform sets instead of randomly sampled wordsClaude Haiku on SetLexSem · SetLexSem deceptive words vs random baselineaccuracy: 81.06 -> 91.84Helped
Increase operand size from 2 to 16All evaluated LLMs on SetLexSem · SetLexSemaccuracy: 90.38 -> 54.4Hurt
Use symmetric difference instead of unionAll evaluated LLMs on SetLexSem · SetLexSemaccuracy: 88.88 -> 65.25Hurt
Use formal rather than plain-language promptingEvaluated LLMs on SetLexSem · SetLexSemaccuracy: 72.2 -> 76.8Helped
Use tokens of length 5 rather than length 3Claude Haiku on SetLexSem · SetLexSem, frequency deciles 2nd–9thaccuracy: 16.6; 11.2; 6.4; 1.7; 4.9; 4.2; 2.5; 3.8Helped
Increase number token length from 1 to 4Claude Haiku on SetLexSem · SetLexSem numbersaccuracy: 93.5 -> 73.2Hurt
Increase word token length from 1 to 4Claude Haiku on SetLexSem · SetLexSem wordsaccuracy: 86.0 -> 95.3Helped
Increase operand size from 2 to 4Claude Haiku on SetLexSem · SetLexSem numbersaccuracy: 90.5 -> 77.6Hurt
Increase operand size from 2 to 4Claude Haiku on SetLexSem · SetLexSem wordsaccuracy: 94.7 -> 88.5Hurt
Use words rather than numbersClaude Haiku on SetLexSem · SetLexSemaccuracy: Numbers: 93.5, 85.0, 84.5, 73.2; Words: 86.0, 91.6, 93.5, 95.3Mixed
Increase demonstrations from 0 to 5 with CoT and self-reflection, allowing empty sets (ablation)Claude Haiku on SetLexSem · SetLexSem numbersaccuracy: 83.6 -> 88.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: NLTK Wordlist corpus Google Books Ngram corpus WordNet

Benchmarks: SetLexSem Challenge

Metrics: accuracy standard deviation of accuracy

Baselines: Claude Instant Claude Haiku Claude Sonnet Mistral Large Mistral Small LLaMa 3 70b

Builds on: chain-of-thought prompting WordNet NLTK word list

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy