Feature Construction for Relational Sequence Learning

Nicola Di Mauro, Teresa Maria Altomare Basile, Stefano Ferilli, Floriana EspositoarXiv 2010

Introduction

In the landscape of machine learning, most standard algorithms are designed for "flat" data—static instances where each row in a dataset is independent and features are simple scalars. However, many real-world domains, particularly bioinformatics and temporal event analysis, involve data that is both sequential (ordered over time or space) and relational (containing complex internal structures and dependencies).

For example, in protein fold classification, a protein is not merely a string of amino acids; it is a sequence of secondary structures with specific spatial and logical relationships. While Hidden Markov Models (HMMs) are adept at handling sequences, they struggle with complex relational structures. Conversely, Inductive Logic Programming (ILP) excels at relational reasoning but often fails to scale to the long sequences typical of biological data. This paper introduces Lynx, a framework designed to bridge this gap by transforming complex relational sequences into predictive feature vectors through automated logical pattern mining and optimized feature selection.

The Lynx Framework

Lynx operates as a two-stage system that converts relational sequences into a format suitable for efficient probabilistic classification.

1. Automated Feature Construction

Instead of relying on manual feature engineering, Lynx employs a "level-wise" search strategy, inspired by the Apriori algorithm, to discover frequent relational patterns. These patterns are expressed using first-order logic, which allows the system to describe sophisticated structural relationships—such as "Structure A occurs exactly three positions after Structure B." By mining these patterns, Lynx captures the underlying grammar of the relational sequences.

2. Feature Selection via GRASP

The mining process often generates thousands of potential patterns, many of which are redundant, noisy, or lack predictive power. To address this, Lynx utilizes a Greedy Randomized Adaptive Search Procedure (GRASP). This stochastic local search algorithm treats feature selection as an optimization problem. It acts as a "wrapper" around a Naive Bayes classifier, iteratively selecting subsets of features that maximize classification accuracy. This process ensures that only the most discriminative logical patterns are retained, transforming the original relational data into a compact binary feature vector.

Experimental Evaluation

The authors evaluated Lynx on the challenging task of Protein Fold Classification. Using a dataset of 2,086 sequences of protein domains, the task was to predict which of the five most populated SCOP (Structural Classification of Proteins) folds a protein belongs to:

  1. TIM beta/alpha-barrel (c1)
  2. NAD(P)-binding Rossmann-fold domains (c2)
  3. Ribosomal proteins (c23)
  4. P-loop containing nucleoside triphosphate hydrolases (c37)
  5. DNA/RNA-binding 3-helical bundle (c55)

Key Results

Lynx demonstrated superior performance compared to established Statistical Relational Learning (SRL) methods, including Relational Conditional Random Fields and Logical HMMs.

System Accuracy
Lynx 94.15%
TildeCRF (Relational CRFs) 92.96%
Fisher Kernels 84.00%
LoHHMs (Logical HMMs) 75.00%

The framework achieved its peak accuracy of 94.15% when utilizing the GRASP selection process in conjunction with "jumping emerging patterns."

Insights and Discussion

The Significance of "Jumping" Patterns

A critical finding of the research is the power of "jumping emerging patterns." These are logical patterns that appear in one specific class but never in others (achieving a confidence of 1.0). The authors observed that these patterns are significantly more discriminative than those that are merely frequent (e.g., confidence > 0.95). By prioritizing these unique signatures, Lynx can make highly confident classifications.

Probabilistic Logic

While the features are constructed using rigid logic, Lynx treats them probabilistically. By calculating the probability of a pattern's appearance within a specific class, the Naive Bayes classifier can weigh the relative strength of each feature. This hybrid approach allows the system to benefit from the interpretability of logic and the robustness of probabilistic modeling.

The Importance of Selection

The results highlight that in relational learning, the selection of features is as vital as their construction. The significant jump in accuracy observed after applying GRASP suggests that removing redundant relational features is essential for preventing model over-fitting and improving generalization.

Limitations and Future Directions

Despite its success, the Lynx framework faces certain challenges:

  • Computational Complexity: Mining first-order logic patterns is computationally intensive. While constraints are used to manage the search space, further work is needed to ensure scalability to datasets containing millions of sequences.
  • Feature Independence: By using Naive Bayes, Lynx assumes that features are independent. However, logical patterns are often inherently correlated (e.g., a sub-pattern is always present if the parent pattern is present). Future iterations could explore models that explicitly account for these dependencies.

Conclusion

Lynx provides a robust methodology for handling the complexities of relational sequence learning. By combining automated logical pattern mining with a randomized search for feature selection, it outperforms traditional sequence models in biological classification tasks. This framework holds promise for other domains where data is characterized by both temporal order and rich internal structure, such as video activity recognition and user behavior modeling.

Summary updated

BibTeX
@misc{mauro2010feature,
  author = {Nicola Di Mauro and Teresa Maria Altomare Basile and Stefano Ferilli and Floriana Esposito},
  title = {{Feature Construction for Relational Sequence Learning}},
  year = {2010},
  eprint = {1006.5188},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1006.5188},
}
Figure