atlas

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

Context-Aware Testing: A New Paradigm for Model Testing with Large Language Models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 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.

Proposes context-aware testing (CAT) and SMART, an LLM-driven tabular model testing system that generates failure hypotheses from context and falsifies them statistically on data.

Problem

Data-only ML testing searches many subgroups, causing high false positive and false negative rates and surfacing practically meaningless slices, because it ignores contextual knowledge about where models are likely to fail.

Approach

Use an LLM to hypothesize relevant failure slices from task context and dataset description, operationalize them as data queries, and keep only those that are statistically supported by data via a self-falsification step, thereby limiting the number of tests and focusing on meaningful failures.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SMART instead of Sliceline to identify the top failure sliceProstate cancer testing with LogisticRegression · Prostate cancer test data|Δ Acc|: 0.26 ± 0.06 -> 0.37 ± 0.03Helped
Use SMART instead of Sliceline to identify the top failure sliceProstate cancer testing with SVM · Prostate cancer test data|Δ Acc|: 0.26 ± 0.06 -> 0.37 ± 0.03Helped
Use SMART instead of Sliceline to identify the top failure sliceProstate cancer testing with XGBClassifier · Prostate cancer test data|Δ Acc|: 0.18 ± 0.09 -> 0.26 ± 0.06Helped
Use SMART instead of Sliceline to identify the top failure sliceProstate cancer testing with MLPClassifier · Prostate cancer test data|Δ Acc|: 0.26 ± 0.06 -> 0.37 ± 0.03Helped
Add self-falsification (ablation)SMART with LogisticRegression · Prostate cancer test data|Δ Acc|: 0.17 ± 0.01 -> 0.37 ± 0.03Helped
Use SMART instead of DivexplorerSynthetic recidivism testing with one corrupted subgroup · Synthetic recidivism, n=1 corrupted subgroupFNR: 0.05 ± 0.22 -> 0.00 ± 0.00Helped
Use SMART instead of DivexplorerSynthetic recidivism testing with two corrupted subgroups · Synthetic recidivism, n=2 corrupted subgroupsFNR: 0.40 ± 0.35 -> 0.05 ± 0.15Helped
Use SMART instead of pysubgroup beamSynthetic recidivism testing with three corrupted subgroups · Synthetic recidivism, n=3 corrupted subgroupsFNR: 0.68 ± 0.17 -> 0.38 ± 0.27Helped

Surprising findings

Limitations

Experimental setup

Datasets: loan breast cancer diabetes COMPAS recidivism OULAD prostate cancer simulated recidivism data

Benchmarks: loan breast cancer diabetes COMPAS recidivism OULAD prostate cancer simulated recidivism

Metrics: |Delta Acc| of top slice false positive proportion of irrelevant features false negative rate proportion of corrupted subgroup identified

Baselines: Autostrat Slicefinder Sliceline pysubgroup DivExplorer SMART_NSF

Builds on: Autostrat SliceFinder Sliceline DivExplorer pysubgroup

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