cμ: fixed scores
Fixed parameters → fixed scores.
Actions still depend on queue availability and capacity.
Inference does not need the true arrival rates λ, service rates μ, or holding costs h.QFM schedules from the visible network structure, resource capacities, and feedback on queue lengths, past actions, time, and cost. One set of weights serves different tasks.
Two lines share three service pools. Parcels leaving Q6 return to Q1 at P0 for the next stage.
Serving one queue can push jobs into a more congested, more expensive downstream stage. Fixed priorities and state-dependent pressure capture different parts of this trade-off.
Fixed parameters → fixed scores.
Actions still depend on queue availability and capacity.
Backlog − downstream pressure (R: routing).
Drift-based; not universally cost-optimal.
Fifteen tasks the model never saw in training: new loads, new fluctuations, new connections, larger networks. Pick one to compare QFM with five classical rules.
Most networks here are new. 21 of the 35 network structures in the unseen-task set never appear in training. Cases tagged New topology use one of them.
Why does QFM change where the backlog waits? Explore the cost-structure cases →
QFM treats every queue, resource pool, and connection as an entity. It exchanges information over the topology, distills experience over time, and outputs a service allocation that satisfies the constraints.
The model sees the network and what has happened so far, not the true parameters.
The model looks at the network and its recent history together.
One set of weights for every task; every action satisfies the constraints.
QFM against five classical rules on every task. The rules are given the true parameters; QFM is not.
1.0 = the best of the five rules on each task.
| Method | Arithmetic mean cost ratio ↓ | Within 5% of best | Tasks |
|---|
Swap Q3 and Q6’s costs.
Keep the network and model fixed.
| Model | All tasks276 tasks | No queue-to-queue transfers72 tasks | With queue-to-queue transfers204 tasks | MaxPressure advantage ≥5%31 tasks |
|---|---|---|---|---|
| STGraph | 1.22774 | 1.24132 | 1.22294 | 1.53451 |
| Transformer | 1.33753 | 1.25143 | 1.36792 | 1.64071 |
| GRU | 1.37580 | 1.20300 | 1.43678 | 2.03752 |
All three models have approximately matched parameter counts (~9.6M each; Transformer and GRU are within 0.1% of STGraph). All models use offline training only, without DAgger. Transformer and GRU receive the full queue, resource and history feature set, including topology features (routing summaries and service connections), but do not use graph layers to model topology connections.
| Model | All tasks276 tasks | No queue-to-queue transfers72 tasks | With queue-to-queue transfers204 tasks | MaxPressure advantage ≥5%31 tasks |
|---|---|---|---|---|
| STGraph | 1.19311 | 1.33220 | 1.14402 | 1.22144 |
| Transformer | 1.33311 | 1.11028 | 1.41176 | 2.45216 |
| GRU | 2.11770 | 1.15333 | 2.45807 | 9.07551 |
Matched model size (~9.6M parameters). Offline training only, without DAgger.
QFM explores a transferable way to schedule: instead of hand-writing a policy for each network, one shared model decides from structure and experience.