arXiv:2608.12302cs.LGAug 2026

Manuscript Offprint

arXiv:2608.12302

A Framework for Designing Reward Functions: From Objectives to Features to Human-Aligned Reward Functions

Di Yang Shi, W. Bradley Knox

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

Abstract

We present a formal process to enable non-experts to instantiate and iterate on human-aligned reward functions, i.e. reward functions that adhere to a given preference ordering over trajectories. Given a task described in natural language, our process produces a linear reward function in three steps: distill the task’s objectives into a set of fundamental objectives and derive measurable outcome variables that capture those fundamental objectives, select a causally representative subset of outcome variables as the reward terms, and fit weights to those reward terms via preference elicitation. Our contributions describe the first step and formalize the latter two steps. The first is a guided workflow for deriving outcome variables. The second is a reduction of reward term selection to minimum-cost partial cover on a causal DAG, solved in polynomial time via max-flow. The third is a geometric framing of weight fitting as a convex feasibility problem iteratively narrowed by preference queries, solved by existing separation oracle methods. To the best of our knowledge, this is the first reward-design method that maintains a deterministically conflict-free feasible weight region, narrowed to a desired tolerance via a separation oracle with O(nlog⁡κ)O(n\log\kappa) preference queries.

1 Introduction

In reinforcement learning (RL) the design of a human-aligned reward function—one that faithfully reflects intended preferences over trajectories—is fundamental to obtaining policies that behave as desired, yet remains a process largely restricted to experts. Even with expert RL practitioners, reward functions are commonly derived through trial-and-error processes (Knox et al., 2023; Booth et al., 2023) and still fall victim to common pitfalls such as reward hacking, redundancy in reward terms, and mismatched preferences in behavior from those of humans (Knox et al., 2023).

We propose a framework (Figure 1) that takes as input a task described in natural language and produces a human-aligned linear reward function. The framework consists of three steps: (i) distill the task description into a set of fundamental objectives and derive measurable outcome variables that capture those fundamental objectives; (ii) select a causally representative, low-cost subset of outcome variables as the reward terms; and (iii) fit weights to those reward terms via preference elicitation.

Our contributions are the specification of these three steps in detail, including formalization of the last two steps. The first contribution (Section 3.1) is a guided workflow for distilling fundamental objectives from an initial task description and deriving measurable outcome variables from them. The second (Section 3.2) assumes that causal relationships between outcome variables are determinable and formalizes the selection of a low-cost, causally representative subset of these variables as a minimum-cost partial cover problem on a DAG, which we solve via reduction to max-flow. This turns a heuristically driven manual process with deduplication inefficiencies to a more formal, algorithmic approach that is optimal by design. The third contribution (Section 3.3) fits weights to the selected reward terms. Dulac-Arnold et al. (2019) consider multi-dimensional rewards to be one of the primary challenges in RL, particularly in how to balance tradeoffs between reward terms representing different objectives. We address this problem with an algorithmic approach that precisely queries how these tradeoffs should be made. Reframing the weight determination as a convex optimization problem in narrowing down a feasible weight space, we leverage an existing optimization method to analytically determine the best trajectory pairs to query. Such pairs correspond to a hyperplane that cuts the feasible region in half. Accordingly, our reframed approach inherits asymptotically optimal preference querying efficiency and likely-optimal runtime (Jiang et al., 2020).

Figure

Figure 1: An outline of our process with the colored diamonds as our contributions (sections 3.1, 3.2, and 3.3 respectively). The “preference elicitation” node has the caveat that it is dependent on an oracle which may be a human expert.