TSFMAudit: Data Contamination Auditing in Forecasting Time Series Foundation Models
This paper introduces TSFMAudit, the first method designed to detect pretraining data contamination in Time Series Foundation Models by leveraging the intuition that contaminated datasets exhibit unusually efficient adaptation dynamics during fine-tuning.
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 hiring a chef to cook a complex dish for a big dinner party. You want to know if this chef is truly a genius who can cook anything from scratch, or if they just memorized the recipe for the specific dish you are about to serve them.
This is the problem TSFMAudit solves, but instead of chefs and recipes, it's about Time Series Foundation Models (super-smart AI that predicts things like stock prices, weather, or traffic) and data contamination.
Here is the breakdown of the paper in simple terms:
The Problem: The "Leaked Test"
In the world of AI, researchers train models on massive amounts of data (the "pretraining corpus") and then test them on specific datasets to see how good they are.
The problem is that sometimes, the data used for the test accidentally ends up in the training pile.
- The Analogy: Imagine a student studying for a math exam. If the teacher accidentally puts the exact test questions in the study guide, the student will get a perfect score. But that doesn't mean they are a math genius; it just means they memorized the answers.
- Why it's hard with Time Series: In text (like books), you can easily spot if a sentence was copied. But time series data (like a graph of temperature over a year) is continuous. The same pattern can look different if you change the units (Celsius to Fahrenheit) or the scale. So, it's very hard to tell if the AI "saw" the data before or if it's just naturally good at predicting that specific pattern.
The Solution: The "Probe" Test
The authors created a tool called TSFMAudit. Instead of just looking at the final score (which can be faked by memorization), they watch how the AI learns when you give it a tiny bit of new training.
Think of it like a fitness test:
- The Setup: You have a "Candidate" AI (the one you are auditing) and a group of "Reference" AIs (fresh models that haven't seen the data yet).
- The Probe: You give them all a tiny, short workout (a few minutes of fine-tuning) on the specific dataset you are suspicious of.
- The Observation:
- The Clean AI: If the AI has never seen this data, it has to work hard. It sweats a lot (its internal settings change a lot) and its performance improves slowly.
- The Contaminated AI: If the AI already saw this data during its big training phase, it recognizes the pattern immediately. It barely breaks a sweat (its internal settings barely move) and its performance jumps up instantly.
The Key Insight: Contamination looks like unusually efficient adaptation. The "cheater" learns faster with less effort.
How They Make It Fair (The "Reference Suite")
You might say, "But what if the data is just really easy to predict? Then even a clean AI would learn fast."
To fix this, the authors use a Reference Suite. They run the same test on four other models that are similar in size but definitely haven't seen the data.
- The Analogy: Imagine you are judging a runner. If they run a 10-second 100m, that's amazing. But if the track is a downhill slope, maybe they aren't that fast. So, you have other runners run on the same track. If your runner is significantly faster than everyone else on the same easy track, you know they have an unfair advantage (like a hidden motor).
- TSFMAudit compares the Candidate's speed against the Reference models. If the Candidate is way too efficient compared to the References, it's flagged as contaminated.
What They Found
The team tested this on 6 different Time Series AI models and 187 different datasets.
- Old Methods Failed: They tried old tricks used for text models (like checking if the loss score is too low), but those didn't work well for time series because some data is just naturally easy to predict.
- TSFMAudit Worked: By watching the "sweat" (how much the model changed) and the "speed" (how fast the score improved) during the probe, they could spot the cheaters much better than any other method.
- Real-World Check: They tested their tool on a brand-new benchmark called TIME. Since this benchmark was built after the models were trained, it should be clean. TSFMAudit confirmed that these models hadn't seen the TIME data, proving the tool works in real life.
Summary
TSFMAudit is a "lie detector" for time-predicting AI. It doesn't just ask, "Did you get a good score?" It asks, "How hard did you have to work to get that score?" If the AI learns too easily compared to its peers, it's likely because it already knew the answers. This helps researchers ensure that when they say an AI is smart, it's actually smart, not just a cheater who memorized the test.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.