Why an Adaptive Decision Needs an Audit Record
In a fixed-allocation trial, the assignment probabilities are generally specified before enrollment and do not change in response to accumulating outcomes. In an adaptive trial, an update may change those probabilities or the set of available arms. Reconstructing what happened therefore requires more than a plot of allocation over calendar time: the record must connect the information available at that moment to the rule applied and the probabilities actually used.
An audit record serves two related purposes. First, it allows an independent reviewer to reproduce a decision from the data and rule in force at the update. Second, it lets the trial team identify operational discrepancies, such as a data extract taken before the declared cutoff or a probability vector that does not match the approved algorithm. An audit record does not itself establish that the model or adaptation rule is scientifically appropriate. It makes the implemented decision traceable.
The trial protocol and operational plan should specify when updates occur, which observations are eligible for each analysis, how pending outcomes are handled, the rule for calculating probabilities, and any conditions for removing an arm. The audit documents a particular application of those specifications; it should not silently create or alter them. If a planned procedure changes, the change and its authorization need their own traceable record.
What Each Update Should Preserve
A useful record is structured so that another analyst can follow the decision from inputs to implementation. At a minimum, capture the following items for every update:
- Update identity and timing: a unique update number, the analysis timestamp and time zone, the prespecified data cutoff, and the time the allocation probabilities became effective.
- Data state: the data-extract version or identifier; the patients and arms included; endpoint status at cutoff; counts of observed, pending, excluded, and withdrawn patients; and any prespecified eligibility or censoring rules applied.
- Model and posterior state: the model specification and version, prior specification, data supplied to the model, and the posterior summaries required by the rule. State the arm-specific denominators and units as well as estimates, so summaries can be interpreted and checked.
- Rule inputs and decisions: all quantities passed to the allocation rule, any thresholds or constraints invoked, the resulting arm-status decisions, and a clear reason for each decision according to the prespecified rule.
- Allocation output and implementation: the full probability vector, its arm order, any rounding or minimum-probability adjustment, the effective start time, and confirmation of how the randomization system received the vector.
- Reproducibility details: code and configuration versions, software environment, and, where applicable, the random-number-generation details needed to replay the computation. Protect access to any seed or other sensitive information according to the trial’s security procedures.
The cutoff deserves particular care. It is a time boundary, not just a label such as “week 8.” The record should make clear which data were available by that boundary and which were eligible for the update. For time-to-event outcomes or delayed responses, patients may be enrolled but not yet have an outcome available. The audit should preserve those statuses rather than make an incomplete outcome look like a nonresponse or omit the patient without explanation. That distinction can affect both posterior calculations and the interpretation of the next allocation probabilities.
Posterior summaries should be sufficient to check the rule’s inputs, but storing summaries alone is usually not sufficient to reproduce the analysis. Preserve the underlying analysis dataset or a controlled reference to it, plus the model and code versions. Record the posterior quantities actually consumed by the rule, not only a polished summary added later. If a rule uses a posterior mean, a probability, and a cap, each of those values and the resulting transformation should be visible.
From Data Cutoff to Effective Probabilities
Consider a simple illustration with binary response. Suppose each arm \(i\) has response probability \(p_i\), with independent prior distributions \(p_i\sim\operatorname{Beta}(1,1)\). If the cutoff includes \(r_i\) responses among \(n_i\) patients with evaluable outcomes, the posterior is \(p_i\mid\text{data}\sim\operatorname{Beta}(1+r_i,1+n_i-r_i)\). This model and its assumptions are used here only to make an audit calculation explicit; a real trial must record its own prespecified model.
For illustration, suppose the allocation rule first computes posterior means, forms weights proportional to those means, then mixes those weights with equal allocation. With \(K\) active arms, define the raw weight \(v_i=E(p_i\mid\text{data})/\sum_j E(p_j\mid\text{data})\), and the final probability \(q_i=0.20/K+0.80v_i\). The rule is fully specified only when the active-arm set, the constants, the order of operations, and any rounding behavior are also known.
Worked Example: Reconstructing a Two-Arm Update
A hypothetical update uses the data cutoff recorded as 12:00 UTC on day 50. At that cutoff, arm A has 8 responses among 20 evaluable patients, and arm B has 5 responses among 20 evaluable patients. Assume the independent \(\operatorname{Beta}(1,1)\) priors and the two-arm allocation rule just defined. No arm-removal criterion is met.
For arm A, the posterior is \(\operatorname{Beta}(9,13)\), with mean \(9/(9+13)=9/22=0.4091\). For arm B, it is \(\operatorname{Beta}(6,16)\), with mean \(6/(6+16)=6/22=0.2727\). The posterior mean is a probability, so it is unitless; the audit should nevertheless identify it as a response probability and retain the underlying counts.
The means sum to \(0.6818\) (using unrounded values), giving raw weights \(v_A=0.4091/0.6818=0.6000\) and \(v_B=0.2727/0.6818=0.4000\). With two active arms, the equal-allocation component is \(0.20/2=0.10\) per arm. Thus \(q_A=0.10+0.80(0.6000)=0.5800\) and \(q_B=0.10+0.80(0.4000)=0.4200\). They sum to 1.000.
An adequate audit entry would include the cutoff, the data version, the two response/evaluable counts, the posterior distributions or sufficient model output, posterior means, rule constants, active arms, raw weights, final probabilities, and effective time. It should also show that the randomization system received A: 0.5800 and B: 0.4200. Those are probabilities for assignments under the implemented rule, not a promise that 58% and 42% of the next patients will actually be assigned to the arms.
For randomized implementation, the probability vector does not determine the realized assignment sequence on its own. The audit should therefore record the vector sent to the system and confirm its effective time, while the randomization system separately retains the assignment events and the probability applicable to each event. Where replaying a random draw is appropriate and permitted, record the relevant algorithm and protected random-state information. Do not expose confidential randomization details in a way that undermines trial conduct.
Delayed Outcomes and Arm Decisions
A cutoff record must distinguish the enrollment state from the endpoint state. For example, a patient may have entered an arm before the cutoff but still have a pending response assessment. The audit should record whether the rule uses only evaluable responses, a time-to-event model with partial follow-up, or another prespecified treatment of incomplete information. It should also preserve counts of pending outcomes so a reviewer can see why the analysis denominator differs from the enrolled count.
Worked Example: Checking a Cutoff With Pending Responses
At a hypothetical cutoff, arm A has 16 enrolled patients: 6 responses and 6 nonresponses are evaluable, while 4 response assessments are pending. Arm B has 12 enrolled patients: 3 responses and 5 nonresponses are evaluable, while 4 are pending. The prespecified rule uses evaluable binary outcomes only, with independent \(\operatorname{Beta}(1,1)\) priors and the same two-arm allocation rule.
For A, the analysis denominator is \(6+6=12\), not 16. Its posterior is \(\operatorname{Beta}(7,7)\), and its posterior mean is \(7/14=0.5000\). For B, the denominator is \(3+5=8\), not 12. Its posterior is \(\operatorname{Beta}(4,6)\), and its posterior mean is \(4/10=0.4000\). The audit must list the four pending assessments on each arm, rather than treating them as failures.
The raw weights are \(v_A=0.5000/(0.5000+0.4000)=0.5556\) and \(v_B=0.4444\). Therefore \(q_A=0.10+0.80(0.5556)=0.5444\), and \(q_B=0.10+0.80(0.4444)=0.4556\). The probabilities sum to 1.0000 after rounding. A reviewer can now check both the endpoint-status rule and the arithmetic leading to the submitted vector.
Arm decisions should be recorded with the rule inputs and the decision itself, not just as a changed arm list in the final allocation file. Suppose, for illustration, a protocol specifies that an arm can be removed only after at least 20 evaluable outcomes and when the posterior probability that its response rate is below 0.10 exceeds 0.95. The record should show the evaluable count, the posterior distribution, the calculated probability, the threshold, whether the minimum information condition was satisfied, and the resulting decision.
Worked Example: Recording an Arm-Removal Rule
In a hypothetical three-arm platform, arm C has 0 responses among 40 evaluable patients at the cutoff. Assume a \(\operatorname{Beta}(1,1)\) prior and the arm-removal rule just stated. The posterior for \(p_C\) is \(\operatorname{Beta}(1,41)\). For this beta distribution, the probability that \(p_C<0.10\) is its cumulative distribution at 0.10:
The arm has 40 evaluable outcomes, exceeding the minimum of 20, and \(0.9867>0.95\). Under this hypothetical rule, the removal condition is met. The audit entry should preserve both checks and state the effective time of removal. It should also identify the active arms and show the allocation calculation after removal; probabilities calculated using the former three-arm set must not be presented as the new vector.
For instance, if A and B remain active and their posterior means at that same cutoff are 0.4091 and 0.2727, respectively, the two-arm rule gives raw weights 0.6000 and 0.4000, then final probabilities 0.5800 and 0.4200. The record should distinguish this post-removal vector from any vector used before the removal became effective.
Independent Checks, Failure Modes, and Alternatives
An audit is strongest when it can be checked independently rather than merely read as a narrative. A second analyst or a controlled software check should verify that the cutoff and data version agree; that the reported counts match the eligible records; that posterior summaries follow from the recorded model and data; that all rule thresholds and constraints were applied in the stated order; and that final probabilities are valid and match the values transmitted to the randomization system. For a probability vector, each component must be between 0 and 1 and the components must sum to 1 within the documented numerical tolerance.
Common failure modes include using a data extract later than the declared cutoff, silently counting pending outcomes as nonresponses, recording rounded posterior summaries that are insufficient to reproduce a threshold decision, changing an arm list without documenting when the change took effect, or storing a probability vector without its arm order. A further warning sign is a mismatch between the approved rule version and the code or configuration used. Each discrepancy should be investigated and resolved through a traceable correction; the original entry should not simply be overwritten.
A brief narrative memo can explain an unusual operational event, but it is not a substitute for structured inputs and outputs. Conversely, a machine-readable log can support exact checking but may not explain a data correction or authorized deviation in understandable terms. A robust approach uses both: a structured, versioned record for replay and a concise explanation for exceptions. Another choice is whether updates occur at scheduled cutoffs or event-driven triggers. Either can be auditable if the trigger, effective time, eligible data state, and rule are recorded consistently; the choice itself belongs in the trial’s prespecified operational plan.
The limits matter. A perfectly reproducible update can still rely on a misspecified model, an unsuitable prior, poor data quality, or a rule with undesirable operating characteristics. The audit establishes what information and procedure produced a decision, not that the decision was optimal or that the treatment caused an outcome. Model assessment and design evaluation are separate tasks. The practical value of a good record is that it makes those tasks possible without guessing what happened at a particular update.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions below.
- Why is an update timestamp alone not a sufficient description of the data cutoff?
- A patient is enrolled before a cutoff but has a pending response assessment. What should the audit record say if the rule uses evaluable outcomes only?
- In a two-arm update, the recorded probabilities are 0.63 and 0.42. What basic check fails, and what should be investigated?
- Why must an arm-removal record include the effective time and the post-removal probability vector?
- What can an independently reproducible audit establish, and what can it not establish by itself?
Solutions. (1) The timestamp identifies when an update was run, but not the data boundary or eligibility rules. Record the cutoff time and zone, the extract/version, and the endpoint status used. (2) Mark the patient as enrolled with outcome pending and exclude the patient from the evaluable-outcome denominator, as specified; do not count the pending outcome as a nonresponse. (3) The values sum to 1.05, so they are not a valid two-arm probability vector. Check for transcription, rounding, normalization, or arm-order errors and compare with the vector sent to the randomization system. (4) The effective time identifies which assignments could use the changed arm set; the new vector verifies that probabilities were recalculated for the active arms. (5) It can establish which recorded data, model output, rule version, and implementation produced the update, subject to the completeness and integrity of the record. It cannot by itself establish that the model or rule was scientifically appropriate or that treatment caused an outcome.