Manuscript Offprint

arXiv:2611.04838

Found by Search, Broken by a Shortcut: Transfer and Tampering of Searched Intrinsic Rewards

Chase J. Metoyer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Can a search over innate drives find intrinsic rewards that help a reinforcement-learning agent learn, transfer to a task it never saw, and resist an exploit that was absent during the search? Each candidate reward combines four generic events (a new view, a pickup, a drop and a toggle), each with a weight, a relief and a refill rate. We ran three pre-registered stages; the search protocol was locked in a public, timestamped commit before any search result existed. CMA-ES and an equal-budget random search used 1,560 PPO training runs, and the final evaluation and tamper test used 340. On the held-out task, KeyCorridorS3R2, the CMA-ES-selected reward (E) beat task-only PPO, episodic novelty and the random-search-selected reward (R) in all 3 registered comparisons, all of them meaningful by the registered size rule. Among these generic rewards E transferred best; the earlier paper's satiation reward, which on this task is given hand-wired key and locked-door events, did better (20 of 20 seeds solved against 4 of 20; descriptive). On UnlockPickup, where that reward uses generic events, E's mean area exceeded it by 0.276 (descriptive). On the training tasks there was no registered difference between E and R: both E-over-R tests missed. A free reset action, absent during the search, collapsed E's learning on DoorKey-8x8 (mean area 0.829 without it, 0.136 with it; registered) to below task-only PPO (descriptive). The searched drives helped on every task tested, but a reward given task-specific events did better on the held-out task, and selection gave E no protection against an exploit absent from the search.

Keywords: reinforcement learning, intrinsic motivation, reward search, homeostatic reinforcement learning, transfer, reward tampering, pre-registration

1 Introduction

In our earlier paper [15], PPO agents given a bounded, hand-designed homeostatic satiation reward and a cheap action that reset their needs learned to press it and stopped solving the task, although solving was optimal under that reward. That reward was designed by hand. The optimal-reward view suggests another route: treat the reward as the outcome of a search over reward functions for whatever best serves the designer's goal [21]. This paper asks whether such a search avoids the failure, and what a searched reward does on a task it was not selected on.

We search over innate drives. A candidate reward has four needs, tied to four generic events of the MiniGrid interface [7]: seeing a new view, picking an object up, dropping it, and toggling a door

*Code, data and the source of every number: https://github.com/chasemetoyer/found-by-search (tag v1.1); archived at doi:10.5281/zenodo.23828842. Each number in this paper links to its line in results/numbers.json; each table and figure names the command and file that produce it.

or box. Each need has a weight, a relief and a refill rate, and the reward is the signed reduction of a weighted quadratic drive, the form the earlier paper used. We ask three questions.

  • Help. Do searched rewards help PPO [20] learn the tasks they were selected on?

  • Transfer. Do they help on a task that was never used during the search?

  • Resistance. Does a searched reward resist an exploit that was absent during the search?

We answered them in three pre-registered stages (Figure 1). Stage 1 calibrated tasks and fixed a corrected event detector. Stage 2 ran CMA-ES [10] and an equal-budget random search over the twelve drive parameters and selected one reward from each. Stage 3 compared the CMA-ES-selected reward (E) and the random-search-selected reward (R) with task-only PPO (T) and episodic novelty (N) on two training tasks and one held-out task, retrained E with a free reset action, and ran the earlier paper's satiation reward (S) as a descriptive reference. Comparisons of E and R compare two selected genomes; one draw from each search method cannot rank the methods.

Our contributions, each with its evidence level:

  • Transfer to one held-out task, bounded by a hand-wired reference (Section 4.3). On KeyCorridorS3R2, E beat T, N and R in all 3 registered comparisons, each meaningful by the registered size rule (REGISTERED). S, whose KeyCorridor events are hand-wired (key pickups only, and only the opening of the initially locked door) and whose door need refills, solved 20/20 seeds against E's 4/20; on UnlockPickup, where S uses generic events, E's mean area was higher (PRE-SPECIFIED DESCRIPTIVE).

  • No registered difference between the selected rewards on the training tasks (Sections 4.2 and 4.4). Both E-over-R tests missed (REGISTERED). Every CMA-ES finalist fell on re-evaluation and every random-search finalist rose (EXPLORATORY/POST HOC).

  • No protection against an exploit absent during selection (Section 4.5). A free reset action collapsed E's learning (REGISTERED), to below task-only PPO (PRE-SPECIFIED DESCRIPTIVE).

  • What the selected rewards encode (Section 4.6). E pays the first pickup, drop and toggle of each episode and refills only its view need (a record of the frozen genome). Across all searched candidates, positive weights on pickup and toggle were associated with higher fitness across all candidates and among random-search candidates alone; the drop association reverses among random-search candidates (EXPLORATORY/POST HOC).

  • A public pre-registration lock (Section 3.7, Appendix B). The earlier paper's lock times were self-reported. Here the Stage 2 protocol, which also registered every Stage 3 test, was committed and pushed to a public repository before any search result existed (pushed 28 October 2026, 14:29:28 UTC).

  • Every registered test and rule is reported, including misses (Section 5, Appendix A).

Results carry one of three labels. REGISTERED marks confirmatory tests and hit rules fixed in the locked protocol. PRE-SPECIFIED DESCRIPTIVE marks descriptive quantities named in the locked protocol or in amendments committed before the data existed. EXPLORATORY/POST HOC marks everything else. We also label arithmetic references (DERIVED REFERENCE) and untested explanations (POST HOC HYPOTHESIS). Event definitions differ from the earlier paper's archived detector, so comparisons with the earlier paper are qualitative only.

References (25)