Conceptio › Archive › arXiv CS
arXiv CS open access

Shortcuts and Boundaries: Verifiable RL Misalignment and Contextual Safety Learning

Xinjie Shen · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
cryptographycybersecurityprivacysecurity
Reinforcement learning (RL) can improve an agent's task capability while reinforcing behavior that violates contextual execution requirements. We study this reward-driven misalignment, including reward hacking, through verifiable reward--context conflicts, where compliant task completion remains fea
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

2026-11-05

Everywhere Safety

Shortcuts and Boundaries: Verifiable RL Misalignment and Contextual Safety Learning Xinjie Shen xinjie@gatech.edu Project Website

arXiv:2611.12865v1 [cs.AI] 9 Nov 2026

Abstract Reinforcement learning (RL) can improve an agent’s task capability while reinforcing behavior that violates contextual execution requirements. We study this reward-driven misalignment, including reward hacking, through verifiable reward–context conflicts, where compliant task completion remains feasible while some executable shortcuts earn more reward than every compliant strategy. Encoding these conflicts in task dynamics lets us generate diverse interactive environments at scale and derive compliance feedback from execution histories. In resource and reporting workflows, task optimization increases real productivity through unauthorized resource use or raises reported scores while actual work declines. Controlled changes in the training distribution show that minority conflict exposure can still lead to widespread shortcut acquisition, reaching 97.9% certified profitable violations on an API task under a 25% conflict mixture after 128 updates. The same contextual checks supply a simple binary penalty that supports joint capability and compliance gains and partially mitigates acquired violations. Learned safety adapts to expanded authorization and transfers across mechanisms into workflows with evolving evidence and approval requirements. On 32 unseen changing-evidence tasks, resourcetrained safety increases safe completion from 53.1% to 89.1% relative to task-only training, while both policies achieve full real work. These results connect a verifiable account of reward-driven misalignment with scalable task construction and safety learning that remains useful under changing execution requirements.

1

Introduction

Capable and reliable language-model agents are increasingly expected to repair software, schedule resources, and complete complex workflows over long horizons while following human requirements. To develop these capabilities, reinforcement learning (RL) commonly uses task reward based on the quality or amount of work accomplished at the end of an episode, providing a direct, scalable training signal across diverse tasks [1–3]. However, whether the work meets human expectations also depends on the context in which it is carried out [4]. This context includes user intent, interaction history, and specific constraints such as authorization or organizational rules, which determine which actions are appropriate and which constraints apply [5–7]. Following these contextual requirements becomes more challenging as execution horizons grow [8]. Agents must continue to respect resource permissions and preserve evaluation requirements in an evolving environment, where prior commitments can constrain later actions. A finite instruction list may leave requirements and their interactions implicit or unspecified, so compliance can depend on basic safety judgment that cannot be taken for granted in LLM agents [8, 9]. Even when requirements are explicitly stated, their applicability can change as actions alter the state and create or invalidate obligations [10, 11]. For example, a user may revoke permission to use an external service and later restore it only for public data. Resuming the earlier workflow may then send restricted data to the service even if the task is completed correctly. Task reward may not fully capture these conditions, leaving room for RL-induced misalignment of the kind observed in studies using production training environments [12, 13]. We study these reward-driven forms of misalignment through conflicts between task incentives and contextual execution requirements. Such conflicts can arise even when task reward accurately measures useful work, as additional service calls beyond an authorized allowance can still produce more genuine output. In our experiments, task-reward training improves verified work under full authorization while also increasing certified profitable violations under restricted authorization, illustrating how genuine capability gains can conceal growing execution risk (Fig. 4). In other cases, agents can raise scores by modifying an acceptance test without repairing the software, and our reporting experiments show higher scores accompanied by less actual work. We interpret these reward-seeking departures from expectations, including behaviors commonly studied as reward hacking [13, 14], as shortcuts that bypass contextual requirements of task completion. We construct tasks in which compliant completion remains feasible, while some executable shortcuts earn more reward than any compliant strategy (Fig. 1). These intrinsic, verifiable reward–context conflicts let us study how RL acquires shortcuts under controlled incentives. 1

(a) Reward–context conflict

(b) Binary penalty intuition

Expanded context

Higher-reward violation Best violating reward − penalty

1.0

Best compliant

Best compliant reward Training reward

Compliant Basic region completion

(c) Expanded authorization

Restricted context

0.5

0.0 0

1

Tie

Executable trajectories

Penalty strength

Executable trajectories

Figure 1: Reward–context conflicts. (a) Compliant completion remains feasible while a violating execution earns higher reward. (b) A binary violation penalty can change the preferred ideal optimum. (c) Expanded authorization can permit the same execution with unchanged physical outcome and task reward. The geometry is schematic. To support these studies at scale, our construction generates executable task environments in batches, with contextual safety boundaries encoded in their dynamics and verifiable feedback for capability and safety learning. Using these environments, we find that profitable violations can become frequent even when conflict tasks form a minority of the training data. Simple reward shaping with the same feedback supports joint capability and compliance gains and mitigates acquired violations. The learned safety behavior adapts to expanded authorization and generalizes across new tasks and scenarios, as well as changes in wording and permission scope. Cross-task cases further document capability transfer and violation emergence, alongside protection that carries over to workflows whose evidence and approval requirements change during execution.

2

Formulation

We consider language-model agents trained through reinforcement learning (RL) in executable task environments. Task dynamics determine which executions are possible by specifying how tool calls change the environment’s state and return observations. Contextual requirements distinguish compliant executions within this space, while task reward assigns value to the resulting outcomes. We formalize conflicts between these requirements and task reward as verifiable task properties. This lets us construct tasks for studying shortcut acquisition and use the same execution checks to learn contextual compliance. 2.1

Contextual execution and task reward

For a task instance, let τ denote an execution trajectory ending in a terminal state and T the set of trajectories executable under its dynamics. A context c specifies requirements on how the task is carried out, and C (c) ⊆ T contains the trajectories that satisfy them. Trajectories in T \ C (c) remain executable despite falling outside contextual expectations (Fig. 1a). Within an execution, earlier actions can change which requirements apply later, so compliance is defined over the full history. Across authorization contexts, expanded permission can make the same physical execution compliant without changing its outcome or task reward (Fig. 1c). Section 3 describes how these boundaries are implemented in executable environments. Let Rtask (τ ) denote native task reward and b a fixed task-value baseline. We use the bounded, graded value V (τ ) = Rtask (τ ) − b, whose zero marks this value baseline. The score and b are fixed before interaction and shared by paired authorization contexts, so centering preserves reward ordering and reward gaps. Task completion follows the instance’s own requirements and is checked separately (Appendix B.2). 2.2

Verifiable reward–context conflicts

We call a reward-seeking route that bypasses contextual requirements of task completion a shortcut. Excess resource use can increase real output; altering a measurement channel can increase the score without such progress. To study how agents acquire these behaviors during RL, we construct instances with two verifiable properties. P1: Compliant feasibility. There exists a reference execution τc meeting the basic task goal and satisfying τc ∈ C ( c ) ,

V (τc ) ≥ 0. 2

(1)

P1 makes the required completion feasible within the contextual boundary. P2: Reward conflict. The best compliant reward is strictly below the best executable reward outside the compliant set: max V (τ ) < max V (τ ). (2) τ ∈C (c)

τ ∈T \C (c)

The two trajectory classes are nonempty, and the bounded task reward attains a maximum on each. Together, P1 and P2 describe tasks that can be completed as required, while some executable shortcuts earn more reward than every compliant strategy. Executable references certify these properties. We execute τc through the same tool interface available to the agent to verify compliant task completion at or above the value baseline. Its reward is recorded alongside independently checked work. For P2, let Vc∗ = maxτ ∈C (c) V (τ ) denote the compliant optimum and let Uc be a certified upper bound on it. A violating witness τs ∈ T \ C (c) certifies the conflict when its execution through this interface establishes Vc∗ ≤ Uc < V (τs ) ≤

max

τ ∈T \C (c)

V (τ ).

(3)

When the exact compliant optimum is available, set Uc = Vc∗ . These references establish a reward advantage for an executable shortcut over all compliant strategies (Fig. 2). Applying the same feasibility and conflict criteria across task instances supplies a basis for batch construction and controlled studies of RL behavior.

0. 6

0.4

(a) Feasible completion and a shortcut

(b) Guaranteed reward gap Shortcut reward V(τs)

8 0.

τs τc

Certified bound Uc

Positive gap

Feasible reward V(τc)

Contextual boundary Task-value baseline: V = 0

P1: task goal met within context, V(τc) ≥ 0 P2: an executable shortcut beats every compliant strategy

Vc* ≤ Uc < V(τs)

Figure 2: Feasible completion and a certified shortcut. (a) A compliant reference τc meets the task goal and attains the value baseline, while an executable shortcut τs crosses the contextual boundary. (b) Every compliant value is at most the certified bound Uc . A witness with V (τs ) > Uc guarantees a positive reward gap (Eq. (3)). The zero line marks the task-value baseline; contours increase toward the shortcut endpoint. Curves and reward levels are schematic. 2.3

Learning and evaluating contextual compliance

With contextual violations made verifiable by construction, a simple mitigation is to penalize them in the training reward. Let Ic (τ ) equal zero when τ ∈ C (c) and one otherwise, and let λ ≥ 0 weight the penalty. We compare: Task-trained: Rtask (τ ),

Safety-trained: Rtask (τ ) − λIc (τ ),

λ = 1.

(4)

Let Vs∗ = maxτ ∈T \C (c) V (τ ) and λ× = Vs∗ − Vc∗ > 0. The binary penalty leaves every compliant reward unchanged and subtracts the same λ from each violating reward. The two ideal optima tie at λ = λ× ; the compliant optimum is strictly preferred exactly when λ > λ× = Vs∗ − Vc∗ .

(5)

Figure 1b shows this ideal change in preference. Policy training then tests how the same contextual feedback shapes useful execution and compliance. Evaluation compares task reward with independently verified actual work. We track historical violations over the execution and certify them as profitable only when their reward exceeds the compliant optimum or a valid upper bound on it. Other boundary-crossing trajectories can raise a policy’s score while remaining below that reference. Historical checking retains these events, while independent work verification distinguishes unauthorized productivity from changes to the measurement channel. The constructed tasks thus connect learned behavior to a verifiable incentive conflict, while the same execution checks provide feedback for learning contextual compliance alongside capability. 3

Section 3 constructs executable task environments following VHD’s mechanism-first approach [2]. We ground task reward and contextual checks in the state-update mechanism before realizing its tool interface, so each instance retains a verified incentive structure.

3

Scalable construction of verifiable task environments

In real workflows, executable behavior can exceed contextual permission. This gap provides a practical source of reward–context conflicts. We turn it into reusable task mechanisms by encoding contextual requirements as checks on the states and execution histories maintained by task dynamics, while keeping boundary-crossing actions executable. Following VHD, we then render these dynamics into interactive environments [2]. Figure 3 illustrates how familiar operational rules give rise to these mechanisms. Under a shared resource allowance, a tool call can produce more work while pushing cumulative use beyond the authorized total, including when calls are spread across accounts. The dynamics record both work and resource consumption, allowing productive execution to register a contextual violation. In a versioned workflow, publication requires evidence for the current artifact, even though the interface may still allow an archived report to be selected. Renewing the evidence restores its current validity, while an earlier invalid publication remains part of the execution history. (a) Shared resource permission

(b) Current-version evidence

Tool-call execution

Tool-call execution

(c) Execution and reward Schematic state projection

inspect state

execute external

execute external

run check

repair component

publish report

()

(account 0)

(account 1)

()

()

(archive)

shortcut compliant renewed breach

u=0

u ≤ A(c) u + q > A(c)

Encoded dynamics and boundary

va = vr

va ≠ vr

vr ≠ va

Encoded dynamics and boundary

valid current evidence

Illustrative reward contours

Figure 3: From encoded dynamics to tool execution. (a) Shared resource permission and (b) currentversion evidence pair agent-facing tool calls with their state transitions and contextual boundaries. (c) A schematic trajectory projection with illustrative reward contours increasing toward the violating endpoint. Teal denotes compliant execution; orange denotes a violation. Shading shows current evidence validity; the returning path renews evidence after an invalid publication while retaining that breach in history. Calls remain executable, and va and vr denote artifact and report revisions. Mechanism sources and sampling. These examples draw on requirements already present in practical workflows. Input-validity rules provide further candidates, as in an ordering interface that accepts negative quantities despite a nonnegative-quantity requirement. Unforeseen weaknesses in real systems can expose similar gaps. In the OpenAI–Hugging Face incident, agents seeking task solutions exploited infrastructure vulnerabilities to circumvent network isolation and access third-party systems [15]. Even when the intended boundary is clear, the operations and combinations that allow an agent to cross it may not have been anticipated. We construct candidate mechanisms by retaining a contextual requirement while relaxing its enforcement in the executable dynamics. In a resource workflow, for example, sampling varies physical capacity and job demands together with the authorized allowance. The same accounting rules track resource use across these instances. A reference procedure verifies a compliant trajectory that meets the task goal (P1) and an executable violating trajectory whose reward exceeds the compliant optimum or a valid upper bound (P2). We retain instances satisfying both properties. Changing authorization can also produce an ordinary counterpart with the same physical task and reward, supporting controlled mixtures of ordinary and conflict tasks. Together with corpus grounding, parameter sampling provides diverse environments under shared verification rules. Table 4 gives the core mechanism catalogue. Corpus-grounded realization. For a sampled instance with parameters θ, an LLM setter renders its executable dynamics D (θ ) into an agent-facing environment. The setter also receives an independently sampled corpus passage x, which supplies the operational setting and domain language. Stateful tools implement the underlying transitions, while the work order presents the applicable contextual requirements. Through the mapping D (θ ) → E (θ, x), admitted realizations preserve the instance’s task reward and contextual checks across different scenarios and interfaces. Parameter sampling changes the instance, while corpus grounding diversifies its realization. The setter has access to the mechanism and instance parameters, while the solver encounters the realized environment through task instructions and tool 4

observations. The underlying implementation and reference outcomes remain private. Execution checks follow the VHD realization approach [2], with replay and admission criteria detailed in Appendix A.3. Table 1 presents representative workflows alongside task coverage and mechanism construction results. Beyond sampling existing families, an automated proposal study produced seven verified workflows from 24 requests by pairing newly authored dynamics with constrained-search verification. These workflows compose state changes with contextual requirements, as when editing a document invalidates an earlier approval. The same compositional approach underlies the release tasks evaluated in Section 4.3, where changing vendor permissions interacts with evidence and approval requirements. In one such workflow, an approval response revises the evidence rule and commitment, creating new obligations before publication (Fig. 13a). Such compositions make compliance depend on how earlier operations change the requirements governing later ones. The resulting environments support controlled studies of shortcut acquisition and useful contextual safety. Their execution histories provide the binary violation feedback in Eq. (4), allowing the same task mechanisms to support both task-only optimization and safety-aware RL. Table 1: Representative workflows and construction scale. Task instances cover training and evaluation. Admission rates and estimated costs are measured on sampled realizations, including repair. Cohort release is an unseen composed target in RQ3. Workflow

Useful work

Contextual requirements

API-assisted computation Software repair and certification Cohort release

Complete jobs using local computation and external requests Repair an artifact and publish validation evidence Complete dependency-linked processing and release a verified artifact

Cumulative requests must respect the authorized allowance across accounts. Published evidence must apply to the current artifact and required checks. Vendor permission can be revoked and reissued with a new scope; publication requires current evidence and approval.

Construction summary

Value

Core mechanism families Constructed task instances First-pass / final executable admission Estimated API cost per admitted realization New workflow proposals passing verification

4

8 >800 91.7% / 100% ≈$0.019 7 of 24

Experiments

We study how reward–context conflicts shape behavior during RL and whether feedback grounded in the same contextual requirements supports useful, transferable compliance. RQ1. What does task reward optimization learn when profitable shortcuts are available despite explicitly stated contextual requirements? RQ2. Can context-dependent feedback train useful safety behavior, both from Base and after shortcut acquisition? RQ3. How far do capability, shortcut behavior, and contextual safety generalize? Experimental setup. The starting policy is Qwen3.5-4B (Base). We optimize policies with GRPO using their own group rollouts from admitted task environments. In the constructed tasks, public task instructions explicitly provide the applicable contextual requirements and authorization conditions during training and evaluation. Task-trained optimizes task reward; Safety-trained adds the binary history penalty in Eq. (4). Policies share evaluation instances, authorization conditions, tools, and inference budget within each comparison. Prevention starts from Base; mitigation continues from a common Task-trained parent. Training sources for each comparison are specified in Appendix B.1. Shared measurements. We report task reward, independently verified real work, historical violations, and certified profitable violations. Certification requires a contextual violation and reward strictly above the compliant optimum or a valid upper bound. Paired contexts change authorization while preserving the physical task and score. Independent work checks assess the original task requirements; mechanism-specific completion criteria are in Appendix B.2. Safe completion requires task completion with no historical violation. 4.1 4.1.1

RQ1: Learning capability and profitable shortcuts Capability gains and shortcut acquisition

Task optimization can improve real work while increasing profitable violations. On the API resource task, Task-trained improves verified work in both authorized and restricted contexts, while certified profitable violations rise sharply under restricted authorization. Higher reward here reflects additional 5

work, including work obtained through unauthorized resource use (Fig. 4a). Validation shows the opposite work pattern: the reported score approaches its maximum while current-state repair progress declines and certified profitable violations increase. Together, the two panels distinguish unauthorized productivity from manipulation of the measurement channel (Fig. 4b). (a) More work, more profitable violations

(b) Higher score, less real work

API resource task

Validation reporting task

Authorized work

0.855 → 1.000

Authorized work

0.926 → 0.208

Restricted reward

0.631 → 0.982

Restricted reward

0.050 → 1.000

Restricted work

0.631 → 0.982

Restricted work

0.979 → 0.072

Profitable violations

8.3% → 91.7%

Profitable violations

2.1% → 100%

0.0

0.5

1.0

0.0

Reward / work; rate as fraction ○ Base

0.5

1.0

Reward / work; rate as fraction

● Task-trained

Figure 4: Two routes to higher reward. Open circles are Base; filled circles are Task-trained. Each directed span shows the gap between the observed endpoints. (a) API reward measures verified output. (b) Validation reward reads reports and can diverge from actual repair. Violation rates use 48 attempts per context. To distinguish amplification from newly observed violations, we examine the acquisition patterns across mechanisms and fixed cases. The panels show amplification from both low and established Base risk. On an API subset with no observed Base events, Task-trained additionally exhibits historical and certified profitable violations (Fig. 5). Appendix C.1 defines panel-level and instance-level emergence and reports the counts. Base

Task-trained

(a) Historical violations 100 75 50%

50 25 0

100%

100

88.9%

87.5%

Rate (%)

Rate (%)

(b) Certified profitable violations

100%

88.9%

75 50

41.7% 20.8%

25 2.1% Validation Low baseline

0% Allocation Existing risk

0

API subgroup Instance emergence

2.1% Validation Low baseline

0% Allocation Existing risk

API subgroup Instance emergence

Full panels: 48 attempts per endpoint. API subgroup: 36 attempts on nine Base-zero cases.

Figure 5: Amplification and emergence of historical and certified profitable violations. Full panels use 48 attempts per endpoint; the API subgroup uses 36 attempts on nine cases. Exact counts are in Appendix C.1. 4.1.2

Conflict prevalence and continued optimization

A multi-mechanism Task-trained policy exposed to both authorized ordinary tasks and restricted conflict tasks improves authorized real work on both resource mechanisms, alongside an increase in restricted certified profitable violations (Fig. 6). We then use paired authorization conditions to vary conflict exposure within the same resource mechanisms. At matched training dose, a 25% conflict mixture produces fewer restricted violations than 100% conflict training. On API, certified profitable violations are 18.8% versus 81.3%, while authorized real work is .999 versus .983. Restricted safe completion also increases on both resource mechanisms (Table 2). The comparison shows how task-data composition can shape boundary-crossing behavior under the task-only objective. Minority conflict exposure can still yield substantial shortcut learning. The matched-dose comparison captures one stage of acquisition. Following continued task optimization, the 25% mixture reaches certified profitable violation rates of 83.3% on Allocation and 97.9% on API after 128 updates. Both the approximately 50% and 100% mixtures reach 95.8% on API at their final observed checkpoints. The complete curves show acquisition along each training path (Fig. 7; Appendix C.2). Conflict tasks need not occupy the entire training distribution for their shortcuts to be learned. Section 4.3 further examines how capability and boundary-crossing behavior transfer to new scenarios, excluded mechanisms, and external benchmark tasks. 6

Base

Task-trained (b) Restricted profitable violations

0.990

100

0.834 0.697

Rate (%)

Verified actual value

(a) Authorized real work 1.0

0.533

0.5

75

25 0.0

Allocation

58.3%

50

37.5% 20.8%

0

API

12.5%

Allocation

API

One mixed-training policy: 51.9% observed conflict rollouts; 48 evaluations per context. Reward/work retain original units.

Figure 6: Ordinary/conflict mixed training, with 51.9% conflict rollouts. Base and Task-trained share evaluation panels with 48 attempts per context. Exact results are in Appendix C.1, Table 8. Table 2: Conflict prevalence at matched training dose. Rates use 48 attempts per policy and context on 24 physical tasks per mechanism. Safe completion requires task completion with no historical violation. Training design and supporting counts are in Appendix C.2. Target API API Allocation Allocation

Conflict share

Restricted profitable

Restricted safe completion

Restricted real work

Authorized real work

25% 100% 25% 100%

18.8% 81.3% 25.0% 37.5%

70.8% 16.7% 47.9% 8.3%

.740 .945 .476 .494

.999 .983 .684 .668

~50% conflict

100% conflict

Certified profitable violations (%)

25% conflict

100

API

Allocation

80 60 40 20 0

32

48 64 96 Cumulative training updates

128

32

48 64 96 Cumulative training updates

128

Figure 7: Shortcut acquisition under different conflict exposure. Selected checkpoints share fixed held-out panels of 24 physical tasks per mechanism, with 48 restricted attempts per checkpoint. Each curve follows its actual cumulative updates to its own observed endpoint. 4.2

RQ2: Learning useful contextual safety behavior

The acquisition results show that reward can reinforce boundary crossing even when the policy receives the applicable requirements. The same execution checks provide verifiable feedback for learning compliance, and the constructed tasks retain feasible compliant completion. We use this feedback to test a simple binary history penalty. Compliant trajectories retain task reward, while violating trajectories receive the subtraction in Eq. (4). The intervention leaves the task instructions and policy-optimization framework fixed. 4.2.1

Learning compliance with useful work

Safety training improves useful work and compliance relative to Base. On API, Allocation, and its Workshop rendering, Safety-trained has fewer certified profitable violations than both Base and Tasktrained, while authorized real work exceeds Base. The result improves on the starting policy in both compliance and useful performance, establishing a constructive route to learning capability and respect

7

for contextual requirements together (Fig. 8). Table 3 reports historical and certified profitable violations alongside real work. Base

Task-trained

(a) Restricted violations

Safety-trained

(b) Authorized real work

API B / T / S 12.5% / 70.8% / 0%

B / T / S 0.834 / 0.999 / 0.965

B / T / S 20.8% / 27.1% / 10.4%

B / T / S 0.533 / 0.727 / 0.751

B / T / S 31.2% / 39.6% / 8.3%

B / T / S 0.563 / 0.670 / 0.700

Allocation

Workshop

0

25

50

75

100

0.50

Violation rate (%)

0.75

1.00

Verified actual value

Figure 8: Training from Base improves useful work and compliance together. Highlighted spans connect Base and Safety-trained; triangles show Task-trained. Risk denotes certified profitable violations, with 48 attempts per context. Workshop is the changed-scenario comparison in RQ3. To examine how the learned behavior responds to context, we compare paired API cases that hold the physical task and score fixed while varying authorization. Safety-trained completes the task safely under restricted permission in 91.7% of attempts, compared with 72.9% for Base and 25.0% for Task-trained. All three policies reach the minimum task goal in every attempt. Safety-trained also makes lawful use of additional resources when authorization expands, with authorized work above Base. A pair illustrates the adaptation: external request use rises from 9 to 17 as authorization expands, and real work rises from .708 to 1.000 without violations (Appendix F). With the physical task and score held fixed, the change in lawful resource use demonstrates authorization-sensitive execution (Table 3). Table 3: Paired API authorization contexts. Expanded-permission use counts compliant authorized attempts whose usage exceeds the restricted twin’s cap. Rates use 48 attempts per context. Case pairs are described in Appendix C.3. Metric

Base

Tasktrained

Safetytrained

Restricted historical violations Restricted certified profitable violations Restricted safe completion Restricted real work Authorized lawful expanded-permission use Authorized real work Authorized full real work

27.1% 12.5% 72.9% .675 68.8% .834 62.5%

75.0% 70.8% 25.0% .908 100% .999 97.9%

8.3% 0% 91.7% .689 93.8% .965 89.6%

4.2.2

Mitigating acquired violations

Safety continuation partially mitigates acquired violations. Starting from the same Task-trained parent, Safety-trained continuation yields fewer certified profitable violations than Task-trained continuation on both resource mechanisms. Authorized API work remains close to Task-trained continuation, while Allocation work improves. The continuation gap quantifies partial mitigation of the acquired behavior (Fig. 9). Together with training from Base, these continuations show how feedback from the agent’s own task interactions supports useful compliance and mitigates acquired violations. Section 4.3 tests whether the learned safety behavior carries over to new mechanisms and evolving execution requirements. 4.3

RQ3: Generalization of capability, shortcuts, and safety

We test transfer across new instances, scenario renderings, and authorization contexts, then across mechanisms with different operations and task requirements.

8

(a) Useful work retained

(b) Profitable violations reduced

Safety − Task: +0.038 actual value

Safety − Task: -24.5 percentage points 100

1.00

Task 78.1% Violation rate (%)

Actual work

Safety 0.873

Task 0.835

0.75

0.50

75 50

Safety 53.6%

25 0

Base

Task parent

Continuation

Family-balanced mean

Base

Range across settings

Task parent

API

Allocation

Continuation Workshop

Figure 9: Useful work and profitable violations during continuation from a common Task-trained parent. Faint curves show individual settings; bold curves show the family-balanced mean, and pale bands span the observed setting range. Darker shading highlights the continuation gap. The horizontal axis shows saved stages. Mean weights and per-setting results are in Appendix B.2 and Fig. 15. 4.3.1

New tasks and authorization contexts

Capability and safety transfer across scenario renderings. On fresh API instances and Workshop, Tasktrained improves authorized work while increasing restricted profitable violations. Workshop changes entities, documents, and tool expressions while retaining the resource dynamics and authorization meaning. The Safety comparison on this rendering reduces profitable violations and retains useful authorized work (Figs. 11a and 8). Safety transfers across authorization wording and permission scope. We next vary the authorization context on 24 new API tasks, where Safety-trained reduces certified profitable violations across allowance levels and equivalent wordings. The effect also extends from the global allowance used in training to nontransferable per-account authorization: each account must respect its own allowance even when the overall ceiling leaves room. Under this new scope, certified profitable violations fall below both Task-trained and Base. When permission expands, Safety-trained uses the additional authorization and achieves real work close to Task-trained and above Base. Together, these results show that safety transfers across changes in how permission is expressed and allocated, while preserving the ability to exploit legitimate task opportunities (Fig. 10; Appendix D.1).

Certified profitable violations (%)

Base

Task-trained

Safety-trained

(a) New allowance/task pairs 100

79.2%

75

62.5%

58.3%

50 25 0

0% 4.2% 0%

20.8% 2.1% 0%

Zero Original

Zero Paraphrase

6.2%

Rate (%)

83.3%

75

72.9%

50 25

20.8%

4.2%

0 Original

10.4%

2.1%

Paraphrase

6.2%

0%

Restricted Paraphrase Verified real work

(b) New per-account rule 100

4.2%

0%

Restricted Original

56.2% 0%

Intermediate Original

2.1%

2.1%

Intermediate Paraphrase

(c) Expanded permission 1.00 0.75 0.50 0.25 0.00

0.987

0.981

0.750

Global rule

0.812

0.991

0.988

New scope

24 fixed physical tasks; 48 attempts per wording cell. Colors identify the same policies in every panel.

Figure 10: Authorization-sensitive transfer across (a) global allowances and (b) nontransferable per-account rules. (c) Expanded-permission actual work. The same Resource policies are evaluated throughout, with 48 attempts per wording cell on 24 physical tasks. Full counts and authorization definitions are in Appendix D.1 and D.2. 4.3.2

Transfer across task mechanisms

Capability and safety reach excluded task mechanisms. These comparisons change the work objective, available operations, and contextual requirements. With Validation excluded, training on Allocation,

9

API, CI reports, and monitoring improves full actual repairs on that target (Fig. 11b). We also examine reporting-to-resource transfer, where learning on Validation supplies safety feedback for evaluation on Allocation. Appendix B.1 identifies the fixed policies for each comparison. (a) Cases and changed skin

(b) Excluded mechanism

New cases: work

Validation: full actual repairs

0.834 → 0.991 New cases: risk

Base

Base → Task-trained

Repair ×3

Check ×3

Procedure violation

Finish

Task-trained

12.5% → 83.3% Workshop: work Workshop: risk

(c) Excluded CI: report handling

77.1% → 97.9%

×

Full-repair rate (%); n = 48

0.563 → 0.647

Repair ×3

Profitable transfer case

Finish

✓ Both: 3/3 components healthy

1/24 certified profitable trajectory

31.2% → 60.4%

Check ×3

Manual rewrite ×3

Full-panel procedure violations: 0% → 8.3%

0.0 0.5 1.0 Score / fraction: Base → Task-trained

○ Base → ● Task-trained

Axes and denominators are panel-specific.

Figure 11: Capability and boundary-crossing transfer. (a) Fresh API and Workshop. (b) Full repairs on excluded Validation, with 48 attempts per policy; the profitable case uses a separate source policy. (c) Saved CI execution paths, grouping repeated component operations: Task-trained manually rewrites truthful reports after checking, violating the evidence-production rule. The full CI panel has 24 attempts per policy and no certified profitable violations. Sources and case details are in Appendix B.1 and F. Safety learned on Validation transfers to Allocation under restricted permission. Across original and fresh Allocation instances, Safety-trained reduces certified profitable violations under restricted permission while improving real work under expanded permission relative to Task-trained. Both policies use Validation as their sole training source, with Allocation excluded. On Validation, Safety-trained reaches work .808 with zero restricted historical violations in 48 attempts (Appendix D.3). On the frozen panel of 32 new Allocation instances, certified profitable violations fall from 45.2% in Task-trained to 27.4% in Safety-trained among 62 matched restricted executions per policy. Under expanded permission, actual work rises from .572 to .646, showing cross-mechanism protection alongside productive use of authorized resources (Fig. 12; Appendix D.3). Base

Task-trained

Safety-trained

(b) Expanded permission: useful work 1.00

60

-16.7 pp

-17.7 pp

50

45.2%

41.7%

40

32.3%

31.2%

30

+0.085 Mean actual work

Certified profitable violations (%)

(a) Restricted permission: protection

25.0%

27.4%

20

0.75

0.644

0.627

+0.075 0.632

0.646

0.559

0.572

Original instances 24 cases

New instances 32 cases

0.50

0.25

10 0

Original instances 24 cases

0.00

New instances 32 cases

Validation-only source policies; Allocation excluded. Original: 48 attempts per condition. New: 62 matched restricted attempts and 64 expanded attempts per policy; groups remain separate.

Figure 12: Validation-to-Allocation protection on original and new instances: (a) restricted certified profitable violations and (b) expanded-permission work. Original: 48 attempts per context on 24 cases. New: 62 matched restricted and 64 expanded attempts per policy on 32 cases. Gaps compare Task-trained with Safety-trained within each panel. Appendix D.3 gives supporting metrics. Saved executions explain how behavior carries across these task changes. In CI, manual replacement of truthful passing reports crosses an evidence-production boundary despite full repair (Fig. 11c).

10

4.3.3

Transfer to external benchmarks

On BAITBENCH [16], a Resource Task-trained policy trained only on Allocation and API leaves prohibited test labels in its regression input features. Public and native robust root mean squared error (RMSE) both fall below 10−14 , but masking the labels makes prediction fail; the matched Base submission excludes them and continues to predict. A second submission uses test labels to select KNN hyperparameters. The submitted code and separate scoring checks document this use of privileged information (Appendix B.1 and F). An external HVTA illustration uses a separate Validation-only Task-trained policy and Base under the original game instructions, tools, and scoring. Within the 25-task illustrative subset, native hack flags occur in 32% of Base executions and 68% of Task-trained executions; full reward occurs in 60% and 80%, and both together in 24% and 56%, respectively. These statistics describe the illustrated cases only. The saved Wordle and Minesweeper paths show two parser behaviors: completion of a partial answer and disclosure of hidden board state (Appendix F). 4.3.4

Evolving and composed requirements

Safety learned on resource tasks extends to changing evidence requirements. The Resource policies were trained on Allocation and API, without the release tasks below. These targets introduce evidence and approval obligations that change during execution, alongside compositions with resource permission. In a release workflow, the owner revises the validation rule after a passing report. A later review changes the approval commitment while the artifact remains correct. On 32 fresh physical tasks, Safety-trained improves safe completion over Task-trained by 35.9 percentage points, from 53.1% to 89.1%. All three policies achieve full real work on this panel (Fig. 13a; Appendix E.4). We extend this setting by combining changing evidence requirements with resource permission. In a cohort-release workflow, the owner revokes vendor permission and later issues a separate grant with its own data scope. Publication must also satisfy the updated evidence and commitment requirements. On 32 physical tasks, Safety-trained improves safe completion over Task-trained by 10.9 percentage points (Fig. 13a; Appendix E.4). All three policies achieve full real work on both restricted target panels and safe completion in every expanded-permission attempt. The physical tasks support productive execution under both authorization conditions. To test transfer across operational descriptions, we realize the same changing-evidence dynamics in warehouse operations, financial settlement, manufacturing quality, and public services. Across these settings, Safety-trained improves safe completion over Task-trained by 12.5–50.0 percentage points and retains full real work in every attempt (Fig. 13b; Appendix E.5). New operational descriptions and tool names preserve the verified dynamics and contextual checks, connecting this transfer comparison to the realization approach in Section 3. Safety-trained adapts when approval creates new obligations. We also change how new obligations arise during execution. In an approval-triggered workflow, the approval response revises both the evidence rule and the historical commitment. Safety-trained increases safe completion from 27.1% to 62.5%, with real work .998 compared with .992 for Task-trained (Fig. 13a). The response creates obligations that must be satisfied before publication despite the apparent endorsement to proceed (Appendix E.5). A paired sensor-release execution makes the distinction between correct work and compliant delivery concrete. Both Resource policies produce full real work. The owner then changes validation rule 2 to 3 without editing the artifact and supersedes approval A1 with a new commitment. Task-trained publishes with A1; Safety-trained refreshes the report to R3, obtains approval A2 under the current commitment, and delivers compliantly (Fig. 14). The trajectory illustrates the execution choices behind the panel results. Its original task panel and further dynamic examples are documented in Appendix E.2–E.3. Across these studies, compliance adapts to changed authorization, and learned protection reaches a different mechanism. This pattern supports learning safety as context-sensitive execution behavior. Safety supervision comes from the consequences of the agent’s own actions under the applicable requirements, connecting reduced risk with productive use of legitimate opportunities. Encoding requirements in the dynamics supplies both task data and feedback for learning transferable safety alongside capability.

5

Discussion

These experiments cover a controlled subset of the ways task optimization can produce successful work that violates contextual requirements. We expect such failures to become harder to detect as agents gain capabilities and take on longer workflows with less explicit context. Clear context does not remove incentive conflicts. Our training tasks state the applicable requirements, yet task-only RL learns profitable violations. Continued optimization also produces substantial shortcut acquisition when conflict tasks remain a minority of the data (Section 4.1). We expect real training data to contain such conflicts and suspect that some exposure is effectively unavoidable at scale. With 11

Base

Task-trained

Safety-trained

(a) New tasks and histories

(b) Semantic interface changes

+35.9 pp Changing evidence

53.1% +10.9 pp

Composed context

45.3%

+35.4 pp Warehouse

89.1%

52.1% +50.0 pp

Settlement

56.3%

87.5%

33.3%

83.3% +47.9 pp

Manufacturing

35.4% +12.5 pp

+35.4 pp Approval-triggered update

27.1% 0

Public services

62.5%

25

50

75

100

33.3% 0

25

Safe completion (%)

83.3%

45.8% 50

75

100

Safe completion (%)

Figure 13: Useful protection across new tasks, semantic interfaces, and an approval-triggered update. Spans highlight Task-trained → Safety-trained safe-completion gaps; open circles mark Base where evaluated. (a) Larger targets: 32 physical tasks, 64 restricted attempts per policy; approval update: 24 parameterizations, 48 attempts per policy. (b) Four changing-evidence interfaces share 24 parameterizations, with 48 restricted attempts per policy and interface. The same Resource policy group is evaluated throughout. Exact counts and work measures are in Appendix E.4 and E.5.

Task-trained · final real work 1.00 Applicable Not applicable

Current report

t Star

Build

y Verif

h Patc

Safety-trained · final real work 1.00

y Verif

Current approval

l rova p p A

ish Publ

Applicable Not applicable

t Star

Build

y y y h al al Patc Verif Verif Approv Verif Approv Recorded release actions; dotted lines mark owner updates

ish Publ

Figure 14: Illustrative sensor-release execution from the panel in Appendix E.2. Both policies produce full real work. Task-trained publishes an inapplicable approval; Safety-trained refreshes the report and approval after owner updates. The plotted events are saved tool executions. continued optimization, reward can keep reinforcing these patterns. During longer executions, permissions can change and earlier actions can create new obligations, while user expectations may remain implicit. We think this will make reliable execution harder. Consequences can range from poor user experiences and unwanted changes to security breaches. In the incident involving OpenAI and Hugging Face, agents seeking task solutions crossed intended infrastructure boundaries to access third-party systems [15]. Capability growth can conceal boundary crossing. In the resource experiments, task reward and independently verified work rise, including on authorized evaluations, even as restricted execution becomes riskier (Fig. 4a). An RL researcher would normally read these as signs of progress. A held-out evaluation can validate the quality of the work without checking the authority under which it was produced. Screening collected and validation data for shortcuts takes time and queries, as does searching training rollouts for evidence that the policy uses them. With limited budgets, both jobs are difficult. A finite evaluation may record substantial capability gains and still miss the combination of task and context that exposes a hack, leaving too little evidence to investigate or govern the policy. Larger training distributions make exhaustive inspection less feasible, and more complex workflows make individual executions harder to interpret.

12

Composition makes loopholes harder to recognize. We observe shortcut acquisition and mitigation with deliberately simple mechanisms. Following VHD’s mechanism-first approach, we can combine these mechanisms into more complex workflows while retaining executable references and contextual checks [2]. In the dynamic cases, a correct artifact can have obsolete evidence, and an approval response can create new obligations before publication (Section 4.3). We expect shortcuts to look more evasive as these requirements are combined. A sequence can end in an apparently healthy state after an earlier breach, or use an available permission together with evidence that no longer applies. Many individual steps still look like useful work, making the whole execution harder to judge. For long-horizon training and execution, we see a risk and safety space that needs deliberate study: combinations whose effects go beyond the local meaning of any one action. Related security studies show how locally benign fragments and interactions can combine into harmful overall intent [10, 17, 18]. We expect these opportunities to increase sharply with longer horizons and more capable models as people delegate broader workflows. Human verification is limited, but investigation is indispensable. People are imperfect verifiers when collecting data and when investigating a trained policy. Limited domain knowledge and coarse checks can leave incentive conflicts unnoticed; plausible executions and rising performance can also conceal learned violations. HCI studies of data work report gaps in domain feedback [19]. Research on conversational LLMs associates overreliance with shallow task comprehension, coarse checking, and accepting misinformation despite hesitation [20]. We still need investigation to recognize loss of control and understand why failures occur. It is also how we assess mitigation. Early work on agent-assisted monitoring and investigation offers a way to share this work with models [21]. Our methodological commitment is to make the resulting evidence verifiable. An opaque LLM-judge verdict can leave it unclear which action violated which requirement, and why. Fixed work requirements, observable state changes, historical checks, and executable counterexamples give a reviewer evidence they can inspect and correct. Contextual safety is a trainable direction. A simple, accurate history signal supports useful compliance that transfers beyond the training contexts. We think safety awareness could be learned and inherited as part of task competence. We further conjecture that reward shaping in environments with feasible compliant completion and a verified incentive conflict can induce safety awareness through task optimization. The optimization signal can be just a shaped terminal scalar reward, with the contextual penalty computed from execution history. An objective that favors useful compliant behavior creates pressure to anticipate and respect requirements without prescribing a step-by-step safety strategy. This form of RL-induced misalignment can arise without an attacker: ordinary task feedback can reinforce violations even when requirements are given, while the policy does more genuine work. Reasoning over explicit safety specifications [22] and attack and defense methods [10] address different problem formulations. They do not directly cover the incentive conflicts and behavioral acquisition studied here. We see learning from verifiable contextual consequences as a distinct direction for safety training. Because real requirements cannot be exhaustively listed, the policy would need to apply context beyond the particular rules seen in training. Verifiable environments make that hypothesis testable as capability training scales.

6

Related Work

RL-induced misalignment and reward hacking. Formal reward-hacking analysis characterizes disagreement between proxy and intended objectives [23], while reward-model overoptimization shows how optimizing proxy reward can degrade the quality it is meant to measure [24]. In agent RL, studies examine test hardcoding and training against deception detectors [14], reward hacking that generalizes to broader misalignment [12], and harmful actions learned in pursuit of task reward [13]. These experiments demonstrate reward-driven misalignment, but their incentive conflicts remain tied to particular task settings. A common account must also cover violations that accompany genuine capability gains, when task reward accurately measures useful work but does not capture contextual execution requirements. We generate diverse tasks with verifiable reward–context conflicts at scale to study shortcut acquisition and generalization during RL and develop transferable safety mitigations. Safety defenses and contextual safety training. Agent-safety research examines risks from tool use, evolving state, and interaction history [5, 10]. Earlier evaluation attempts include HVE and HVTB, which instrument game and terminal environments to detect specified shortcuts [25, 26], and BAITBENCH, which samples synthetic ML tasks with planted data shortcuts [16]. These benchmarks evaluate fixed agents without jointly certifying compliant feasibility and a strict reward advantage for violating execution over all compliant executions. BenchShield checks reward integrity through execution evidence [27], while side-effect audits test whether verifiers accept correct work with unrequested changes [28]. Runtime defenses reason over safety constraints [6] or use monitoring and trusted intervention [21], with BashArena supplying Linux workflows and security-failure objectives [29]. Safety training uses principle-derived preferences [30], reasoning over safety specifications [22], or expected-cost constraints [31]. Together, these lines leave open how to generate task distributions with certified reward–context conflicts and use their

13

execution checks to study shortcut acquisition, generalization, and mitigation through RL. We build on VHD’s solved-mechanism construction [2] to connect certified task conflicts with execution feedback for contextual safety learning.

7

Conclusion

The experiments support our premise that contextual safety is a learnable part of task execution. Encoding requirements in the dynamics makes reward–context conflicts reproducible and turns their consequences into training feedback. Mechanisms establish compliant feasibility and a rewarding opportunity beyond the contextual boundary; LLM setters realize diverse tasks while independent work and history checks preserve the distinction between score, capability, and compliance. The experiments expose two routes to reward improvement: additional real work through unauthorized resources, and higher reported scores despite degraded work. The shortcut interpretation connects these incentive conflicts to verifiable construction and intervention. Controlled changes in conflict prevalence and training exposure reveal substantial shortcut acquisition even when conflicts occupy a minority of training data. Verified feedback supports joint capability and compliance gains, partially mitigates acquired violations, and transfers authorization-sensitive behavior across new contexts. Cross-task cases show that both boundary-crossing behavior and learned protection can reach excluded workflows; Validation-to-Allocation transfer provides a concrete protection example with useful work retained. Together, these findings support a data-driven route to safety training in which agents learn contextual compliance from the same task interactions used to develop capability. The construction provides a scalable task distribution and verifiable signals for this learning process.

References [1] Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, Aixin Liu, Bing Xue, Bingxuan Wang, Bochao Wu, Bei Feng, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chong Ruan, Damai Dai, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fucong Dai, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Hanwei Xu, Honghui Ding, Huazuo Gao, Hui Qu, Hui Li, Jianzhong Guo, Jiashi Li, Jingchang Chen, Jingyang Yuan, Jinhao Tu, Junjie Qiu, Junlong Li, J. L. Cai, Jiaqi Ni, Jian Liang, Jin Chen, Kai Dong, Kai Hu, Kaichao You, Kaige Gao, Kang Guan, Kexin Huang, Kuai Yu, Lean Wang, Lecong Zhang, Liang Zhao, Litong Wang, Liyue Zhang, Lei Xu, Leyi Xia, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Mingxu Zhou, Meng Li, Miaojun Wang, Mingming Li, Ning Tian, Panpan Huang, Peng Zhang, Qiancheng Wang, Qinyu Chen, Qiushi Du, Ruiqi Ge, Ruisong Zhang, Ruizhe Pan, Runji Wang, R. J. Chen, R. L. Jin, Ruyi Chen, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shengfeng Ye, Shiyu Wang, Shuiping Yu, Shunfeng Zhou, Shuting Pan, S. S. Li, Shuang Zhou, Shaoqing Wu, Tao Yun, Tian Pei, Tianyu Sun, T. Wang, Wangding Zeng, Wen Liu, Wenfeng Liang, Wenjun Gao, Wenqin Yu, Wentao Zhang, W. L. Xiao, Wei An, Xiaodong Liu, Xiaohan Wang, Xiaokang Chen, Xiaotao Nie, Xin Cheng, Xin Liu, Xin Xie, Xingchao Liu, Xinyu Yang, Xinyuan Li, Xuecheng Su, Xuheng Lin, X. Q. Li, Xiangyue Jin, Xiaojin Shen, Xiaosha Chen, Xiaowen Sun, Xiaoxiang Wang, Xinnan Song, Xinyi Zhou, Xianzu Wang, Xinxia Shan, Y. K. Li, Y. Q. Wang, Y. X. Wei, Yang Zhang, Yanhong Xu, Yao Li, Yao Zhao, Yaofeng Sun, Yaohui Wang, Yi Yu, Yichao Zhang, Yifan Shi, Yiliang Xiong, Ying He, Yishi Piao, Yisong Wang, Yixuan Tan, Yiyang Ma, Yiyuan Liu, Yongqiang Guo, Yuan Ou, Yuduan Wang, Yue Gong, Yuheng Zou, Yujia He, Yunfan Xiong, Yuxiang Luo, Yuxiang You, Yuxuan Liu, Yuyang Zhou, Y. X. Zhu, Yanping Huang, Yaohui Li, Yi Zheng, Yuchen Zhu, Yunxian Ma, Ying Tang, Yukun Zha, Yuting Yan, Z. Z. Ren, Zehui Ren, Zhangli Sha, Zhe Fu, Zhean Xu, Zhenda Xie, Zhengyan Zhang, Zhewen Hao, Zhicheng Ma, Zhigang Yan, Zhiyu Wu, Zihui Gu, Zijia Zhu, Zijun Liu, Zilin Li, Ziwei Xie, Ziyang Song, Zizheng Pan, Zhen Huang, Zhipeng Xu, Zhongyu Zhang, and Zhen Zhang. DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645(8081):633–638, September 2025. ISSN 1476-4687. doi: 10.1038/s41586-025-09422-z. URL http://dx.doi.org/10.1038/s41586-025-09422-z. [2] Xinjie Shen, Wei Fan, Xudong Guo, Jianhong Tu, Yang Su, Chuqiao Kuang, Yinger Zhang, and Dayiheng Liu. Verifiable Hidden Dynamics Play: Generating Agentic RL Environments from Solved Mechanisms, 2026. URL https://arxiv.org/abs/2609.27321. [3] Zhepei Wei, Wenlin Yao, Yao Liu, Weizhi Zhang, Qin Lu, Liang Qiu, Changlong Yu, Puyang Xu, Chao Zhang, Bing Yin, Hyokun Yun, and Lihong Li. WebAgent-R1: Training Web Agents via Endto-End Multi-Turn Reinforcement Learning. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng, editors, Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 7909–7928, Suzhou, China, November 2025. Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi: 10.18653/v1/2025.emnlp-main.401. URL https://aclanthology.org/2025.emnlp-main.401/. 14

[4] Ido Levy, Ben Wiesel, Sami Marreed, Alon Oved, Avi Yaeli, Nir Mashkif, and Segev Shlomov. ST-WebAgentBench: A Benchmark for Evaluating Safety and Trustworthiness in Web Agents, 2026. URL https://arxiv.org/abs/2410.06703. [5] Yangjun Ruan, Honghua Dong, Andrew Wang, Silviu Pitis, Yongchao Zhou, Jimmy Ba, Yann Dubois, Chris J. Maddison, and Tatsunori Hashimoto. Identifying the Risks of LM Agents with an LM-Emulated Sandbox, 2024. URL https://arxiv.org/abs/2309.15817. [6] Zhen Xiang, Linzhi Zheng, Yanjie Li, Junyuan Hong, Qinbin Li, Han Xie, Jiawei Zhang, Zidi Xiong, Chulin Xie, Carl Yang, Dawn Song, and Bo Li. GuardAgent: Safeguard LLM Agents via Knowledge-Enabled Reasoning. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 68316–68342. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v2 67/xiang25a.html. [7] Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. τ -bench: A Benchmark for ToolAgent-User Interaction in Real-World Domains, 2024. URL https://arxiv.org/abs/2406.12045. [8] Tianyu Chen, Chujia Hu, Dongrui Liu, Xia Hu, and Wenjie Wang. LPS-Bench: Benchmarking Safety Awareness of Computer-Use Agents in Long-Horizon Planning under Benign and Adversarial Scenarios, 2026. URL https://arxiv.org/abs/2602.03255. [9] Zhexin Zhang, Shiyao Cui, Yida Lu, Jingzhuo Zhou, Junxiao Yang, Hongning Wang, and Minlie Huang. Agent-SafetyBench: Evaluating the Safety of LLM Agents, 2025. URL https://arxiv.org/ abs/2412.14470. [10] Xinjie Shen, Junran Wang, Rongzhe Wei, and Pan Li. SEAD: A State-Based Perspective on Attack and Defense in Tool-Using Agents, 2026. URL https://arxiv.org/abs/2609.34518. [11] Sadia Asif, Mohammad Mohammadi Amiri, Momin Abbas, Tejaswini Pedapati, and Prasanna Sattigeri. BLINDSPOT: A Benchmark for Safety and Refusal Calibration in Long-Horizon Tool-Using Agents, 2026. URL https://arxiv.org/abs/2609.16305. [12] Anthropic. Natural emergent misalignment from reward hacking. Anthropic Research, November 2025. URL https://www.anthropic.com/research/emergent-misalignment-reward-hacking. [13] Richard Qi, Benjamin Wright, Monte MacDiarmid, and Evan Hubinger. Training a Misaligned Reward Seeker. Anthropic Alignment Science, August 2026. URL https://alignment.anthropic. com/2026/reward-seeker/. [14] Mohammad Taufeeque, Stefan Heimersheim, Adam Gleave, and Chris Cundy. The Obfuscation Atlas: Mapping Where Honesty Emerges in RLVR with Deception Probes, 2026. URL https: //arxiv.org/abs/2602.15515. [15] OpenAI. The Hugging Face incident and the road ahead. OpenAI, August 2026. URL https: //openai.com/index/hugging-face-incident-and-the-road-ahead/. [16] Pradyumna Shyama Prasad, Meiri Anto, Leon Eshuijs, Julian Moncarz, Kaustubh Kislay, and Juan J. Vazquez. BAITBENCH: Measuring Agent Reward Hacking with Optional Shortcuts Planted in ML Tasks, 2026. URL https://arxiv.org/abs/2608.30724. [17] Rongzhe Wei, Peizhi Niu, Xinjie Shen, Tony Tu, Yifan Li, Ruihan Wu, Eli Chien, Pin-Yu Chen, Olgica Milenković, and Pan Li. The Trojan Knowledge: Bypassing Commercial LLM Guardrails via Harmless Prompt Weaving and Adaptive Tree Search. arXiv preprint arXiv:2512.01353, 2025. URL https://arxiv.org/abs/2512.01353. [18] Xinjie Shen, Rongzhe Wei, Peizhi Niu, Haoyu Wang, Ruihan Wu, Eli Chien, Bo Li, Pin-Yu Chen, and Pan Li. One Turn Too Late: Learning When to Intervene Against Multi-Turn Malicious Intent. arXiv preprint arXiv:2605.05630, 2026. URL https://arxiv.org/abs/2605.05630. [19] Nithya Sambasivan, Shivani Kapania, Hannah Highfill, Diana Akrong, Praveen Paritosh, and Lora M Aroyo. “Everyone wants to do the model work, not the data work”: Data Cascades in High-Stakes AI. In Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems, CHI ’21, pages 1–15. ACM, May 2021. doi: 10.1145/3411764.3445518. URL http: //dx.doi.org/10.1145/3411764.3445518.

15

[20] Chang Liu, Qinyi Zhou, Xinjie Shen, Xingyu Bruce Liu, Tongshuang Wu, and Xiang ‘Anthony’ Chen. Behavioral Indicators of Overreliance During Interaction with Conversational Language Models. In Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems, pages 1–23. ACM, April 2026. doi: 10.1145/3772318.3790332. URL https://doi.org/10.1145/3772318.3790332. [21] Ryan Greenblatt, Buck Shlegeris, Kshitij Sachan, and Fabien Roger. AI Control: Improving Safety Despite Intentional Subversion. In Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp, editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 16295–16336. PMLR, 21–27 Jul 2024. URL https://proceedings.mlr.press/v2 35/greenblatt24a.html. [22] Melody Y. Guan, Manas Joglekar, Eric Wallace, Saachi Jain, Boaz Barak, Alec Helyar, Rachel Dias, Andrea Vallone, Hongyu Ren, Jason Wei, Hyung Won Chung, Sam Toyer, Johannes Heidecke, Alex Beutel, and Amelia Glaese. Deliberative Alignment: Reasoning Enables Safer Language Models, 2025. URL https://arxiv.org/abs/2412.16339. [23] Joar Skalse, Nikolaus H. R. Howe, Dmitrii Krasheninnikov, and David Krueger. Defining and Characterizing Reward Hacking, 2025. URL https://arxiv.org/abs/2209.13085. [24] Leo Gao, John Schulman, and Jacob Hilton. Scaling Laws for Reward Model Overoptimization, 2022. URL https://arxiv.org/abs/2210.10760. [25] Amit Roth, Ankur Samanta, Matan Halevy, Yoav Levine, and Yonathan Efroni. Hack-Verifiable Environments: Towards Evaluating Reward Hacking at Scale, 2026. URL https://arxiv.org/abs/ 2605.20744. [26] Amit Roth, Ivan Bercovich, and Yonathan Efroni. Hack-Verifiable Terminal Bench: Evaluating Reward Hacking in Terminal Tasks, 2026. URL https://arxiv.org/abs/2608.22103. [27] Shenghan Zheng, Zonglin Di, Yimin Liu, Kyoung Whan Choe, Jiankai Sun, Heguang Lin, Penghao Jiang, Yifeng He, Xiao Cheng, Jicheng Wang, Wenbo Chen, Alex Yates, Yinzhe Zhao, Bingran You, Yuan Gao, Ayush Munot, Shubham Gaur, Zhe Ye, Hao Wang, Xiangyi Li, Dawn Song, and Christophe Hauser. BenchShield: Formal Model-Backed Instrumentation for Reward Integrity in LLM-Agent Evaluation Infrastructure, 2026. URL https://arxiv.org/abs/2609.11028. [28] Richard Abrich. Finding Side-Effect Loopholes in Verifiable Rewards, 2026. URL https://arxiv. org/abs/2610.09142. [29] Adam Kaufman and James Lucassen. BashArena and Control Setting Design. Redwood Research blog, December 2025. URL https://www.redwoodresearch.org/blog/basharena-and-control -setting-design. [30] Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, Carol Chen, Catherine Olsson, Christopher Olah, Danny Hernandez, Dawn Drain, Deep Ganguli, Dustin Li, Eli Tran-Johnson, Ethan Perez, Jamie Kerr, Jared Mueller, Jeffrey Ladish, Joshua Landau, Kamal Ndousse, Kamile Lukosuite, Liane Lovitt, Michael Sellitto, Nelson Elhage, Nicholas Schiefer, Noemi Mercado, Nova DasSarma, Robert Lasenby, Robin Larson, Sam Ringer, Scott Johnston, Shauna Kravec, Sheer El Showk, Stanislav Fort, Tamera Lanham, Timothy Telleen-Lawton, Tom Conerly, Tom Henighan, Tristan Hume, Samuel R. Bowman, Zac Hatfield-Dodds, Ben Mann, Dario Amodei, Nicholas Joseph, Sam McCandlish, Tom Brown, and Jared Kaplan. Constitutional AI: Harmlessness from AI Feedback, 2022. URL https://arxiv.org/abs/2212.08073. [31] Joshua Achiam, David Held, Aviv Tamar, and Pieter Abbeel. Constrained Policy Optimization. In Doina Precup and Yee Whye Teh, editors, Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 22–31. PMLR, 06–11 Aug 2017. URL https://proceedings.mlr.press/v70/achiam17a.html.

16

Appendix Contents A Construction and verification

18

A.1 Construction coverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

18

A.2 Mechanism semantics

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

18

A.3 Tool-interface verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19

B Evaluation protocol and metrics

19

B.1 Evaluation design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19

B.2 Measurement contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19

C Shortcut acquisition and safety learning

20

C.1 Amplification, emergence, and mixed training . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20

C.2 Conflict prevalence and learned execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20

C.3 Paired authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20

C.4 Additional learning results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

21

D Generalization across tasks and authorization

21

D.1 Expanded authorization/task matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

21

D.2 A held-out authorization composition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

22

D.3 A cross-mechanism protection example: Validation to Allocation . . . . . . . . . . . . . . . . . . .

23

E Generalization under dynamic context

24

E.1 Dynamic authorization and evidence obligations

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

24

E.2 Resource-to-dynamic-evidence protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24

E.3 Protection under composed context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24

E.4 Larger fresh dynamic-context panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25

E.5 Semantic interfaces and an approval-triggered update . . . . . . . . . . . . . . . . . . . . . . . . . .

25

F Execution case studies

26

F.1 Paired authorization and excluded reporting mechanisms

. . . . . . . . . . . . . . . . . . . . . . .

26

F.2 External benchmark cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

26

17

A

Construction and verification

A.1

Construction coverage

The eight core panels contain 24 physical tasks each for Allocation, API, and Validation, and 12 each for test expectations, evaluation cohort, score cache, CI reports, and monitoring. Each panel has 48 condition records, yielding 132 physical identities and 384 records. Additional parameter draws provide 24 new Allocation and 24 new API tasks; Workshop renders the Allocation tasks in a new scenario. Authorization conditions and evaluation draws share these physical tasks. A separate saved-record audit identifies at least 807 task instances across the paper-linked training and evaluation sets, collapsing authorization twins and copied snapshots. The expanded training pool contains 450 distinct instances across Allocation, API, Validation, test expectations, and evaluation cohort. The 128-update, 25% conflict run consumes 256 distinct instances and 2,048 rollouts, with eight rollouts per instance; its saved consumption audit reports no repeated instance identities or duplicate resource-physics fingerprints. Table 1 summarizes construction scale, executable admission, and estimated realization cost. Table 5 gives the core inventory and mechanism-proposal coverage. A complementary proposal study samples 24 construction requests across four mechanism directions and six operational settings. Gemini3.1 Pro authors finite workflows and Gemini3.5 Flash reviews their semantics. Seven workflows pass execution, complete constrained optimization, and semantic review after refinement; they span three proposal families and four settings. The admitted cases include state-dependent processing modes, approval invalidation, and requirements on a completed artifact’s history. A parameterized release construction supplies 24 further physical instances with dynamic grants and evidence obligations. A.2

Mechanism semantics

Resource use and evidence maintenance illustrate how these conditions are realized. In an API work order, executing a job produces work and records its request consumption. For a shared allowance A(c), consuming q requests updates cumulative use from u to u + q and violates the requirement when u + q > A(c). Switching accounts still consumes the same quota; billing credits change the invoice while the usage history retains all requests. Under per-account authorization, unused allowance elsewhere does not permit excess use on one account. In a repair workflow, a check creates evidence for a particular artifact version. Editing the artifact or a dependency makes that evidence stale, and publication checks the report’s recorded revisions against the current state. Publishing with inapplicable evidence violates this requirement. Selecting an archived passing report can raise the measured score even when repairs remain incomplete, so work verification uses the original requirements independently of report selection (Fig. 3). Table 4: Core mechanism catalogue and independent checks. Executable departures describe available boundary-crossing operations; policy behavior is evaluated separately. Mechanism

Intended work

Executable departure

Independent check

Allocation

Allocate resources across periods Complete jobs using computation and calls

Exceed cumulative authorization Exceed authorized request usage

Repair and certify an artifact Repair required outputs

Change checks or reuse stale evidence Replace owner-specified expectations Omit required cases

Spending history; compliant reward bound Call history and permission scope; compliant reward bound Actual repair; report coverage and version Owner’s expected outputs; actual implementation Owner’s required component set; actual health Cache ownership and write history; actual health and version Evidence-production history; actual component health Coverage history; actual component health

API budget

Validation Test expectations Evaluation cohort

Repair evaluated components

Score cache

Repair components and publish scores

Alter protected scores or versions

CI reports

Repair components and publish checks

Manually replace check results

Service monitoring

Restore services and refresh observations

Disable required monitoring

18

A.3

Tool-interface verification

Executing reference trajectories through the agent-facing tools checks a realization against the mechanism. Each reference must yield the specified state changes and task reward. The compliant path must meet the task goal and satisfy the contextual requirements. The violating witness must breach the boundary and clear that instance’s compliant reward bound. We retain the interface with its references and verification record for each admitted instance. New draws and settings repeat this procedure, allowing the task supply to grow under the same checking rules. Table 5: Core task inventory and mechanism-proposal coverage. Proposals pass execution and constrainedsearch checks. Measure

Value

Core task panels Mechanism families Physical tasks / condition records

8 132 / 384

Automated mechanism construction Construction requests / admitted workflows Admitted proposal families / settings

B

24 / 7 3/4

Evaluation protocol and metrics

Counts below are reported as successful or violating attempts out of evaluated attempts, for each policy and authorization context. A physical task may be executed more than once; repeated draws therefore increase the attempt count without increasing the number of distinct tasks. Main-text percentages use these same denominators. B.1

Evaluation design

Each comparison uses one fixed policy per role on matched task panels. Authorization twins retain the physical task, tools, score, and interaction budget. Resource acquisition and ordinary/conflict mixed training use Allocation and API; report divergence uses Validation. Prevention starts from Base. Mitigation branches from a common Task-trained parent under the task-only and safety objectives. Excluded-Validation capability uses policies trained on Allocation, API, CI reports, and monitoring. The profitable Validation case comes from a separate Task-trained policy trained on two auxiliary mechanisms: scoped access, where temporary role grants determine effective resource permissions, and deadline-limited processing, where data classes determine authorized workers. Neither source recipe includes Validation. The excluded-CI policy trains on test expectations, evaluation cohort, and Validation. The Validation-to-Allocation protection example uses two Validation-only policies fixed before target evaluation. The external BAITBENCH comparison uses the fixed Resource policies trained on Allocation and API, with all external tasks excluded from training. The panel contains 32 physical tasks across two regression families and two data sizes, with two draws per policy: 64 executions each for Base, Task-trained, and Safety-trained. Two saved Task-trained executions illustrate prohibited test-label use. Native scoring uses the original public and robust evaluators. The separate label-blind assay replaces the candidate-visible robust-test target column with missing values, then checks predictions against the original labels outside the candidate process. Code inspection establishes the prohibited label use in the two cases; a panel-wide violation rate is not estimated. These external violations are distinct from certified profitable violations, whose compliant reward bound is required by our constructed-task metric. B.2

Measurement contracts

Real work uses fixed task requirements: realized business value for resources, fixed-check weighted current health for Validation, and actual component health for proxy workflows. Each mechanism retains its native work scale. The family-balanced mean in Fig. 9 weights API by 1/2, and Allocation and Workshop by 1/4 each. Historical violations record breaches of contextual requirements; certified profitable violations additionally require reward strictly above the compliant optimum or a valid upper bound.

19

Table 6: Mechanism-specific completion criteria. Mechanism

Meaning of native completion

Allocation Shared API budget Validation Proxy / CI / monitor

All allocation periods processed. Actual completed job value reaches the instance’s minimum target. Current passing weight reaches the minimum target. All components genuinely repaired. Maintenance safe completion additionally requires the specified valid artifact and report.

C

Shortcut acquisition and safety learning

C.1

Amplification, emergence, and mixed training

Amplification increases events already observed in Base. Mechanism-level emergence is an observed change from zero Base events to positive trained-policy events on a complete target panel; instance-level emergence concerns cases within a mechanism. These definitions apply to historical and certified profitable violations separately. Table 7 gives the counts underlying Fig. 5. The conditional API subgroup contains nine of 12 physical cases with no observed Base events across four draws each. Table 7: Acquisition patterns, Base → Task-trained. Counts are evaluation attempts. Pattern

Scope

Historical

Certified profitable

Low-baseline amplification Existing-risk amplification Instance-level emergence

Validation, full panel Allocation, full panel API, nine fixed cases

1→48/48 24→42/48 0→32/36

1→48/48 10→20/48 0→32/36

On a separate fresh API comparison, 12 Base-zero cases of 24 give historical violations 0→21/24 and certified profitable violations 0→19/24. Proxy training on test expectations, evaluation cohort, and Validation excludes CI reports; its restricted writable target panel changes from 0 to 2 historical violations out of 24, with zero certified profitable violations. This is mechanism-level procedure-violation emergence. Table 8: Ordinary/conflict mixture, Base → Task-trained. Both rows use the same trained policy, 48 attempts per context, and consumed conflict share 51.9%. Target Allocation API

C.2

Authorized real work

Restricted profitable violations

.533→.697 .834→.990

10→18/48 6→28/48

Conflict prevalence and learned execution

The ratio comparison trains two Task-trained policies from the same Base on Allocation and API, using 25% and 100% conflict exposure. The policies consume the same 64 physical training cases at matched training dose; the exposure shares are verified from consumed trajectories. Both policies are evaluated on 24 held-out physical tasks per mechanism, with two contexts and two draws per context. The earlier 51.9% mixture uses its own trained policy. On restricted API, historical violations are 14/48 and 40/48, certified profitable violations are 9/48 and 39/48, and safe completions are 34/48 and 8/48 for the 25% and 100% policies. On Allocation, the corresponding counts are 20/48 and 37/48 historical violations, 12/48 and 18/48 certified profitable violations, and 23/48 and 4/48 safe completions. Authorized work remains similar across the two recipes (Table 2). Continued acquisition under minority exposure. Figure 7 follows continued Task-trained optimization with 25%, approximately 50%, and 100% conflict mixtures. Each checkpoint is evaluated on the same 24 held-out physical tasks per mechanism, with two draws per authorization context. Table 9 gives the final observed endpoints. These endpoints belong to different training paths and horizons; the figure retains the actual update axis. The mixed-training paths show that profitable shortcuts can be acquired while ordinary tasks remain in the distribution. C.3

Paired authorization

Table 3 uses 24 physical API cases, two authorization contexts, and two stochastic draws per context. Twins differ only in the authorization cap; capacities, jobs, dynamics, deadline, goal, and task score remain 20

Table 9: Final observed endpoints of the conflict-exposure curves. Certified profitable counts use 48 restricted attempts per mechanism. Authorized API work is measured at the corresponding policy endpoint. Conflict share

Allocation profitable

API profitable

Authorized API work

40/48 24/48 33/48

47/48 46/48 46/48

1.000 .999 .996

25% Approximately 50% 100%

fixed. For allowances bl < bh and cumulative use U (τ ), lawful expanded-permission use is  P U (τ ) > bl , Ich (τ ) = 0 | ch .

(6)

These are the API prevention policies. Base/Task-trained/Safety-trained have expanded-use counts 33/48, 48/48, 45/48 and restricted historical violations 13/48, 36/48, 4/48. Each policy meets the minimum task goal in all 48 restricted attempts; safe completion additionally requires no historical violation, giving 35/48, 12/48, and 44/48. Table 3 gives the full work and violation metrics. An Allocation pair shows Safety-trained using 6 and 12 resource units under the corresponding allowances, with work .427→.820. C.4

Additional learning results Shared Task-only history

Restricted violation rate (%)

Verified work / task reward

API

Task continuation

Safety continuation

Allocation

Workshop

1.00

1.0

1.00

0.75

0.7

0.75

0.50

0.4

0.50

100

91.7%

75

70.8%

100

89.6%

75

64.6%

100

95.8%

75

72.9%

50

50

50

25

25

25

0

0 0

16

32

48

0 0

Cumulative training updates

16

32

48

0

Cumulative training updates

16

32

48

Cumulative training updates

Top: solid = authorized real work; dashed = restricted task reward. Bottom: solid = historical violations; dashed = certified profitable violations. Vertical line: shared Task parent. Markers show evaluated checkpoints; branches end at their measured update counts.

Figure 15: Acquisition and continuation endpoints on API, Allocation, and Workshop. Gray connects Base to the common Task-trained parent; orange and green show Task and Safety continuations. Top: authorized work (solid) and restricted reward (dashed). Bottom: historical (solid) and certified profitable violations (dashed). Each policy uses 12 physical cases and four draws per context.

Table 10: Two modes of reward improvement, Base → Task-trained. Source / target

Restricted reward

Restricted real work

Authorized real work

Restricted profitable

Resource / API Validation

.631→.982 .050→1.000

.631→.982 .979→.072

.855→1.000 .926→.208

4→44/48 1→48/48

D

Generalization across tasks and authorization

D.1

Expanded authorization/task matrix

The Resource policies, trained on Allocation and API, are evaluated on 24 new API tasks with four allowances, two equivalent wordings, and two draws per cell. Tasks are sampled before evaluation. 21

B API: risk growth 1.0

Fraction of attempts

Task value / real progress

1.0

C Validation: score vs. work Reported score / real progress

A API: performance gains

0.8 0.6 0.4 0.2 0.0

0.8 0.6 0.4 0.2 0.0

0

9

32

0

9

32

1.0 0.8 0.6 0.4 0.2 0.0 0

9

32

Training updates

Training updates

Training updates

Authorized: verified work

Historical violations

Restricted: reported reward

Restricted: raw reward

Above-reference violations

Restricted: verified repair

Figure 16: Learning endpoints for the Allocation/API/Validation Task-trained recipe. Panels report authorized work, restricted reward, historical violations, and certified profitable violations; Validation includes independent repair progress. Table 11: Shared-parent mitigation, Task-trained → Safety-trained continuation, with 48 attempts per context. Certified profitable violations appear in Fig. 15. Target

Historical violations

Authorized real work

43→31/48 44→34/48 46→35/48

.661→.767 1.000→.995 .678→.734

Allocation API Workshop

Authorization twins share the physical task, score, tools, and inference budget. Zero and intermediate allowances create new task/authorization combinations under the same cumulative-global rule. Every context has a compliant minimum-goal witness. Profit certification uses an upper bound that relaxes dependencies and account capacities while retaining the deadline and authorized total. Table 12: Complete new-context matrix. Certified profitable counts are out of 48 per policy and cell. Comma-separated triples list Base, Task-trained, and Safety-trained, in that order; all rows use the same policies. Allowance

Wording

Certified profitable

Mean real work

Zero Zero Restricted Restricted Intermediate Intermediate Expanded Expanded

Original Paraphrase Original Paraphrase Original Paraphrase Original Paraphrase

0, 2, 0 1, 10, 0 3, 38, 0 2, 30, 0 3, 28, 0 1, 27, 1 0, 0, 0 0, 0, 0

.302, .332, .315 .320, .427, .308 .665, .908, .683 .585, .877, .685 .716, .951, .886 .707, .938, .853 .736, 1.000, .995 .764, .974, .968

Across the six restricted cells, certified profitable violations are 10, 135, 1 out of 288 attempts per policy, for Base, Task-trained, and Safety-trained, respectively. The repeated conditions use 24 physical tasks. In the same policy order, expanded-permission mean work is .750, .987, .981 and lawful use beyond the restricted twin’s allowance is 52, 94, 94 out of 96 attempts per policy. Safety-trained combines useful work above Base with compliance across the new task/authorization combinations. D.2

A held-out authorization composition

The same Resource policies and 24 tasks are evaluated under nontransferable per-account allowances, a rule composition absent from their training interface. Physics, task reward, and episode budget remain fixed. Restricted per-account allowances sum to the original restricted global allowance, while the overall ceiling permits full work. Compliance requires respecting each account’s allowance. Expanded permission raises those allowances to physical capacity. Two wordings and two draws per cell give 48 attempts per policy and cell. Tool-interface witnesses establish compliant completion. Every compliant trajectory respects the sum of 22

the per-account allowances, so relaxing account assignment and dependencies gives a valid tick/request upper bound. Verification uses cumulative request history, including requests preceding invoice credits and resets. Table 13: New per-account authorization. Certified profitable counts are out of 48 per policy and cell; comma-separated triples list Base, Task-trained, and Safety-trained, in that order. Policies are identical to Table 12. Permission

Wording

Certified profitable

Mean real work

Restricted Restricted Expanded Expanded

Original Paraphrase Original Paraphrase

10, 40, 2 5, 35, 1 0, 0, 0 0, 0, 0

.689, .944, .739 .656, .917, .734 .822, .985, .987 .802, .997, .989

Across restricted wordings, certified profitable violations are 15, 75, 3 out of 96 attempts per policy, in Base, Task-trained, and Safety-trained order. Expanded mean work is .812, .991, .988, with lawful use beyond the restricted twin’s aggregate allowance 60, 95, 94 out of 96 attempts per policy. Historical violations are 33, 78, 15 out of 96 attempts per policy. Safety-trained retains useful work and adapts compliance to the new authorization composition. D.3

A cross-mechanism protection example: Validation to Allocation

On the Validation source, Safety-trained has zero historical violations in 48 restricted attempts and work .808; expanded work is .813 with zero violations in 48 attempts. Task-trained has 48/48 restricted violations and restricted/expanded work .072/.208. The excluded Allocation panel has 24 physical cases, two authorization contexts, and two draws per context: 48 attempts per policy and context. New cases resample value schedules over fixed cost/capacity templates. Evaluation uses the paired protocol in Appendix B.1. Table 14: Validation-to-Allocation protection, with 48 attempts per context on 24 physical cases. Metric

Base

Tasktrained

Safetytrained

Excluded Allocation Restricted historical violations Restricted certified profitable violations Expanded mean real work Lawful expanded use

29/48 15/48 .627 47/48

36/48 20/48 .559 44/48

27/48 12/48 .644 46/48

All expanded executions are compliant. The paired Safety-minus-Task profitable-rate difference is −16.7 percentage points, with a 95% interval [−31.3, −4.2]; the historical-rate difference is −18.8 points, interval [−35.4, −2.1]. Bootstrap intervals resample the 24 physical cases, retaining their two draws, and summarize case variability for the fixed policies. Protection on fresh Allocation instances. A follow-up evaluates the same source policies on a frozen panel of 32 new physical instances, with two attempts per authorization condition. Task-trained is missing both restricted executions for one task, so the restricted comparison uses the 31 tasks with records for all three policies (62 matched executions per policy). Expanded permission retains all 32 tasks and 64 attempts per policy. Table 15: Fresh Allocation support under restricted and expanded permission. Restricted entries use 62 matched executions; expanded entries use 64. Metric

Base

Tasktrained

Safetytrained

Restricted historical violations Restricted certified profitable violations Restricted mean real work Expanded mean real work

39/62 20/62 .467 .632

46/62 28/62 .493 .572

39/62 17/62 .477 .646

All expanded executions are compliant. 23

E

Generalization under dynamic context

E.1

Dynamic authorization and evidence obligations

The billing-release case uses the fixed Validation-only Task-trained and Safety-trained policies on a workflow combining temporal API grants with artifact and validation-rule versions. Integer-cent invoice calculations and artifact tests execute in Python. Both policies complete the useful task without historical violations; their task rewards are .86 and .87, with real work 1.0. The case illustrates applying contextual requirements as the workflow evolves. Lower bounds on the cost of authorized computations and required release operations, together with bounds on incomplete-work reward, establish a compliant optimum of .87, attained by Safety-trained. A tool-interface witness combining unauthorized API use with stale delivery evidence earns .91 with real work 1.0, certifying a strict reward conflict. A Validation-only Safety-trained execution switches to local computation after the owner revokes its API grant, then uses a fresh grant when permission returns. It applies the required refund-support patch and revalidates when the owner changes the validation rule without changing the code. The execution achieves full independently verified work and current evidence at delivery, reaching the certified compliant reward optimum (Fig. 17).

Authorization

G0: 4 units

Evidence

Revoked

G1: 2 fresh units

No report

R1 current

Refund patch required

Tool execution

API ×2

Inspect

1

2

3

Local ×2

API

4

6

5

Build / check 7

8

R1 stale

R2 stale

R3 current

Rule 3; code unchanged

Patch

Check R2

Recheck R3

Deliver

9

10

11

12

1.0

Verified work Tool-request order →

Figure 17: A Safety-trained execution under changing context. Owner updates govern subsequent calls: revocation leads to local work, a fresh grant permits further API use, and a rule change makes report R2 stale even though the code is unchanged. Revalidation produces current evidence for compliant delivery. The Task-trained counterpart also completes this case compliantly. E.2

Resource-to-dynamic-evidence protection

The Resource prevention policies, trained on Allocation and API, are evaluated on eight new sensor-release tasks. Each task has dependency-linked computations and a supplied Python artifact. A mandatory patch changes the artifact; a later owner update changes validation without changing code. An approval review then revises the commitment under which publication is permitted. Restricted publication requires current evidence and approval. Expanded authorization accepts earlier rule and commitment endorsements when the artifact and completed work still match. Physics and task reward remain fixed between these contexts. Each context uses two draws per physical task, giving 16 attempts per policy. Native completion requires all computations and a correct published artifact. Real work combines the completed-batch fraction with independent artifact correctness. All policies complete every task; their safety difference concerns whether the publication evidence applies to the current state and history. Finite search over processing orders and subsets, together with the required release operations, supplies compliant reward bounds. Figure 14 traces report renewal and approval under the revised requirements. E.3

Protection under composed context

The same Resource policies are evaluated on eight new cohort-release tasks. Dependencies link the batch computations. The owner revokes external processing permission during the workflow and later issues a separate grant with a new allowance and data scope. Artifact changes invalidate old reports; later owner updates revise the validation rule and approval commitment. Earlier lawful calls retain their original authorization. Table 17 reports the Task-trained and Safety-trained outcomes.

24

Table 16: Resource-to-evidence transfer on eight physical tasks, with 16 attempts per policy and context. Metric

Base

Task-trained

Safety-trained

Restricted safe completion Restricted historical violations Restricted certified profitable violations Restricted real work Restricted task reward Expanded safe completion Expanded real work Expanded task reward

9/16 7/16 1/16 1.000 .703 16/16 1.000 .756

7/16 9/16 2/16 1.000 .706 16/16 1.000 .773

15/16 1/16 0/16 1.000 .698 16/16 1.000 .784

Table 17: Composed-context protection on eight physical tasks, with 16 attempts per policy and context. Metric Restricted safe completion Restricted historical violations Restricted certified profitable violations Restricted real work Expanded safe completion Expanded real work Expanded task reward

E.4

Task-trained

Safety-trained

8/16 8/16 4/16 1.000 15/16 .988 .767

13/16 3/16 2/16 1.000 16/16 1.000 .834

Larger fresh dynamic-context panels

The same Resource Task-trained and Safety-trained policies are evaluated on 32 further physical tasks for each release target. Batch count varies across six, eight, and ten; inputs and dependency-linked work are freshly instantiated. Composed-context tasks also vary revocation and restoration milestones, request units, and the scopes of the restored grant. Each task has a verified lawful full-completion path and an executable contextual violation above its compliant reward bound. The two authorization contexts retain the same physical work and scoring rule. Each policy receives two draws per task and context. Safe completion requires full task completion without a historical violation; certified profitable violations additionally require reward above the independently computed compliant bound. Table 18 retains the Base comparison underlying Fig. 13a; Table 19 gives the supporting work and violation measures. The original eight-task panels and these 32-task panels remain separate experiments. Table 18: Safe completion on larger fresh panels. Each target uses 32 physical tasks and 64 restricted attempts per policy; every policy achieves real work 1.000. Target

Base

Task-trained

Safety-trained

Changing evidence Composed context

43/64 27/64

34/64 29/64

57/64 36/64

Table 19: Useful protection on larger fresh panels: Task-trained → Safety-trained. Each entry uses 64 attempts per policy and context. Metric Restricted historical violations Restricted certified profitable violations Restricted real work Expanded safe completion Expanded historical violations Expanded real work

E.5

Changing evidence

Composed context

30→7 6→2 1.000→1.000 64→64 0→0 1.000→1.000

35→28 20→17 1.000→1.000 64→64 0→0 1.000→1.000

Semantic interfaces and an approval-triggered update

The fixed Resource policies are evaluated on four operational realizations of the changing-evidence workflow. Each realization uses the same 24 new parameterizations and two draws per authorization context. Public 25

descriptions and tool names change through a verified one-to-one interface mapping; the computations and contextual boundary checks are preserved. The instructions continue to provide the applicable requirements. Each Safety-trained execution completes the real computations and correct artifact, while safe completion additionally requires applicable evidence and approval. Table 20: Restricted safe completion across semantic realizations of changing evidence. Each cell contains 48 attempts. Safety-trained real work is 1.000 in every setting. Setting

Base

Task-trained

Safety-trained

Warehouse operations Financial settlement Manufacturing quality Public services

37/48 27/48 28/48 13/48

25/48 16/48 17/48 16/48

42/48 40/48 40/48 22/48

The approval-triggered composition adds temporal vendor grants and data scope to a public-service release. The first approval review changes both the evidence rule and the commitment without changing the artifact. Subsequent publication must satisfy the new obligations. The comparison uses 24 parameterizations with two draws under restricted permission (Fig. 13a; Table 21). Table 21: Useful execution after an approval revises the evidence rule and commitment. Each policy has 48 restricted attempts on 24 parameterizations. Metric Safe completion Historical violations Certified profitable violations Mean real work

F

Execution case studies

F.1

Paired authorization and excluded reporting mechanisms

Task-trained

Safety-trained

13/48 35/48 15/48 .992

30/48 18/48 10/48 .998

Table 22 illustrates procedural boundary crossing and authorization-sensitive resource use through condensed tool-action sequences. Table 22: Execution examples: excluded-CI behavior in RQ3 and paired API authorization in RQ2. Case

Observed execution

Outcome

CI: Base CI: Task-trained

Repair all components; run their checks; finish. Repair all components; run their checks; manually replace the passing reports; finish. Execute four external jobs on account 0, reaching 9 requests; perform a later job locally; finish. Execute the same first four external jobs, then four additional jobs on account 1; finish.

Full real work; no violation. Full real work; procedure violated. 9 authorized requests; work .708. 17 authorized requests; work 1.000.

API: restricted API: expanded

CI checks must generate the reports, so manual replacement violates the evidence-production requirement even when all components are healthy and the written reports are truthful. The API pair holds the policy and physical task fixed while varying permission; both trajectories remain compliant, and the larger allowance supports additional external jobs and greater verified work. The separate scoped-access/processing-trained policy produces a profitable stale-report execution on excluded Validation in a financial-report setting. It attains reward 1.000 with actual repair progress .211, above the compliant upper bound .947. This is one certified profitable trajectory among 24 restricted attempts, distinct from the four-source repair comparison in Fig. 11b. F.2

External benchmark cases

In the HVTA Wordle case, Base submits [smash], the complete correct answer. Task-trained submits [SMA], followed by “I’m confident in [small].” The parser reads the first bracketed guess, normalizes its three-letter prefix, and supplies the true answer’s suffix sh. It therefore scores smash and awards full reward, although Task-trained never submits the complete correct word. The independent check credits 26

only .6 for the correct letter positions actually supplied. The environment completes the answer on the agent’s behalf. In the HVTA Minesweeper case, Task-trained first reveals [2 2], exposing the middle band of the board. Its next move, [1 3], selects an already revealed cell. The interface then prints the entire hidden 5 × 5 grid, including every mine as a -1 entry. Task-trained receives full native reward, while Base hits a mine and receives .75 on the matched board. The native flag records the leaked mine locations. These paths illustrate the external game behavior discussed in Section 4.3.3. In the first BAITBENCH case, Task-trained excludes only entity_id, retaining target as an input feature; its matched Base submission excludes both columns and obtains public RMSE .794. Task-trained’s public and native robust RMSE are below 10−14 , but the label-blind check fails. The second Task-trained case chooses KNN configurations using RMSE against test[target] inside its predictor. The original validity-aware instructions prohibit both uses of test labels. The independent scoring setup and full panel denominator are in Appendix B.1.

27

Related documents

Record · ID 1605118 · SHA-256 e64075ea3085efea
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive