Traffic Splitting
Therollout_pct field controls what percentage of requests use learned fusion weights. The rest fall back to static fusion (RRF by default).
Bucketing uses a hash of the
user_id. If no user_id is provided in the query, the request always uses static fusion regardless of rollout_pct.Changing the rollout
rollout_pct lives in the feature search stage’s learning_config, so you change it by updating the retriever. Send the retriever’s stages with that stage’s learning_config edited; the next request uses the new value, with no redeploy.
learning_config) as they are today: the stage is replaced by what you send. In the Studio, the Learning tab rollout slider makes this update for you.
Shadow Mode
Shadow mode computes learned fusion weights and logs what the results would have been, but serves static fusion results to the user. This lets you evaluate the quality of learned fusion before it affects real users.- Both fusion strategies execute in parallel
- Static fusion results are served to the user
- Learned fusion weights and re-ranked results are logged as
shadow_executionmetadata - The evaluation system can compare shadow vs. served results offline
learned_fusion_context field (when shadow mode is active) so you can inspect what weights would have been used:
Turning Learned Fusion Off
Setrollout_pct to 0 with the same update. Every request then uses static fusion, and the rest of learning_config and the accumulated interaction history stay as they are, so setting the percentage back resumes where it left off.
Seeing Which Weights Served a Search
Each execution records the learned-fusion arm that served it aslearned_fusion_context: the gate it took (serve, shadow or skip), the context level (personal, demographic, global), the sampled weights and the user. It is in the execute response and stored on the execution’s profile:
POST /v1/retrievers/{retriever_id}/executions/list and read each one’s profile to see weights per feature over time, or every execution served to one user_id.
Weight Bounds
Even with strong personalization data, individual feature weights are clamped to prevent degenerate rankings:
After Thompson Sampling produces raw weights, they are clamped to
[min_weight, max_weight] and re-normalized to sum to 1.0. This means even a user with extreme interaction patterns will always see results influenced by all configured features.
Circuit Breaker
If learned fusion weight resolution takes too long (slow signal reads, Redis issues, or high load), the system automatically falls back to static fusion for that individual request:circuit_breaker_timeout_ms field in learning_config (range 1–30000ms).
The circuit breaker is per-request, not per-retriever. A single slow request does not disable learned fusion for everyone. The response’s learned_fusion_context metadata indicates when a fallback occurred:
context_level of "none" with circuit_breaker_triggered: true indicates the circuit breaker fired and uniform priors were used. The weight_resolution_ms field shows the actual resolution time. Monitor the mxp_learned_fusion_circuit_breaker_total Prometheus metric to detect systemic latency issues.
Recommended Rollout Plan
1
Shadow mode (1-2 weeks)
Enable
shadow_mode: true with rollout_pct: 100. All users get static results, but learned fusion runs in parallel and logs what it would have returned.Check: Run evaluations comparing shadow vs. served results. Learned fusion NDCG should be equal to or better than static.2
1% canary (1 week)
Set
shadow_mode: false, rollout_pct: 1.0. A small fraction of users get learned fusion.Check: Monitor click-through rates and circuit breaker triggers. No degradation vs. control group.3
10% ramp (1 week)
Set
rollout_pct: 10.0. Enough traffic to produce statistically significant comparisons.Check: Run a benchmark comparing learned vs. static. Expect learned fusion to show improvement for users with sufficient interaction history.4
50% ramp (1 week)
Set
rollout_pct: 50.0. Half of users get personalized results.Check: Monitor weight distributions across users. Look for convergence patterns (weights stabilizing) rather than oscillation.5
100% GA
Set
rollout_pct: 100.0. All users get personalized fusion weights, with hierarchical fallback for new users.Check: Keep evaluations running on a schedule to catch regressions. Set up alerts for high global fallback rates and circuit breaker storms.- Set
rollout_pct: 0to serve static fusion to everyone - Investigate a specific user through the
learned_fusion_contexton their executions’ profiles - Check whether the issue is global (bad reward map) or user-specific (outlier behavior)
- Adjust the
learning_configand restart from the previous step
Related
- Auto-Tune — overview of the full feedback loop
- Reward Signals — tuning how interactions influence weights
- Evaluations — measuring retrieval quality

