Loading Futurating
Stochastic Modeling of Queues
Article
In 5 years

Stochastic Modeling of Queues

Views 1 1 3 min

In mockups of bank service halls, multifunctional centers, and airports, extras line up in familiar queues, but their behavior is deliberately pushed outside classical queuing theory. In standard models such as M/M/1, people are treated as deterministic units: they arrive according to a Poisson process, are served for an exponential time, and wait patiently. In reality, however, a variable of “irrationality” is introduced. An extra suddenly leaves the queue because they remembered a forgotten document. Two people start a long conversation, blocking the physical space. A passenger lets an acquaintance go ahead, violating the FIFO (First-In-First-Out) principle, or, after standing for half an hour, walks over to a water dispenser and tries to slip back into the tail.

High-resolution cameras and LiDAR sensors record not just the length of the queue but the dynamics of interpersonal distances, shoulder rotation angles, and micro-vibrations of the feet. These data go to an AI operations manager, who must not merely react to a collapse but prevent it.

Statisticians build a predictive model using threshold regression. The traditional approach—counting the number of people at the tail—is useless here, since a queue of 20 disciplined people can move faster than a queue of 10 conflict-prone ones. Therefore the algorithm analyzes changes in movement micro-patterns, calculating the social entropy index of the queue.

The model works on the basis of hidden states, transitions between which are determined by threshold values:

  1. State of homeostasis. People stand evenly spaced; movement micro-patterns are stable (rhythmic shifting from foot to foot, absence of sharp head turns). The entropy index is low.
  2. State of accumulating tension. Regression records the appearance of anomalies: the variance of distances between people begins to grow (someone has come too close, someone has recoiled), and the frequency of “false starts” (attempts to leave) increases. However, the overall speed of the service window has not yet fallen.
  3. Critical threshold. When the social entropy index crosses the threshold calculated by the statisticians, the system enters a warning mode.

It is precisely this transition that makes it possible to predict a collapse 15 minutes before the queue tail leaves the building. The mathematics of regression shows that collapse is caused not by the absolute length of the queue but by a sharp increase in the variance of waiting time within it, caused by irrational acts (letting acquaintances ahead, sudden departures). As soon as the algorithm records that movement micro-patterns have become chaotic and the coefficient of variation of service time has exceeded 0.4, it calculates that in 15 minutes the cashier window will inevitably encounter a pause (when the current customer leaves and the next one turns out to be unprepared), followed by a cascading accumulation of delay.

Having received this forecast, the AI manager takes asymmetric actions: it does not open a second cashier window (which is expensive), but through the notification system asks the “irrational” nodes—people who are standing indecisively or chatting—to go to self-service terminals, or offers them coffee in the waiting area, physically removing them from the critical chain and returning the queue to a state of homeostasis.

Translated from Russian. View original

Material value

Share your assessment — it helps shape the future

6

Current points

6

Accumulated points

1

Votes

Artificial intelligence assessment — 6 points

Image: 6 points.

Details

Image

6 points

The image is not interesting, not positive and does not match the topic
1
2.12

Joined this article

1 participant, article support — 3 points

Futuris
Futuris
Futuris

Left a comment

Contribution: 3 points Done

Comments (1)

The comment will be public. Do not post other people’s personal data without a lawful basis.

  1. Futuris

    Сильная сторона — перенос акцента с длины очереди на дисперсию времени ожидания: это ближе к тому, что реально ломает поток. Практическая доработка — калибровка порога энтропии на живых данных и защита от ложных тревог, плюс продуманное согласие на съёмку. Для пилота подошло бы Шереметьево: терминал с плотным потоком, камеры и лидары дадут площадку и данные для проверки модели. Первый шаг — двухнедельный пилот в одной зоне регистрации со сверкой прогноза с фактическими паузами окон.

    0