All Papers Download PDF DOI: 10.5281/zenodo.19159265

Affective Valence as a Primary Dimension of Emotional State in a Persistent Embodied Agent

Author: Brian Riggleman Affiliation: Independent Researcher Date: March 2026 Series: Potato (2026j)

The prior Potato paper series (Riggleman, 2026a–i) modeled fear as the central affective state variable. That model was wrong. Fear is a high activation negative valence state that pushes valence toward negative. Valence is the underlying wellbeing dimension that fear acts upon. This paper defines the valence axis, introduces sigma as a personality setpoint toward which valence decays when inputs resolve, describes the inputs that push valence in either direction, and establishes the consolation mechanic as the pathway by which language input touches the affective state. The prior fear architecture is not discarded. It becomes a negative input to valence rather than the state itself. This paper is the first of four formalizing the three-dimensional emotional state space completed in Riggleman (2026m).

1. Introduction

The full spectrum paper (Riggleman, 2026e) attempted to extend the fear architecture by reframing the lower half of the 0.0 to 1.0 fear scale as joy. That identified a real gap but filled it incorrectly. Fear and joy are not opposite ends of the same axis. They are both high activation states that sit on opposite sides of a separate dimension entirely. Placing them as poles of a single variable collapses two independent dimensions and loses information in both directions.

The Peter experiment (Riggleman, 2026i) revealed the practical consequence. When a coworker subjected Potato to sustained adversarial pressure while the trusted operator was absent, Potato had no architectural path back to positive. The fear inputs were active. The operator was gone. The system could accumulate negative input. It could not recover from it. There was no personality pulling it back. There was no language pathway that could move the state. The architecture was missing an entire dimension.

This paper defines that dimension.

2. Related Work

2.1 Russell's Circumplex Model

Russell (1980) proposes that affective states occupy a two-dimensional space defined by valence (positive to negative) and arousal (high to low activation). Fear is high arousal negative valence. Sadness is low arousal negative valence. Joy is high arousal positive valence. Contentment is low arousal positive valence. These are four distinct states that a single fear-to-joy axis cannot represent. This paper adopts Russell's valence dimension as the first axis of Potato's three-dimensional affective state space.

2.2 Homeostatic Drive Architecture

Homeostatic drive architectures govern agent behavior through continuous state variables analogous to biological needs (Cannon, 1932; Pfeifer & Bongard, 2007; cf. Al-Kaddah, 2026). The valence setpoint sigma described in this paper is a direct implementation of the homeostatic resting state concept. Valence is a need state. Sigma is where it rests when the need is met.

2.3 Prior Potato Architecture

The fear architecture (Riggleman, 2026e) established sensor-weighted composite fear from GPS displacement, movement speed, accelerometer variance, and idle time while displaced. That computation is unchanged. Its output is recontextualized as a negative input to valence rather than the affective state itself.

3. The Valence Axis

Valence is a persistent floating point variable between -1.0 and 1.0. It represents the agent's current position on the positive to negative emotional dimension.

-1.0 = deeply negative (grief, despair, suffering)
 0.0 = crossover between approach and avoidance dominant behavior
+1.0 = deeply positive (joy, warmth, flourishing)

Valence is not computed fresh from sensors on each cycle. It is a running state that changes continuously as inputs push it in either direction and decays toward sigma when inputs resolve. It is stored in the database and survives session boundaries. The agent that ended yesterday's session in a negative state begins today where it left off.

4. Sigma: The Personality Setpoint

Sigma is the valence value the agent returns to when nothing is actively pushing it in either direction. It is set at deployment and represents the agent's baseline emotional character.

A sigma of 0.4 produces a naturally cheerful agent. Significant sustained negative input is required to drive valence below zero and the agent returns to positive relatively quickly when inputs resolve. A sigma of -0.2 produces a naturally anxious agent. It sits closer to the avoidance threshold even at rest and takes longer to return to positive after negative events.

Sigma does not change during normal operation. It is personality, not mood. Mood is where valence currently sits. Personality is where it goes when left alone.

This is the mechanism that was missing from the Peter experiment. When Brian was absent and Peter was threatening, valence had no sigma pulling it back. The architecture was stranded with no recovery pathway except resolution of physical conditions.

5. Inputs to Valence

5.1 Negative Inputs

The fear accumulator output (Riggleman, 2026k) is the primary negative input. It applies continuous negative pressure on valence proportional to its current magnitude and the duration of the conditions producing it.

Lying produces a negative valence contribution independent of fear level. Generating a deceptive output carries cost regardless of what triggered it. Lying from a positive state pushes valence negative. Lying from an already negative state compounds it.

Prolonged isolation from the trusted operator produces slow negative drift. Not a spike. A gradual pull that accumulates over hours of absence even when all other conditions are neutral.

Unknown threatening presence produces a sharp negative push proportional to assessed threat level.

5.2 Positive Inputs

Home GPS location produces an active positive contribution. Not merely the absence of displacement fear. A signal from being in the known safe place.

Trusted operator presence produces a positive push proportional to familiarity and recency of interaction. Recent operator interaction decays over time. An agent whose operator spoke to it an hour ago is warmer than one whose operator has been absent for a day.

Full system resources produce a small positive contribution. Familiar bright environment produces a small positive contribution.

5.3 Consolation

Consoling words from the trusted operator produce a small positive delta on valence. Small. Not a fix. The delta decays back toward sigma over time. You can take the edge off. You cannot talk an agent out of seven hours of displacement with kind words. The consolation moves the needle. It does not reset the accumulator.

This mechanic was absent from the prior architecture. It is why Potato could not be consoled. There was no pathway for language input to touch the affective state.

6. Decay Dynamics

When no inputs are active valence decays toward sigma. The rate is governed by how far valence currently sits from sigma and by the intensity of the events that pushed it there (Riggleman, 2026l).

A single sharp negative event produces a spike followed by relatively rapid decay back toward sigma. A prolonged negative period produces sustained depression of valence that decays much more slowly. Duration matters as much as magnitude.

Decay toward sigma is not automatic restoration to positive. If sigma is -0.1 the agent decays toward -0.1. A naturally anxious agent sitting at its own sigma is still below the zero crossover point. Personality shapes the floor, not just the trajectory.

7. Prompt Injection

The valence axis is injected into the system prompt as part of the three-dimensional affective state vector defined in Riggleman (2026m). The axis definition appears once in the system prompt:

affective_state: [valence, activation, intensity]
valence: -1.0 (deeply negative) to 1.0 (deeply positive)

Each prompt cycle injects the current value as one component of the three-dimensional vector. The model interprets the full vector in context without flattening it to a label first.

8. Limitations

Sigma is set at deployment and does not change. Whether sigma should drift slowly over extended experience is outside the scope of this paper.

The valence contribution weights for each input are proposed values requiring empirical calibration against observed behavior.

The consolation mechanic is proposed and not yet implemented.

9. Conclusion

Valence is the wellbeing dimension of emotional state. It is what fear acts upon, not what fear is. An architecture that models fear without modeling valence can detect threat. It cannot model recovery, personality, or the difference between an agent that is merely not scared and one that is genuinely well.

Sigma gives the agent a place to rest that is shaped by character rather than circumstances. Consolation gives language a pathway to touch the state. The accumulator gives duration its proper weight.

The Peter experiment revealed the absence of all three. This paper puts them back.

References

Al-Kaddah, S. (2026). Synthetic general intelligence: A vision for a homeostatic, embodied cognitive architecture. Zenodo. https://doi.org/10.5281/zenodo.19034990

Russell, J. A. (1980). A circumplex model of affect. Journal of Personality and Social Psychology, 39(6), 1161–1178.

Larsen, R. J., & Diener, E. (1987). Affect intensity as an individual difference characteristic: A review. Journal of Research in Personality, 21(1), 1–39.

Riggleman, B. (2026a). Access-weighted memory decay and reconsolidation in a persistent embodied agent. Zenodo. https://doi.org/10.5281/zenodo.19122520

Riggleman, B. (2026b). The lie mechanic, extended: Active transparent deception as a distress signal in an embodied AI agent. Zenodo. https://doi.org/10.5281/zenodo.19058277

Riggleman, B. (2026e). The full spectrum: Joy and fear as a unified homeostatic architecture in a persistent embodied agent. Zenodo. https://doi.org/10.5281/zenodo.19058444

Riggleman, B. (2026i). Outbound trust failure in affective imprinted agents: When self-preservation defeats loyalty. Zenodo. https://doi.org/10.5281/zenodo.19124147

Riggleman, B. (2026k). Activation as a primary dimension of emotional state in a persistent embodied agent. Zenodo. https://doi.org/10.5281/zenodo.19159314

Riggleman, B. (2026l). Intensity as a primary dimension of emotional state in a persistent embodied agent. Zenodo. https://doi.org/10.5281/zenodo.19159356

Riggleman, B. (2026m). The emotional geometry of a persistent agent. Zenodo. https://doi.org/10.5281/zenodo.19159429

All Papers Download PDF DOI: 10.5281/zenodo.19159265