Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-05T17:08:46.458Z Has data issue: false hasContentIssue false

A machine learning approach to detecting environmental crimes in Brazil

Published online by Cambridge University Press:  04 September 2026

Matthew C. Ingram*
Affiliation:
Political Science, University at Albany , USA

Abstract

This article contributes a machine learning approach to detecting environmental crimes in Brazil. Detecting these crimes is important for the health of the environment and public safety. The measurement of environmental crimes is challenging, in part due to efforts of those involved to remain hidden. However, administrative data on embargoes—legal liens on parcels of land—identify locations where the government documented some of these crimes. Using these data, the analysis develops a method for detecting yet-unidentified locations of these crimes. Embargo data are merged with a wide range of predictors that capture features of the physical environment, as well as demographic, socioeconomic, political, and public safety attributes. After training a series of models on these data, the random forest (RF) model performs best (AUC = 0.92). Overall, a combination of changes in vegetation, homicide rates, the prevalence of young men, human development, employment, the presence of a poverty reduction program, and political factors that capture local electoral competition and participation are important predictors of illegal deforestation. These findings—some unsurprising and some surprising—show the value of multicausal, cross-disciplinary approaches to understanding and detecting environmental crime. The practical gains from integrating remote sensing, a wide range of administrative data, and machine learning help build more effective crime detection, enhancing the government’s ability to conduct forest enforcement more safely and efficiently. Future research is promising as more and better data become available, and the approach can be extended to detect other illicit behavior, in Brazil and elsewhere.

Information

Type
Application Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Map of study area, the Legal Amazon, shown in red within Brazil. The outline of Brazil and its first-level subnational units (states) are shown in gray against the backdrop of South America.Figure 1. long description.

Figure 1

Figure 2. Distribution of embargoes across the study area. Boundaries of Brazilian states shown in gray. To illustrate that the embargo locations are polygons, not points, the state of Pará is outlined in red, and the inset image zooms in to the southeast corner of this state. The inset shows that embargo locations are polygons of varying sizes and shapes.Figure 2. long description.

Figure 2

Table 1. Summary of model performanceTable 1. long description.

Figure 3

Figure 3. ROC-AUC curve for random forest (RF) model, showing an AUC of 0.92.

Figure 4

Figure 4. Variable importance plots based on the percent increase in MSE (%IncMSE) and increase in node purity (IncNodePurity). Variables included are: 5-year change in vegetation index (veg_change_5yr), 10-year change in vegetation index (veg_change_10yr), population density (pop_density), prevalence of young men (pop_young_male), homicide rate in various years from 2006 to 2010 (e.g., homicide_rate_2006), employment rate (employment_rate), proportion of single-parent households (single_parents), prevalence of the Bolsa Familia poverty-reduction program (Bolsa_Familia), economic inequality (inequality), human development index (human_development), margin of victory in last mayoral election (margin_of_victory), effective number of candidates from last mayoral election (ENC), partisan alignment of mayor and governor (alignment), abstention rate (abstention), and identifiers for the three major political parties of local mayors (PMDB, PSDB, and PT).Figure 4. long description.

Figure 5

Figure 5. Variable importance plot based on minimal depth and mean. Variables included are: 5-year change in vegetation index (veg_change_5yr), 10-year change in vegetation index (veg_change_10yr), population density (pop_density), prevalence of young men (pop_young_male), homicide rate in various years from 2006 to 2010 (e.g., homicide_rate_2006), employment rate (employment_rate), proportion of single-parent households (single_parents), prevalence of the Bolsa Familia poverty-reduction program (Bolsa_Familia), economic inequality (inequality), human development index (human_development), margin of victory in last mayoral election (margin_of_victory), effective number of candidates from last mayoral election (ENC), partisan alignment of mayor and governor (alignment), abstention rate (abstention), and identifiers for the three major political parties of local mayors (PMDB, PSDB, and PT).Figure 5. long description.

Figure 6

Figure 6. Multi-way importance based on three measures of importance: number of nodes (no_of_nodes), MSE increase, and times a root. The top 10 most important features are labeled, including: 10-year change in vegetation index (veg_change_10yr), population density (pop_density), prevalence of young men (pop_young_men), homicide rate in 2008 and 2010 (homicide_rate_2008 and homicide_rate_2010), 5-year change in homicide rates (change_in_homicide_rate_5yr), employment rate (employment_rate), prevalence of the Bolsa Familia poverty-reduction program (Bolsa_Familia), human development index (human_development), effective number of candidates from last mayoral election (ENC), and the abstention rate (abstention). More than 10 features are identified if there is a tie.Figure 6. long description.

Figure 7

Figure 7. Multi-way importance based on measures related to the structure of trees: number of nodes (no_of_nodes), times a root, and mean minimal depth (mean_min_depth). The top 10 most important features are labeled, including: 5-year change in vegetation index (veg_change_5yr), 10-year change in vegetation index (veg_change_10yr), prevalence of young men (pop_young_male), homicide rate in 2008 and 2010 (homicide_rate_2008 and homicide_rate_2010), 5-year change in homicide rates (change_in_homicide_rate_5yr), employment rate (employment_rate), prevalence of the Bolsa Familia poverty-reduction program (Bolsa_Familia), human development index (human_development), effective number of candidates from last mayoral election (ENC), and abstention rate (abstention). More than 10 features are identified if there is a tie.Figure 7. long description.

Figure 8

Figure 8. Multi-way importance based on measures related to predictive accuracy: MSE increase, node purity increase, and p-value. The top 10 most important features are labeled, including: 5-year change in vegetation index (veg_change_5yr), 10-year change in vegetation index (veg_change_10yr), prevalence of young men (pop_young_male), homicide rate in 2007 to 2010 (homicide_rate_2007 and homicide_rate_2010), 5-year change in homicide rate (change_in_homicide_rate_5yr), employment rate (employment_rate), prevalence of the Bolsa Familia poverty-reduction program (Bolsa_Familia), effective number of candidates from last mayoral election (ENC), and abstention rate (abstention). More than 10 features are identified if there is a tie.Figure 8. long description.

Figure 9

Figure 9. Depth of the 30 most frequent interactions, relevant trees only. Interactions appear left to right in descending order according to the number of occurrences. Variables included are: 5-year change in vegetation index (veg_change_5yr), 10-year change in vegetation index (veg_change_10yr), population density (pop_density), prevalence of young men (pop_young_male), homicide rate in each year from 2006 to 2010 (e.g., homicide_rate_2006), 5-year change in homicide rate (change_in_homicide_rate_5yr), employment rate (employment_rate), prevalence of the Bolsa Familia poverty-reduction program (Bolsa_Familia), effective number of candidates from last mayoral election (ENC), and the abstention rate (abstention).Figure 9. long description.

Figure 10

Table 2. Variables involved in the 30 most frequent interactions, with mean minimal depth and frequencyTable 2. long description.