# Learning Social Robot Navigation By Sensing Human Legs

Robotics.world

> Most mobile robots sense their surroundings with 2D LiDAR mounted between 10 and 20 cm above the ground, so at that height the sensor intercepts only the lower legs of nearby people — typically two…

**arXiv**: 2607.27922 · Preprint · not peer-reviewed

**Published**: 2026-07-30

**Authors**: Alberto Vaglio, Andrea Garulli, Antonio Giannitrapani, Renato Quartullo, Tommaso Van Der Meer

## In plain words

Most mobile robots sense their surroundings with 2D LiDAR mounted between 10 and 20 cm above the ground, so at that height the sensor intercepts only the lower legs of nearby people — typically two small, independently moving clusters per pedestrian — yet most learning-based navigation methods still model humans as simple circles.

## AI summary

## Overview

**Research area:** Social robot navigation — deep reinforcement learning for mobile robots navigating among pedestrians using 2D LiDAR.

**Technical level:** Advanced (assumes familiarity with reinforcement learning, CNNs, and attention mechanisms).

**Scope:** The paper proposes a leg-aware simulation environment (LegNav) with a gait model (NSG), an end-to-end policy network (CALF), and validates the resulting policy in simulation and via zero-shot deployment on a TurtleBot 4.

## What This Paper Is About

Most mobile robots sense their surroundings with 2D LiDAR mounted between 10 and 20 cm above the ground, so at that height the sensor intercepts only the lower legs of nearby people — typically two small, independently moving clusters per pedestrian — yet most learning-based navigation methods still model humans as simple circles. The authors argue this mismatch between simulated pedestrians (discs) and real sensor returns (alternating legs, plus a shoe that protrudes 20–30 cm forward from the ankle and sits below the scan plane, invisible to the LiDAR) is a key obstacle to sim-to-real transfer. Their goal is to build a simulator and a policy network that both respect this leg-level sensing geometry, so that a socially compliant navigation policy trained purely in simulation transfers directly to a real robot.

## Key Contributions

1. **CALF (Convolutional Attention for Leg Features):** a hybrid end-to-end architecture combining 1D convolutional layers, multi-head temporal self-attention, and an MLP that maps stacked raw 2D LiDAR scans plus a global state vector directly to linear and angular velocity commands, with no explicit pedestrian detection, tracking, or trajectory prediction.
2. **The Non-Slip Gait (NSG) model:** a pedestrian gait model in which each person is represented by two alternately moving feet with rectangular shoe footprints, individually ray-traced by the simulated LiDAR, avoiding the "foot skating" artifact of sinusoidal leg animations.
3. **LegNav:** a custom lightweight 2D social navigation simulator, written in JAX, combining LiDAR ray tracing, the Headed Social Force Model for body dynamics, and the NSG model, capable of running thousands of parallel environments and training a deployment-ready policy in under an hour on a single consumer GPU.
4. **Explicit social compliance:** a yielding behavior (the robot stops and waits when a person is in close proximity) embedded directly into the reward function through a frontal yield zone, together with a new **Yielding Score** metric for evaluating adherence to that behavior.

## Main Findings

- **Benchmark performance:** The end-to-end CALF policies "perform well" compared to both RL-based and classical social navigation baselines in a benchmark covering navigation efficiency, safety, kinematic smoothness, and social compliance. Specific numerical results are not reported in the supplied text.
- **Real-world transfer:** The best trained policy was deployed zero-shot on a physical TurtleBot 4 and produced smooth, socially compliant trajectories in human-populated indoor environments.
- **Training efficiency:** Thanks to the JAX implementation, LegNav trains a deployment-ready CALF policy in under an hour on a single consumer GPU while running thousands of parallel environments.
- **Three RL algorithms compared:** PPO, SAC, and TQC were all used to train CALF; the paper motivates all three (stability for PPO, sample efficiency and entropy-driven exploration for SAC, reduced overestimation bias via distributional critics for TQC) but the ranking among them is not stated in the available content.
- **Sensor realism matters:** The simulated LiDAR applies Gaussian range noise and corrupts 6% of rays with salt-and-pepper noise (half forced to maximum range, half to zero), and separately ray-traces each foot, so the policy sees two small moving clusters per pedestrian as a real ankle-height sensor would.

## Methodology in Plain English

**Simulating the right thing.** The authors built a 2D top-down simulator in which each pedestrian's body follows the Headed Social Force Model — a physics-style model where people are attracted toward goals and pushed apart by others and by walls, with a torque that turns the body toward the direction of net force. On top of that body trajectory sits the NSG gait model: the walk cycle is a phase variable that advances at a cadence proportional to walking speed, bounded so that people do not step absurdly slowly when nearly stationary or speed up their stepping indefinitely when fast. At each half-cycle the corresponding foot plants and its anchor position is fixed; during swing, the foot linearly interpolates from that anchor toward a target that is continuously recomputed from the *current* body center, so the foot keeps up with turns and speed changes instead of landing in a stale spot. Foot yaw is frozen during stance and follows the body heading during swing. Each shoe is a rectangle used for collision checking, and each leg is a small disc at the shoe heel that the simulated LiDAR actually detects.

**Observations and actions.** The robot is a differential-drive disc commanded with linear velocity (non-negative, up to a maximum) and angular velocity (symmetric bounds). Its observation bundles three things: a stack of recent goal vectors (goal position in the robot frame plus goal alignment angle), a five-element kinematic vector (current linear and angular velocity, maximum linear velocity, distance to goal, global heading), and a stack of recent LiDAR scans. Stacking consecutive frames is the trick that lets the network infer pedestrian velocity without any tracker.

**Network.** Each LiDAR frame in the stack is passed independently through the same three-layer 1D convolutional encoder with stride greater than one, so deeper layers see progressively wider sectors of the scan; each frame is then flattened into a 64-dimensional token. A single-layer, four-head self-attention module mixes information across the frame stack, letting different heads specialize (for example, one on fast-moving pedestrians, another on static boundaries or ego-motion). The goal and kinematic vectors skip the perception trunk entirely, are concatenated with the attention output, and pass through a two-layer MLP to form a shared embedding feeding the actor and critic heads. Training-time actions are sampled from a Gaussian and squashed with tanh to respect the bounds; PPO uses a learned observation-independent standard deviation, while SAC and TQC output an observation-dependent one.

**Reward design.** The reward sums a progress term (reduction in goal distance), a constant per-step penalty, a smoothness penalty on angular-velocity changes, a speed bonus scaled by forward velocity, a heading term rewarding forward motion only when aligned with the goal, and a comfort term penalizing intrusion into a personal-space radius with the penalty amplified by speed. A separate yield term defines a frontal sector of radius *d*_yield and field-of-view angle *ψ*_FOV; when pedestrians enter it, an urgency scalar measures how deeply the closest one has penetrated the zone, and the robot is rewarded for slowing.

## Why This Matters

**Impact on research.** The paper targets a concrete and often overlooked sim-to-real discrepancy: the geometric mismatch between disc-shaped simulated humans and the two-leg point clusters a real ankle-height 2D LiDAR returns. It offers an open-source simulator and trained policies (github.com/otr-ebla/LegNav-Sim), which makes leg-level pedestrian modeling reproducible for other groups. By embedding yielding explicitly in the reward instead of hoping social norms emerge, it also contributes a way to specify — and measure, via the Yielding Score — social conventions rather than leaving them to chance.

**Real-world applications:**

- Service and delivery robots in offices, hospitals, and hotels, where most platforms carry low-mounted 2D LiDAR.
- Mobile manipulators and AGVs moving through warehouses and factory floors shared with human workers.
- Museum, airport, and retail guidance robots that must yield politely to people crossing their path.
- Last-meter indoor navigation for logistics robots entering crowded lobbies or corridors.

**Industry relevance.** Because the approach relies on a sensor configuration that is already standard on commercial mobile bases and trains in under an hour on a single consumer GPU, it lowers the barrier to iterating on navigation policies without a large compute budget or an expensive perception stack. The claim of zero-shot transfer to a TurtleBot 4 is particularly relevant for companies that want to avoid lengthy on-robot fine-tuning.

## Future Directions

- **Quantitative head-to-head results:** the paper reports benchmark comparisons qualitatively in the available text; detailed per-metric breakdowns across CALF variants (PPO, SAC, TQC) and baselines, and the relative merit of each RL algorithm, would sharpen the conclusions.
- **Extending the gait model:** increasing pedestrian diversity (body sizes, walking styles, groups, and unusual behaviors) and testing whether the NSG assumptions — constant hip width, symmetric half-cycles, no slipping — hold for crowded or atypical motion.
- **Broader real-world validation:** scaling beyond a single TurtleBot 4 deployment to more environments, more people, and denser crowds, and quantifying how much of the sim-to-real success is attributable to the leg model versus the network architecture.
- **Sensor and platform generalization:** testing with different LiDAR heights, ray counts, fields of view, and non-differential-drive kinematics, plus whether the max-linear-velocity input in the observation vector truly yields a policy that is agnostic to robot speed limits as intended.

## Target Audience

Robotics researchers and graduate students working on social navigation, sim-to-real transfer, and deep reinforcement learning for mobile robots; engineers building navigation stacks on 2D LiDAR platforms such as the TurtleBot 4; and practitioners interested in pedestrian simulation models or in enforcing social norms through reward design rather than emergent behavior. Some prior exposure to actor-critic RL and convolutional/attention architectures is needed to follow the methodology sections, though the problem framing and motivation are accessible to a broader robotics audience.

## Authors’ abstract

Robots navigating among pedestrians typically sense their surroundings with a 2D LiDAR mounted close to the ground. At that height, the sensor mostly sees moving legs rather than whole people, yet most learning-based navigation methods still treat pedestrians as simple shapes like circles. This paper addresses that gap with CALF (Convolutional Attention for Leg Features), an end-to-end neural architecture that combines convolutional layers, attention, and MLP to interpret…

[The full abstract on arXiv](https://arxiv.org/abs/2607.27922)

[Read the original paper](https://arxiv.org/abs/2607.27922)

## Related papers

- [End-to-End Safe Social Navigation via Multi-Task Reinforcement Learning and Probabilistic Perception](https://robotics.world/paper/end-to-end-safe-social-navigation-via-multi-task-reinforcement-learning-2610.05733) 2026-10-05 · cs.RO · Also by Alberto Vaglio, Andrea Garulli +3
- [SocioGesture: Real-Time and Adaptive Social Gesture Perception for Human-Robot Interaction](https://robotics.world/paper/sociogesture-real-time-and-adaptive-social-gesture-perception-for-human-2609.04545) 2026-09-03 · cs.RO · Key terms of the title in common
- [NaViRrator: Robot Navigation from Human-Readable Maps through a Learned Visual Route](https://robotics.world/paper/navirrator-robot-navigation-from-human-readable-maps-through-a-learned-2609.21316) 2026-09-18 · cs.RO · Key terms of the title in common
- [SoGuDiff: Socially Guided Diffusion for Steerable, Norm-Grounded Robot Navigation](https://robotics.world/paper/sogudiff-socially-guided-diffusion-for-steerable-norm-grounded-robot-2609.30560) 2026-09-24 · cs.RO · Key terms of the title in common
- [STARS: From Spatiotemporal Dynamics to Social Representations in Human-Robot Interaction](https://robotics.world/paper/stars-from-spatiotemporal-dynamics-to-social-representations-in-human-2609.40245) 2026-09-30 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/learning-social-robot-navigation-by-sensing-human-legs-2607.27922
