A Fast Screen and Shape Recognition (FSSR) algorithm is proposed with complexity down to for the multiple change-point detection problems. The proposed FSSR algorithm includes two steps. First, by dividing the data into several subsegments, FSSR algorithm can quickly lock some small subsegments that are likely to contain change-points. Second, through a point by point search in each selected subsegment, FSSR algorithm determines the precise location of the change-point. The simulation study shows that FSSR has obvious speed and stability advantages. Particularly, the sparser the change-points is, the better result will be achieved from FRRS. Finally, we apply FSSR to two real applications to demonstrate its feasibility and robustness. One is the problem of DNA copy number variations identifying; another is the problem of operation scenarios reduction for renewable integrated electrical distribution network.

1. Introduction

The change-point detection has been studied in various fields including environtology [1], climatology [2], agricultural economy [3], bioinformatics [4], and public economics [5]. In this paper, the basic and canonical normal model with multiple mean change-points [68] is considered as follows:where is assumed and is piecewise-constant vector. Besides, is the location vector of the change-points and is the number of change-points. It is also assumed that and any two change-points are “not too close to each other”.

A class of classical methods is to estimate the number and locations of change-points by fitting criterion, such as AIC [9] and BIC [6, 10, 11]. However, the computational complexity of these methods is very high. Braun et al. [12] and Bai and Perron [13] employed a dynamic programming algorithm to reduce the computational cost to the order of . Based on a minimum description length information criterion, Lu et al. [2] proposed an information theory approach from a nontraditional view, by using genetic algorithms tool to optimize the objective function. But it is still unfavourable for large [14]. Nevertheless, several algorithms are available to detect multiple change-points for big data. Antoch and Jaruskova [15] focus on an effective calculation of critical for large sample, by minimizing costs over segmentation and using dynamic modelling principles, some other methods by segmenting data to speed up algorithms (such as [16, 17]) or using regularization techniques [18].

To reduce the computational complexity, some stepwise approaches are proposed. Since being proposed, LASSO [19] has become a very popular statistical approach. After a reparametrization , Huang et al. [20] used LASSO-type model and the LARS algorithm to find the solution in time complexity of . Moreover, some LASSO-type methods were proposed to improve the adaptability and robustness (see, e.g., [2123]).

Binary segmentation (BS) algorithm is another classical stepwise technique for multiple change-point detection by combining with a CUSUM statistic [24]. Due to its low computational complexity of and the fact that the execution of this algorithm is easy, BS has been widely studied and used. However, the stopping rule was difficult to compute in practice due to influence by the previously detected change-points. For example, Chen and Gupta [25] studied the problem of covariance change-point by embedding SIC into the BS procedure. In theoretical side, BS is only consistent when the minimum spacing between any two adjacent change-points is of order almost [8]. Circular Binary Segmentation (CBS) and Wild Binary Segmentation (WBS) were proposed to overcome the defect that BS cannot detect a small changed segment buried in the middle of large segments [8, 26, 27]. Some authors proposed many multidimensional approaches based on CUSUM statistics [2831]. By extending the CUSUM to kernel function, Cabrieto et al. [32] detected correlation changes in multivariate systems.

Recently, by using a sliding fixed window approach, Niu and Zhang [7] proposed a very efficient (the computational complexity can even reach ) and effective screening method known as Screening and Ranking algorithm (SaRa). Chu [33] presented two online, sliding window segmentation algorithms for single change-point detection problem. As far as we know, SaRa is the fastest algorithm at present for multiple change-points detection, because the local CUSUM statistic and forward scan algorithm are used. However, the bandwidth is a crucial parameter for accurately identifying the change-points. To select a good bandwidth , Niu and Zhang [7] suggested that one can try several bandwidths, respectively. The performance of SaRa will be disturbed if the bandwidth is too large or too small [34]. Xiao et al. [34] proposed a modified SaRa (mSaRa) by applying the quantile normalization and a mixture of model-based clustering. Yau and Zhao [35] also used a scan method to construct confidence intervals for multiple change-points in time series.

Although the computational complexity of SaRa is down to , there are still some rooms for reducing the computation cost under the assumption that . In the existing algorithms, it is necessary to determine one point is change-point at least to compare all CUSUM statistics near this point. When this point becomes the maximum value and exceeds the threshold value, it can be finally confirmed as a change-point. Computation and comparison of CUSUM statistics are the main computational cost of those algorithms. However, for data series, if we can quickly lock the areas of change-points through some simple methods, a lot of calculation and comparison of CUSUM statistics will be avoided.

In this paper, we make two contributions. First, we show that our FSSR algorithm can make the computational complexity of the algorithm far less than . If , the computational complexity of FSSR can be reduced to . Second, in order to enhance the robustness, we embed a single-peak recognition mechanism into our algorithm. Furthermore, we also found that the proposed method has a more favorable performance when the change-points are sparser.

The paper is organized as follows. Our motivation is described in Section 2. In Section 3, the FSSR algorithm is introduced. The performances of FSSR, SaRa, and mSaRa are compared by a simulation study in Section 4. In Section 5, the proposed methodology is used in DNA copy number variations identifying and a practical engineering task involving electric power system, and we validate the effectiveness of our FSSR algorithm.

2. Motivation

Our motivation can be shown by Figure 1. Dividing the data into several small subsegments, we find that, in most small subsegments, the data is normal white noise with no change-point. The shape of data sequence is different only in a few subsegments which cover change-points. It is important to find these subsegments that contain change-points quickly. In addition, it is easy to pick out small subsegments that do not contain a change-point. Excluding these subsegments, the rest subsegments are likely to contain a real change-points.

Because two adjacent subsegments which do not contain a change-point have common mean, the difference between two CUSUM statistics of these two adjacent subsegments should be small. On the other hand, if a small subsegment covers a change-point, the difference between the CUSUM statistics of this small subsegment and the adjacent subsegment will be significant. Then we can identify subsegments with change-points through a suitable threshold. Let be the number of subsegments. Therefore, to lock the subsegments containing change-points, we only need to calculate CUSUM statistics times. Once we find out these small subsegments that contain change-points, we only need to search for change-points in these small subsegments.

3. Fast Screen and Shape Recognition Algorithm

In this section, we give a brief description of the FSSR.

3.1. FSSR Algorithm

First, for a given positive integer , we split the data series into subsegments with almost equal length where and . By setting , we get a set of subsegments .

Second, for each pair of two adjacent subsegments, the local CUSUM statistic is defined as follows. where is the mean of subsegment . We select an index set by a given thresholding rule , where , is usually a quantile of under the assumption that there is no change-point. In the paper, we let where is the upper quantile of standard normal distribution, , and is the sample standard deviation of subsegment . The selected implies that change-point is likely to be covered by the subsegment .

Third, based on the front screen, there is no change-point in the most subsegments, then we only need to search change-points in each selected subsegment . To detect the exact location of a change-point, it is needed to search in the each selected subsegment point by point. Let mean that is largest integer less than . Let be a local CUSUM statistic to detect change-points. For all points , if is the -local maximizer, is an estimator of change-point . Put all -local maximizers together; we get the final estimator for location vector of change-points where is the estimator of after single-peak recognition.

A flow chart of FSSR algorithm is given in Figure 2.

3.2. Robustness

The good performance of CUSUM statistic is based on the normal assumption of error. In practice, the data does not necessarily obey a normal distribution. Xiao et al. [34] used the Quantile normalization (QN) on the original intensities to seek the requirement of normality. Then, two robust processes embedded into our FSSR algorithm.

First, QN is used to make the data close to follow a normal distribution at each subsegment. In the procedure of FSSR, we rank the data in each subsegment. Then a sample with the same size as each subsegment from the standard normal distribution is simulated. At last, we replace the data of each subsegment by the simulated sample from and run our algorithm on the new data series.

Second, a single-peak recognition is used to enhance the robustness of the local maximizer. In most algorithms (such as BS, WBS, SaRa, and mSaRa), local maximum principle and threshold are used to confirm the change-point. In practice, the choice of threshold is very sensitive and has great influence on the result. From Figure 3, we can see that the local CUSUM statistic indicates a single-peak at each change-point. In this paper, to further improve the robustness of change-point detection, we define a simple single-peak principle. For any local maximum point , let and . If , a cut-off value, the point is confirmed as a change-point. Obviously, the bigger , the stricter our rule. We find that FSSR algorithm performs well when through some simulation experiments. In practice, we use in order to identify as many potential change-points as possible.

3.3. Computational Complexity

The time complexity in the FSSR is twofold. First, in the scan step, it is only needed to calculate local CUSUM statistics. Then the computational complexity of this step is . In the second step, to detect the exact location of change-point, we need to calculate the local CUSUM statistic at each point of each selected subsegment. The computational complexity of this step is . Then the computational complexity of this algorithm is . If the change-points are sparse enough to satisfy , we can assume that because is the number of the selected subsegments and is very close to . For example, if (where is a constant), the computational complexity reduces down to by setting . In practice, we use .

4. Simulation Study

Many papers show that SaRa and mSaRa are better than those BS-type methods, such as Niu and Zhang [7], Xiao et al. [34], and Song et al. [36]. Then, in this section, the performance of FSSR against SaRa and mSaRa should be useful to examine.

4.1. An Example

Before conducting large-scale simulation experiments, we first demonstrate the implementation process and effect of our FSSR algorithm through an example. We consider an example with and . In Figure 4, the top plot is the initial result based on screening and the second lower plot is the final result after single-peak recognition. By the screening process, we identify 17 points which are very close to change-points. Based on these points, we carry out local search and finally get 5 change-points through single-peak recognition. The all detected change-points are marked by vertical lines.

From this example, we can see that our FSSR algorithm can quickly and accurately find the change-points. In order to show more comparisons, we consider the normal error case in Section 4.3 and error case in Section 4.4, respectively.

4.2. Simulation Design

Before presenting the detailed comparison, we give the simulation design.

First, the generation of basic data comes from the standard normal distribution and a student distribution.

Second, the jump size of change-point is generated by a random mechanism. We set where is a variable that controls the degree of heterogeneity of (in this paper we chooce ), , , and and are independent of each other.

Third, we consider four sample sizes (=500, 3000, 5000, 8000) and five change-points numbers (=5, 10, 15, 20, 30, 50). The change-points are scattered in the data segment according to a random mechanism. random numbers are extracted from the uniform distribution on interval (1, 5) and are recorded as . We let the location of change-point be (=1,...,).

4.3. Performance on Normal Data

In this case, because the error is normal, the QN process is not embed into our algorithm. From Table 1, there are some observations as follows.

It is obvious that FSSR has a significant speed advantage. For fixed , the speed advantage of FSSR is more significant as becomes smaller. For fixed , the speed advantage of FSSR is more significant as becomes larger. In summary, the more sparse the change-points are, the more obvious the speed advantage of FSSR is.

For fixed , the consistency of change-point detection becomes better as becomes smaller. For example, the probability of is up to 0.97.

Under the BIC criterion, the change-point detection result based on our FSSR algorithm is always the best one for segmental fitting data.

4.4. Robustness on t-Distribution

To investigate the effect of our FSSR on the thick tail errors, we set the errors to obey the distribution with 3 degrees of freedom.

Besides the advantages similar to the normal case, we get some new discoveries in Table 2.

As the QN process is used, the speed advantage of our FSSR is weakened and sometimes it is even slower than SaRa. Compared to mSaRa, the speed advantage of our FSSR algorithm is still very obvious.

Under the same conditions except for the error distribution, the consistency of change-point detection of all algorithms is not as good as those in Table 1.

5. Real Data

5.1. Application to Coriel Data

Several methods based on change-point (e.g., [7, 26]) have been widely studied and applied in copy number variation (CNV) detection.

Generally, as a new source of genetic variation, copy number variation (CNV) plays an important role in phenotypic diversity and evolution. Moreover, many studies have shown that CNV is related to the pathogenicity mechanism of some diseases, including cancer, schizophrenia, and so on [3740]. Compared with a reference genome assembly [41], CNV usually refers to the deletion or amplification of a region of DNA sequences. Recently, with the significant advances in DNA array technology to detect DNA CNV, various techniques and platforms have been developed for analyzing DNA copy number, including array comparative genomic hybridization (aCGH), single nucleotide polymorphism (SNP) genotyping platforms, and next-generation sequencing, which provided lots of data. The goal of analyzing of DNA copy number data is to divide the whole genome into segments where copy number vary between contiguous segments and then quantify for each segment. Hence, the target of change-point based methods is to identify the exact locations of copy number changes.

For demonstrating the high efficiency and precision of FSSR, we use the FSSR to analyze the Coriel data set (Download at http://www.nature.com/ng/journal/v29/n3/suppinfo/ng754S1.html), which is firstly studied by Snijders et al. [42]. The well-known data set has been widely used in evaluating CNV detection algorithms ([7, 11, 20, 23, 26, 43, 44] and among others). The data sets consist of a logarithmic ratio of normalized intensities from the disease versus control samples, which are indexed by the physical location of the probes on the genome. The goal is to identify segments of concentrated high or low log ratios. The experiment on 15 fibroblast cell lines makes up the data sets. Each fibroblast cell line contains measurements for 2700 BACs (bacterial artificial chromosome) spotted in triplicate. There are 15 chromosomes with partial alterations and 8 whole chromosomal alterations. All of these alterations but one (Chromosome 15 on GM07801) were confirmed by spectral karyotyping. As shown in Figure 5, we apply FSSR to four chromosomes. They are Chromosome 1 of GM13330, Chromosome 7 of GM07081, Chromosome 11 of GM05296, and Chromosome 14 of GM01750. In the diagram, the points are normalized log ratios, and the dashed lines are locations of change-points detected by our proposed method. As the results show, FSSR identifies all. The results of SaRa or some other methods applied in this real data can consult references ([7, 44] and among others).

5.2. Application to Electric Power System

In this section, we apply the proposed FSSR approach in a real industry application to the electric power system. In the data analysis, the FSSR algorithm can be seen to overperform the SaRa and mSaRa algorithms.

In recent years, the electric distribution network (DN) faces a new challenge to the integration of distributed generations (DGs), after access of distributed scenario energy in the power system. A reasonable and appropriate plan needs to be considered to secure DN for future years. However, in order to save cost, few typical scenarios, which are used to guide in future years, are required to extract from existing massive scenarios. The power load data in the electric power system is typically time series, so the typical scenario reduction can be treated as a problem of detecting change-points.

The real data are collected from the 220kv grade DN of Sichuan province in China. Because the real data can only store for three months in practice, so we intercept data from April 20, 2016, 0:04:00 am, to May 31, 2016, 23:59:00 pm. An observation is recorded every 5 minutes; therefore the sample size is .

We apply FSSR, SaRa, and mSaRa algorithms to the time series of the power data on two transformers, respectively. The results of active power and reactive power are presented in Figures 6 and 7, respectively. In Figures 6 and 7, the vertical line represents the location of change-point given by the algorithms.

Tables 3 and 4 show the fitting effect, number of change-points selected, and running time of three algorithms. The BIC value of FSSR is lowest and the number of change-points given by FSSR is smallest, while the running time of FSSR is almost as short as SaRa and is obviously shorter than mSaRa.

6. Concluding Remarks

For the multiple change-point detection problems, an optimal method is mainly evaluated with two aspects: the detecting criterion of change-point and the design of algorithm.

For the criterion of detecting change-points, most of the existing methods are based on the maximization criterion of global CUSUM statistic (such as BS and CBS) or local CUSUM statistic (such as SaRa and mSaRa). From Figure 3, we note that a change-point not only is the local maximum but also should be the local single-peak of the CUSUM statistic distribution. Therefore our FSSR algorithm based on single-peak recognition is more robust than the traditional one by the maximization of the CUSUM statistic. In addition, we use QN on raw data to further enhance robustness.

During the algorithm design, a fast and efficient screening process is considered. We can select the approximate subsegments including change-points at very low computational cost.

Finally, the proposed FSSR has a good performance compared to the comparable existing algorithms according to our simulation and practical application results.

Data Availability

The data used to support the findings of Subsection 5.1 are included within the article, and the data used to support the findings of Subsection 5.2 are included within the supplementary information file.

Conflicts of Interest

The author declares that there are no conflicts of interest regarding the publication of this paper.

Authors’ Contributions

Youbo Liu gives the practical motivation on the change-point detecting and offers the real data of application in electric power system. Moreover, he provides many good suggestions to revise the manuscript.


This research project was supported by the National Natural Science Foundation of China (nos. 11471264, 11401148, and 51437003).

Supplementary Materials

The real data is the power data, which is collected from the integration of distributed generations of Sichuan province in China. The gathering time of the data is from April 20, 2016, 0:04:00 am, to May 31, 2016, 23:59:00 pm. An observation is recorded every 5 minutes, and the sample size is n = 11802. The data contains two parts: active power and reactive power according to the property of the data. Then, we apply FSSR, SaRa, and mSaRa algorithms to the time series of the power data on two transformers, respectively. (Supplementary Materials)