Mean-Preserving Robust Matrix Completion for Subsidy Evaluation

When a government subsidizes a technology, such as digital upgrading or green R&D, analysts want to know how much the subsidized firms changed compared with what they would have done without it. One increasingly common answer treats this as filling in a spreadsheet. Rows are firms, columns are years, and the cells we cannot see are the untreated outcomes of firms after they received the policy. Those cells are predicted from a low-rank pattern, meaning a few shared latent trends, learned from the cells we can see. The standard version of this method fits the pattern with squared error. Firm innovation data are the worst case for squared error: green patent counts are skewed and zero-inflated, a handful of "super-innovators" patent in bursts, and reporting glitches and policy revisions create gross errors. One bad cell can bend the shared trends and, through them, every counterfactual prediction.

The obvious fix is to swap in a loss that tolerates outliers. That fix hides a trap the matrix-factorization literature never had to face. The policy effect is an average (the average treatment effect on the treated, or ATT), and losses that ignore large residuals estimate something closer to a typical or modal outcome than a mean. On skewed data that gap is systematic bias, not noise. This note proposes a robust causal matrix completion estimator built so that it discards contamination but keeps genuine heavy tails. It also proposes a held-out validation procedure for tuning it, and a semi-synthetic study that maps which loss is right for which kind of panel. The application is the Chinese listed-firm subsidy panels behind current evidence on digital transformation and green innovation.

Core Claim

Causal panel completion should use a Huber loss whose cutoff grows with the number of observed control cells. The Huber loss is quadratic for small errors and linear for large ones. The two-way fixed effects (a separate baseline per firm and per year) should be fit inside the same robust loss and left unpenalized. Tuning should not rely on random held-out cells. It should mask pre-treatment cells of never-treated firms in the same staggered shape as the real policy rollout. Under this design the estimator inherits the property, shown by Robust Matrix Completion with Heavy-Tailed Noise, that the Huber bias on the mean vanishes as data grow. The reason is that Huber's mean bias scales roughly as the noise second moment divided by the cutoff, while its variance penalty scales with the cutoff divided by the sample size, so balancing the two pushes the cutoff up like the square root of the sample size.

The falsifiable prediction is a crossover. Saturating losses, whose influence drops to zero for large residuals, should win when contamination is sparse and gross. Our adaptive Huber should win, and saturating losses should show a measurable ATT bias, when the "outliers" are real skewed outcomes. Squared-error completion should lose in both contaminated regimes. If saturating losses show no bias on skewed but uncontaminated panels, the mean-preservation argument is wrong and the proposal reduces to "use any robust loss."

Research Program

The starting point is MC-NNM from Matrix Completion Methods for Causal Panel Data Models. It casts untreated potential outcomes for treated cells as missing entries and minimizes squared error plus a nuclear-norm penalty (a soft rank constraint). It does this with unregularized firm effects $\alpha_i$ and year effects $\beta_t$, and it nests difference-in-differences and synthetic control as special cases. We replace its loss and nothing else:

$$\min_{L,\alpha,\beta} \sum_{(i,t)\in\mathcal{O}} \rho_{\tau}\big(Y_{it}-L_{it}-\alpha_i-\beta_t\big) + \lambda \|L\|_*,$$

where $\mathcal{O}$ is the set of observed untreated cells, $Y_{it}$ the outcome of firm $i$ in year $t$, $L$ the low-rank interactive component, $\|L\|_*$ its nuclear norm, $\lambda$ the penalty weight, and $\rho_\tau$ the Huber loss with cutoff $\tau$.

The solver borrows the pseudo-data trick of Matrix Completion with Noisy Entries and Outliers. That paper turns Huber completion into repeated calls to a squared-error solver by replacing each observed cell with the current fit plus a clipped residual, and it proves recovery bounds for its ROBUST-IMPUTE estimator. We alternate three steps: a soft-thresholded SVD step on the pseudo-data for $L$, and per-firm and per-year Huber location updates for $\alpha$ and $\beta$. Initialization uses a Winsorized SVD, following Wang and Fan. Their paper establishes minimax rates for adaptive Huber completion, but only under independent random missingness and with no fixed effects or potential outcomes. We take their cutoff schedule and initialization and move them into the staggered, non-random missingness that policy adoption creates.

Our panels are small. The A-share panel in Digitization and Green Technology Innovation of Chinese Firms Under Government Subsidy Policies has 1,746 firms and 13,968 observations. Scalability is therefore not a claim of this work. The input-sparsity machinery of Scalable Robust Matrix Factorization with Nonconvex Loss is needed only for the stock-returns stress test.

The second component is tuning. Wong and Lee's method leaves the cutoff to be chosen against test cells, which do not exist for counterfactuals. Random-cell cross-validation is also wrong here, because the real missing pattern is whole blocks at the end of rows. We choose $\lambda$ and the cutoff's scale constant by masking late pre-period blocks of never-treated and not-yet-treated firms in the empirical distribution of adoption dates. We score each choice by the error of the mean over the masked block, which is the quantity the ATT depends on, rather than by cell-wise RMSE.

The third component is analysis. We will derive the ATT bias of each loss under a model with a low-rank signal, skewed noise with bounded variance, and a sparse gross-error component. The aim is to characterize the crossover region between saturating and adaptive-Huber losses as a function of contamination rate and noise skew.

Baselines

The naive reference point is the econometric default in this literature: two-way fixed effects regression on a winsorized outcome (1st/99th percentile). This is what the subsidy papers effectively run, including the panel models in Digitization and Green Technology Innovation of Chinese Firms Under Government Subsidy Policies and The Digital Economy and Sustainable Development Goals. It is the bar any new method must clear to be worth adopting.

The strongest existing method is MC-NNM with squared loss, run with its published cross-validation. Athey et al. show it outperforms difference-in-differences and synthetic control on California smoking data. For the error values: no reported result found on Lacuna for MC-NNM's numerical error on California Proposition 99 or stock returns. We will therefore re-run it ourselves and report its numbers as the reference.

The most dangerous practical competitor is a two-step pipeline: winsorize, then run MC-NNM. It captures most of the obvious gain with no new algorithm.

Two existing robust estimators complete the comparison. The first is ROBUST-IMPUTE applied after demeaning by fixed effects; it tests whether fitting fixed effects inside the robust loss matters. The second is Robust Synthetic Control from Robust Synthetic Control, which de-noises donors with singular value thresholding before regression. No numerical error on Basque or Prop 99 is reported in the file for it. Synthetic Nearest Neighbors from Causal Matrix Completion will be added where an anchor biclique can be found.

Two ablations isolate the key ingredients. The first swaps adaptive Huber for the Geman and log-sum losses of RMFNL with the same fixed effects; this is the mean-preservation test. The second freezes the Huber cutoff at a constant, which tests whether growth of the cutoff matters.

Fairness rules apply to every method. All methods see identical masks and covariates. Each method gets the same tuning grid size and is tuned by the same adoption-shaped placebo procedure. The only exceptions are MC-NNM and RSC, which are also reported with their native tuning.

Beating MC-NNM means two things. The ATT error must be lower on contaminated semi-synthetic panels, with confidence intervals over at least 200 replicates excluding zero difference. And the method must lose no more than a small, pre-registered margin (10% relative RMSE) on clean Gaussian panels. Beating winsorize-then-MC-NNM requires winning in at least one of the two contamination regimes without losing in the other.

Why not just…?

Why not just winsorize and run MC-NNM? This is the real threat. On panels with a few gross errors it may tie our method. Winsorization fixes one global cutoff on the raw outcome. Large firms are legitimately large, so the outcome's scale is dominated by firm effects, and a raw-scale cutoff clips big firms' true values while leaving small firms' glitches untouched. Robust fitting acts on residuals after firm effects, year effects, and latent trends are removed. The semi-synthetic study plants errors that are moderate in raw terms but large relative to a firm's own trajectory. If winsorize-then-MC-NNM matches us there, we will report that the simpler pipeline suffices.

Why not just use a saturating nonconvex loss, which is more robust than Huber? Scalable Robust Matrix Factorization with Nonconvex Loss shows such losses beat squared and absolute losses under rating attacks on MovieLens. In recommendation, though, the target is the clean rating, not a population mean. For policy evaluation, ignoring a super-innovator's genuine patent burst biases the ATT downward. The skewed-uncontaminated arm of the experiments tests exactly this. If saturating losses show no bias there, we adopt them.

Why not just run plain two-way fixed effects or synthetic control? Athey et al. show two-way fixed effects is a rigid special case of the low-rank model and is biased by time-varying confounders such as changing digital infrastructure. Classical synthetic control needs long pre-periods and struggles with staggered adoption. Our baselines nonetheless include both, so their loss is measured rather than asserted.

Why not just use entrywise absolute-error factorization? Mitigating Outlier Sensitivity in Low Rank Approximation notes that absolute-error low-rank approximation is NP-hard even at rank one. It also estimates a median, which carries the same mean-bias problem as saturating losses. It is therefore subsumed by the saturating-loss ablation.

Proposed Experiments

The first experiment is semi-synthetic and has a known zero effect. We take the California Proposition 99 panel and the stock daily-returns panel used by Athey et al. The returns panel is naturally heavy-tailed, has over 2,400 stocks, and is best fit by 4 to 12 latent factors according to that paper. We impose placebo staggered adoption on untreated units, so the true ATT is zero. We then inject three regimes: no extra noise, skewed heavy-tailed noise (lognormal and Student-t with few degrees of freedom), and sparse gross errors at 1–5% of cells. Metrics are absolute ATT bias, ATT RMSE across replicates, and coverage of bootstrap intervals. The decisive result is the predicted crossover pattern.

The second experiment is a real-panel placebo. On the A-share panel (green patent applications in logs of one plus count, and R&D spending) we assign fake adoption dates to firms never exposed to the low-carbon pilot. A good estimator returns ATTs near zero with few false rejections, and we compare rejection rates at the 5% level across methods.

The third experiment is a substantive re-estimation. The subsidy literature reports an inverted U with inflection points near 1,076,000 CNY for total green innovation (Digitization and Green Technology Innovation of Chinese Firms Under Government Subsidy Policies). It also reports that pilot policies raise green patents only for highly digitalized firms. Both findings rest on tail firms. We regress firm-level imputed effects from each estimator on subsidy amount and digitalization and ask whether the curvature and inflection point survive robust counterfactuals. If the inverted U disappears under adaptive Huber but not under squared loss, that is evidence the published shape is driven by a few outlying firms. If it persists, the finding is strengthened.