Abstract
In comparative studies, such as in causal inference and clinical trials, balancing important covariates is often one of the most important concerns for both efficient and credible comparison. However, chance imbalance still exists in many randomized experiments. This phenomenon of covariate imbalance becomes much more serious as the number of covariates $p$ increases. To address this issue, we introduce a new randomization procedure, called pairwise sequential randomization (PSR). The proposed method allocates the units sequentially and adaptively, using information on the current level of imbalance and the incoming unit's covariate. With a large number of covariates or a large number of units, the proposed method shows substantial advantages over the traditional methods in terms of the covariate balance, estimation accuracy, and computational time, making it an ideal technique in the era of big data. The proposed method attains the optimal covariate balance, in the sense that the estimated treatment effect under the proposed method attains its minimum variance asymptotically. Also the proposed method is widely applicable in both causal inference and clinical trials. Numerical studies and real data analysis provide further evidence of the advantages of the proposed method.
Introduction
In randomized controlled trials (RCTs) and causal inference, the primary objective is to ensure that treatment and control groups are comparable. Ideally, any observed difference in outcomes should be attributable solely to the treatment effect. However, "pure" or complete randomization often leads to covariate imbalance—a situation where groups differ significantly in baseline characteristics by chance. This problem is exacerbated in the "Big Data" era, where the number of covariates ($p$) is large. Statistically, if one tracks 10 independent variables, there is approximately a 40% chance that at least one will be significantly unbalanced under standard randomization.
While techniques like "Rerandomization" exist to mitigate this by repeatedly shuffling assignments until a balance criterion is met, they become computationally prohibitive as $p$ grows. To address these challenges, we present Pairwise Sequential Randomization (PSR), a method designed to achieve near-perfect balance, optimal statistical precision, and linear computational scalability.
The PSR Algorithm
The core of PSR lies in its sequential and adaptive nature. Unlike methods that randomize all units at once or ignore previous assignments, PSR uses real-time feedback to "steer" the allocation. The procedure follows these steps:
- Pairing: Units are organized into a sequence.
- Sequential Allocation: The algorithm processes units in pairs.
- Adaptive Imbalance Measurement: For each pair, the algorithm calculates the Mahalanobis distance—a multi-dimensional metric—for the two possible assignment configurations (e.g., Unit A to Treatment/Unit B to Control vs. Unit A to Control/Unit B to Treatment).
- Biased Coin Assignment: The algorithm assigns the pair to the configuration that minimizes the overall imbalance with a high probability $q$ (typically set to 0.75).
- Iteration: This process continues until all units are assigned, maintaining equal group sizes throughout.
Theoretical and Computational Advantages
PSR introduces several significant improvements over traditional randomization techniques:
Convergence of Imbalance
In standard randomization, the covariate imbalance (measured by Mahalanobis distance) typically remains constant regardless of the sample size. In contrast, PSR ensures that the imbalance converges to zero at a rate of $1/n$. Consequently, as the study size increases, the balance between groups becomes increasingly "perfect."
Estimation Accuracy
A common practice in clinical research is to use complex linear regressions to adjust for baseline imbalances post-hoc. PSR demonstrates that such adjustments may become optional. The method balances covariates so effectively that a simple difference-in-means calculation is asymptotically as precise as a regression-adjusted estimate, attaining the minimum possible variance for the treatment effect estimator.
Computational Scalability
Rerandomization is essentially a "brute force" approach that can require an exponential number of iterations to find a balanced state in high-dimensional settings. PSR, being a sequential algorithm, scales linearly with the number of units and covariates. For example, in simulations with 8 covariates and 400 units, Rerandomization required over 2,000 iterations to match the balance that PSR achieved in a single pass.
Empirical Evidence
The efficacy of PSR was evaluated through both simulations and real-world clinical data.
Simulation Studies
In simulations involving 10 covariates, PSR produced a standard error of approximately 2.05. This outperformed Rerandomization (standard error ~4.04) and Complete Randomization (standard error ~6.60). These results highlight the substantial gain in precision offered by the pairwise sequential approach.
Clinical Trial Application: Ceragem Thermal Therapy
The method was applied to data from a study on Ceragem massage (CGM) thermal therapy beds for patients with lumbar disc disease. The dataset included 186 patients and 50 covariates (including age and baseline pain scales). PSR achieved a Percent Reduction in Variance (PRIV) of 19.7% for the original sample size ($n=186$). When the sample size was simulated to $n=744$, the PRIV increased to 27.4%, demonstrating the method's strength in larger cohorts.
Conclusion and Future Work
Pairwise Sequential Randomization provides a powerful solution to the problem of covariate imbalance in the era of big data. By combining sequential allocation with adaptive measurement, it ensures optimal estimation efficiency and computational feasibility, making it a superior alternative to traditional randomization methods for modern comparative studies.
While PSR offers a robust framework, there are areas for further development. Currently, the method requires allocating units in pairs to ensure equal group sizes. Extending this to single-unit allocation or unequal allocation ratios (e.g., 1:2) remains a subject for future mathematical exploration. Additionally, future research will focus on developing specific hypothesis tests tailored to the unique properties of PSR-allocated data.
Summary updated