arXiv:2609.06654cs.AISep 2026

Manuscript Offprint

arXiv:2609.06654

A Computational Implementation of a Goal-Directed Theory of Affect

Bernhard Hilpert, Tamás Szűcs, Joost Broekens, Agnes Moors

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

1st1^{st} Bernhard Hilpert*

Leiden Institute of Advanced Computer Science

Leiden University

b.hilpert@liacs.leidenuniv.nl

2nd2^{nd} Tamás Szúcs*

Research Group of Quantitative Psychology and Individual Differences

KU Leuven

tamas.szucs@kuleuven.be

3rd3^{rd} Joost Broekens

Leiden Institute of Advanced Computer Science

Leiden University

joost.broekens@gmail.com

4th4^{th} Agnes Moors

Research Group of Quantitative Psychology and Individual Differences

KU Leuven

agnes.moors@kuleuven.be

Abstract—Computational modeling of emotion has long faced a tension between descriptive, "snapshot-based" appraisal models and granular, signal-driven architectures that often lack appropriate psychological grounding. This paper addresses this gap by presenting the first high-fidelity computational implementation of the Goal-Directed Theory (GDT) of affect. In this framework, affect is not a post-hoc label but a functional byproduct emerging from the continuous interplay between discrepancy detection and action selection within an agent's internal processing cycles. We evaluate the model through a series of principled simulations (Dice/Corridor tasks) designed to isolate affective signatures and dynamics during multi-step goal pursuit. Results demonstrate that complex affective profiles, like an anticipatory "lift" and a failure "crash", emerge naturally from simple interactions between goal-discrepancy and action-selection expectancies without requiring additional dedicated modules. By ensuring every computational component maps directly to components of the psychological theory, this work establishes a transparent, testable framework that enables a continuous "simulation-empiry" research loop. Our work contributes to moving the field beyond "black-box" heuristics toward a granular, mechanistic understanding of affect, integrated into the core of agent behavior.

Index Terms—Computational Affect Modeling, Affect Theory

I. INTRODUCTION

Affect is the positive or negative aspect of subjective experience that we associate with moods, emotions, and other mental states [1]–[4]. We conceptualize affect as a bipolar dimension, characterized by a direction (positive/negative) and an intensity (distance from the neutral midpoint). While many approaches to explaining the generation of affect exist (for a comparative overview, see [5]), a computational implementation requires a specific level of mechanistic granularity in order to reflect the underlying theory faithfully. From a computational perspective, formalizing, e.g., appraisal-theoretical predictions requires specifying the mapping between specific appraisal patterns and specific affective outcomes, which are not always described with the required mechanistic granularity [6]–[8]. By contrast, the goal-directed theory (GDT) of behavior and affect [5], [9] describes a generative mechanism that derives affective outputs from inputs according to a set of underlying principles and processing cycles that specify the computation of affect

from stimulus–goal discrepancies and expected utilities. The GDT thus offers a promising parsimonious account that understands affect as arising within multiple goal-directed cycles designed to generate behavior, described with a sufficient level of granularity in its mechanistic explanations making it a prime candidate for implementation in a computational framework.

Here, we present the first computational implementation of the GDT. We describe the model and the results of a simulation study demonstrating a number of features of the GDT computational model. This paper has two goals: 1) to provide a high-fidelity computational implementation of the GDT, translating the psychological theory into a simulatable computational model and 2) to simulate affective profiles that are comparable to human affect patterns in future experimental work, enabling an experimental loop between computational modeling and empirical validation.

References (30)