NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

De-Trending Time Series Data for Variability Surveys

Dae‐Won Kim, Pavlos Protopapas, R. DaveProceedings of the International Astronomical Union 2008

Abstract

We present an algorithm for the removal of trends in time series data. The trends could be caused by various systematic and random noise sources such as cloud passages, change of airmass or CCD noise. In order to determine the trends, we select template stars based on a hierarchical clustering algorithm. The hierarchy tree is constructed using the similarity matrix of light curves of stars whose elements are the Pearson correlation values. A new bottom-up merging algorithm is developed to extract clusters of template stars that are highly correlated among themselves, and may thus be used to identify the trends. We then use the multiple linear regression method to de-trend all individual light curves based on these determined trends. Experimental results with simulated light curves which contain artificial trends and events are presented. We also applied our algorithm to TAOS (Taiwan-American Occultation Survey) wide field data observed with a 0.5m f/1.9 telescope equipped with 2k by 2k CCD. With our approach, we successfully removed trends and increased signal to noise in TAOS light curves.

Introduction

In time-series photometry, measuring the temporal variations in stellar brightness is often complicated by systematic "trends." These non-astrophysical signals arise from environmental and instrumental factors, such as changing airmass, atmospheric fluctuations (e.g., passing clouds), and electronic noise within the CCD sensor. Traditional differential photometry attempts to mitigate these effects by comparing a target star to nearby template stars. However, manual selection of templates is impractical for large-scale surveys, and the inclusion of intrinsically variable stars as templates can inadvertently inject additional noise into the data. There is a critical need for automated, robust methods to identify reliable template stars that share systematic noise characteristics without possessing intrinsic variability.

Methodology

The proposed pipeline utilizes unsupervised machine learning to isolate systematic trends. The process begins with the construction of a Similarity Matrix, where the Pearson correlation coefficient is calculated for every pair of light curves. High correlation indicates that stars are likely subject to the same systematic influences.

These correlation values serve as the basis for Hierarchical Clustering. A dendrogram, or hierarchy tree, is constructed to link similar stars into nodes. Unlike standard clustering techniques that rely on arbitrary fixed cut-off distances, this algorithm employs a Dynamic Agglomerative Merging strategy. By using a dynamical threshold that compares the centroid of distance measures at different tree levels, the algorithm adapts to the specific noise profile of the dataset, effectively grouping stars affected by localized phenomena like cloud cover.

Figure 1: Dendrogram illustrating the hierarchical clustering of stars based on light curve similarity.

Once clusters are established, a Master Light Curve (MLC) is generated for each group via a weighted average. These MLCs represent the pure systematic trends. Finally, multiple linear regression is applied to subtract these MLCs from individual light curves, yielding cleaned astronomical signals.

Results and Discussion

The algorithm was validated using both synthetic and real-world datasets. In simulations involving 512 stars with injected sine-wave trends and astrophysical events (a planetary transit and an eclipsing binary), the algorithm successfully recovered the underlying signals.

Figure 5: Comparison of raw (top) and de-trended (bottom) light curves for a simulated planetary transit and an eclipsing binary.

As shown in Figure 5, the de-trending process effectively flattens the baseline noise while preserving the integrity of the astrophysical events. The algorithm's spatial agnosticism allows it to identify correlated stars across the entire CCD plane, rather than being limited to immediate neighbors. When applied to real-world data from the Taiwan-American Occultation Survey (TAOS), the method significantly improved the signal-to-noise ratio (S/N) across the sample, transforming jagged, trend-heavy data into stable light curves suitable for scientific analysis.

Conclusion

This automated de-trending algorithm provides a scalable solution for cleaning time-series data in wide-field variability surveys. By leveraging hierarchical clustering with a dynamic merging threshold, it effectively separates systematic noise from intrinsic stellar variability. While the benefit is most pronounced for brighter stars—as faint stars remain limited by stochastic Poisson noise—the approach offers a significant advancement in the automated processing of high-cadence astronomical data.

Summary updated

BibTeX
@inproceedings{kim2008de,
  author = {Dae‐Won Kim and Pavlos Protopapas and R. Dave},
  title = {{De-Trending Time Series Data for Variability Surveys}},
  booktitle = {Proceedings of the International Astronomical Union},
  year = {2008},
  doi = {10.1017/s1743921308026677},
}
Figure