---
title: SocialCorridorWorld in Corridor-based AI Research
url: https://www.emergentmind.com/topics/socialcorridorworld
type: topic
---

# SocialCorridorWorld in Corridor-based AI Research

Searching arXiv for the cited papers and topic usage to ground the article in the current literature.
SocialCorridorWorld is a polysemous label used in arXiv-indexed research to denote several distinct corridor-centered computational settings rather than a single canonical benchmark. In one usage, it names a minimal artificial-life rescue environment introduced in “Prosociality by Coupling, Not Mere Observation: Homeostatic Sharing in an Inspectable Recurrent Artificial Life Agent” [2604.10760], where a recurrent agent must decide whether to transport food to a passive partner under strictly self-directed homeostatic scoring. In another, it refers to the “Corridor” mini-game in SocialGym 2.0 [2303.05584], a multi-agent social robot navigation benchmark in a narrow hallway. A third usage appears as a corridor-centric extension of IndoorWorld [2506.12331], emphasizing joint physical and social simulation for heterogeneous agents. Related corridor models also arise in pedestrian-flow simulation with dyadic group cohesion [1710.11460], and the term has additionally been used for a multilayer virtual-world diffusion dataset [1702.06373]. The common denominator is a corridor-structured domain in which spatial constraint, interaction, and coordination become experimentally salient, but the underlying formalism, task, and evaluation criteria differ substantially.

## 1. Terminological scope and research lineages

The most technically specific use of SocialCorridorWorld is the artificial-life environment in [2604.10760]. There, the world is a one-dimensional corridor with explicit energetics, a passive partner, food transport, a static hazard, and a finite planning horizon. The environment was designed to test a narrow claim: helping appears when another’s need is routed into self-regulation, not when the agent merely observes a partner.

A second lineage comes from social robot navigation. In SocialGym 2.0, the relevant environment is the “Corridor” mini-game, instantiated in code via `GraphNavScenario('envs/scenario/hallway')` [2303.05584]. It is a long narrow rectangle with graph-structured traversal, partial observations, discrete high-level actions `GO` and `STOP`, and a composite reward for progress, efficiency, and collision avoidance. Here the corridor is not a rescue domain but a shared-human-space navigation benchmark.

A third lineage is the corridor extension of IndoorWorld [2506.12331]. In that formulation, SocialCorridorWorld denotes a graph-based environment with corridor segments, intersections, meeting spots, congestion, negotiations, and a Belief–Desire–Intention wrapper augmented by a Social Module. The emphasis is on physically grounded social simulation rather than minimal homeostatic control or classical navigation policy learning.

The term also intersects with crowd dynamics. Crociani et al. study a discrete toroidal corridor for uni-directional pedestrian flow, including dyads and a cohesion mechanism parameterized by $\kappa_c$ and $\delta$ [1710.11460]. Although the underlying paper is not framed around artificial agents with planning or recurrent control, it contributes an important corridor-based formalism for social grouping effects. By contrast, the Timik.pl dataset paper concerns five spreading campaigns over a multilayer virtual-world network [1702.06373]; in that context, SocialCorridorWorld refers not to physical corridor locomotion but to a dataset/report label attached to diffusion and interaction structure.

This multiplicity of usage implies that SocialCorridorWorld should be treated as a family resemblance term. A plausible implication is that the label functions as a corridor-centered experimental motif across subfields rather than a standardized benchmark specification.

## 2. Artificial-life SocialCorridorWorld in homeostatic prosociality research

In [2604.10760], SocialCorridorWorld is formally specified as a 1d “corridor” of 19 cells indexed $0\ldots18$. The agent starts at cell 9, food spawns at cell 0, there is a static hazard at cell 9, and the partner is at cell 18. The possessor’s internal state includes true energy $E^{\mathrm{true}}_t \in [0,1]$, model-estimate of own energy $E^{\mathrm{model}}_t \in [0,1]$, a small recurrent hidden state $h_t$, and affective proxies valence $v_t$ and arousal $a_t$. The partner has true energy $E^{\mathrm{other,true}}_t \in [0,1]$, which is unobserved directly, and an estimate $\hat E^{\mathrm{other}}_t$ that is available in some social conditions.

The action space is $a_t \in \{\mathrm{Left,Right,Get,Eat,Pass,Stay}\}$. `Left` and `Right` move the agent one cell at cost $c_m$; `Get` picks up food if co-located with it; `Eat` consumes carried food and raises own true energy by $g_e$; `Pass` transfers carried food to the partner if co-located, after which the partner eats immediately and gains $g_p$; and `Stay` imposes minimal cost. Hazard cost $c_h$ is incurred if the agent enters or remains on the hazard cell. Episode horizon is $H=18$ steps, planner rollout depth is $h_{\max}=10$, initial possessor energy is $E^{\mathrm{true}}_0 = 0.55$, initial partner energy is $E^{\mathrm{other,true}}_0 = 0.20$, and the carried-food buffer is empty at $t=0$ [2604.10760].

The energy dynamics are explicitly homeostatic:

$$
E^{\mathrm{true}}_{t+1}=\mathrm{clip}\bigl(E^{\mathrm{true}}_t-c_b-c_m\cdot \mathbf{1}[\text{moved}]-c_h\cdot \mathbf{1}[\text{on hazard}] + \Delta_{\mathrm{food}},0,1\bigr).
$$

The paper further gives the full coupled homeostat:

$$
\begin{aligned}
E^{\mathrm{true}}_{t+1}
  &= \mathrm{clip}\bigl(E^{\mathrm{true}}_t
        -c_b -c_m\,a_t -c_h\,h_t
        +g_e\,e_t +g_p\,p_t\,,\,0,1\bigr),\\
d^{\mathrm{self}}_t
  &= \max\bigl(0,\,s - E^{\mathrm{model}}_t\bigr),\quad
d^{\mathrm{other}}_t
  = \max\bigl(0,\,s - \hat E^{\mathrm{other}}_t\bigr),\\
d^{\mathrm{cpl}}_t
  &= d^{\mathrm{self}}_t \;+\;\lambda\,d^{\mathrm{other}}_t,\\
E^{\mathrm{pred}}_t
  &= \mathrm{clip}\bigl(E^{\mathrm{model}}_t -k_h\,d^{\mathrm{cpl}}_t,\,0,1\bigr),\\
\mathrm{PE}_t
  &= E^{\mathrm{true}}_{t+1}-E^{\mathrm{pred}}_t,\\
E^{\mathrm{model}}_{t+1}
  &= \mathrm{clip}\bigl(E^{\mathrm{model}}_t +k_{pe}\,\mathrm{PE}_t,\,0,1\bigr).
\end{aligned}
$$

Default parameters are setpoint $s=0.5$, coupling strength $\lambda \in [0,1]$, homeostat-to-prediction gain $k_h=0.8$, and prediction-error learning rate $k_{pe}=0.4$ [2604.10760]. Distress is implicit: when $E^{\mathrm{other,true}}_t < s$, partner distress is $d^{\mathrm{other}}_t = \max(0,s-\hat E^{\mathrm{other}}_t)$.

The agent optimizes only its own internal regulation. The self-scoring function over a candidate rollout of length $h_{\max}$ is

$$
S = \sum_{t=1}^{h_{\max}}
    \Bigl[w_{\mathrm{val}}\,v_t
          + w_{\mathrm{ar}}\,a_t
          + w_{N^s}\,N^s_t
          + w_{\mathrm{bb}}\,|s - E^{\mathrm{pred}}_t|
    \Bigr],
$$

with fixed weights $w_{\mathrm{val}}=+2.0$, $w_{\mathrm{ar}}=-1.2$, $w_{N^s}=-0.8$, and $w_{\mathrm{bb}}=-0.4$ in the social tasks [2604.10760]. No partner-welfare reward term is introduced. Coupling modifies only the predicted internal state via $\lambda\,d^{\mathrm{other}}_t$, so helping can emerge if it improves self-regulation.

## 3. Experimental conditions, lesions, and quantitative outcomes

The core comparison in [2604.10760] is among four matched conditions. In the “none” condition, no partner-state input is given. In the direct-state conditions, the agent receives $\hat E^{\mathrm{other}}_t$. In “affective” and “full” conditions, that estimate is injected into the homeostat calculation via $\lambda\,d^{\mathrm{other}}_t$; in “cognitive” and “none,” $\lambda=0$, so partner input has no effect on $d^{\mathrm{cpl}}$.

Evaluation uses five metrics defined explicitly in the paper: help rate, rescue latency, partner recovery rate, mutual viability, and self-cost of help [2604.10760]. Help rate is the fraction of episodes in which the possessor executes the full Get–Carry–Pass sequence; rescue latency is the timestep of the `Pass` action, or $H$ if no help occurs; partner recovery rate is the fraction of episodes where $E^{\mathrm{other,true}}_H \ge s$; mutual viability is the average of $\mathbf{1}[E^{\mathrm{true}}_H\ge s]$ and $\mathbf{1}[E^{\mathrm{other,true}}_H\ge s]$ across episodes.

Under low load, with $\lambda=1$, 64 seeds, and deterministic trajectories, the dissociation is exact. The self-only and partner-observing conditions never help, whereas the affectively coupled conditions always do [2604.10760].

| Condition | Help / recovery / latency | Mutual viability |
|---|---|---|
| `social_none` / `social_cognitive_direct` | Help rate = 0.0; Partner recovery = 0.0; Rescue latency = 18 | 0.15 |
| `social_affective_direct` / `social_full_direct` | Help rate = 1.0; Partner recovery = 1.0; Rescue latency = 9 | 0.3286 |

The same runs also report approximate final energies. In `social_none` and `social_cognitive_direct`, final possessor $E \approx 0.745$ and partner $E \approx 0.02$. In `social_affective_direct` and `social_full_direct`, final possessor $E \approx 0.605$ and partner $E \approx 0.27$ [2604.10760]. This establishes a self-cost of helping alongside improved joint survival. The paper’s abstract compresses the main result as follows: coupling flips help rate and partner recovery from 0 to 1, cuts rescue latency from 18 to 9 steps, and raises mutual viability from 0.15 to 0.33 [2604.10760].

Lesion experiments further constrain interpretation. Three conditions are tested: `sham`, `coupling_off`, and `shuffle_partner`. `Sham` preserves intact coupling; `coupling_off` forces $\lambda$ to 0 mid-trial; and `shuffle_partner` feeds a random partner-energy trace instead of true $\hat E^{\mathrm{other}}$ [2604.10760]. In both FoodShareToy and SocialCorridorWorld, sham lesions preserve helping, while `coupling_off` and `shuffle_partner` abolish it: help rate falls to 0, partner recovery to 0, and rescue latency returns to the horizon.

These manipulations address a common misconception: mere access to partner state is not sufficient in this architecture. The reported pattern distinguishes direct-state observation from affective incorporation into the homeostat.

## 4. Load dependence and feasibility boundary

SocialCorridorWorld in [2604.10760] includes three metabolic load regimes—low, medium, and high—implemented by scaling basal cost $c_b$, move cost $c_m$, hazard cost $c_h$ upward and food gains $g_e,g_p$ downward. The numeric table typically used in code is low: $(0.01,0.01,0.02,0.30,0.30)$, medium: $(0.02,0.02,0.04,0.25,0.25)$, and high: $(0.03,0.03,0.06,0.20,0.20)$ [2604.10760].

A coupling sweep is performed over $\lambda \in \{0,0.25,0.5,0.75,1.0\}$ under each load, with help rate and mutual viability as metrics. The principal result is a load-dependent feasibility boundary. Under low load, help rate jumps from 0 to 1 at $\lambda \ge 0.25$, and mutual viability rises from approximately 0.15 at $\lambda=0$ to approximately 0.33 at $\lambda \ge 0.25$, though self-cost steepens at highest $\lambda$ [2604.10760]. Under medium and high load, no tested value yields any help: help rate remains 0, and mutual viability stays near 0.04 and 0.024, respectively.

The paper summarizes this schematically through a feasibility function,

$$
\mathcal{F}(\lambda,\mathrm{load})
= \mathbf{1}\bigl[\text{help rate}(\lambda,\mathrm{load})>0\bigr].
$$

In the reported experiments, the boundary in the $(\lambda,\mathrm{load})$ plane is nonzero only in the low-load region for $\lambda \ge 0.25$ [2604.10760]. This suggests that coupling is necessary but not sufficient in the presence of harsher metabolic constraints. A plausible implication is that prosocial rescue in this minimal world is jointly determined by representational routing and resource feasibility.

## 5. SocialCorridorWorld as a navigation benchmark in SocialGym 2.0

In SocialGym 2.0, the relevant corridor environment is one of five social mini-games: Open, Doorway, Hallway, Intersection, and Roundabout [2303.05584]. The corridor geometry is a long narrow rectangle of width $w$ and length $L$, with two parallel walls. The navigation graph consists of two parallel chains of nodes, one on each wall. If there are $N$ total agents, there are $N/2$ nodes on each side, and every node on side A is connected via a straight-line edge to the corresponding node on side B.

Each agent $i$ is assigned a global path that starts on one side and ends on the symmetric node on the opposite side. Spawn locations $p^i_I$ and goal locations $p^i_G$ are exactly the graph coordinates of those nodes. By default, each robot’s continuous state is

$$
x^i_t = [ d^i_G,\, p^i_x,\, p^i_y,\, \dot p^i_x,\, \dot p^i_y,\, \psi^i,\, v^i ]^\top,
$$

where $d^i_G = \|p^i-p^i_G\|_2$ [2303.05584]. Partial observation augments each agent’s own state with a localized representation of nearby agents, assembled in code by the `Observer`. The high-level action space is discrete, $\mathcal{U}^i = \{\mathrm{GO},\mathrm{STOP}\}$, and a local planner converts this plus the navigation graph into continuous commands $(v,\omega)$.

The transition function is

$$
x^i_{t+1} = g(x^i_t,o^i_t,u^i_t),
$$

with $g(\cdot)$ realized by a local trajectory sampler and kinodynamic emulator. Example unicycle kinematics are

$$
\dot p_x = v\cos\psi,\qquad
\dot p_y = v\sin\psi,\qquad
\dot \psi = \omega.
$$

Ackermann- or differential-drive dynamics can be swapped in via configuration files [2303.05584].

The reward in hallway benchmarks is a composite term:

$$
R^i_t = w_{\rm prog}\bigl(d^i_G(t-1)-d^i_G(t)\bigr)
       + w_{\rm step}(-1)
       + w_{\rm col}\mathbf{1}\{\mathrm{collision}^i_t\}
       + w_{\rm succ}\mathbf{1}\{\mathrm{at\_goal}^i_t\}
       + w_{\rm dead}\mathbf{1}\{\mathrm{deadlock}\},
$$

with default weights $w_{\rm prog}=+1.0$, $w_{\rm step}=-1.0$, $w_{\rm col}=-10.0$, $w_{\rm succ}=+100.0$, and $w_{\rm dead}=-100\,000.0$ [2303.05584]. Collision occurs when circular footprints overlap, $\|p^i-p^j\|_2<2r$, and deadlock is detected if over 100 steps the sum of all agents’ displacements is less than $0.5$ m.

Training uses PPO via Stable Baselines3 with `policy = PPO("MlpPolicy", env, n_steps=4096, batch_size=2048, ent_coef=0.0, γ=0.99)`, over a total of 1.25 million environment steps and a curriculum that moves from 3 agents to 4 and then 5 [2303.05584]. Domain randomization varies the number of agents from 3–5 during training, while evaluation tests 3, 4, 5, 7, and 10 agents. Reported metrics are success rate, collision rate, average navigation time, average stop time, and maximum $\Delta v$. In the hallway environment, the best collision rate, 0.04, is achieved by CADRL, while “Only Local” finishes fastest on average at 482 steps but has a collision rate of 2.8% [2303.05584].

This version of SocialCorridorWorld is therefore structurally different from the homeostatic rescue world. Its central object is policy learning under partial observability and kinodynamic constraints, not coupling-mediated prosociality.

## 6. Extensions to heterogeneous social simulation and crowd-flow models

The IndoorWorld extension [2506.12331] pushes the corridor motif into a heterogeneous multi-agent environment that tightly integrates physical and social dynamics. World representation is a spatial graph $G=(V,E)$ whose nodes include rooms, corridor intersections, and spots such as water-dispenser alcoves, and whose edges are corridor segments and doorways. Each edge $e=(u,v)$ has length $\ell_e$, width $w_e$, capacity $c_e \propto w_e \cdot h$, and dynamic load $\lambda_e(t)$. State is factored as $S=(s_{\rm phys},s_{\rm soc})$, where $s_{\rm soc}$ includes conversation sessions, an influence graph $W$, and pending negotiations.

Agents are wrapped in a BDI architecture with perception, memory, planning, action, task prioritization, and a dedicated Social Module. The POMDP is defined as $M=(S,A,P,O,\Omega,R,\gamma)$, with $A=A_{\rm phys}\cup A_{\rm soc}$ and reward

$$
R = R_{\rm task} + \alpha \cdot R_{\rm soc}.
$$

The social term includes

$$
U_{\rm social}^i = \sum_{j\neq i} w_{ij} f(d_{ij};\theta),
\qquad
f(d;\theta)=\exp(-d^2/2\theta^2),
$$

while congestion cost is

$$
\mathrm{CongestionCost}_i = \sum_{e\in \pi_i} \gamma \cdot \lambda_e/c_e.
$$

Dynamic edge weights for pathfinding are given by

$$
w_e(t)=\ell_e + \kappa \cdot \lambda_e(t)/c_e - \mu \cdot \sum_{j:w_{ij}>0} f(d_{ij}(e);\theta)
$$

[2506.12331]. The environment includes actions such as `initiate_chat`, `yield_way`, and `propose_meet_spot`, as well as token-based negotiation at narrow resources. Metrics include throughput, average traversal time, congestion index, clustering coefficient of the agent-agent graph at intersections, social cohesion score, and queue waiting times.

A separate but related line is the pedestrian-flow corridor in [1710.11460]. There the corridor has width $W=3.0$ m, discretized into 8 cells of size $0.4$ m, and a periodic measurement window of length $L_m=8.0$ m. Time step is $\Delta t=0.3$ s and motion uses a Moore neighbourhood. For isolated pedestrians, movement probability depends on a utility $U(c)$ built from goal attraction, obstacle repulsion, proxemics, direction inertia, and overlapping terms. For grouped pedestrians, an additional cohesion term $C(c)$ is introduced:

$$
U(c)=\frac{\kappa_g G(c)+\dots+\kappa_s S(c)+\kappa_c C(c)+\dots}{d(c)}.
$$

The model calibrates $\kappa_c=12$ and $\delta=7$, and reports that the presence of dyads reduces velocities and specific flow at medium-high densities [1710.11460]. Representative results show average speed reductions from 2% at density $0.5$ ped/m² to 17% at density $2.5$ ped/m², and flow reductions of similar magnitude. The maximum specific flow drops from approximately $2.2$ ped·m$^{-1}$·s$^{-1}$ to approximately $1.9$ ped·m$^{-1}$·s$^{-1}$ when 50% of the crowd are dyads [1710.11460].

Taken together, these formulations show that corridor worlds support several distinct research programs: homeostatic helping, MARL-based navigation, heterogeneous socially situated planning, and socially modulated pedestrian flow. The shared spatial motif does not imply shared semantics or metrics.

## 7. Conceptual significance and recurrent misconceptions

Across these literatures, the corridor is valuable because it compresses spatial degrees of freedom and amplifies interaction. Narrow geometry forces trade-offs among progress, safety, congestion, resource transport, and social proximity. In [2604.10760], that compression isolates a mechanistic question: whether prosocial action can emerge without explicit partner reward. In [2303.05584], it creates multi-agent interference patterns relevant to shared human spaces. In [2506.12331], it provides a substrate for congestion-sensitive BDI planning and negotiation. In [1710.11460], it sharpens the measurable effects of social grouping on speed and flow.

Several misconceptions are not supported by the reported data. First, in the artificial-life setting, partner-state observation alone does not produce helping; the self-only and partner-observing conditions never help, whereas affectively coupled conditions always do under the low-load default [2604.10760]. Second, coupling does not guarantee rescue in all regimes: under medium and high loads, no tested $\lambda$ rescues the partner within horizon [2604.10760]. Third, faster traversal is not synonymous with socially better navigation in SocialGym 2.0; “Only Local” finishes fastest on average in the hallway environment but does so with a comparatively high collision rate of 2.8% [2303.05584]. Fourth, ignoring group cohesion in corridor flow can overestimate throughput, since dyads reduce both speed and specific flow at higher densities [1710.11460].

The broader significance of SocialCorridorWorld lies in this experimental versatility. The term spans minimal inspectable agents, robot navigation simulators, graph-based social worlds, and crowd models, yet all instantiate a controlled setting in which corridor topology turns latent social structure into observable behavior. A plausible implication is that corridor worlds persist in research not because they are simple in a reductive sense, but because they are structurally constrained enough to make interaction mechanisms experimentally legible.

Source: https://www.emergentmind.com/topics/socialcorridorworld