Informed Machine Learning for Complex Data

Luca Oneto, Nicolò Navarin, Alessio Micheli, Luca Pasa, Claudio Gallicchio, Davide Bacciu, Davide Anguita

Abstract

As machine learning (ML) models like Large Language Models (LLMs) and Graph Neural Networks (GNNs) become increasingly integrated into critical infrastructure, the limitations of purely data-driven approaches have become apparent. This paper explores the paradigm of "Informed Machine Learning," a framework that systematically integrates domain-specific expertise—technical, environmental, physical, and ethical—into the ML pipeline. By moving beyond black-box architectures, Informed ML aims to enhance generalization, ensure sustainability, and foster trust in real-world applications.

Introduction

Modern machine learning has achieved unprecedented success in processing complex data types such as sequences, graphs, and high-dimensional text. However, a significant gap persists between laboratory performance and practical deployment. Purely data-driven models often struggle with generalization when faced with out-of-distribution data, consume excessive computational resources, and operate as opaque systems that may inadvertently violate physical laws or ethical standards.

To bridge this gap, this work proposes a transition toward "Informed Machine Learning." This approach does not rely solely on statistical patterns within datasets but instead leverages structured domain knowledge to guide the learning process, ensuring that models are not only accurate but also robust and sustainable.

The Four Pillars of Informed ML

As part of a conceptual framework introduced at ESANN 2024, Informed ML is categorized into four distinct but overlapping pillars:

1. Technically Informed ML

This pillar addresses the "technical debt" often associated with complex ML systems. It focuses on engineering standards that ensure models are scalable and interoperable. Key techniques include model pruning, quantization, and distributed training. By adhering to these technical constraints, developers can create systems that are easier to maintain and integrate into existing production environments without sacrificing performance.

2. Environmentally Informed ML

With the rising energy costs of training massive models, environmental sustainability has become a primary concern. This pillar advocates for energy-efficient paradigms. A notable example is Reservoir Computing, which utilizes fixed random connections within recurrent networks. By only training the output layer, this method drastically reduces the computational overhead and energy consumption typically required for temporal data processing.

3. Physically Informed ML

Physically informed models integrate established domain knowledge—such as conservation laws or differential equations—directly into the ML pipeline. This integration can occur at three stages:

  • Pre-processing: Using domain expertise to clean, normalize, or augment data before it reaches the model.
  • In-processing: Modifying the architecture or loss function with mathematical constraints and specialized regularizers to ensure the model obeys physical reality.
  • Post-processing: Refining model outputs to ensure they align with known logical or physical truths.

4. Ethically Informed ML

To ensure societal alignment, this pillar incorporates algorithmic fairness, Explainable AI (XAI) methods (such as SHAP or LIME), and privacy-preserving techniques like federated learning. By making models transparent and fair, developers can build the trust necessary for deployment in sensitive sectors like healthcare and autonomous driving.

Key Insights: Beyond Accuracy

The shift toward Informed ML represents a move from a one-dimensional focus on accuracy to a multidimensional evaluation of model value.

  • Improved Generalization: By providing a model with a "head start" through domain knowledge, Informed ML improves generalization bounds. Models require less training data to reach reliable conclusions because they are already constrained by known principles.
  • Mitigating "Garbage In, Garbage Out": Physical and logical constraints act as a filter. Even when input data is noisy or incomplete, the model’s internal logic remains grounded in reality, preventing the generation of nonsensical or dangerous outputs.
  • Managing Systemic Risk: Technically informed practices help mitigate hidden risks like data dependencies and entanglement, making AI systems more maintainable over long lifecycles.

Challenges and Future Directions

Despite its potential, Informed ML faces several hurdles:

  • Encoding Complexity: Translating nuanced human expertise into the rigid mathematical formats required by neural networks remains a difficult task.
  • Expert Bias: Integrating prior knowledge can introduce "assumption bias," where a model might fail to discover new patterns that contradict existing, potentially incomplete, human theories.
  • Computational Trade-offs: Adding complex constraints can sometimes increase the computational burden during the training phase, potentially conflicting with environmental goals.

Conclusion

The future of artificial intelligence lies in the blending of data-driven power with the rigor of established scientific and ethical disciplines. Informed Machine Learning provides the necessary framework to create AI systems that are not only high-performing but are also reliable, efficient, and ethically sound for the complexities of the real world.

Summary updated

BibTeX
@inproceedings{oneto2024informed,
  author = {Luca Oneto and Nicolò Navarin and Alessio Micheli and Luca Pasa and Claudio Gallicchio and Davide Bacciu and Davide Anguita},
  title = {{Informed Machine Learning for Complex Data}},
  booktitle = {ESANN},
  year = {2024},
  doi = {10.14428/esann/2024.es2024-1},
}
Figure