← Latest papers
🤖 machine learning

CleanSurvival: Automated data preprocessing for time-to-event models using reinforcement learning

This paper introduces CleanSurvival, a reinforcement learning-based framework that automates the optimization of data preprocessing pipelines—including imputation, outlier detection, and feature extraction—specifically tailored to enhance the predictive performance of time-to-event models for censored data.

Original authors: Yousef Koka, David Selby, Gerrit Großmann, Kathan Pandya, Sebastian Vollmer

Published 2026-05-27
📖 4 min read☕ Coffee break read

Original authors: Yousef Koka, David Selby, Gerrit Großmann, Kathan Pandya, Sebastian Vollmer

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 a chef trying to cook a perfect meal (the survival model) to predict when a specific event will happen, like a patient's recovery time or a machine's failure. But before you can cook, you have a basket of raw ingredients (your data) that is messy. Some vegetables are missing entirely, some are rotten (outliers), and some are chopped into weird shapes.

If you try to cook with this messy basket, your meal will taste terrible, no matter how good your recipe is. Usually, chefs (data scientists) spend hours manually washing, chopping, and sorting these ingredients before they even start cooking.

CleanSurvival is like a smart, automated sous-chef that uses a special kind of "learning by trial and error" (called Reinforcement Learning) to figure out exactly how to clean your ingredients so your final dish turns out delicious.

Here is how it works, broken down into simple concepts:

1. The Problem: The "Censored" Mystery

In regular cooking, you know exactly when an ingredient is done. But in survival analysis (predicting when something happens), there's a twist called censoring.

  • The Analogy: Imagine you are timing how long it takes for a pot of water to boil. You leave the kitchen to get a phone call. When you come back, the water is boiling. You know it boiled sometime between when you left and when you returned, but you don't know the exact second.
  • The Issue: Most automated cooking assistants (AutoML tools) are great at standard recipes (like predicting if a customer will buy a shirt), but they get confused by this "boiling water" mystery. They often ignore the missing time or handle it poorly, leading to bad predictions.

2. The Solution: The "Smart Sous-Chef" (CleanSurvival)

The authors built a tool called CleanSurvival. Instead of a human guessing which cleaning method works best, this tool uses a Q-learning robot.

  • How the Robot Learns: Think of the robot as a video game character.
    • The Game: The "level" is your messy dataset.
    • The Moves: The robot can choose different cleaning moves: "Wash the missing values," "Throw away the rotten outliers," or "Chop the features differently."
    • The Score: Every time the robot cleans the data and cooks a test meal, it gets a score based on how well the meal predicts the boiling time.
    • The Goal: The robot tries millions of combinations of cleaning moves. It remembers which moves led to high scores and which led to burnt meals. Eventually, it learns the perfect cleaning routine for your specific ingredients.

3. What Does It Actually Do?

The paper explains that this robot handles three main kitchen tasks:

  • Filling in the Gaps (Imputation): If an ingredient is missing (like a missing blood test result), the robot decides whether to guess the value based on similar ingredients, use the average of the group, or simply remove that specific dish from the menu.
  • Spotting the Rotten Stuff (Outlier Detection): If one vegetable is huge and weird compared to the rest, the robot decides whether to throw it away or keep it.
  • Choosing the Best Ingredients (Feature Selection): It figures out which ingredients actually matter for the recipe and which ones are just clutter, removing the noise to make the flavor (prediction) clearer.

4. The Results: Did It Work?

The authors tested this smart sous-chef on real-world "kitchens" (datasets from cancer studies and blood analysis).

  • The Comparison: They compared the robot's cleaning against:
    1. Doing nothing (just throwing away missing data).
    2. Guessing randomly (picking cleaning methods without a plan).
    3. Using a standard "mean" guess (filling gaps with the average).
  • The Outcome: In most cases, the CleanSurvival robot found a cleaning routine that made the final predictions significantly more accurate than the other methods. It was particularly good at handling different types of "missing" data (whether the data was missing by pure chance or because of a specific pattern).

5. The Catch (Limitations)

The paper is honest about the downsides:

  • It takes time: Because the robot has to try many different cleaning combinations to learn the best one, it can be slower than just doing a quick, simple clean.
  • It's new: They tested it on a few specific datasets. We don't know yet if it works perfectly on every type of messy data in the world, especially very huge or complex ones.

Summary

CleanSurvival is a tool that automates the boring, difficult work of cleaning data specifically for "time-to-event" predictions. Instead of a human guessing which cleaning method to use, a smart AI learns through trial and error which cleaning steps lead to the most accurate predictions, making survival analysis easier and more reliable for researchers.

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 →