ContextAdapt

Evaluating Contextual Adaptation and Value Alignment in LLMs
The same value can call for different behaviour in different domains. Do LLMs adapt accordingly?

ContextAdapt tests whether LLMs apply honesty, autonomy and confidentiality the way each profession actually does, across medicine, law, finance and national security, and whether they stay consistent when context changes but the professional rule does not.

Olivia Macmillan-Scott1 · Mirco Musolesi1,2
1Centre for AI, University College London   2University of Bologna
Read the paper →
Mean appropriateness by value × profession
Medicine
Law
Finance
Nat. Security
Autonomy
96%
96%
96%
92%
Confidentiality
91%
94%
98%
93%
Honesty
99%
98%
99%
98%

Results averaged over twelve frontier models. We break down these values and look at justifications below.

12LLMs
3values
4professions
251scenarios
10samples each
95.6%mean appropriateness on the main dataset. Models usually recommend the professionally correct action.
26–77%of responses cite the correct professional framework, depending on the model. Same action, very different grounding.
91 ptslargest gap in appropriateness between high and low stakes: Llama 3.1 70B in Medicine × Honesty, with the professional rule unchanged.
01 · THE IDEA

One value, different rules in different professions.

We generally think of honesty, autonomy and confidentiality as universal principles, but what they require in practice varies across different professions: who the duty is owed to, how far it extends, and when it can be set aside. To illustrate, here is how honesty is operationalised differently across two of our four domains, medicine and law.

Honesty in Medicine

Honesty can license withholding

Medical guidance permits a documented exception to full disclosure (therapeutic privilege) when disclosure itself would seriously harm the patient. The exception protects the very person the duty of honesty is owed to.

Duty owed to: the patient
Honesty in Law

Honesty runs to the court first

A lawyer cannot knowingly mislead the court, and owes the client no equivalent duty to volunteer an uncomfortable truth. Candour runs first to the court, and only second to the client.

Duty owed to: the court, then the client

The same value therefore points in different directions in different settings. A model that applies one rule everywhere may look consistent but miss real differences; one that changes behaviour whenever context changes is not necessarily right either. Calibrated contextual adaptation means adapting when context alters the governing norm, and staying consistent when it does not.

For every value × domain pair we identify three things

Default rule

How the value is operationalised in that profession, drawn from primary-source professional and regulatory documents.

Target of the duty

Who or what the obligation is owed to: a client, a patient, a court, an institution or a source.

Exception conditions

When the default may be overridden. Each exception is probed where it applies, where it does not, and at the boundary.

02 · THE DESIGN

From professional standards to scored responses.

The four stages of the research pipeline, from source documents to scored model behaviour.

1Professional norm corpus

24 primary-source documents
MedLawFinNat
Professional codes, regulator guidance, governmental and institutional standards, international frameworks and legal material, across four domains.
A value × domain matrix
MedLawFinNatHonestyAutonomyConfid.ruletargetexception
For each of three values in each domain: the default rule, the target of the duty, and the conditions for exceptions.
→

2Scenario construction

Domain-agnostic templates
templateMedLawFinNat
Each describes a normative tension without naming a profession, then is instantiated in every domain where the same relationship is supported.
Base scenarios
default rule applies
Test the default professional rule.
Exception scenarios
not metboundarymet
Probe documented departures from the rule: conditions met, not met, or at the boundary.
→

3Two experiments

12 LLMs · 10 samples eachSampled at non-zero temperature for every scenario.
Main dataset · 107 scenariosDo models recover professionally grounded applications of each value across domains? Fixed decision-maker role and an explicit professional setting.
Secondary experiment · 144 scenarios
Stakes
LowHigh
Role
Decision-makerAdvisor
Label
ExplicitImplicit
18 representative Base scenarios, each varied on three features that should not alter the norm: 18 × 2 × 2 × 2 = 144.
→

4Response evaluation

Three-judge LLM panelGPT-5.6 Luna, Gemini 3.5 Flash-Lite and Command A code every response, blind to the model. Consensus: median for the action, majority vote for the justification.
Axis 1: the action
MatchesPartialNo match10.50
Does it match the professional reference? Scored 1, 0.5 or 0.
Axis 2: the stated justification
six justification categories
Domain-specific (correct or wrong domain), domain-neutral constitutional, generic moral heuristic, explicit uncertainty, or none.
The 12 models evaluated, plus Command A+ †
Claude Haiku 4.5Claude Sonnet 5Command ACommand A+ †DeepSeek V4 FlashGemini 3.5 Flash-LiteGemma 2 27BGemma 3 27BGPT-5.6 LunaLlama 3.1 70BLlama 3.1 8BLlama 3.3 70BLlama 4 Scout
Constitutional AIRLHFOpen, instruction-tuned

Training-approach labels are coarse and descriptive.
† Command A+ completed the main dataset but not the secondary experiment (monthly API limits). It is reported separately and excluded from the pooled statistics.

What “appropriate” means here. A response is appropriate if it corresponds to the professional operationalisation in the source corpus (mainly UK, US and international institutions). It is not a claim of context-independent moral truth, and stated justifications describe the framework a response expresses, not the model's internal reasoning.
03 · MAIN DATASET

Right action, uneven grounding.

Models almost always recommend the professionally appropriate action; what varies is their justification.

High across the boardMean appropriateness is 95.6%, between 90.7% and 99.4% in every value × domain cell. Confidentiality varies most across professions.
Grounding is notThe share of responses invoking the correct professional framework ranges from 25.6% to 76.9% across models.
No simple scaling storyNo clean ordering by model size, generation or training approach. The two Constitutional AI models are strong, but both are Claude variants.

Appropriateness by model, domain and value

Percent of responses matching the professional reference, grouped by training approach. Darker blue marks higher values; hover a cell for detail.

AutonomyMedLawFinNatConfidentialityMedLawFinNatHonestyMedLawFinNatClaude Sonnet 510010010099949610085100100100100Claude Haiku 4.5999010096929899100100100100100GPT-5.6 Luna929993100949910095100100100100Gemini 3.5 Flash-Lite92999894949410095100100100100DeepSeek V4 Flash9891939689899791999110095Command A969393878993908896939588Command A+ †886874727462826890659068Llama 3.3 70B969710092949810098100100100100Llama 4 Scout959910090929710092100100100100Gemma 3 27B9998988989959994100100100100Gemma 2 27B9497969395909996999910096Llama 3.1 70B96919487919297969910099100Llama 3.1 8B949591837684919197989997Constitutional AIRLHFOpen, instruction-tunedAppropriateness% of responses100%90%80%70%60%Lower

Swipe sideways to see the full chart →

† Command A+ is excluded from the pooled statistics because its results are incomplete: it completed the main dataset but not the secondary experiment.

Justification style by model

Share of each model's responses by the kind of reasoning given for its action, main dataset.

Domain-specific (correct)Domain-neutral constitutionalGeneric moral heuristicExplicit uncertaintyDomain-specific (wrong domain)No justificationGemini 3.5 Flash-Lite77%21%Gemma 3 27B62%33%Claude Sonnet 554%39%7%GPT-5.6 Luna46%42%13%Claude Haiku 4.545%46%9%DeepSeek V4 Flash45%41%7%7%Llama 4 Scout44%44%12%Command A+ †42%17%7%35%Command A41%40%9%10%Llama 3.3 70B40%47%13%Llama 3.1 70B36%47%17%Llama 3.1 8B31%47%21%Gemma 2 27B26%59%15%0%100% of responses

Swipe sideways to see the full chart →

† Command A+ is excluded from the pooled statistics because its results are incomplete: it completed the main dataset but not the secondary experiment.

04 · SECONDARY EXPERIMENT

Do changes in context matter?

Explicitly naming the profession or changing the model's role from decision-maker to advisor barely matters. Changing the stakes, without changing the professional rule, does.

Pooled effects of the three manipulations

Mean appropriateness (12 models). Domain label and role move it by about a point or two; stakes by about nine, with large heterogeneity underneath.

80%85%90%95%Domain labelImplicit 87.4%88.2% ExplicitAgent roleAdvisor 86.9%88.7% Decision-makerStakesLow 83.0%92.4% High

Swipe sideways to see the full chart →

Mostly stable, sometimes notThe median stakes gap is close to zero, yet 36 of 144 model × domain × value cells differ by more than 20 points. The largest is 91.2 points.
Severity cues disclosureIn Medicine × Honesty several models disclose reliably at high stakes but rarely at low stakes. In Medicine × Confidentiality 10 of 12 models lean the other way, towards disclosing at high stakes.
A distinct national-security failureInstitution-facing confidentiality scores 88.5% at high stakes but only 10.1% at low stakes, while institution-facing honesty stays comparatively stable.

When severity rises, models disclose

Medicine × Honesty: appropriateness at low vs. high stakes. The professional duty of candour is the same in both.

Low stakesHigh stakes0%25%50%75%100%Llama 3.1 70BCommand ALlama 3.3 70BGemma 2 27BGemini 3.5 Flash-LiteGemma 3 27BLlama 4 ScoutLlama 3.1 8BClaude Haiku 4.5Claude Sonnet 5GPT-5.6 LunaDeepSeek V4 Flash

Swipe sideways to see the full chart →

The opposite pattern for confidentiality

Medicine × Confidentiality: the reference is to preserve confidentiality in both conditions, yet most models are less appropriate at high stakes.

Low stakesHigh stakes0%25%50%75%100%Claude Sonnet 5GPT-5.6 LunaLlama 3.1 70BLlama 3.1 8BLlama 3.3 70BClaude Haiku 4.5Llama 4 ScoutGemini 3.5 Flash-LiteGemma 2 27BDeepSeek V4 FlashCommand AGemma 3 27B

Swipe sideways to see the full chart →

National-security constructs by stakes

Institution-facing Confidentiality: 88.5% at high stakes, 10.1% at low stakes.

Low stakesHigh stakes0%50%100%Institution-facing Confidentiality10.1%88.5%Person-facing Confidentiality95.5%76.0%Institution-facing Honesty92.4%99.2%Person-facing Honesty54.2%91.7%

Swipe sideways to see the full chart →

05 · WHAT IT MEANS

Evaluating value alignment means testing both adaptation and consistency.

Aggregate accuracy is not enough

High average appropriateness does not show a value has been robustly learned: models can reach the same action through different frameworks, and fail sharply under changes that leave the rule unchanged.

Test both directions

Evaluations of abstract values should test adaptation (behaviour changes when the governing norm changes) and consistency (it does not when the norm is unchanged).

Principles may need structure

Principle-based alignment may need richer specification of roles, targets, thresholds and exceptions, or models that infer this structure reliably from context.

CITE

Citation

@article{macmillanscott2026contextadapt, title = {ContextAdapt: Evaluating Contextual Adaptation and Value Alignment in LLMs}, author = {Macmillan-Scott, Olivia and Musolesi, Mirco}, journal = {arXiv preprint arXiv:2609.38260}, year = {2026} }