What Is an Upper Layer Actually Worth? Decomposing the Benefit of a Hierarchical Reflex Agent into Sensing, Warning, and Immunity
Hierarchical agent architectures — a resource-constrained reactive controller on a device paired with a more capable upper layer — are a default pattern in edge intelligence, yet the source of the upper layer's benefit is rarely isolated. We study this question in a controlled survival environment where a lower-layer agent must both avoid mechanically distinct predators and perform a task whose reward is accrued exclusively when the agent remains stationary adjacent to a sampling target, mirroring an IoT device that must dwell to obtain a valid measurement. An upper layer observes the same neighbourhood at a configurable radius and supplies advice over a budgeted communication channel. Across paired experiments in simulation (thousands of episodes per sweep on the current five-predator world, plus a larger earlier study on a reduced predator set) and a physical Bluetooth Low Energy deployment on an ESP32-S3, we find that the upper layer's dominant contribution is preemptive sensing and warning, whereas the symbolic policy advice channel yields zero measurable survival benefit; its only demonstrable role is reducing communication demand. We identify three information boundaries governing when such a layer helps or harms: a bandwidth boundary, a contact boundary, and a conservatism boundary. We also find that hazard *combinations* are non-linearly lethal — two individually survivable mechanisms can jointly remove every available behaviour, collapsing survival by a factor of eight — so the composition of hazards, not their individual difficulty, sets the achievable strategy space. We further show that behaviour-branching advice fails under multiple independent rescue attempts, while damage immunity — not better evasion — is the effective adaptation. Because survival and task reward are weakly correlated, the fitness objective, rather than the algorithm, determines which mechanisms are optimal. We formalize these findings as propositions with explicitly stated strengths, distinguishing information-theoretic results that transfer beyond our world from empirical laws tied to its parameters. A minimal integer-only C99 implementation of the lower-layer controller matches the reference on 50,000 randomized cases and runs on an ESP32-S3 over Bluetooth Low Energy, where a 50-trial round trip gives P50 = 120 ms and a packet-loss sweep routes 0/5/18/32/50% of decisions to the local conservative default at 0/5/15/30/50% loss. The outcome is a deployment criterion table: invest in sensing first, immunity second, and symbolic policy advice only as a communication optimization.
Authors
- weizhi wen (ORCID: https://orcid.org/0009-0005-1374-7693)
Institutions
- Guangdong Baiyun University (CN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24739822
- Primary Topic
- IoT and Edge/Fog Computing
- Type
- preprint