Distributionally Robust Synthetic Control (DROSC)#
Overview#
Classical synthetic control estimates a treatment effect by matching the treated unit’s pre-treatment outcomes with a weighted average of control units, and then assumes that the same weighting carries over to the post-treatment period. That argument needs two separate things to be true, and Koo & Guo (2026) label them:
(E1) the pre-treatment weights are unique – exactly one weighting on the simplex minimises the pre-period fit;
(E2) there is no weight shift – the weighting that describes the treated unit before the intervention is the same one that describes it after.
Both fail routinely. (E1) fails when the control units are highly correlated: many weight vectors then fit the pre-period almost indistinguishably, the solver returns one of them, and the effect read off it inherits that arbitrariness. In the paper’s own Basque application most correlations between the selected and the remaining controls sit near one. (E2) fails when the intervention alters the treated-control relationship. It also fails for a subtler reason: with the simplex constraint dropped, the weights are population least-squares projections, and a projection depends on the distribution of the controls – so a shift in that distribution moves the weights even when the conditional relationship \(\mathbb{E}[Y^{(0)}_{1t} \mid X_t]\) is unchanged.
When (E1) fails the post-treatment weight is not pinned down; when (E2) fails it is pinned down to the wrong thing. Either way the weight the counterfactual needs is known only to lie somewhere in a set.
DROSC, the method of Koo & Guo (2026), replaces the single fitted weight vector with a worst-case over an entire set of weights: every weight vector compatible with the pre-treatment moments up to a radius \(\lambda\). At \(\lambda = 0\) the set is tightest and DROSC agrees with classical synthetic control; as \(\lambda\) grows the set widens and the estimate becomes a deliberately conservative proxy for the effect that the data can no longer pin down. Sweeping \(\lambda\) is an honest sensitivity display: it shows how much robustness the conclusion can absorb before the effect is no longer distinguishable from zero.
When to use this estimator#
Reach for DROSC when the donor pool is highly collinear – many similar regions, stores, or products, so the classical weights are non-unique and fragile – or when you suspect the treated-control relationship shifts across the intervention and want an effect and interval that stay valid when the standard identification does not. The robustness radius is the dial: report the effect as a function of \(\lambda\), not a single number.
If your donors are well separated and the standard assumptions are credible, the plain estimators (Vanilla Synthetic Control (VanillaSC)) are more efficient – DROSC’s conservatism is wasted. If the fragility is specifically pre-fit non-uniqueness and you only need a stable tie-break, not a robust interval, Lexicographic Synthetic Control (LEXSCM) resolves the non-uniqueness lexicographically instead.
DROSC targets a different estimand, and the two agree only where classical synthetic control is identified. Where they disagree, DROSC’s number is the compatible effect closest to zero: understated in magnitude by construction, and correct in sign. Read it as “the effect is at least this large”, not as an estimate of \(\bar\tau\).
Notation#
The treated unit’s outcome is \(Y_{1,t}\); the \(N\) controls’ outcomes are stacked in \(X_t\). Time splits at \(T^\star = T_0 + 1\) into a pre-period \(t \le T_0\) of length \(T_0\) and a post-period of length \(T_1\). Write \(\Delta^N\) for the simplex, the set of weightings that are non-negative and sum to one.
The model that makes the two failure modes visible carries a weight vector for each regime:
\(Y^{(0)}\) is the untreated potential outcome, so \(\beta^{(1)}\) is the weighting the counterfactual actually needs and \(\beta^{(0)}\) is the one the pre-period can speak to. (E1) says \(\beta^{(0)}\) is unique; (E2) says \(\beta^{(0)} = \beta^{(1)}\). Classical synthetic control estimates \(\beta^{(0)}\) and uses it as though it were \(\beta^{(1)}\).
Any candidate weighting implies a time-averaged effect,
and the estimand classical synthetic control targets is \(\bar\tau = \tau(\beta^{(1)})\). Identifying \(\beta^{(1)}\) is sufficient for identifying \(\bar\tau\) but not necessary: if every plausible weighting implies the same \(\tau(\beta)\), the effect is point identified even though the weights are not.
The uncertainty class#
The pre-period residual is uncorrelated with the controls, so \(\beta^{(0)}\) solves the moment condition \(T_0^{-1}\sum_{t \le T_0}\mathbb{E}[X_t(Y_{1,t} - X_t^\top\beta)] = 0\). A weight shift means \(\beta^{(1)}\) need not satisfy it exactly, so DROSC admits every simplex weighting that satisfies it to within a tolerance \(\lambda \ge 0\):
Writing \(\Sigma = T_0^{-1}\sum_{t \le T_0}\mathbb{E}[X_t X_t^\top]\) and \(\gamma = T_0^{-1}\sum_{t \le T_0}\mathbb{E}[X_t Y_{1,t}]\), the moment condition reads \(\gamma = \Sigma\beta^{(0)}\) and the class has two equivalent forms:
The second form reads as a covariance-scaled neighbourhood of the pre-treatment weight, and the first is what makes it usable: the moment discrepancy \(\gamma - \Sigma\beta\) is well defined even when \(\Sigma\) is singular and \(\beta^{(0)}\) is not identifiable. No inverse is taken and no unique pre-period weight has to be selected, which is what lets the class survive the perfectly-correlated case that breaks (E1).
Three details decide how the class behaves. The norm is the maximum over coordinates, so a weighting must reproduce every control’s moment condition to within \(\lambda\), not do well on average. The class sits inside the simplex, so widening \(\lambda\) never buys extrapolation; it only admits more points of the donor convex hull. And \(\lambda\) is a tolerance for weight shift, a statement about the world, with nothing to do with sample size – the separate slack for estimation error appears further down, under Estimation.
The estimand#
Fix a candidate effect \(\tau\) and a candidate weighting \(\beta\), and measure how much the post-period fit improves when the effect is allowed:
The first term is the post-period prediction error under a null effect, the second the error after allowing \(\tau\), so \(R_\beta\) is the reward for positing an effect of that size. With oracle knowledge of \(\beta^{(1)}\), maximising \(R_{\beta^{(1)}}\) over \(\tau\) returns \(\bar\tau\), which is classical synthetic control written as an optimisation.
When \(\beta^{(1)}\) is known only to lie in \(\Omega\), each candidate effect has a different reward depending on which plausible weighting is used. DROSC scores an effect by its worst case over the class and takes the best such score. This is the weight-robust treatment effect:
Read it as a game. You name an effect; nature picks, from the plausible weightings, the one that makes your claim look worst; you name the effect whose worst case is best. Nothing in it selects a weight vector.
What the game reduces to#
Theorem 1 of the paper solves it. The optimum is
an adversarial weighting that drives the time-averaged effect as close to zero as the class allows. So the quadratic program the software solves is a consequence of the max-min problem, not the definition of it.
Two things follow immediately. The program is degenerate, because \(\mu\mu^\top\) has rank one and the objective sees \(\beta\) only through the scalar \(\mu^\top\beta\): the set of minimisers can be an entire face of the polytope while the value \(\mu^\top\beta^*\) is the same across all of them. So \(\tau^*\) is unique even when \(\beta^*\) is not, which is the non-uniqueness DROSC exists to tolerate – the method declines to report a weighting and still reports an effect. And the characterisation never invokes (E1) or (E2), so \(\tau^*\) is defined whether or not classical synthetic control is identified.
The sensitivity interval#
Each plausible weighting implies an effect, and together they form an interval
which collects every effect compatible with the stated weight uncertainty. If \(\beta^{(1)} \in \Omega\) then \(\bar\tau \in I(\Omega)\), so the interval is an identified set for the classical estimand. When \(\tau(\beta)\) happens to be constant over \(\Omega\) the interval is a single point and \(\bar\tau\) is point identified despite the weights not being; when it varies, \(\bar\tau\) is partially identified.
Theorem 2 gives the cleanest statement of what DROSC returns:
\(\tau^*\) is the projection of the origin onto the sensitivity interval – the compatible effect closest to no effect. Sensitivity analysis and DROSC use the same uncertainty class and report different objects: sensitivity analysis hands back the whole interval and declines to choose within it, while DROSC returns one point of it, the conservative endpoint.
How conservative#
Theorem 3 says that if \(\beta^{(1)} \in \Omega\), then
Both halves matter for reading the output. The magnitude is never overstated, so \(|\tau^*|\) is a lower bound on the size of the true effect: if it is large, no admissible weighting explains the gap away. And the sign is trustworthy whenever \(\tau^* \ne 0\), so a directional claim survives even though the magnitude is deliberately understated.
How much the conservatism costs is bounded. When \(\lambda_{\min}(\Sigma) > 0\),
so the gap closes as \(\lambda \to 0\), and at \(\lambda = 0\) under (E1) and (E2) it closes exactly: \(\tau^* = \bar\tau\).
Reading the robustness sweep#
\(\Omega(\lambda)\) grows with \(\lambda\), so \(I(\Omega(\lambda))\) grows too, and the projection of the origin onto a growing interval moves toward zero. Reporting \(\widehat\tau\) at a single radius therefore says very little; the object to report is the curve.
The radius at which \(\widehat\tau\) first reaches zero is a breakdown point, and Theorem 2 says exactly what happens there: it is the amount of weight shift at which the sensitivity interval first covers zero, that is, the first \(\lambda\) admitting a weighting under which there is no effect at all. A finding that survives to a large \(\lambda\) tolerates a lot of misspecification; one that collapses at a small \(\lambda\) rests on (E1) and (E2) holding closely.
Assumptions#
Single treated unit, complete panel. Ingestion is the standard
mlsynth.utils.datautils.dataprep()contract: one treated unit with a pre/post split and a fully observed outcome matrix.Remark. There is no covariate cube or spatial input; DROSC uses only the outcome panel. A
dependentflag switches the moment covariances to a Newey-West HAC estimator when the outcomes are autocorrelated.The uncertainty class contains the post-treatment weight. At the chosen radius, \(\beta^{(1)} \in \Omega(\lambda)\). This is what makes \(I(\Omega)\) an identified set for \(\bar\tau\) and what Theorem 3 needs: without it, neither the magnitude bound nor the sign guarantee holds.
Remark. Under (E1) and (E2) it holds at \(\lambda = 0\). When they fail, the assumption is a statement about how large a weight shift is credible, and it is the reason the radius is reported as a sweep instead of a setting.
Simplex weights. Donor weights are non-negative and sum to one, so the counterfactual is an interpolation of the donors, with no extrapolation.
Remark. The moment band is layered on top of the simplex, so DROSC never leaves the convex hull; it only restricts which hull points are admissible.
A non-degenerate class where the theory asks for one. The conservatism bound and the \(\lambda = 0\) theory assume \(\lambda_{\min}(\Sigma) > 0\).
Remark. This has a consequence that is easy to read the wrong way round. When \(\Sigma\) is invertible, \(\Omega(0)\) is the single point \(\{\beta^{(0)}\}\) – so at \(\lambda = 0\) the class collapses and DROSC returns the classical estimand. The non-uniqueness story at \(\lambda = 0\) needs \(\Sigma\) genuinely singular, that is, perfectly correlated controls. Highly-but-not-perfectly correlated controls are handled through \(\lambda\), and through the estimation slack below.
Estimation#
Everything above is a population statement. The estimator replaces \(\Sigma, \gamma, \mu_Y, \mu\) with their sample analogues, and widens the band to absorb the error in doing so:
The two terms in the band do different jobs and should not be conflated. \(\lambda\) is the tolerance for weight shift, a modelling choice that does not shrink with more data. \(\rho\) is slack for the sampling error in \(\widehat\Sigma\) and \(\widehat\gamma\), and it vanishes as \(T_0\) grows – it is proportional to \(\log(\max\{T_0, N\})^{1/2}/\sqrt{T_0}\). Setting \(\lambda = 0\) still leaves \(\rho\), which is why the \(\lambda = 0\) fit is not the same object as a classical synthetic control fit on the same panel.
The constant in front of \(\rho\) is not chosen by the analyst. It starts
small and is multiplied by 1.25 until the minimisation over
\(\widehat\Omega\) becomes feasible, giving the smallest slack that admits a
solution. A band too tight to contain any simplex point has no answer to return,
so feasibility is the criterion. dependent=True switches the moment
covariances to a Newey-West HAC estimator for autocorrelated outcomes.
Inference#
Set inference=True for the perturbation-based confidence interval. Two
distinct problems rule out a normal interval, and the paper separates them.
Non-regularity. Decompose \(\widehat\tau - \tau^* = (\widehat\mu_Y - \mu_Y) - (\widehat\mu^\top\widehat\beta - \mu^\top\beta^*)\). The first term obeys a central limit theorem. The second need not: \(\beta^*\) typically sits on the boundary of the class, and small sampling changes flip which constraints are active, which produces a mixture limiting law of the kind familiar from parameter-on-the-boundary problems.
Instability. Highly correlated controls make \(\Omega\) nearly flat in some directions, so small errors in \(\widehat\Sigma\) or \(\widehat\gamma\) move \(\widehat\Omega\) and \(\widehat\beta\) a lot. This amplifies the active-set flipping, so the two problems arrive together.
The remedy exploits the structure of the decomposition. Perturb
\(\widehat\Sigma, \widehat\gamma, \widehat\mu_Y, \widehat\mu\) from their
estimated sampling distributions, re-solve the band problem for each of
n_perturbations draws, and form a candidate effect from each. The paper shows
some draw \(m^\star\) nearly recovers the population problem; for that draw
the remaining uncertainty is almost entirely in \(\widehat\mu_Y\), which is
asymptotically normal, so a normal interval around it is valid. Since
\(m^\star\) cannot be identified, DROSC keeps the plausible draws and returns
the union of their intervals.
The union is the point. It is a confidence set, possibly a disjoint one, and it
reads as the effects the data cannot reject – not as a point estimate plus
symmetric error. The enveloping hull is exposed as res.inference.ci_lower /
ci_upper (and res.att_ci); the pieces are in
res.inference.details["ci_intervals"].
One practical caution. The procedure is heavy and mildly seed-sensitive: the
moment band starts far tighter than the perturbation scale, so an internal slack
is inflated until enough draws are feasible (dozens of rounds of
n_perturbations solves), and the endpoints move with the seed. Fix seed
for reproducibility, and leave inference off unless the interval is needed.
Example#
import pandas as pd
from mlsynth import DROSC
basque = pd.read_csv("basedata/basque_jasa.csv")
basque = basque[basque.regionname != "Spain (Espana)"].copy()
treat_year = sorted(basque.year.unique())[15] # T0 = 15
basque["treat"] = ((basque.regionname == "Basque Country (Pais Vasco)")
& (basque.year >= treat_year)).astype(int)
base = dict(df=basque, outcome="gdpcap", treat="treat",
unitid="regionname", time="year")
# a robustness sweep: how fast does the effect shrink toward zero?
for lam in (0.0, 0.03, 0.06):
res = DROSC({**base, "robustness_lambda": lam}).fit()
print(lam, round(res.effects.att, 3)) # -0.742, -0.256, 0.000
# perturbation union confidence interval at a fixed radius (slower)
res = DROSC({**base, "robustness_lambda": 0.0, "inference": True,
"seed": 1}).fit()
print(res.att_ci) # enveloping hull, contains 0
Verification#
DROSC is cross-validated against the authors’ own R implementation (helpers.R,
limSolve::lsei) – sourced from their repository and run live via Rscript
– on the Basque study: the worst-case estimand
\(\widehat{\tau}(\lambda)\) and the \(\lambda = 0\) donor weights match
value-for-value (to \(\sim 10^{-7}\)) across the robustness sweep. See the
durable case benchmarks/cases/drosc_basque.py and the replication page
DROSC — Basque robustness sweep vs the authors’ R.
Core API#
- class mlsynth.DROSC(config: DROSCConfig | dict)#
Bases:
objectDistributionally Robust Synthetic Control estimator.
fit()returns the weight-robust effect at the configured radius: the smallest-magnitude effect consistent with the weightings the pre-treatment moments cannot rule out. It is a lower bound on the true effect’s magnitude with a trustworthy sign, not an estimate of the quantity classical synthetic control targets, and it is read across a sweep ofrobustness_lambdainstead of at one value.- Parameters:
config (DROSCConfig or dict) – Configuration object. See
mlsynth.config_models.DROSCConfig.
- fit() BaseEstimatorResults#
Estimate the DROSC effect (and, if requested, its union CI).
- class mlsynth.config_models.DROSCConfig(*, df: ~pandas.DataFrame, outcome: str, treat: str, unitid: str, time: str, display_graphs: bool = True, save: bool | str = False, counterfactual_color: ~typing.List[str] = <factory>, treated_color: str = 'black', plot: ~mlsynth.config_models.PlotConfig = <factory>, robustness_lambda: ~typing.Annotated[float, ~annotated_types.Ge(ge=0)] = 0.0, inference: bool = False, conditional: bool = False, dependent: bool = False, alpha: ~typing.Annotated[float, ~annotated_types.Gt(gt=0.0), ~annotated_types.Lt(lt=1.0)] = 0.05, n_perturbations: ~typing.Annotated[int, ~annotated_types.Ge(ge=1)] = 500, seed: ~typing.Annotated[int, ~annotated_types.Ge(ge=0)] = 0, nu: ~typing.Annotated[float, ~annotated_types.Ge(ge=0)] = 0.01, eta: ~typing.Annotated[float, ~annotated_types.Ge(ge=0)] = 0.01, slack_rate: ~typing.Annotated[float, ~annotated_types.Gt(gt=0)] = 0.5, gamma: ~typing.Annotated[float, ~annotated_types.Ge(ge=0)] = 1.0, alpha0: ~typing.Annotated[float, ~annotated_types.Gt(gt=0.0), ~annotated_types.Lt(lt=1.0)] = 0.01, c_sample: ~typing.Annotated[float, ~annotated_types.Gt(gt=0)] = 0.01)#
Bases:
BaseEstimatorConfigDistributionally Robust Synthetic Control.
DROSC (Koo & Guo 2026) reports the smallest-magnitude effect consistent with the donor weightings the pre-treatment moments cannot rule out – the projection of the origin onto the interval of effects that set admits. Where the post-treatment weighting lies in the set, that effect is a lower bound on the true one’s magnitude and cannot take the opposite sign, so a directional claim survives even though the size is understated.
robustness_lambdawidens the set, so the effect shrinks toward zero as it grows; read the sweep, not one value. Optional perturbation-based inference returns a (possibly disjoint) union confidence interval, which is a confidence set for the effects the data cannot reject.References
Koo, T. & Guo, Z. (2026). “Distributionally Robust Synthetic Control: Ensuring Robustness Against Highly Correlated Controls and Weight Shifts.” arXiv:2511.02632.
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid'}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].