The Violence & Impacts Early Warning System (VIEWS) is an award-winning conflict prediction system that generates monthly forecasts for violent conflicts across the world up to three years in advance, at both country and sub-country levels of analysis. The views-platform contains several repositories, individual packages and documentation that encapsulates the entire process of developing, experimenting, training, evaluating, and deploying the VIEWS machine learning model pipeline.
Use our interactive data dashboard to explore our latest predictions of future armed conflict.
- Rationale
- Key Processes
- Key Features
- Pipeline Overview
- Platform Structure and Contents
- Further Resources and Documentation
- About the VIEWS Project
Conflict forecasting plays a vital role in early warning systems (EWS), where timely and accurate predictions can inform critical decisions in high-stakes scenarios. Artificial Intelligence (AI) is rapidly transforming peace and conflict forecasting, offering new ways to predict escalations, violence trends, and instability. However, without structured operational practices, AI forecasting risks becoming opaque, unreliable, and untrustworthy—making it unsuitable for real-world decision-making. To address these challenges and ensure AI-based forecasting is governable, auditable, and accountable, a new benchmark in machine learning operations (MLOps) is proposed, focusing on the development of a robust, reliable, and ethical pipeline tailored for EWS.
Our initiative emphasizes combining cutting-edge MLOps practices with conflict forecasting requirements, ensuring the pipeline is not only technically sound but also adaptable to dynamic conditions and aligned with ethical standards. The primary goal is to create a transparent and scalable infrastructure that supports accurate predictions, rapid model updates, and seamless operations, thereby bridging the gap between research prototypes and fully operational systems. Additionally, we rely on Open Source and FAIR (Findable, Accessible, Interoperable, and Reusable) principles to guide the design, promoting transparency, accessibility, and collaboration. As we aim to provide trustworthy and transparent forecasts, our goal is to integrate governance directly into MLOps, enforcing best practices through automation, monitoring, and structured oversight.
For more detailed information on our rationale and guiding principles, explore our Organizational Guides.
Achieving the goals stated in our rationale for building a robust ML pipeline involves several core iterative processes:
- Developing: Creating and refining machine learning models.
- Experimentation: Testing and validating various model configurations and approaches.
- Training: Training models with relevant data.
- Evaluating: Assessing model performance and accuracy.
- Deploying: Implementing models in a production environment to generate monthly true-future forecasts.
Developing and maintaining the VIEWS Pipeline relies on multiple key features:
- Centralized Logging Framework: At the heart of the pipeline is a comprehensive logging framework designed to enhance visibility, traceability, and system transparency.
- Monitoring and Input Drift Detection: To maintain the accuracy and reliability of predictions, the pipeline features robust monitoring mechanisms for model monitoring, as well as input data monitoring, to ensure timely intervention in cases of deviations.
- Branching and Synchronization Strategy: A branching strategy separates stable production code from ongoing development, minimizing the risk of disruptions during updates. Synchronization workflows will ensure that updates to tightly coupled ML and non-ML components occur in unison, preventing dependency issues.
- Versioning and Artifact Management: As versioning is crucial for ensuring reproducibility and facilitating troubleshooting, the pipeline includes robust version control for all artifacts, including models, datasets, and configurations.
- Modular and Scalable Infrastructure: The modular design of the pipeline supports scalability and adaptability in dynamic conditions, in turn allowing for simplified maintenance and upgrades.
The overall structure, as well as the core processes in the VIEWS machine learning pipeline are vizualized below:
The views-platform hosts all of the necesary components for producing forecasts utilizing the VIEWS ML pipeline. The modularity of the pipeline allows for components to be maintained in individual repositories. The execution of the pipeline relies on the following repositories:
- views-pipeline-core: Contains the main components necesary for the execution of the VIEWS pipeline, handling data ingestion, preprocessing, model and ensemble training, evaluation, and experiment tracking.
- views-models: Contains all of the implemented VIEWS models, at both PRIO-GRID-month and country-month levels of analysis, along with information about prediction targets, input data and model algorithms.
- views-stepshifter: Contains the VIEWS Stepshifter model class for time-series forecasts.
- views-hydranet: Contains the VIEWS HydraNet model class for spatiotemporal forecasts.
- views-evaluation: Contains the tools for storing, calculating and managing evaluation metrics for time-series forecasting models.
- docs: Contains high-level documentation of the VIEWS platform -- the pipeline and its components -- along with detailed instructions, guides and information about the project and how to interact with the individual components.
For more in-depth information about each repository and its contents, please see the detailed repository-specific README files:
- Pipeline execution: views-pipeline-core
- About the VIEWS models: views-models
- About VIEWS stepshifter: views-stephifter
- About VIEWS HydraNet: views-hydranet
- Forecast evaluation: views-evaluation
The previous iteration of the VIEWS model, Fatalities002, generated forecasts for state-based armed conflict during each month in a rolling 3-year window.
The following links cover model documentation for Fatalities002:
- Prediction models and input variables in main ensemble
- Levels of analysis and dependent variables
- Partitioning and time shifting data for training, calibration, testing/forecasting, model weighting, and out-of-sample evaluation
- Ensembling and calibration
For VIEWS-specific infrastructure documentation, please refer to following GitHub repositories:
ingester3: Loading input data into the VIEWS databaseviewser: Accessing input data from the VIEWS databaseviews_api: REST-API for accessing VIEWS predictions
The VIEWS project is a collaborative effort supported by leading research institutions focused on peace and conflict studies. For more information about the project, visit the VIEWS webpage.
-
Peace Research Institute Oslo (PRIO): The Peace Research Institute Oslo (PRIO) conducts research on the conditions for peaceful relations between states, groups, and people. PRIO is dedicated to understanding the processes that lead to violence and those that create sustainable peace. About half of the VIEWS core team is currently located at PRIO.
-
Department of Peace and Conflict Research at Uppsala University: The Department of Peace and Conflict Research at Uppsala University is a leading academic institution in the study of conflict resolution, peacebuilding, and security. The department is renowned for its research and education programs aimed at fostering a deeper understanding of conflict dynamics and peace processes. This department also hosts the Uppsala Conflict Data Program (UCDP), a central data source for the VIEWS project. About half of the VIEWS core team is currently located at Uppsala University.
The work presented on this platform is the outcome of projects that have received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 694640, ViEWS) and Horizon Europe (Grant agreement No. 101055176, ANTICIPATE; and 101069312, ViEWS (ERC-2022-POC1)), Riksbankens Jubileumsfond (Grant agreement No. M21-0002, Societies at Risk), Uppsala University, Peace Research Institute Oslo, the United Nations Economic and Social Commission for Western Asia (ViEWS-ESCWA), the United Kingdom Foreign, Commonwealth & Development Office (GSRA – Forecasting Fatalities in Armed Conflict), the Swedish Research Council (DEMSCORE), the Swedish Foundation for Strategic Environmental Research (MISTRA Geopolitics), the Norwegian MFA (Conflict Trends QZA-18/0227), the United Nations High Commissioner for Refugees (the Sahel Predictive Analytics project and Global Mapping of Forecasting Systems), the Norwegian Research Council (U FFAC), and the Complex Risk Analytics Fund (CRAF’d, VIEWS-PIN).


