TL;DR
This paper presents RECURSIA and RRT algorithms that enhance pattern discovery and compression in point-set data by recursively applying TEC cover algorithms and removing redundant translators, improving compression and recall.
Contribution
The paper introduces recursive TEC cover algorithms and a translator removal technique to improve pattern compression in point-set pattern discovery.
Findings
Increased compression factor and recall with RECURSIA.
RRT reduces translators, increasing compression but lowering precision.
RECURSIA with RRT outperforms existing algorithms in compression.
Abstract
We introduce two algorithms, RECURSIA and RRT, designed to increase the compression factor achievable using point-set cover algorithms based on the SIA and SIATEC pattern discovery algorithms. SIA computes the maximal translatable patterns (MTPs) in a point set, while SIATEC computes the translational equivalence class (TEC) of every MTP in a point set, where the TEC of an MTP is the set of translationally invariant occurrences of that MTP in the point set. In its output, SIATEC encodes each MTP TEC as a pair, <P,V>, where P is the first occurrence of the MTP and V is the set of non-zero vectors that map P onto its other occurrences. RECURSIA recursively applies a TEC cover algorithm to the pattern P, in each TEC, <P,V>, that it discovers. RRT attempts to remove translators from V in each TEC without reducing the total set of points covered by the TEC. When evaluated with COSIATEC,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
11institutetext: Aalborg University, Denmark
11email: [email protected]
http://www.titanmusic.com http://personprofil.aau.dk/119171
RecurSIA-RRT: Recursive translatable point-set pattern discovery with
removal of redundant translators
David Meredith
Abstract
We introduce two algorithms, RecurSIA and RRT, designed to increase the compression factor achievable using point-set cover algorithms based on the SIA and SIATEC pattern discovery algorithms. SIA computes the maximal translatable patterns (MTPs) in a point set, while SIATEC computes the translational equivalence class (TEC) of every MTP in a point set, where the TEC of an MTP is the set of translationally invariant occurrences of that MTP in the point set. In its output, SIATEC encodes each MTP TEC as a pair, , where is the first occurrence of the MTP and is the set of non-zero vectors that map onto its other occurrences. RecurSIA recursively applies a TEC cover algorithm to the pattern , in each TEC, , that it discovers. RRT attempts to remove translators from in each TEC without reducing the total set of points covered by the TEC. When evaluated with COSIATEC, SIATECCompress and Forth’s algorithm on the JKU Patterns Development Database, using RecurSIA with or without RRT increased compression factor and recall but reduced precision. Using RRT alone increased compression factor and reduced recall and precision, but had a smaller effect than RecurSIA.
Keywords:
Pattern discovery Point sets Music analysis Data compression SIATEC COSIATEC SIATECCompress Forth’s algorithm Geometric pattern discovery in music.
1 Introduction
The principle of parsimony posits that, when given two models that account equally accurately for a given set of observations (data), then the simpler model is less likely to be an accurate description of the data by chance. That is, the simpler model is more likely to be a faithful representation of the true process that gave rise to the data. This principle, commonly known as “Ockham’s razor”, has been formalized in various ways in recent times, including Rissanen’s minimal description length principle [17] and Kolmogorov’s structure function [18]. The principle has been one of the foundational principles of scientific enquiry since antiquity and recent results in information theory [19] have shown that data compression is almost always the best strategy both for model selection and prediction.
In recent years, we have had some success in using compression-based point-set pattern discovery algorithms, such as COSIATEC [13, 10, 14, 16], SIATECCompress [13, 11, 14] and Forth’s algorithm [4, 5], in conjunction with normalized compression distance, to carry out classification tasks such as folk song tune family detection [8, 13, 12]. Moreover, Louboutin and Meredith [8] found a highly significant correlation between compression factor and performance on the task of automatically discovering fugue subjects and countersubjects [6, 7]. This motivates us to search for ways to improve the compression factor achieved by such algorithms in the hope that improving compression factor may also result in improved performance on a variety of musicological tasks. Our research programme is driven by the hypothesis that shorter encodings of data objects represent better ways of understanding those objects. We therefore strive to devise algorithms that compute encodings of musical data objects that are as parsimonious as possible.
Let be a set of –dimensional points, such that and . We call a dataset. For any vector, , the maximal translatable pattern (MTP) in is defined as . The SIA algorithm [15] computes all the non-empty MTPs in such a dataset in time. Two point sets, , are translationally equivalent, denoted by , if and only if there exists a vector, , such that . The translational equivalence relation partitions the powerset of exhaustively and exclusively into translational equivalence classes (TECs), such that the TEC to which a point set, , belongs is defined to be . The SIATEC algorithm [15] computes the TEC of every non-empty MTP in a dataset, , in time. A TEC, , can be encoded in a compressed form as a pair, , where is the set of non-zero vectors, . Each TEC in the output of SIATEC is encoded in this form. Given a TEC, , we define and . is called the TEC’s pattern and is called the TEC’s translator set or set of translators. The covered set of a TEC, , is the union of the point sets in the TEC and is given by . The compression factor of a TEC, is defined as . It is the ratio of , the number of points whose coordinates need to be explicitly specified if the covered set of the TEC is described in extenso, to , the number of points and vectors whose coordinates need to be specified if the TEC is encoded as a pair, , as defined above.
SIATECCompress and Forth’s algorithm use SIATEC to compute the MTP TECs in a dataset, , and then attempt, using a greedy strategy, to select a subset of these TECs, , such that and is minimized. That is, these algorithms attempt to find a minimum-length description of the dataset in terms of a cover constructed from TEC covered sets. The TEC covered sets in the covers computed by SIATECCompress and Forth’s algorithm may share points. However, the COSIATEC algorithm typically achieves better compression than these algorithms by partitioning the input dataset exhaustively and exclusively into non-intersecting TEC covered sets. It does this by incrementally constructing an encoding, , by (1) running SIATEC, (2) adding the TEC with the best compression factor to , (3) removing the covered set of this TEC from and then repeating this three-step process on progressively smaller, unencoded subsets of the dataset until all the points in the dataset have been covered.
In this paper, we introduce two novel techniques for improving the compression factor achieved using TEC cover algorithms. First, an algorithm, RecurSIA, is presented, that recursively applies a TEC cover algorithm to the pattern, , in each TEC in the cover it generates. Second, an approximation algorithm, RRT, is presented, that aims to remove as many translators from each TEC as possible without removing points from its covered set. The two techniques are evaluated separately and in combination on the effect that they have on compression factor, recall and precision, when used with COSIATEC, SIATECCompress and Forth’s algorithm on the JKU Patterns Development Database [2].
2 The RecurSIA algorithm
Figure 2 gives pseudocode for the RecurSIA algorithm. RecurSIA has two parameters, a TEC cover algorithm, (e.g., COSIATEC, SIATECCompress or Forth’s algorithm) and a dataset . RecurSIA runs on to obtain an encoding, (line 1 in Fig. 2), which is a list of TECs, . Each TEC, , is encoded as a pair, , as defined above. If the encoding, , contains only one TEC and the pattern for this TEC has only one occurrence, then failed to find any non-trivial MTPs in . In this case, is not applied to the pattern in this TEC, so RecurSIA returns (see line 2 in Fig. 2). If finds more than one TEC or at least one TEC whose pattern has more than one occurrence, then RecurSIA is applied recursively to the pattern, , in each TEC in (Fig. 2, lines 3–4). This generates a new encoding, , for each pattern, . If the encoding, , for a pattern, , contains more than one TEC, or a TEC whose pattern occurs more than once, then is a compressed encoding of and replaces in the TEC, (Fig. 2, lines 5–6).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Collins, T.: Improved methods for pattern discovery in music, with applications in automated stylistic composition. Ph.D. thesis, Faculty of Mathematics, Computing and Technology, The Open University, Milton Keynes (2011)
- 2[2] Collins, T.: JKU Patterns Development Database (2013), available at https://dl.dropbox.com/u/11997856/JKU/JKUPDD-Aug 2013.zip
- 3[3] Collins, T., Thurlow, J., Laney, R., Willis, A., Garthwaite, P.H.: A comparative evaluation of algorithms for discovering translational patterns in baroque keyboard works. In: 11th International Society for Music Information Retrieval Conference (ISMIR 2010), Utrecht, The Netherlands, 9–13 August 2010. pp. 3–8 (2010)
- 4[4] Forth, J.C.: Cognitively-Motivated Geometric Methods of Pattern Discovery and Models of Similarity in Music. Ph.D. thesis, Department of Computing, Goldsmiths, University of London (2012)
- 5[5] Forth, J., Wiggins, G.A.: An approach for identifying salient repetition in multidimensional representations of polyphonic music. In: Chan, J., Daykin, J.W., Rahman, M.S. (eds.) London Algorithmics 2008: Theory and Practice, pp. 44–58. College Publications, London (2009)
- 6[6] Giraud, M., Groult, R., Leve, F.: Subject and counter-subject detection for analysis of the well-tempered clavier fugues. In: Aramaki, M., Barthet, M., Kronland-Martinet, R., Ystad, S. (eds.) From Sounds to Music and Emotions: 9th International Symposium, CMMR 2012 London, UK, June 19–22, 2012. Revised Selected Papers (Lecture Notes in Computer Science, Vol. 7900), pp. 422–438. Springer-Verlag, Berlin and Heidelberg (2013)
- 7[7] Giraud, M., Groult, R., Leve, F.: Truth file for the analysis of Bach and Shostakovich fugues (2013/12/27 version) (2013), available online at http://www.algomus.fr/truth/fugues.truth.2013.12
- 8[8] Louboutin, C., Meredith, D.: Using general-purpose compression algorithms for music analysis. Journal of New Music Research 45 (1), 1–16 (2016)
