AI System DesignAI System Design FundamentalsModule 11 — Architecture contracts and integration
Reconciling Conflicting AI Model Outputs in Decision Support Systems
Question 28 of 47 · Updated
On this page
- 1. Define what counts as a conflict
- 2. Architecture and decision contract
- 3. Compare probabilities, not confidence labels
- 4. Quantify disagreement separately from predictive ambiguity
- 5. Choose a resolution strategy based on evidence
- 6. Reliability-aware aggregation and arbitration
- 7. Correlated errors and common-cause failures
- 8. Derive escalation from decision loss, not arbitrary confidence
- 9. Selective resolution, abstention and human capacity
- 10. Practical tested implementation: a bounded two-member arbiter
- 11. Provenance and independent deployment
- 12. Runtime and failure handling
- 13. Production evaluation: prove the arbiter adds value
- 14. Interview-ready answer
- References and research transparency
Do not choose the most confident model or average conflicting scores by default. First establish that the models estimate the same outcome for the same authorized subject and context. Then use a jointly evaluated reconciliation strategy that accounts for member reliability, shared failure modes and the cost of being wrong. Preserve disagreements, obtain additional evidence when worthwhile, and abstain or escalate if the evidence does not justify a decision. The resulting evidence is separate from the deterministic policy that authorizes and commits any action.
How would you reconcile conflicting outputs from independent models in a decision-support application?
ASD-087 | Module 11 — Architecture contracts and integration | Learning order 15. ASD-081 defines the prediction artifact; ASD-084 aligns independently refreshed estimates and their validity windows; ASD-006 separates predictive evidence from business authority. Here we focus on competing estimates of the same target and the decision-level arbitration contract. The published ML deep-ensemble lesson covers probability averaging and predictive uncertainty; the MLOps ensemble lesson covers model packaging, release coordination, compatibility and serving operations; the agent-conflict lesson covers checking competing factual claims against authoritative evidence. ASD-092 addresses conflicting authoritative numerical inputs before prediction, and the planned specialist-model ensemble training lesson addresses learning complementary members. Those lessons are prerequisites or follow-ons. This lesson adds case-level conflict disposition, reliability-conditioned arbitration, evidence acquisition, decision loss, selective coverage and review capacity. Numerical examples and thresholds are hypothetical; no models were trained or calibrated for this article.
1. Define what counts as a conflict#
Consider a factory inspection system. A visual model and a sensor model independently estimate whether a manufactured unit will fail a specified final inspection. They return 0.80 and 0.10. The product must help an operator decide whether to request additional inspection. A false assurance can be costly; excessive review can block production.
Before interpreting the numbers, identify the type of disagreement.
| Conflict | Example | Appropriate response |
|---|---|---|
| Semantic mismatch | Model A predicts cosmetic defect; B predicts functional failure | Different targets; do not pool |
| Context mismatch | Predictions refer to different units, process settings or inspection windows | Reconcile context or refresh |
| Representation mismatch | Probability versus uncalibrated anomaly score | Approved conversion or separate evidence types |
| Predictive disagreement | Comparable probabilities 0.80 versus 0.10 | Reliability-aware arbitration or further evidence |
| Evidence contradiction | A identifies a scratch; B claims no visible scratch | Verify source image and measurement |
| Policy disagreement | Model recommends release while mandatory hold applies | Deterministic hold wins; no model voting |
| Availability | One member abstains or times out | Apply separately validated degraded mode or abstain |
The first three are contract errors or different questions, not necessarily epistemic disagreement. Resolve them before statistical aggregation. A model estimating the probability of a failure conditional on standard inspection is not necessarily comparable to one predicting the result after an extra repair operation.
Define the target event, subject, label definition, observation cutoff, intended intervention/reference policy, unit, supported population and validity. Preserve exact model and calibrator versions. Independent ownership is an architectural property; statistical independence of errors is a much stronger assumption and must not be inferred from different teams, vendors, architectures or training seeds.
2. Architecture and decision contract#
The reconciliation service owns the evidence disposition, not the inspection result or permission to release products. The visual and sensor services own their outputs; the inspection system of record owns actual adjudicated observations. The decision owner defines the loss function, critical constraints, permitted additional measurements and review policy. A model cannot grant the arbiter new tools or modify its own reliability weight.
A practical response carries status (resolved, review_required, abstained, invalid or refresh_required), a prediction or candidate set when supported, disagreement measures, exact member identities, accepted/excluded evidence and reasons, target context, validity and reconciliation-policy version. A pooled number accompanying review_required is diagnostic evidence, not a resolved result. Include calibrated uncertainty only when the joint method has supporting evaluation. A newly obtained measurement may supersede the previous evidence bundle; it must not rewrite what the operator originally saw.
3. Compare probabilities, not confidence labels#
For binary classification let each approved model provide a probability of the same event. Calibration means that among appropriate cases receiving probabilities near p, approximately a fraction p experience the event. It is a property of a forecast procedure and deployment population, not proof of a particular case. A model can be calibrated in aggregate and poorly calibrated for one product line.
Use held-out reliability diagrams and proper scoring rules (Brier score, log loss) with representative mature labels. Evaluate by relevant slice and after distribution shifts. Raw logits, margins, anomaly scores, language-model self-reported confidence and the confidence of a generated explanation are not interchangeable probabilities. A normalized score is not automatically calibrated. Platt scaling, isotonic regression or other approved methods may map scores to a probability contract; their fitting and monitoring belong to the existing calibration lessons.
Even if every member is individually calibrated, an average is not necessarily calibrated. If a pooled result will drive expected-loss calculations, validate and, where appropriate, recalibrate the final reconciliation rule on independent data. Case selection matters: calibration among all tasks does not prove calibration among tasks where the arbiter chose to resolve rather than escalate. Evaluate the accepted subset too.
For multiclass probabilities, map named labels to the same canonical mutually exclusive and exhaustive ontology. Compare full distributions, not just top classes. For regression, align target and units; a mean and median are different statistics. A predictive interval is uncertainty about an outcome, not the uncertainty of a model's estimated parameter.
4. Quantify disagreement separately from predictive ambiguity#
Useful measures depend on the result type:
| Output | Disagreement measure | Interpretation |
|---|---|---|
| Binary probability | Maximum minus minimum, absolute pair difference | Simple case-level spread |
| Multiclass distribution | Total variation or Jensen–Shannon divergence | Distribution-level differences |
| Numeric forecasts | Absolute difference in domain units, standardized residual difference | Scale-aware conflict |
| Predictive intervals | Overlap and incompatible bounds | Diagnostic; not a hypothesis test by itself |
| Structured claims | Field-level or proposition-level contradictions | Requires evidence and semantic mapping |
For two binary forecasts 0.8 and 0.2, the equal-weight mean is 0.5 and the spread is 0.6. For two forecasts 0.5 and 0.5, the mean is also 0.5 but the spread is zero. These cases warrant different investigations. The first suggests conflicting evidence or model assumptions; the second indicates both models express ambiguity. Neither justifies a confident action.
For a finite mixture of categorical predictive distributions, with nonnegative normalized weights and mean probability vector , the entropy identity is:
H(p_bar) = sum_i w_i H(p_i)
+ sum_i w_i KL(p_i || p_bar)The first term measures average within-member predictive entropy; the second is weighted Jensen–Shannon divergence (between-member disagreement). With binary probabilities 0.8 and 0.2 and equal weights, the mixture entropy is ln(2) ≈ 0.6931 nats, average member entropy ≈ 0.5004 nats and disagreement ≈ 0.1927 nats. With both members at 0.5, mixture and average member entropy are both ≈ 0.6931, disagreement zero. Use the usual zero-probability convention in entropy. Calling these terms aleatoric and epistemic uncertainty requires additional assumptions about the model mixture; for independently engineered systems the decomposition is descriptive, not a verified posterior or a guarantee of real uncertainty. A shared blind spot can produce low disagreement and high confidence despite wrong predictions.
5. Choose a resolution strategy based on evidence#
| Strategy | Appropriate when | Failure mode |
|---|---|---|
| Fixed precedence | A verified measurement or designated authoritative source settles a factual question | Incorrect authority mapping or stale measurement |
| Weighted probability pooling | Comparable forecasts; jointly validated weights and final probability interpretation | Shared bias, miscalibration, masking extreme conflict |
| Learned stacking/gating | Sufficient matched representative data supports context-dependent selection | Leakage, sparse slices, overfitting and shifting member versions |
| Bounded evidence acquisition | A new independent measurement may change the decision | Extra latency/cost, repeated use of correlated evidence |
| Selective prediction | Risk on resolved cases is acceptable at a measured coverage | Excessive abstention or selective-label bias |
| Human adjudication | Consequential ambiguity remains and qualified review can help | Queue overload, automation bias, missing independent evidence |
A factual contradiction and a forecast disagreement require different treatment. If the authoritative measurement says a pressure reading is invalid, exclude that invalid observation rather than take a vote among derived models. If a visual model assigns 0.8 defect risk and a sensor model assigns 0.1 for a still-unobserved inspection result, no current database fact necessarily settles the probability. A deterministic test may produce new evidence, but only within its tested scope. An LLM judge can help map contradictory statements to sources, not establish calibrated numerical correctness by confidence or rhetoric.
Use a documented conflict-resolution hierarchy: validate contracts, rule out invalid or ineligible artifacts, check authoritative observations, select a jointly approved statistical profile, assess whether the remaining uncertainty permits a proposal, and otherwise obtain evidence or hold. Avoid discretionary tie-breaking by whichever service responds first.
6. Reliability-aware aggregation and arbitration#
A linear pool is p_pool = sum_i with >= 0 and sum_i = 1. It is a convex combination of forecast probabilities, not an independence-based Bayesian posterior. It can preserve the domain probability range while still being miscalibrated.
Illustrative inspection results:
| Case | Visual probability | Sensor probability | Pool (0.6/0.4) | Spread | Example disposition |
|---|---|---|---|---|---|
| Clear agreement | 0.80 | 0.90 | 0.84 | 0.10 | High-risk evidence |
| Strong conflict | 0.80 | 0.10 | 0.52 | 0.70 | Review |
| Ambiguity | 0.50 | 0.50 | 0.50 | 0.00 | Review |
| Low-risk agreement | 0.10 | 0.20 | 0.14 | 0.10 | Low-risk evidence |
An illustrative arbitration profile requests review when spread exceeds 0.25 or the pooled score lies in [0.35,0.65], otherwise emits high- or low-risk evidence. These thresholds are fixtures, not a statistically validated safety boundary. The high-risk result does not authorize disposal, and the low-risk result does not bypass required standard inspection.
Learn weights on matched out-of-sample member predictions, optimizing an agreed proper score or downstream cost under constraints. Compare simple equal weighting, strongest single member, fixed expert weights and learned gating on an untouched evaluation set. A meta-model can use approved context features (product type, sensor quality, lighting condition) and base outputs. Use out-of-fold or forward-chained predictions as appropriate to avoid leakage; the specialist ensemble lessons cover training in detail. This lesson's requirement is that the joint arbitration profile and its valid member combinations are explicit and evaluated.
A visual model may be reliable for surface defects with adequate illumination, and a sensor model may be better for internal flaws. If both predict the same final failure label, a validated context-conditioned gate might weight them differently. If they predict distinct defect types, do not average them: model the joint target explicitly (including overlap) or preserve two separate evidence types. Reliability weight is not an individual predicted probability, and global accuracy is not sufficient to estimate reliability in a specific slice.
Avoid dynamically renormalizing weights when a required model disappears. The resulting function is a different predictor with different calibration and risk. A visual-only fallback, if useful, needs its own validated eligibility and action scope. The fixture below conservatively requires both members.
7. Correlated errors and common-cause failures#
For regression or comparable unbiased error estimates with covariance matrix Sigma, the variance of a weighted average is w^T Sigma w. This shows why independent execution is not enough.
Suppose two duration predictors each have zero-mean error with standard deviation 10 seconds. With equal weighting, variance of the combined error is 50(1+rho) seconds squared:
| Error correlation rho | Combined standard deviation |
|---|---|
| 0 | 7.07 s |
| 0.5 | 8.66 s |
| 0.9 | 9.75 s |
| 1 | 10.00 s |
At correlation 0.9 the gain is small; averaging perfectly correlated errors provides no variance reduction. Shared systematic bias does not disappear by averaging. The formula assumes the stated finite covariance and target; actual error distributions may vary by context. For unbiased estimators with a nonsingular known covariance, unconstrained minimum-variance weights are proportional to Sigma inverse times a vector of ones, normalized by the sum. Negative or unstable weights may result; use appropriately constrained and regularized estimation and evaluate out of sample rather than apply this formula blindly. For biased estimators, optimize actual expected loss including bias.
For classification, evaluate joint residual/error indicators on the same labeled tasks, conditional error overlap, double-fault frequency and incremental benefit at relevant decision boundaries. Correlation is not a complete dependence model. Two models may agree correctly on common cases yet share catastrophic failures on a rare shift. Compare disjoint slices and common dependencies (same upstream sensor, data pipeline, labels, pretrained backbone, retrieved document, provider outage). Treat copies and lightly varied replicas as correlated evidence rather than independent votes.
A simple hypothetical joint error table for 1,000 paired inspections:
| Sensor correct | Sensor wrong | |
|---|---|---|
| Visual correct | 850 | 50 |
| Visual wrong | 50 | 50 |
Both have 90% accuracy. Their joint error frequency is 5%, compared with 1% under independent error indicators with 10% marginals. The error correlation is (0.05−0.01)/(0.1×0.9)≈0.444. A reviewer who assumes one model can always fix the other will miss 50 common failures even with perfect selection when they disagree. In binary classification, they agree in both the both-correct and both-wrong cells, so agreement is not proof. Evaluate agreement cases as well as flagged disagreement cases.
Never multiply individual posterior odds as though they were independent likelihood ratios. Even under conditionally independent observations, a Bayesian combination requires a shared prior and compatible likelihood semantics. Learned probabilities often already incorporate common priors and shared evidence. Use a validated joint model or a conservative alternative when dependence is unknown.
8. Derive escalation from decision loss, not arbitrary confidence#
Consider two permitted inspection choices: standard inspection and enhanced inspection. As a simplified illustrative model, standard inspection has expected incremental loss 100p monetary units and enhanced inspection has cost 15 plus residual expected loss 20p. This assumes the forecasts estimate the same reference event and the conditional cost model is valid. Enhanced inspection is preferred when 15+20p < 100p, or p > 0.1875. At p=0.52, the illustrative losses are 52 and 25.4. The lower expected loss is not automatically authorization: required review, capacity, safety checks and current product state remain mandatory.
If the pooled probability is unreliable for conflict cases, the calculation is not a valid decision certificate. Use a calibrated joint result, validated uncertainty bounds, or abstain. If a defensible interval for the risk parameter is [0.1,0.8], the preferred inspection changes within that range. That interval must be justified; the range of model probabilities is not automatically a calibrated risk interval.
Evidence acquisition can be treated as a value-of-information decision. For a separate toy decision, suppose current minimum expected loss is 30, and a permitted independent measurement would reduce expected remaining decision loss to 12 on average after accounting for its possible outcomes. If measurement costs 5 and delay costs 4, its expected net benefit is 30−12−5−4=9. Acquire it only when feasible and authorized. If the measurement merely repeats the same failed sensor reading, the assumed benefit may be false. Estimate information value from actual matched validation data, conditional on the conflict pattern.
Use a maximum number of evidence acquisitions, an end-to-end deadline and an explicit terminal fallback. Never create an endless model-versus-model debate or repeatedly ask a judge until it confirms a preferred answer. In high-consequence contexts, required independent inspection may be mandatory regardless of expected monetary loss.
9. Selective resolution, abstention and human capacity#
The loop is bounded by the acquisition budget and deadline. Reviewer findings become separate provenance-bearing evidence. They do not retroactively change the original model outputs. Human review is useful only if the reviewer has expertise, relevant evidence, authority and time. Show source quality, assumptions, conflicting values and the cost of candidate actions. Avoid anchoring the reviewer by presenting the preferred model's answer as fact. Record disagreement resolution and overrides with reasons; audit reviewer accuracy and consistency.
Measure selective risk = errors among automatically resolved cases / resolved cases, alongside coverage = resolved eligible tasks / all eligible offered tasks. Track total harmful outcomes, queue delay, abandonment, correct and incorrect abstentions, and actual human-review outcomes. A policy that resolves one easy case perfectly while abstaining on every other case is not necessarily useful.
Illustrative 10,000-case matched evaluation:
| Policy | Automatically resolved | Errors in resolved subset | Coverage | Selective error |
|---|---|---|---|---|
| Always pool | 10,000 | 600 | 100% | 6.0% |
| Moderate arbitration | 8,000 | 240 | 80% | 3.0% |
| Conservative arbitration | 5,000 | 75 | 50% | 1.5% |
The last policy has lower selective risk but requires handling 5,000 unresolved cases. Missing outcomes are not assumed correct. Plot risk–coverage and expected decision loss across thresholds on validation data, confirm the chosen policy on untouched data, and evaluate coverage across important subgroups and workload conditions. Conformal sets may support abstention under their stated assumptions but do not guarantee conditional per-case correctness or eliminate dependence between members.
If 120 inspection requests/min arrive and 20% are escalated, the review arrival rate is 24/min. Six reviewers averaging 20 seconds/case provide nominal aggregate service capacity 18/min (3/min each). Ideal backlog grows 6/min during sustained demand. At least nine equivalent reviewers would provide 27/min, but actual staffing needs headroom for variance, priorities, interruptions and quality. Alternatively improve acquisition, restrict offered scope or hold safely. Do not silently relax a risk threshold to make a review queue disappear. Monitor deadline and oldest-case age, and document the disposition when reviewers are unavailable.
10. Practical tested implementation: a bounded two-member arbiter#
The following standard-library Python fixture demonstrates a fixed, hypothetical approved pair of model releases, exact target/scope/snapshot matching, required members, expiry, probability validation, weighted pooling, gap-aware review, abstention and separate mandatory business holds. It emits evidence and proposals, not an actual inspection action.
PYTHONfrom dataclasses import dataclass, replace from math import isfinite, isclose @dataclass(frozen=True) class Forecast: release: str scope: str target: str snapshot: str valid_until: int probability: float | None # Illustrative approved joint profile, not learned or calibrated here. WEIGHTS = {'visual-r3': .6, 'sensor-r2': .4} TARGET = 'defect_at_final_inspection/v1' def reconcile(rows, *, scope, snapshot, now, review_available): members = {} for r in rows: if (r.release not in WEIGHTS or r.release in members or r.scope != scope or r.target != TARGET or r.snapshot != snapshot): return ('INVALID', None) if type(r.valid_until) is not int or now >= r.valid_until: return ('REFRESH', None) p = r.probability if p is not None and (type(p) not in (int, float) or not isfinite(p) or not 0 <= p <= 1): return ('INVALID', None) members[r.release] = p if members.keys() != WEIGHTS.keys() or any(p is None for p in members.values()): return ('REVIEW' if review_available else 'ABSTAIN', None) values = list(members.values()) pooled = sum(WEIGHTS[k] * members[k] for k in WEIGHTS) # A large gap or a result near the action boundary needs review. if max(values) - min(values) > .25 or .35 <= pooled <= .65: return ('REVIEW' if review_available else 'ABSTAIN', pooled) return ('HIGH_RISK_EVIDENCE' if pooled > .65 else 'LOW_RISK_EVIDENCE', pooled) def propose(result, *, authorized, mandatory_hold): if not authorized: return 'DENIED' if mandatory_hold: return 'HOLD' if result[0] == 'LOW_RISK_EVIDENCE': return 'PROPOSE_STANDARD_INSPECTION' return 'HOLD_FOR_REVIEW' a = Forecast('visual-r3', 'lot-a', TARGET, 'snapshot-7', 120, .8) b = Forecast('sensor-r2', 'lot-a', TARGET, 'snapshot-7', 120, .9) def run(rows=(a, b), now=100, review_available=True): return reconcile(rows, scope='lot-a', snapshot='snapshot-7', now=now, review_available=review_available) assert run()[0] == 'HIGH_RISK_EVIDENCE' assert isclose(run()[1], .84) assert run((b, a)) == run() low = run((replace(a, probability=.1), replace(b, probability=.2))) assert low[0] == 'LOW_RISK_EVIDENCE' assert run((a, replace(b, probability=.1)))[0] == 'REVIEW' assert run((a, replace(b, probability=.1)), review_available=False)[0] == 'ABSTAIN' assert run((replace(a, probability=.5), replace(b, probability=.5)))[0] == 'REVIEW' assert run((a,))[0] == 'REVIEW' assert run((a, replace(b, probability=None)))[0] == 'REVIEW' assert run((a, b, a))[0] == 'INVALID' assert run((a, replace(b, release='sensor-r3')))[0] == 'INVALID' assert run((a, replace(b, scope='lot-b')))[0] == 'INVALID' assert run((a, replace(b, target='different')))[0] == 'INVALID' assert run((a, replace(b, snapshot='snapshot-8')))[0] == 'INVALID' assert run(now=120)[0] == 'REFRESH' assert run((a, replace(b, probability=float('nan'))))[0] == 'INVALID' assert run((a, replace(b, probability=True)))[0] == 'INVALID' assert propose(low, authorized=True, mandatory_hold=False) == 'PROPOSE_STANDARD_INSPECTION' assert propose(low, authorized=True, mandatory_hold=True) == 'HOLD' assert propose(low, authorized=False, mandatory_hold=False) == 'DENIED' assert propose(run(), authorized=True, mandatory_hold=False) == 'HOLD_FOR_REVIEW' print('21 checks passed')
Executed locally using Python 3.13.5: 21 assertions passed. Tests cover pooled arithmetic, input-order invariance, low/high-risk agreement, high disagreement, missing and abstaining members, no reviewer, ambiguous agreement, duplicates, unexpected release, scope/target/snapshot mismatch, exclusive expiry, nonfinite and Boolean probabilities, and deterministic authorization and hold precedence.
This is deliberately not a trained or calibrated arbiter. The supplied probability, fixed weights, thresholds and trusted context are illustrative. The example treats the exact pair as required and returns no aggregate on missing members. Its diagnostic pool on review/abstain is not a usable decision probability. The code checks only an expiry and a snapshot identifier, not source observation ages, valid-from, current source revision, actual model identity or authentication. Production must use ASD-081 and ASD-084's verified contracts before reconciliation, independently enforce current resource authorization, and persist immutable prediction and policy identities. The fixture's fail-fast status can depend on arrival order for multiple simultaneous errors; a production diagnostic contract should collect or prioritize reasons deterministically. It does not acquire evidence, perform calibration, measure correlation, persist reviews, execute a business transaction or simulate distributed failures. A current mandatory hold always wins; a valid low-risk proposal is only a request for standard inspection, not a release authorization.
For n supplied predictions the validation and pooling use expected O(n) time and O(n) memory for the member dictionary (fixed at two valid members here). Runtime cost in a real system is dominated by model and evidence acquisition, not this arithmetic.
11. Provenance and independent deployment#
Persist an immutable reconciliation record containing the case/context and target contract, member prediction IDs and exact releases, calibration/feature and source lineage, validity, approved joint profile and version, actual member selection, weights or gate identity, disagreement measures, accepted and excluded evidence, reason codes, additional measurements and reviewer disposition. Link the resulting proposal and authoritative effect receipt separately. An unresolved case remains a real recorded outcome.
A member update changes the joint distribution of errors even if its standalone accuracy improves. Maintain a compatibility matrix of approved combinations (including separately evaluated degraded profiles), joint evaluation and supported target versions. Independent owners can deploy new versions, but the arbiter must not accidentally consume an untested combination through mutable aliases. The existing MLOps ensemble release lesson covers coordinated artifact promotion and rollback; here record the actual conflict policy with the member combination and review/acquisition limits. A revoked member release or source context invalidation may require a new reconciliation. Do not substitute later evidence under a previously approved proposal.
Protect provenance and reviewer access: use governed references rather than indiscriminately logging images, private source documents or prompts. Verify resource scope before sending evidence to another model or human. If using an evaluator model, untrusted generated explanations must not become executable instructions or override policy. Adversarially manipulated confidence or fabricated citations are integrity problems, not grounds for a higher weight.
12. Runtime and failure handling#
Parallel fan-out reduces sequential waiting but still depends on the slowest required response and shared-resource contention. Set a common case deadline, bound each member's timeout and retry budget, and assign a stable logical case ID. Correlate exact results to the same requested target. An arrival after the case deadline may be retained as historical evidence but must not silently restart a completed or cancelled case. If a valid new result changes the decision, publish an explicit superseding record.
For throughput planning, assume 100 cases/s, two required model attempts per case and a third measurement invoked on 15% of cases. That offers 215 attempts/s before retries, with different work/cost per attempt. At an illustrative $0.003, $0.005 and $0.02 per respective attempt, expected variable compute cost per offered case is $0.003+$0.005+0.15×$0.02=$0.011. Count review labor, failed attempts and resource reservations separately. Selective acquisition can reduce cost relative to always running the third stage, but only if it meets the required risk/coverage and deadline envelope.
| Incident | Disposition |
|---|---|
| One member times out | Approved missing-member profile or review/abstention |
| Shared source becomes invalid | Invalidate all affected member evidence; no majority rescue |
| New model uses changed target | Reject incompatible bundle |
| Conflict rate spikes after release | Slice by exact versions, source health and context; hold or revert to an approved profile |
| Models confidently agree during a shift | Use independent outcome and shift monitoring, not agreement as a safety signal |
| Review queue exceeds budget | Prioritize by policy, limit intake or safe hold |
| Reviewer disputes the output | Preserve original evidence; record adjudication and correction |
| Policy prohibits a proposed action | Enforce prohibition regardless of model agreement |
Use the existing event-contract, execution and dashboard lessons for reliable transport, refresh and display rather than build a separate distributed protocol for every model.
13. Production evaluation: prove the arbiter adds value#
Compare the best single model, naive equal-weight pool, approved reliability-aware combination and selective arbiter on identical mature target labels. Include relevant subgroup slices, difficult disagreement cases and apparently confident agreement cases. Keep model fitting, calibrator/weight fitting, threshold selection and final confirmation separated by appropriate grouped or temporal splits. Evaluate on untouched workloads and shifts, using paired uncertainty estimates with appropriate sampling units.
| Measure | What it establishes |
|---|---|
| Member and reconciled Brier/log loss | Probabilistic quality on common labeled cases |
| Calibration by relevant slice and accepted subset | Reliability of probability-based decisions |
| Disagreement rate and distribution | Change in relationship among model outputs |
| Conditional error on agreement and conflict | Whether disagreement actually predicts risk |
| Error overlap and double faults | Common-cause failure exposure |
| Risk–coverage and decision loss | Effectiveness of selective arbitration |
| Review completion, delay and accuracy | Whether escalation is operationally viable |
| Actual harmful outcomes and required control failures | Product-level safety and policy correctness |
| Cost per useful task and end-to-end deadlines | Economic/operational viability |
Disagreement rate alone has no universally desirable direction. It can rise because a new specialist catches genuine failures, or because one member degrades. It can fall because accuracy improves, or because both models inherit the same bad source. Track agreement and disagreement against outcomes with label maturity and appropriate uncertainty. If labels come mostly from escalated cases, evaluate a governed representative sample of non-escalated cases too; otherwise selective labels hide common confident errors. Where an intervention changes the outcome, preserve the actual intervention and target definition and use appropriate causal evaluation rather than interpreting observed outcomes as labels for an unperformed alternative.
Acceptance tests include semantic mismatch, wrong scope, stale and missing members, conflicting versions, malformed probabilities, adversarial inputs, high-confidence common failures, conditional reliability shifts, review overload, additional-measurement timeouts, and independent enforcement of mandatory holds. Test full service latency, resource isolation, effect safety and release recovery separately. A synthetic fixture cannot establish risk thresholds, empirical calibration or actual production availability.
14. Interview-ready answer#
I would first distinguish incompatible outputs from genuine disagreement: align the target, subject, context, units, validity and probability semantics. I would preserve the individual artifacts and measure case-level disagreement separately from predictive uncertainty. For comparable predictions I would choose an approved reliability-aware combination or gate evaluated on matched independent holdout data, accounting for correlated errors and final calibration rather than assuming independence.
I would use the decision loss and mandatory constraints to define when the evidence is adequate. If not, I would seek a bounded, genuinely informative measurement or qualified human review, and abstain safely when resolution is not supported. The reconciled record would retain exact member releases, source lineage, aggregation policy, reasons and validity. I would independently enforce current authorization and business invariants before any effect. Finally I would evaluate selective risk and coverage, error overlap, critical slices, reviewer capacity, deadline and cost, and revalidate the entire arbitration profile when a member or data distribution changes.
Agreement is not correctness, disagreement is not automatically failure, and a reconciled estimate is not authority. A production decision-support system must make uncertainty and unresolved conflicts explicit.
References and research transparency#
Authorized offline research exception applied. The references identify established statistical research, official documentation and risk guidance; live contents, link availability and the Supabase changelog were not verified. Two Mermaid diagrams use standard triple-backtick fences and were structurally reviewed; parser execution and frontend rendering were not tested. The exact Python block was executed locally on Python 3.13.5 with 21 checks passing. No model training, real calibration, statistical evaluation, network service, security test or production workload was run. All worked scenarios and thresholds are hypothetical.
- Guo et al. — On Calibration of Modern Neural Networks
- Lakshminarayanan et al. — Simple and Scalable Predictive Uncertainty Estimation using Deep Ensembles
- Gneiting and Raftery — Strictly Proper Scoring Rules, Prediction, and Estimation
- Ranjan and Gneiting — Combining Probability Forecasts
- Wolpert — Stacked Generalization80023-1)
- Geifman and El-Yaniv — Selective Classification for Deep Neural Networks
- Ovadia et al. — Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shift
- Angelopoulos and Bates — A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification
- scikit-learn — Ensemble methods
- scikit-learn — Probability calibration
- NIST — AI Risk Management Framework 1.0
- W3C — PROV Data Model
References
- 1.Guo et al. — On Calibration of Modern Neural Networksproceedings.mlr.press
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.scikit-learn — Ensemble methodsscikit-learn.org
- 10.scikit-learn — Probability calibrationscikit-learn.org
- 11.
- 12.W3C — PROV Data Modelw3.org
Related questions
Explore other topics:Forward Deployed EngineeringMachine LearningMLOpsPython