← Latest papers
🤖 machine learning

Counterfactual Residual Data Augmentation for Regression

This paper proposes Counterfactual Residual Data Augmentation (CRDA), a model-agnostic technique for tabular regression that generates realistic training samples by exploiting the invariance of residuals under small feature perturbations, thereby significantly reducing mean squared error in data-scarce and noisy settings.

Original authors: Hossein Mohebbi, Oliver Schulte, Ke Li, Pascal Poupart

Published 2026-06-30
📖 4 min read☕ Coffee break read

Original authors: Hossein Mohebbi, Oliver Schulte, Ke Li, Pascal Poupart

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot to predict the price of a house. You only have a small pile of photos and price tags (data) to show it. The robot looks at the photos, learns that big houses in good neighborhoods cost more, and starts making guesses. But sometimes, it gets it wrong. Maybe it didn't know that a specific buyer was in a huge rush to buy, or that the seller was desperate. These "mistakes" or "surprises" are called residuals.

Usually, when data is scarce, the robot just memorizes the few examples it has, which is bad. Traditional ways to fix this (like in image editing) involve flipping pictures or changing colors, but that doesn't work well for numbers like house prices or medical stats.

This paper introduces a new trick called CRDA (Counterfactual Residual Data Augmentation). Here is how it works, using simple analogies:

1. The "Systematic" vs. The "Noise"

Think of the robot's prediction as a two-part recipe:

  • The Systematic Part: The predictable stuff. "If the house is 2,000 sq ft, the price is $X." The robot learns this well.
  • The Residual (Noise): The unpredictable stuff. "But wait, this specific house sold for X+X + 5,000 because the buyer was emotional."

The paper's big idea is: The "emotional buyer" part (the noise) stays the same even if we change some other details.

2. The "What-If" Game (Counterfactuals)

Imagine you have a house with a garage and a garden.

  • The robot knows that a bigger garage usually means a higher price (Systematic).
  • The robot also knows that this specific house had a weird price jump because of a "bidding war" (Residual).

CRDA asks: "What if this house had a different garage finish, but the same bidding war?"

The paper argues that changing the garage finish changes the base price, but it doesn't change the fact that a bidding war happened. The "bidding war" (the residual) is independent of the garage.

3. How CRDA Creates New Data

Instead of just guessing new numbers, CRDA does this:

  1. Train a base robot on the original data.
  2. Find the "safe" features: It uses a detective (an algorithm) to figure out which features (like garage finish) can be changed without messing up the "bidding war" (residual). It avoids changing features that are the bidding war (like the buyer's urgency).
  3. Create a "What-If" scenario: It takes a real house, changes the "safe" feature (e.g., makes the garage finish different), calculates the new base price, and adds back the exact same "bidding war" noise from the original house.
  4. Result: You now have a brand new, realistic-looking house example that the robot has never seen before, but it follows the same rules of reality.

4. Why This is Better Than Other Methods

  • Old ways (like mixing data): Imagine taking a house from New York and a house from Texas and blending them together to make a "New-Tex" house. That house doesn't exist and confuses the robot.
  • Generative AI (Deep Learning): Imagine a robot that tries to invent a house from scratch. It might make a house that looks real but has a price that makes no sense because it forgot the specific "noise" of the original data.
  • CRDA: It's like taking a real house, swapping out the paint color, and keeping the exact same story about why it sold for that price. It creates data that is faithful to the original patterns.

5. The Safety Net

The paper admits this trick only works if the robot is smart enough to understand the "systematic" part first. If the robot is too dumb, the "noise" it calculates is just garbage, and changing features won't help.

So, CRDA includes a safety check:

  • It tries the new data on a test.
  • If the new data makes the robot smarter, it keeps it.
  • If the new data confuses the robot, it throws it away and sticks to the original data.

The Results

The authors tested this on 9 different real-world datasets (like predicting house prices, wine quality, and energy efficiency).

  • For Neural Networks (MLP): It reduced errors by about 23% on average.
  • For Tree Models (XGBoost): It reduced errors by about 6% on average.
  • It consistently beat other fancy data-creation methods, which often made things worse.

In short: CRDA is a way to stretch a small dataset by asking "What if?" about specific details, while carefully keeping the "unpredictable" parts of the story exactly the same. It's a simple, safe way to give a robot more practice without lying to it.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →