Abstract
Learning from tree-structured data streams presents significant challenges due to concept drift and the high computational cost of tree kernels. We present EnDAG, a high-performance ensemble learning framework that addresses these hurdles through a unified Directed Acyclic Graph (DAG) structure and a multi-resolution ensemble strategy. By sharing substructures across ensemble members and selectively activating models, EnDAG achieves superior accuracy and significant speedups over traditional methods.
Introduction
Most stream learning research focuses on unstructured vector data. However, many real-world domains—such as natural language processing, web mining, and XML processing—produce data in the form of trees. Two primary obstacles hinder effective learning in these scenarios: concept drift, where data patterns evolve over time, and the computational overhead of tree kernels. Comparing trees usually requires mathematically powerful but expensive kernels. Traditional ensemble methods, while effective against drift, typically multiply this cost, making them too slow for real-time applications.
Methodology
The proposed EnDAG framework optimizes ensemble learning for trees through three core innovations.
Substructure Sharing via Unified DAG
Instead of maintaining independent models that each re-calculate the same tree fragments, EnDAG integrates all ensemble members into a single, shared Directed Acyclic Graph. Each node in the DAG contains a "frame" (a small array) tracking weights for different models. This allows the system to compute kernel scores for the entire ensemble in a single pass, effectively eliminating redundant calculations of common tree fragments.
Multi-Resolution Ensemble Strategy
The ensemble is organized hierarchically into levels. Level 1 models are trained on the most recent data chunks. As Level 1 fills, older models are aggregated into Level 2, representing a broader temporal window. This layered approach enables the system to maintain a "structural memory" of both short-term fluctuations and long-term recurring patterns.
Selective Activation
To combat concept drift, EnDAG employs a Selective Ensemble (SE) approach. Rather than weighting all models, the system dynamically activates only a subset of models that are currently performing well. This prevents "poisoning" predictions with outdated concepts that no longer reflect the stream's current state.
Experimental Evaluation
The framework was evaluated using semi-real datasets derived from PropBank (Part-of-Speech tagging trees) with artificially introduced concept drift (DS-0, DS-1, DS-2).
- Speed: EnDAG achieved a 4x speedup compared to naive ensemble approaches by eliminating redundant kernel computations.
- Accuracy: In realistic drift scenarios (DS-1), the Selective Ensemble reached approximately 95% accuracy, significantly outperforming standard incremental models and weighted ensembles.
- Scalability: In a stress test of 1 million trees, EnDAG remained more than 2x faster than single-model approaches while maintaining higher accuracy.
Conclusion and Future Work
EnDAG demonstrates that structural redundancy in tree ensembles can be leveraged for massive performance gains. While the shared DAG structure is compact, future work could explore more sophisticated pruning to handle infinite streams. Additionally, testing on "wild" streams where drift is natural and unlabelled remains a key challenge. Nonetheless, the current framework provides a robust foundation for real-time learning from complex, structured data streams.
Summary updated