The social force model
The first serious attempt at pedestrian interaction predates deep learning and remains a useful reference point.
The social force model, introduced by Dirk Helbing and Peter Molnar in 1995, treats a pedestrian as a particle subject to forces. Three components suffice for the basic version.
An attractive force pulls toward the person's destination at their preferred walking speed. A repulsive force pushes away from other pedestrians, growing as they get closer. A further repulsive force pushes away from walls and obstacles.
Sum the forces, integrate, and trajectories emerge.
The model's achievement was showing that collective phenomena arise from simple local rules. Simulated crowds spontaneously form lanes in bidirectional corridors, and show oscillating flow at bottlenecks, both of which are observed in real crowds. Nobody programmed lane formation; it emerged.
Its limitations are equally clear. The force functions are hand-designed, with parameters requiring tuning per scenario. It is inherently reactive rather than anticipatory, responding to current positions rather than predicted ones. And real avoidance is not symmetric and physical: people negotiate, using gaze and small early adjustments.

