TL;DR
Scaling up a Large Language Model (LLM) doesn't guarantee better causal reasoning across the board. While larger models significantly improve at generating complex counterfactual text and code, they show surprisingly little gain in traditional scalar tasks like predicting treatment effect numbers. This suggests that "bigger is better" only applies when the task aligns with the model's generative strengths.
What Problem Does This Paper Address?
Causal inference is the science of "what if." It asks how an outcome would change if we applied a different treatment (e.g., "If this patient had taken a different drug, would they have recovered faster?"). Traditionally, this is treated as a regression problem: predicting a single number (a scalar). However, LLMs allow us to ask richer questions, like generating a full counterfactual code snippet or a narrative description of a life path.
The authors investigate a fundamental question: Does increasing the size of a pre-trained model actually help it learn causal relationships? They explore whether the "scaling laws" we see in general language tasks translate to causal tasks, and whether the way we present data (as raw tables vs. natural language narratives) changes how much of the model's internal "knowledge" we can actually use.
Methods
The researchers compared two distinct paradigms built on the Qwen 2.5 model family (0.5B and 1.5B parameters):
- CausalLLM (Scalar Prediction): The LLM acts as a feature encoder. Two "heads" (small neural networks) are attached to the top to predict the outcome for "treated" vs. "control" groups.
- CausalGen (Counterfactual Generation): Instead of numbers, this system generates text or code. It uses "soft prefixes"—learnable vectors that steer the model's existing decoder—to produce different outcomes based on the treatment.
For CausalGen, they employed a sophisticated three-stage post-training pipeline:
- Factual SFT: Training on observed data.
- Counterfactual SFT: Training on paired "what-if" scenarios.
- Causal Preference Alignment: Using Direct Preference Optimization (DPO) to teach the model to prefer the correct outcome for a specific treatment.
Datasets
The study utilized four datasets covering different modalities:
- IHDP & Twins: Standard causal inference benchmarks used for scalar prediction (predicting health outcomes or birth weights).
- CodeGen: A new task where the model must generate code with or without "quality degradation" treatments (e.g., adding docstrings and validation).
- Jobs: A dataset of employment narratives used to generate descriptions of career paths based on job training interventions.
Key Insights and Ideas
- Available vs. Convertible Capacity: This is the paper's most provocative idea. A larger model has more "available" capacity (more parameters), but that capacity is only "convertible" if the task and training pipeline can actually tap into it.
- The Generative Advantage: Scaling from 0.5B to 1.5B parameters provided a massive boost to generative tasks but almost no benefit to scalar prediction. This suggests LLMs are better at "reasoning" through causal problems when they are allowed to speak their native language (text) rather than just outputting a single number.
- Narratives Beat Tables: Treating an LLM like a standard statistical tool by feeding it raw numbers (tabular data) is inefficient. Converting those tables into "Narrative" descriptions (e.g., "A 25-year-old college-educated user...") improved performance by 3.4%. The model's pre-trained understanding of the world helps it interpret the variables better when they are presented as language.
Key Results
- Generative Scaling: On the CodeGen task, moving from a 0.5B to a 1.5B model increased the
pass@1score (a measure of code correctness) from 0.267 to 0.575—a more than 2x improvement. - Scalar Stagnation: On the IHDP dataset, the same increase in model size resulted in a slight increase in error ($\sqrt{PEHE}$ went from 1.780 to 1.796), showing that bigger isn't always better for simple regression.
- Ablation of Heads: For generative tasks, using "Cross-Attention" to combine treatment information was the most effective method for producing high-quality code and accurate treatment effects.
Limitations and Future Work
The authors are careful to note that this isn't a definitive "scaling law" for causality.
- Sample Size: They only tested two small model sizes (0.5B and 1.5B) and three replications, which limits statistical certainty.
- Confounding Factors: Because the scalar and generative systems used different datasets and architectures, it's hard to isolate exactly why the generative one scaled better. Was it the task itself, or the three-stage training pipeline?
- Future Directions: The authors propose a "Controlled Follow-up Design" to evaluate the model at every single checkpoint (base model, after SFT, after DPO) to see exactly when the causal "aha!" moment happens.
Summary updated