论文信息

论文解读

AI 辅助整理
方法
2014—2023年县域面板,XGBoost-SHAP与空间杜宾模型。
发现
指数由0.375升至0.423但县际差距扩大,农业结构、经济与财政支出贡献81.3%,数字化有正向远
机会点
数字化远距离溢出的机制与因果识别尚缺,可结合县域数字基础设施做准自然实验。

论文摘要

基于2014至2023年中国1569县面板构建农业多功能指数,用XGBoost-SHAP与空间杜宾模型分析,发现指数由0.375升至0.423但县际差距扩大,农业结构、经济与财政支出贡献81.3%,数字化呈正向远距离溢出。属统计关联非因果。

全文

Agriculture

Academic Editor: Sanzidur Rahman
Received: 13 October 2026
Revised: 17 November 2026
Accepted: 17 November 2026
Published: 20 November 2026
Copyright: © 2026 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license.
Article
Toward SDG Target 2.4: Spatiotemporal Dynamics, Nonlinear
Drivers, and Spatial Spillovers of Agricultural
Multifunctionality at the County Level in China
Xiaolong Zhang 1 and Yuanjie Deng 2 , *
1 Institute of Western China Economic Research, Southwestern University of Finance and Economics,
Chengdu 611130, China
2 School of Economics, Sichuan University of Science & Engineering, Yibin 644000, China

  • Correspondence: ecodyj@suse.edu.cn
    Abstract
    Achieving sustainable agricultural development, as articulated in Sustainable Development
    Goal (SDG) Target 2.4, requires reconciling agricultural productivity and economic returns
    with rural livelihoods and environmental maintenance. Based on a balanced panel of 1569
    Chinese counties from 2014 to 2023, this study constructs a four-dimensional agricultural
    multifunctionality (AMF) index—supply, economic, social, and ecological functions—using
    equal dimension weights combined with entropy weighting within each dimension, and
    characterizes its spatiotemporal evolution and spatial agglomeration. It then applies an
    interpretable XGBoost–SHAP framework to identify nonlinear contribution patterns of
    driving factors and a two-way fixed-effects spatial Durbin model (SDM) to distinguish local
    and spillover effects. The findings show that: (1) county-level AMF improved from 0.375 in
    2014 to 0.423 in 2023, while inter-county disparities widened and spatial autocorrelation
    remained significantly positive; (2) agricultural structure, economic development, and
    fiscal expenditure intensity are the three most predictive factors (81.3% of total SHAP
    importance), and all drivers exhibit nonlinear, threshold-like contributions; (3) driving
    mechanisms display marked regional heterogeneity, with economic development leading
    in the East and Central regions and agricultural structure in the West and Northeast; and
    (4) effect decomposition reveals a significant positive local effect of agricultural structure,
    negative cross-county spillover associations for economic development and human capital,
    a positive long-distance spillover association for digitalization, and distance-dependent
    spillover patterns. These findings provide empirical evidence for differentiated county
    agricultural governance and cross-regional coordination in the broader context of sustain-
    able agriculture.
    Keywords: agricultural multifunctionality; SDG Target 2.4; sustainable agriculture; county;
    nonlinear drivers; spatial spillover; XGBoost; SHAP; spatial Durbin model
  1. Introduction
    Achieving sustainable agricultural development has become a fundamental challenge
    for global food systems amid persistent food insecurity, growing resource constraints, and
    mounting environmental pressures. Within this global agenda, Sustainable Development
    Goal (SDG) Target 2.4 explicitly calls for sustainable food production systems and resilient
    agricultural practices that enhance productivity, maintain ecosystems, and progressively
    improve land and soil quality. Nevertheless, the latest United Nations assessment indicates
    Agriculture 2026, 16, 2561 https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 2 of 35
that global progress toward productive and sustainable agriculture remains moderate,
with a status score of only 3.3 out of 5 in 2024 (https://unstats.un.org/sdgs/report/2026/,
accessed on 1 October 2026). These challenges reveal a fundamental tension in agricul-
tural development: increasing food production and economic returns must be reconciled
with maintaining environmental quality, supporting rural livelihoods, and ensuring the
long-term sustainability of agricultural systems. Previous research has demonstrated that
agricultural intensification and food production impose substantial pressures on natural re-
sources and ecosystem services [1,2], while recent global assessments further emphasize the
complex interactions and potential trade-offs among agricultural production, environmental
sustainability, and social well-being [3]. Consequently, understanding how agricultural
systems simultaneously perform multiple functions, rather than evaluating their success
solely through production or economic output, has become increasingly important for
advancing sustainable agriculture.
Agricultural multifunctionality (AMF) provides a conceptual framework for address-
ing this challenge. Originating from the recognition that agricultural activities generate
both commodity and non-commodity outputs, multifunctionality extends the evaluation
of agriculture beyond food production to encompass economic value creation, rural liveli-
hood support, and ecological–environmental maintenance [4,5]. Rather than treating these
functions as independent outcomes, the multifunctionality perspective recognizes that
they are jointly shaped by resource endowments, production technologies, socioeconomic
conditions, and institutional arrangements [6]. Improvements in individual agricultural
functions do not necessarily translate into simultaneous improvements across all dimen-
sions. Increasing agricultural productivity may enhance food supply and economic returns
while intensifying environmental pressures, whereas technological substitution and struc-
tural transformation may generate productivity gains accompanied by changes in rural
employment and income distribution. Recent scholarship on landscape multifunctionality
has similarly emphasized the importance of considering multiple sustainability objectives
and the relationships among them rather than pursuing individual functions in isolation [7].
From this perspective, AMF offers a complementary multidimensional lens for examin-
ing agricultural development in the context of SDG Target 2.4, although it should not be
equated with the official SDG monitoring indicator. Understanding the spatial distribution,
temporal evolution, and underlying drivers of AMF can therefore provide valuable evidence
for identifying differentiated pathways toward more sustainable agricultural development.
Internationally, this conceptual framing connects the Chinese case to an established
body of literature on multifunctional agriculture. In Europe, multifunctionality under-
pinned the reform of agricultural policy toward rural development and landscape manage-
ment, and European scholarship has emphasized the institutional, territorial, and social
dimensions of joint production [4,5] as well as the landscape-scale coordination of pro-
duction, biodiversity, and human well-being [7]. Comparative reviews further show that
multifunctionality and ecosystem-services perspectives, though related, rest on distinct
assumptions and are operationalized differently across regions [6]. These strands differ in
institutional context, but they converge on a common recognition that agricultural functions
are jointly produced, spatially differentiated, and conditioned by regional endowments
and policies. China’s county-level context adds a distinctive empirical dimension: a large,
administratively uniform, and data-rich territorial unit that permits systematic nationwide
comparison of the kind rarely feasible in European landscape studies or Global South
case studies.
China provides an important empirical setting for investigating these questions. As a
major agricultural producer undergoing rapid industrialization, urbanization, and rural
transformation, China faces the simultaneous challenges of maintaining agricultural produc-
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 3 of 35
tion capacity, improving economic efficiency, supporting rural livelihoods, and mitigating
environmental pressures. These transformations have profoundly reshaped agricultural
production structures, land-resource allocation, and the relationships between agricultural
and non-agricultural activities [8,9]. They have also contributed to the spatial differen-
tiation of rural development and agricultural functions across regions with contrasting
resource endowments and socioeconomic conditions [10,11]. At the county level, these
processes are particularly pronounced because counties constitute key territorial units for
agricultural production, public-service provision, resource allocation, and rural policy im-
plementation. Recent empirical studies have highlighted substantial spatial heterogeneity
in cropland multifunctionality across urban–rural gradients [12] and demonstrated the
relevance of integrating agricultural multifunctionality into spatial optimization and differ-
entiated agricultural management [13]. However, evidence from individual regions cannot
fully characterize the diversity of agricultural systems across a country as geographically
and economically heterogeneous as China. A nationwide county-level perspective is there-
fore essential for understanding how agricultural multifunctionality evolves across different
development contexts and for identifying spatially differentiated governance priorities.
Despite growing research interest, several important questions remain insufficiently ad-
dressed. First, existing studies have advanced the measurement and spatial characterization
of agricultural multifunctionality, but many empirical applications remain geographically
concentrated or operate at spatial scales that cannot fully capture heterogeneity among
individual counties [12–15]. Systematic evidence based on a large, temporally consistent
panel of counties across China remains relatively limited. Second, although economic
development, agricultural restructuring, technological progress, and resource endowments
have been widely recognized as important determinants of agricultural development, their
relationships with multifunctional outcomes may be nonlinear and conditional on local
circumstances. The marginal contribution of a particular factor may change across develop-
ment stages, and factors that are important in one region may play different roles elsewhere.
Conventional linear specifications alone may therefore be insufficient to characterize such
complex relationships. Third, agricultural multifunctionality is unlikely to be spatially
independent. Neighboring counties may share ecological conditions, agricultural markets,
infrastructure, technologies, and institutional environments, while agricultural services
and production factors may cross administrative boundaries. Recent county-level research
has provided evidence of spatial spillover associations in sustainable agricultural produc-
tion [16], highlighting the importance of explicitly accounting for spatial interdependence.
Nevertheless, a more integrated understanding is needed of how nonlinear predictive rela-
tionships coexist with spatial dependence and how the associations of key factors differ
between local and neighboring counties. Addressing these questions is important for mov-
ing beyond isolated assessments of agricultural functions toward a more geographically
informed understanding of sustainable agricultural development.
Against this background, this study investigates the spatiotemporal evolution, non-
linear driving relationships, and spatial effects of agricultural multifunctionality across
1569 Chinese counties during 2014–2023. Specifically, it seeks to answer three intercon-
nected questions: How has county-level AMF evolved over time and space, and what
regional disparities and spatial clustering patterns characterize its development? Which
socioeconomic, agricultural, technological, and resource-related factors are most closely
associated with AMF, and how do their predictive contributions vary nonlinearly and across
regions? To what extent are these factors associated with local AMF and multifunctionality
in neighboring counties under spatial interdependence? To address these questions, we
construct a four-dimensional evaluation framework encompassing agricultural product
supply, economic, social, and ecological functions and derive a composite AMF index from
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 4 of 35
a balanced panel comprising 15,690 county–year observations. We then characterize its
temporal evolution, regional differentiation, and spatial agglomeration patterns. An in-
terpretable machine-learning framework is employed to identify the relative importance,
nonlinear predictive associations, and regional heterogeneity of potential driving factors.
Subsequently, a spatial econometric framework is used to distinguish local and indirect
spatial effects of the core factors while accounting for spatial dependence. Together, these
approaches provide complementary evidence on the spatial and nonlinear characteristics
of county-level AMF without treating predictive associations or spatial correlations as
definitive causal effects. The overall research framework is illustrated in Figure 1.
Figure 1. Research framework of the study.
This study contributes to the literature in three respects. First, it extends the empirical
assessment of agricultural multifunctionality to a nationwide county-level panel, providing
a geographically detailed perspective on the evolution and regional differentiation of agri-
cultural functions over an extended period. Second, it moves beyond conventional linear
interpretations by investigating the relative importance, nonlinear associations, and regional
heterogeneity of key factors associated with AMF, thereby offering a more nuanced under-
standing of the conditions under which agricultural multifunctionality develops. Third,
it integrates spatial dependence into the analysis of agricultural multifunctionality, distin-
guishing local associations from cross-county spatial effects and highlighting the relevance
of regional coordination for agricultural governance. By connecting the multidimensional
assessment of agricultural functions with their spatial and nonlinear characteristics, this
study provides empirical insights relevant to the broader objectives of SDG Target 2.4.
Its findings may inform place-based policies aimed at improving agricultural production
structures, strengthening agricultural services, enhancing public-resource allocation, and
promoting coordinated agricultural development across regions.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 5 of 35
2. Literature Review and Theoretical Analysis
2.1. Literature Review
AMF has evolved from an emphasis on the joint production of commodity and non-
commodity outputs into a broader perspective on agriculture’s multiple contributions to
sustainable development. The foundational analytical framework was established by the
OECD [4]; subsequent European scholarship elaborated its institutional, territorial, and
social dimensions [5] and situated multifunctionality within rural development and restruc-
turing [17]; and Wilson [18] interpreted multifunctionality through agricultural transition
theory. This European lineage emphasizes rural development and the governance of joint
production, whereas a parallel landscape-oriented strand has foregrounded the reconcilia-
tion of production, biodiversity, and human well-being [7]. Read together, these traditions
converge on a common position: agricultural systems generate multiple, interdependent
functions, and their evaluation must extend beyond production. Nevertheless, AMF and
sustainable agriculture are not conceptually identical—AMF concerns the functions gener-
ated by agricultural systems, whereas sustainable agriculture additionally encompasses
the sustainability of production practices and resource use—so AMF should be regarded
as a complementary analytical perspective rather than a direct measure of SDG Target 2.4
achievement.
The measurement of agricultural multifunctionality has shifted from single-function
assessments toward multidimensional frameworks. Agricultural multifunctionality is dis-
tinguished from ecosystem multifunctionality, which concerns the simultaneous provision
of ecological functions and services [19], whereas the former emphasizes agricultural ac-
tivities and their economic, social, and ecological consequences [6]. Multidimensional
indicator systems are now widely used across spatial scales [20]; Alignier et al. [21] and
Qu et al. [22] illustrate that systems with comparable overall multifunctionality can have
markedly different functional profiles. Composite indices, however, involve unavoidable
choices regarding functional boundaries, indicator selection, and weighting. Although
entropy-based weighting assigns weights according to data dispersion [23,24], the resulting
weights do not necessarily reflect the ecological or social importance of functions, and
aggregation may obscure functional composition. Interpreting AMF indices therefore re-
quires distinguishing overall multifunctional performance from the relative development
of individual functions.
The spatial and temporal evolution of agricultural multifunctionality has received
increasing attention in both European and Chinese contexts. In Europe, Stürck and Ver-
burg [25] showed that landscape multifunctionality varies with land-use change and spatial
scale, underscoring the scale-dependence of multifunctionality assessments. In China,
Peng et al. [14] identified substantial spatial differentiation in urban agricultural multi-
functionality, while subsequent work revealed spatial non-stationarity in its drivers [15],
and Song and Yang [26] examined its spatiotemporal interaction with carbon outcomes.
Recent studies have further shown that cropland functions exhibit distinct spatial patterns
and trade-offs across urban–rural gradients [12], stage-dependent changes in mountainous
areas [22], and heterogeneous nonlinear associations across China [27], with Li et al. [13]
connecting multifunctionality to spatial optimization and zoning. These European and
Chinese strands differ in scale, functional definitions, and policy context—European studies
typically operate at landscape or regional scales, whereas Chinese studies increasingly
exploit county-level administrative data—and studies of cropland or landscape functions
cannot be equated with assessments of broader county agricultural systems. A temporally
consistent nationwide county-level analysis therefore remains valuable.
The drivers of agricultural multifunctionality are embedded in economic transfor-
mation, agricultural restructuring, technological change, and institutional development.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 6 of 35
Economic development can expand demand, capital, and infrastructure, yet industrial-
ization and urbanization may also intensify competition for agricultural land, labor, and
capital [8,9,11]. Agricultural structure shapes factor allocation, mechanization improves
labor productivity with context-dependent implications [28,29], and public investment
conditions multifunctional supply through infrastructure and services [30,31]. Recent
evidence confirms that these relationships are context-dependent: the drivers of cropland
multifunctionality differ across urban–rural gradients [12] and with population and eco-
nomic development [27]. The relationships between drivers and AMF may thus exhibit
diminishing returns, turning points, or directional changes, challenging linear assumptions.
Recent methodological developments have improved the capacity to investigate nonlin-
ear relationships in multifunctional land systems. Linear specifications may be insufficient
when relationships vary across the distributions of explanatory variables, whereas tree-
based ensemble models characterize nonlinear associations and interactions without a
predetermined functional form [32,33], and SHapley Additive exPlanations (SHAP) de-
composes predictions into feature contributions [34,35]. Feng et al. [36] and Liao et al. [27]
applied XGBoost–SHAP to land-use functions and cropland supply–demand mismatches.
Nonlinear modeling is thus an established component of contemporary multifunctional-
ity research, but existing applications often focus on specific functions or regional cases,
and feature importance reflects predictive contributions within fitted models rather than
causal effects. A remaining challenge is to understand how the importance and nonlinear
associations of multiple factors vary across development contexts.
Spatial interdependence is another dimension that analyses of local drivers alone
cannot capture. Agricultural functions are embedded in spatially connected systems of
shared environments, markets, infrastructure, technology diffusion, and factor mobility.
Spatial autocorrelation statistics identify spatial clustering and local dependence [37,38],
and spatial econometric models distinguish direct, indirect, and total effects under spec-
ified weight matrices [39–41]. Wu et al. [16] found positive spatial spillovers between
agricultural productive services and rice ecological efficiency in Jiangxi. However, spatial
associations depend on model specification and institutional context [40], and significant
spatial coefficients do not by themselves establish causal transmission. Nonlinear predictive
relationships and spatial econometric effects address different questions, and their com-
bination provides complementary evidence but does not resolve endogeneity or identify
causal mechanisms.
Overall, existing research provides a substantial foundation but leaves several issues
unaddressed. First, although European and Chinese studies have advanced the measure-
ment and spatial characterization of multifunctionality, consistent measurement across a
large national sample of counties remains limited, and the fine-grained county scale has not
been fully exploited. Second, the relative contributions, nonlinear patterns, and regional
heterogeneity of county-level AMF require more systematic assessment than conventional
linear specifications allow. Third, spatial dependence has not been fully integrated with
nonlinear analysis, so the question of how local drivers and cross-county spillovers jointly
shape multifunctionality remains open. Addressing these issues requires an approach
that combines multidimensional assessment, spatiotemporal characterization, nonlinear
interpretation, and spatial effect analysis, thereby providing geographically differentiated
evidence relevant to SDG Target 2.4 without treating the AMF index as a direct measure of
progress toward the official target.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 7 of 35
2.2. Theoretical Analysis
2.2.1. The Conceptual Connotation of Agricultural Multifunctionality
AMF provides a conceptual foundation for understanding how agricultural systems
contribute to sustainable development through multiple, potentially competing functions.
Within SDG Target 2.4, sustainable agriculture requires more than raising food production
and productivity; it also involves maintaining ecosystems and improving resource-use
practices. Economically, agriculture is a multi-output production system in which land,
labor, capital, technology, and natural resources jointly generate market and non-market
outputs [4,5]. These outputs are interconnected because they emerge from shared processes
and compete for common resources, so evaluating agriculture solely through output growth
or economic efficiency cannot capture its broader functional performance.
The theoretical foundation of AMF rests on joint production and multiple development
objectives [5,17]. Unlike agricultural production efficiency, which concerns the input–output
relationship, multifunctionality concerns the range and relative performance of functions. It
is also distinct from ecosystem multifunctionality, which concerns the simultaneous provi-
sion of ecological functions and services [6,19]. Agricultural multifunctionality additionally
incorporates economic and social outcomes, and recent research on agricultural territorial
functions shows complex interactions among production, economic, social, and ecological
objectives [22]. AMF should therefore be understood as a multidimensional attribute of
agricultural systems rather than an extension of output or a direct indicator of sustainability.
Building on this perspective, this study conceptualizes county-level AMF through
four interrelated dimensions: agricultural product supply, representing the capacity to
provide food and commodities; economic function, capturing the conversion of resources
into economic value; social function, concerning rural employment and livelihoods; and
ecological function, concerning environmental pressures. In the empirical framework, the
ecological dimension is represented by negative indicators of input intensity (pesticide
application per unit of sown area and agricultural mechanization level), which capture
selected environmental pressures rather than the full range of ecosystem services. These four
dimensions provide complementary information about agricultural performance, although
they do not exhaust every aspect of sustainable agriculture.
An essential characteristic of agricultural multifunctionality is that its constituent func-
tions may exhibit synergies and trade-offs. Improvements in one function can facilitate or
constrain others depending on resources, technology, and institutions: mechanization may
reinforce productive and economic functions while altering employment, and expanding
high-value production may compete with grain production for land, labor, and capital,
whereas improvements in infrastructure and environmental management may create mutu-
ally reinforcing gains. These relationships are conditional rather than universally positive
or negative, and recent studies identify substantial heterogeneity in functional relation-
ships across contexts [22,27]. Multifunctionality is thus shaped by the allocation of scarce
resources among competing objectives.
The conceptual interdependence of functions should be distinguished from their em-
pirical aggregation. A composite AMF index summarizes selected dimensions but does not
measure coordination, synergy, or trade-off among them, and its interpretation depends
on the indicators and weights employed. This distinction matters when evaluating the
contribution of AMF research to SDG Target 2.4: multidimensional performance is related
to sustainable agriculture but does not establish whether practices satisfy internationally
defined sustainability criteria. Accordingly, AMF is used here as an empirical framework
rather than a direct measure of SDG Target 2.4 achievement.
Furthermore, agricultural multifunctionality is inherently spatial and dynamic. The
relative performance of functions changes as economies develop, technologies diffuse,
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 8 of 35
structures adjust, and resource constraints evolve, and these transformations occur un-
evenly because counties differ in endowments, specialization, and institutional capacity.
Agricultural functions may also be spatially interconnected through shared ecological con-
ditions, factor mobility, and service networks. A comprehensive understanding of AMF
therefore requires examining its multidimensional structure, temporal evolution, regional
differentiation, and spatial relationships.
2.2.2. The Driving Mechanisms of Agricultural Multifunctionality
The formation and evolution of agricultural multifunctionality (AMF) arise from the
interaction of economic transformation, resource allocation, technological progress and
institutional conditions. Resource reallocation, technology and human capital upgrading,
and institutional and ecological support jointly shape the availability, allocation and pro-
ductivity of agricultural resources. These effects vary across counties and development
stages, and can spread beyond administrative boundaries through interconnected mar-
kets, ecological systems and service networks (Figure 2). Economic development and
urban transformation reshape AMF via factor redistribution between agricultural and non-
agricultural sectors [42]. Expanded market demand, investment and infrastructure help
strengthen agricultural economic and livelihood functions, while urban competition for
land, labor and capital triggers farm labor outflow and tightens agricultural factor sup-
ply [8,9]. Agricultural restructuring, human capital and digitalization further determine
production organization and resource-use efficiency. A high agricultural share does not
equate to modern, efficient agriculture, and its influence depends on productivity, market
integration and production organization. Human capital facilitates technology adoption,
yet its benefits diminish when skilled labor leaves local agriculture. Digital infrastructure
reduces transaction costs and improves market access, though gains remain uneven where
digital literacy and supporting institutions are inadequate. Institutional arrangements and
fiscal expenditure regulate resource allocation efficiency: public spending mitigates market
failures in infrastructure, education and environmental governance [30,31], but greater
fiscal input does not automatically improve agricultural functions. This study measures
fiscal intensity using the ratio of general public budget expenditure to GDP , reflecting overall
public resource conditions rather than dedicated agricultural subsidies.
Complementary and competitive mechanisms together generate nonlinear driving re-
lationships and regional heterogeneity. As development, digitalization or fiscal expenditure
increases, dominant transmission paths shift: infrastructure and technology release binding
constraints at low levels, whereas diminishing returns and factor competition weaken posi-
tive impacts afterwards. Differences in local endowments, specialization and governance
capacity mean the same factor may exert divergent effects on AMF across regions [22,27].
Spatial linkages further complicate these relationships. Adjacent counties share ecosystems,
markets and technologies. Cross-county commodity flows, knowledge spillovers and factor
mobility create spatial complementarity [16], while competition for labor and markets
produces negative spillover effects. The spatial implications of core drivers therefore require
empirical testing.
This study establishes an integrated analytical framework to distinguish nonlinear
predictive associations from spatial econometric effects. Nonlinear analysis identifies key
driving factors and captures how their influences change with factor levels and regional
contexts; spatial models decompose direct, indirect and total effects under specified spatial
weight matrices [39–41,43]. It should be noted that predictive correlations cannot confirm
causal thresholds, and spatial spillover results alone cannot verify specific transmission
channels. Overall, county-level AMF is a multidimensional outcome of economic transition,
agricultural restructuring, human capital development and institutional settings. Coexisting
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 9 of 35
efficiency gains, factor competition and spatial interdependence motivate three testable
expectations: drivers differ in relative importance; their associations with AMF are nonlinear
and regionally heterogeneous; some factors show significant spatial spillover effects. The
findings can support differentiated governance for SDG Target 2.4.
Figure 2. Driving-mechanism framework of county-level agricultural multifunctionality.
3. Data and Methods
3.1. Sample Construction and Data Sources
This study takes Chinese county-level units as the research objects and constructs
a county-level panel dataset for 2014–2023 to examine the spatiotemporal evolution and
driving mechanisms of agricultural multifunctionality. Data are mainly drawn from the
China County Statistical Yearbook and related official statistical materials, matched by
county name, administrative division, and statistical year, with consistency checks on
indicator definitions, measurement units, and statistical scopes. Given that indicators
such as economic development, agricultural production, and pollution emissions exhibit
temporal dependence, the ARIMA model is used for time-series imputation, followed by
reasonableness checks on the imputed values and on indicator units, statistical scopes, and
temporal continuity. Samples are screened according to indicator availability and temporal
continuity. After 1% winsorization, counties with valid observations for 10 consecutive
years from 2014 to 2023 are retained, forming a balanced panel of 1569 counties and 15,690
county–year observations covering the eastern, central, western, and northeastern regions
of China. Variable definitions, calculation methods, and units are presented in Table 1.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 10 of 35
Table 1. Influencing factor system of agricultural multifunctionality.
Dimension Influencing Factor Symbol Variable Definition
Development base
and structural
transformation
Economic
development lnGDPpc Logarithm of GDP per capita (yuan)
Development base
and structural
transformation
Urbanization Urban
Urban population as a
percentage of the total
resident population (%)
Development base
and structural
transformation
Agricultural
industrial structure AgStr
Value added of the
primary sector as a
percentage of GDP (%)
Technology and
human capital Human capital Edu
Ordinary secondary
school students per
10,000 residents
Technology and
human capital Digitalization Digital Broadband subscribers per 10,000 residents
Public investment Fiscal expenditure intensity Fis
Local general budget
expenditure as a
proportion of regional
GDP
Descriptive statistics for the variables used in the empirical analysis are reported in
Table 2. All explanatory variables are measured in contemporaneous terms rather than
as lagged values. The dependent variable AMF has a mean of 0.396, ranging from 0.113
to 0.709, indicating noticeable cross-county variation. Explanatory variables show het-
erogeneous distributions: urbanization, agricultural structure, digitalization, and fiscal
expenditure intensity exhibit substantial dispersion, while economic development is rela-
tively concentrated.
Table 2. Descriptive statistics of variables.
Variable Obs. Mean Std. Dev. Min. Max.
AMF 15,690 0.396 0.053 0.113 0.709
lnGDPpc 15,690 10.788 0.642 8.728 12.391
Urban 15,690 37.126 21.875 0.000 96.990
AgStr 15,690 14.952 10.539 0.033 54.657
Edu 15,690 479.415 181.230 76.184 1824.731
Digital 15,690 3454.178 3769.629 187.066 21,197.000
Fis 15,690 0.247 0.224 0.030 1.465
3.2. Measurement of Agricultural Multifunctionality
Agricultural multifunctionality captures the multiple values generated by agricul-
tural systems beyond the production of agricultural commodities. Its assessment therefore
requires consideration not only of agricultural output, but also of agriculture’s economic con-
tributions, social functions, and environmental implications. Building on this perspective,
this study develops a comprehensive evaluation framework comprising four dimensions:
supply, economy, society, and ecology (Table 3). These dimensions collectively capture the
capacity of agriculture to meet basic material needs, generate economic value, support rural
livelihoods, and exert environmental pressures.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 11 of 35
Table 3. Evaluation indicator system of county-level agricultural multifunctionality.
Function
Dimension Indicator Calculation Method Direction
Agricultural
product supply
Grain yield per unit
area
Total grain output/total
sown area of crops +
Per capita grain
output
Total grain
output/year-end total
population
+
Economic function
Agricultural labor
productivity
Primary industry value
added/agricultural
employees
+
Agricultural output
value per unit land
Gross agricultural
output/arable land area +
Social function
Agricultural
employment
absorption capacity
Agricultural
employees/rural
employees
+
Rural resident
income
Per capita disposable
income of rural residents +
Ecological function
Pesticide
application per unit
sown area
Pesticide
application/total sown
area of crops
−
Agricultural
mechanization level
Total agricultural
machinery power/total
sown area of crops
−
To ensure that each dimension is equally represented in the composite index, we assign
an equal weight of 25% to each of the four dimensions. Within each dimension, individual
indicators are weighted using the entropy method. Before aggregation, all raw indicators
are normalized using the min–max method to eliminate differences in measurement units
and scales. Specifically, grain yield per unit area, per capita grain output, agricultural
labor productivity, agricultural output value per unit of cultivated land area, agricultural
employment absorption capacity, and per capita disposable income of rural residents are
treated as positive indicators, for which higher values indicate stronger performance in the
corresponding functional dimension. By contrast, pesticide application per unit of sown
area and agricultural mechanization level are treated as negative indicators, with higher
values indicating greater environmental pressure associated with agricultural production.
The calculation steps for the agricultural multifunctionality composite index, with
equal weights assigned to the four dimensions, are as follows:
𝑍ij =
𝑋ij − 𝑋min
𝑋max − 𝑋min
(1)
𝑍ij =
𝑋max − 𝑋ij
𝑋max − 𝑋min
(2)
𝑝ij =
𝑍ij
∑𝑛𝑖=1 𝑍ij (3)
𝑒𝑗 = − 1ln(𝑛) ∑𝑛𝑖=1 𝑝ij(ln(𝑝ij)) (4)
𝑑𝑗 = 1 − 𝑒𝑗 (5)
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 12 of 35
𝑤𝑗 =
𝑑𝑗
∑𝑚𝑗=1 𝑑𝑗 (6)
AM𝐹𝑖 = ∑
𝑚
𝑗=1
(𝑤ij𝑍ij) (7)
Equations (1) and (2) are the min–max standardization for positive and negative
indicators, where Xij is the original value of indicator j in county i, and Xmin and Xmax are
the minimum and maximum of the indicator. In Equation (3), pij is the indicator proportion
(when pij = 0, let pij ·ln(pij ) = 0); in Equation (4), ej is the information entropy and n is the
number of counties; in Equation (5), dj is the coefficient of variation; in Equation (6), wj
is the weight and m is the number of indicators; in Equation (7), AMFi is the agricultural
multifunctionality index of county i, ranging between 0 and 1, with larger values indicating
a higher level of multifunctionality.
3.3. Spatial Analysis Methods
To characterize the temporal evolution and regional differentiation of AMF and to
further identify its spatial dependence and local clustering characteristics, this study uses
the mean, regional mean, and coefficient of variation to describe the overall level, regional
differences, and relative dispersion of AMF, and, drawing on related studies [37,38], employs
global Moran’s I and local spatial autocorrelation (LISA) to examine its spatial clustering
and differentiation characteristics; the definition of global Moran’s I is given in Equation (8).
𝐼 = 𝑛∑𝑛𝑖=1 ∑𝑛𝑖=1 𝑤ij ·∑𝑛𝑖=1 ∑𝑛𝑗=1 𝑤ij(𝑥𝑖 − 𝑥)(𝑥𝑗 − 𝑥)∑𝑛𝑖=1 (𝑥𝑖 − 𝑥)2 (8)
where n is the number of counties, xi and xj are the AMF values of counties i and j, 𝑥 is the
mean, and wij is the element of the spatial weight matrix. Moran’s I ranges between −1
and 1; a significantly positive value indicates positive spatial autocorrelation (high-value
counties adjacent to high-value counties, low-value adjacent to low-value).
3.4. XGBoost Model
The effects of natural, socioeconomic, and locational factors on AMF are often nonlin-
ear, with possible interactions among variables. XGBoost is a scalable ensemble learning
algorithm using gradient-boosted decision trees [33]. Traditional gradient-boosting meth-
ods [32] weakly constrain model complexity and are prone to overfitting. XGBoost adds
a regularization term to the loss function and uses a second-order Taylor expansion to
optimize split gain. The objective function is Equation (9), and the complexity penalty
is Equation (10). The model additively integrates K trees, with the final prediction in
Equation (11). This study uses XGBoost to fit the nonlinear relationship between AMF and
its drivers and applies SHAP to quantify each factor’s contribution, direction, and threshold
effects, thereby identifying key factors affecting AMF improvement.
obj = ∑
𝑛
𝑖=1
𝐿(𝑦𝑖, ̂𝑦𝑖) + ∑
𝐾
𝑘=1
Ω(𝑓𝑘) (9)
Ω(𝑓𝑘) = 𝛾𝑇𝑘 + 12𝜆 𝑇𝑘∑𝑗=1 𝑤2kj (10)
̂𝑦𝑖 = ∑
𝐾
𝑘=1
𝑓𝑘(𝑥𝑖) (11)
where L(⋅) denotes the loss function (squared error is adopted in this study), T denotes the
number of leaf nodes, w denotes the leaf weight, and γ and λ are the penalty coefficients
for the number of leaf nodes and L2 regularization, respectively.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 13 of 35
3.5. SHAP Interpretability Analysis
SHAP , based on the Shapley value in cooperative game theory, decomposes the model
prediction for an observation into the sum of the contributions of each feature [35]. The
SHAP value of feature j is defined as Equation (12).
φij = ∑
𝑆⊆𝑁{𝑗}
∣𝑆∣!(𝑀 − ∣𝑆∣ − 1)!
𝑀! [𝑓(𝑆∪{𝑗})(𝑥𝑖) − 𝑓𝑠(𝑥𝑖)] (12)
where N is the full feature set, M is the number of features, S is any feature subset not
containing feature j, and f(S) is the model prediction using only feature subset S. φj measures
the marginal predictive contribution of feature j relative to the baseline: φj > 0 indicates
that the feature raises the model prediction of AMF, and φj < 0 indicates that it lowers the
prediction.
To compare the global importance of different driving factors, this study uses the mean
absolute SHAP value (Mean Absolute SHAP) as the measurement:
𝐼𝑗 = 1𝑛 𝑛∑𝑖 = 1∣ϕij∣ (13)
In Equation (13), Ij represents the global importance of driving factor j. A higher value
indicates a greater average contribution of that factor to the model’s predictions. In the
XGBoost model, the predictive contribution of each driving factor is not determined by a set
of predetermined fixed linear coefficients but rather by the ensemble structure of decision
trees and the interactions among features. Accordingly, the SHAP contribution of feature j
to the prediction for sample i can be expressed as follows:
ϕij = 𝑔𝑗(𝑋ij, 𝑋𝑖,−𝑗) (14)
In Equation (14), gj denotes the SHAP contribution function of feature j, Xij represents
the observed value of driving factor j for sample i, and Xi,−j denotes the values of the other
driving factors for that sample. To identify thresholds, this study examines the intersection
points between the smoothed SHAP curves and the zero reference line, as well as locations
where the curve’s slope or curvature changes markedly, to identify potential nonlinear
turning points. The intersection between the SHAP curve and the zero reference line is
mathematically expressed as follows:
⌢
𝑔 𝑗(𝑋∗𝑗 ) = 0 (15)
In Equation (15), 𝑋∗j denotes the candidate threshold for driving factor j, indicating
the point at which its SHAP contribution changes from positive to negative or vice versa.
Threshold stability is calculated as follows:
𝑆𝑗 = 1𝐵 𝐵∑𝑏=1 1(∣⌢𝑋∗jb − ⌢𝑋∗𝑗 ∣ ≤ 𝛿𝑗) (16)
In Equation (16), Sj denotes the threshold stability of driving factor j, B is the number
of Bootstrap replications. The indicator function 1(·) equals 1 if the specified condition is
satisfied and 0 otherwise.
3.6. Spatial Durbin Model
Although the XGBoost–SHAP model can identify the key factors affecting agricul-
tural multifunctionality and their nonlinear associations, its analytical focus is on model
prediction and variable contribution interpretation, and it cannot directly characterize the
spatial interdependence among counties and its potential spillover effects. Considering
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 14 of 35
that agricultural production conditions, resource endowments, industrial development,
and environmental governance exhibit certain spatial associations, the agricultural multi-
functionality of neighboring counties and its driving factors may generate cross-regional
effects through channels including factor flows, technology diffusion, and environmental
externalities. Therefore, this study further introduces the Spatial Durbin Model (SDM)
to examine the spatial dependence of agricultural multifunctionality and to distinguish
the direct, indirect, and total effects of relevant driving factors, so as to test whether spa-
tial spillovers exist and whether their effects extend beyond the local scope. The SDM is
specified as Equation (17).
AM𝐹it = ρWAM𝐹it + 𝑋itβ + 𝑊𝑋itθ + 𝑢𝑖 + λ𝑡 + εit (17)
where AMFit is the agricultural multifunctionality index of county i in year t, W is the
spatial weight matrix, ρ is the spatial dependence parameter, Xit is the vector of core drivers,
WXit is its spatial lag, μi and λt are county and year fixed effects, and εit is the random
error. The model is estimated by maximum likelihood with county and year two-way fixed
effects. Two alternative spatial weight matrices are employed: a Queen contiguity matrix
and an inverse-distance matrix, the latter defined as the reciprocal of the distance between
the geographic centroids of the two counties. Both matrices are row-standardized before
estimation, so that the spatial weights of each county sum to one; under row-standardization,
the spatial lag term WX represents a weighted average of neighboring counties’ values,
which facilitates the interpretation of the spatial dependence parameter ρ.
4. Spatiotemporal Evolution of County-Level Agricultural
Multifunctionality in China
4.1. Overall Evolution Trend
Figure 3 illustrates the overall evolution of the county-level agricultural multifunction-
ality (AMF) index and its constituent functional dimensions in China from 2014 to 2023.
During the study period, the mean AMF index increased from 0.375 in 2014 to 0.423 in 2023,
representing an increase of approximately 12.80%. This indicates an overall improvement
in county-level agricultural multifunctionality in China, although the different functional
dimensions followed distinctly different trajectories.
In terms of functional composition, the social function exhibited a sustained upward
trend, consistent with the successive adjustments in China’s rural development policies.
Since 2013, the nationwide poverty alleviation campaign has contributed to improvements
in rural infrastructure, public services, and employment support. Following the formal
introduction of the Rural Revitalization Strategy in 2018, policy priorities increasingly shifted
toward rural industrial development and sustained growth in farmers’ incomes, further
strengthening agriculture’s role in providing employment opportunities and supporting
rural livelihoods. The agricultural supply function followed a fluctuating but generally
upward trajectory, representing one of the more pronounced changes among the four
functional dimensions. In recent years, China has consistently prioritized food security in its
agricultural development agenda. Measures such as high-standard farmland construction,
agricultural subsidies, and targeted policy support for major grain-producing regions have
helped improve agricultural production conditions and enhance grain production capacity.
These initiatives have contributed to higher grain output and strengthened the capacity to
ensure a stable agricultural supply.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 15 of 35
Figure 3. Temporal changes in county-level agricultural multifunctionality (AMF) from 2014 to 2023.
(A) Annual average values of the composite AMF index; (B) Temporal evolution of the sub-dimensions
of AMF.
By contrast, the economic and ecological functions exhibited relatively modest changes
and did not follow the same sustained upward trajectories as the social and supply functions.
This suggests that improvements in county-level agricultural multifunctionality in China
during the study period were primarily reflected in stronger social support and agricultural
supply capacity, while progress in economic development and ecological conservation
remained relatively limited. Overall, the findings reveal an asynchronous evolution of the
different functional dimensions of county-level agricultural multifunctionality in China.
Figure 4 illustrates the regional evolution of county-level agricultural multifunctionality
in China from 2014 to 2023. During the study period, the mean AMF indices increased in
all four regions, although the magnitude of growth varied. The index in the East increased
from 0.359 in 2014 to 0.415 in 2023, while that in the Central region rose from 0.370 to
0.417. The corresponding values for the West increased from 0.389 to 0.431, and those for
the Northeast from 0.389 to 0.442. Notably, this pattern, characterized by relatively higher
AMF levels in the Northeast and West and lower levels in the Central and Eastern regions,
does not correspond to the east–west gradient in economic development. This suggests
that regional disparities in county-level agricultural multifunctionality may be associated
with cultivated land endowments and agricultural production structures rather than being
determined solely by economic development. This interpretation, however, requires further
examination through the subsequent analysis of driving factors.
4.2. Spatial Distribution Characteristics
Using ArcGIS 10.8, the natural breaks method was employed to classify the county-
level agricultural multifunctionality index into five categories to characterize its spatial
distribution and evolution. As shown in Figure 5, in 2014, high-value areas were primarily
concentrated in Xinjiang, Inner Mongolia, and Northeast China, while counties in the
other categories were widely dispersed, forming an interspersed spatial pattern without
clearly defined regional boundaries. By 2023, the overall spatial pattern had not undergone
fundamental changes. High-value areas remained concentrated in Xinjiang, Inner Mongolia,
and Northeast China, indicating strong spatial stability and persistence in the distribution of
the index. Counties in the other categories continued to exhibit a widespread and dispersed
distribution.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 16 of 35
Figure 4. Temporal variation of agricultural multifunctionality for China’s four major regions.
(A) Eastern region; (B) Central region; (C) Western region; (D) Northeastern region.
Figure 6 further characterizes the overall evolution of county-level agricultural mul-
tifunctionality in China and the disparities across counties from the perspectives of dis-
tributional patterns and the coefficient of variation. The ridge plot (Figure 6A) shows
that, over time, the main peak of the county-level AMF index distribution gradually de-
clined in height, while the distribution range widened considerably. Meanwhile, secondary
peaks emerged successively in the medium-low and medium-high value ranges. These
changes indicate that the distribution of county-level agricultural multifunctionality grad-
ually shifted from an initially concentrated unimodal structure toward a more dispersed
and multimodal pattern. Thus, inter-county differentiation is no longer reflected merely
in widening disparities within a single distribution, but increasingly manifests as local-
ized clustering of counties across different value ranges. Some counties have formed new
clusters at relatively high levels of agricultural multifunctionality, whereas others remain
concentrated in the medium-low range, revealing distinct development trajectories among
different county groups.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 17 of 35
Figure 5. Spatial distribution evolution of county-level agricultural multifunctionality, 2014–2023.
(A) 2014; (B) 2017; (C) 2020; (D) 2023. The base map is the standard map of China (Ministry of
Natural Resources, approval number GS(2024)0650).
Figure 6. Dynamic evolution of the distribution of county-level agricultural multifunctionality
((A): ridge plot; (B): line chart).
Consistent with these distributional changes, Figure 6B shows that the coefficient
of variation (CV) of the county-level AMF index increased from 0.124 to 0.130 during
the study period, indicating an overall widening of relative disparities across counties.
Although the increase in the CV was modest, it corroborates the declining peak height,
widening distribution range, and emergence of secondary peaks. This suggests that the
overall improvement in county-level agricultural multifunctionality was not accompanied
by a balanced improvement across counties. Taken together, the simultaneous increase
in the mean AMF index and the CV suggests that the overall improvement during the
study period was driven primarily by more rapid progress in some counties, while others
experienced relatively slower improvements. Overall progress and increasing inter-county
differentiation therefore occurred concurrently.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 18 of 35
4.3. Spatial Agglomeration Characteristics
The cluster and outlier analysis tool in ArcGIS 10.8 was used to examine the local
spatial autocorrelation of county-level agricultural multifunctionality. Figure 7 presents
the resulting local indicators of spatial association (LISA) cluster patterns. Across the
four reference years, all four types of spatial association persisted, exhibiting a pronounced
spatial lock-in effect. Low–low clusters and high–low outliers were relatively widespread,
extending from the eastern coastal areas through the central inland regions to the northwest,
and displaying a dispersed spatial distribution. In contrast, high–high clusters and low–
high outliers were more spatially concentrated, with high–high clusters mainly located
in the Northeast Plain and some agricultural counties along the eastern coast. These
findings suggest that the local spatial association patterns of county-level agricultural
multifunctionality remained relatively stable over time, with no fundamental changes in
the spatial clustering and outlier characteristics of different types of counties during the
study period.
Figure 7. Local spatial agglomeration (LISA) of county-level agricultural multifunctionality, 2014–2023.
(A) 2014; (B) 2017; (C) 2020; (D) 2023. The base map is the standard map of China (Ministry of
Natural Resources, approval number GS(2024)0650).
5. Nonlinear Driving Mechanisms of County-Level Agricultural
Multifunctionality in China
5.1. Nonlinear Predictive Analysis Using XGBoost and SHAP
To identify the nonlinear associations between the explanatory variables and agri-
cultural multifunctionality, this study employs an XGBoost model combined with SHAP
analysis. Conventional in-sample evaluation may overestimate model performance. To
address this concern, we establish a county-grouped nested cross-validation framework
to evaluate out-of-sample predictive performance and optimize model hyperparameters.
Specifically, the outer loop adopts five-fold GroupKFold cross-validation, with observations
divided into folds at the county level to ensure that observations from the same county are
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 19 of 35
not simultaneously included in the training and test sets. Within each outer training set,
three-fold county-grouped cross-validation is further conducted for hyperparameter opti-
mization. In each inner-loop search, RandomizedSearchCV evaluates 30 hyperparameter
combinations, using negative root mean squared error as the optimization criterion. The
selected model is subsequently evaluated on the corresponding held-out test fold in the
outer loop. The candidate parameter ranges, optimal hyperparameters selected for each
fold, and final full-sample parameter configuration are reported in Tables A1–A3.
The results of the five-fold outer cross-validation are presented in Figure 8A,B, pro-
viding an out-of-sample assessment of the model’s predictive performance. The mean
coefficient of determination R2 across the five folds is 0.192, with a standard deviation
of 0.067. The corresponding mean root mean squared error (RMSE) and mean absolute
error (MAE) are 0.047 and 0.034, respectively. The R2 values for the five folds are 0.240,
0.243, 0.194, 0.079, and 0.205, respectively. These results indicate that the model captures
some nonlinear predictive information contained in the explanatory variables, although its
overall predictive performance remains moderate. Accordingly, the XGBoost results are
interpreted solely as evidence of predictive associations rather than as evidence of causal
effects of the explanatory variables on agricultural multifunctionality. After completing the
cross-validation procedure, an additional three-fold county-grouped randomized search is
conducted using the full sample to determine the final model hyperparameters. The model
is then refitted using the entire sample based on the selected configuration. The parameter
search space and the resulting optimal configuration are reported in Tables A1 and A3.
Figure 8. Cross-validation performance and SHAP results of the XGBoost model. (A) Observed versus
predicted values; (B) Five-fold outer cross-validation performance; (C) Global feature importance;
(D) SHAP beeswarm plot.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 20 of 35
To examine the predictive contributions of individual explanatory variables, SHAP
values are calculated for the held-out test observations in each outer fold. All out-of-fold
SHAP values are then pooled to assess global feature importance and nonlinear predictive
relationships. This approach ensures that the SHAP analysis is entirely based on predictions
for observations not used during model training. The ranking of global feature importance
is presented in Figure 8C, based on mean absolute SHAP values. Agricultural structure
(AgStr) makes the largest contribution, accounting for 39.70% of total feature importance,
followed by the logarithm of GDP per capita (lnGDPpc), which accounts for 31.90%. To-
gether, these two variables contribute 71.60% of the total SHAP importance, indicating that
they are the two most influential predictors of county-level agricultural multifunctionality
in the XGBoost model. The remaining variables rank in the following order: fiscal capacity
(Fis, 9.67%), digitalization (Digital, 6.84%), urbanization (Urban, 6.22%), and educational
human capital (Edu, 5.67%). The SHAP beeswarm plot in Figure 8D further illustrates
how different values of each variable are associated with variations in the direction and
magnitude of their contributions to predicted AMF values. Additional results of hyper-
parameter tuning are provided in the Appendix A. It should be noted that SHAP values
represent model-based predictive contributions and should not be interpreted as causal
effects. Furthermore, correlations among explanatory variables may affect how SHAP
contributions are allocated across individual variables.
5.2. Nonlinear Effects and Interactions of Key Driving Factors
SHAP dependence analysis was employed to identify the nonlinear marginal effects
and exploratory threshold characteristics of each driving factor on AMF, as shown in Fig-
ure 9. Each subplot maps the value of an individual predictor on the horizontal axis against
its SHAP value on the vertical axis, revealing how the marginal contribution to AMF evolves
across the variable’s observed range. LOWESS smoothing with frac = 0.25 was used to
fit the continuous marginal effect trend. Exploratory thresholds were defined either as
zero-crossing points where the smoothed curve crosses the SHAP = 0 reference line (repre-
senting sign reversal of marginal effects) or curvature inflection points reflecting abrupt
changes in effect magnitude. Bootstrap resampling (100 replicates, 3000 observations per
replicate, tolerance equal to 5% of each variable’s range) was used to evaluate threshold
stability; values closer to 1 indicate greater robustness. All six thresholds identified here are
zero-crossing points with a bootstrap stability of 1.00. Note that this bootstrap procedure
resamples feature–SHAP pairs conditional on the fitted XGBoost model and does not incor-
porate uncertainty from repeated model refitting. The detected turning points demonstrate
that the impacts of driving factors on AMF are non-monotonic, which cannot be captured
by standard linear regression models.
The results in Figure 9 show that all driving factors exhibit significant nonlinear thresh-
old characteristics in their relationships with agricultural multifunctionality (AMF). Their
effect patterns can be categorized into three types. lnGDPpc and AgStr show increasing
effects: their marginal contributions shift from negative to positive once their values cross
the respective zero-crossing thresholds and remain positive beyond these critical points,
indicating that they are fundamental factors promoting AMF improvement. By contrast,
Edu, Fis and Digital display stage-dependent effects.
SHAP interaction analysis reveals heterogeneous pairwise interdependencies among
the driving factors of AMF (Figure 10). The interaction plots indicate that the marginal
effect of one explanatory variable on AMF is conditional on the value of its paired covariate,
presenting two types of relationships: complementary synergy and trade-off. Among the
six major interaction pairs identified in this study, the positive interaction contribution
of lnGDPpc × AgStr gradually strengthens as both variables rise, which reflects comple-
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 21 of 35
mentary coordination between economic growth and agricultural structural adjustment.
In comparison, the Urban × AgStr pair shows a declining interaction trend, suggesting
a trade-off relationship. The remaining pairs (AgStr × Fis, lnGDPpc × Fis, AgStr × Edu,
lnGDPpc × Digital) follow non-monotonic interaction patterns, and the direction of their
joint effects varies across the value ranges of the focal variables. These findings demonstrate
that the combined impacts of driving factors cannot be simply summed from their individual
marginal effects. Policy formulation should take the interactive linkages among factors into
account and adopt coordinated governance instead of isolated, single-objective measures.
Figure 9. Nonlinear SHAP dependence and threshold characteristics of the driving factors.
(A) lnGDPpc; (B) Urban; (C) AgStr; (D) Edu; (E) Digital; (F) Fis.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 22 of 35
Figure 10. SHAP interaction effects between paired driving factors. (A) lnGDPpc × AgStr; (B) AgStr
× Fis; (C) lnGDPpc × Fis; (D) AgStr × Edu; (E) lnGDPpc × Digital; (F) Urban × AgStr.
5.3. Regional Heterogeneity of Driving Mechanisms
The effects of different driving factors on county-level AMF exhibit obvious spatial het-
erogeneity. To examine this heterogeneity, this study investigates the relative contributions
and marginal effect patterns of influencing factors on AMF across four major regions of
China: the East, Central, West, and Northeast (Figure 11).
In terms of commonalities, agricultural industrial structure (AgStr) and economic
development (lnGDPpc) show relatively high mean absolute SHAP values across regions,
suggesting that agricultural industrial structure and economic foundation are broadly
important drivers of county-level AMF. By contrast, human capital (Edu) presents the lowest
mean absolute SHAP value in the East, Central, and West regions, while fiscal expenditure
intensity (Fis) presents the lowest value in the Northeast, indicating the relatively weaker
explanatory power of these two factors for AMF compared with other predictors.
Distinct regional differences are also observed. Economic development (lnGDPpc) acts
as the leading driving factor in both the East and Central regions, meaning that economic
foundation contributes most to explaining AMF variation in these two regions. Higher
economic development levels can foster agricultural multifunctionality by upgrading agri-
cultural production conditions, accelerating technology diffusion, and stimulating market
demand for diversified agricultural functions. Agricultural industrial structure (AgStr) is
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 23 of 35
the second-most important factor in the East and Central regions, followed by urbanization
(Urban), reflecting the joint effects of economic growth, urban transition and agricultural
restructuring. In the West, agricultural industrial structure (AgStr) becomes the dominant
factor, with the largest mean absolute SHAP value, followed by economic development
(lnGDPpc). The Northeast displays a unique pattern: agricultural industrial structure
(AgStr) ranks first and dominates AMF variation, followed by urbanization (Urban). Fiscal
support (Fis) and human capital (Edu) have lower explanatory power in the Northeast.
Notably, digital development (Digital) shows substantial regional divergence. It achieves a
relatively high contribution in the Northeast, while its importance is comparatively limited
in the East, Central and West regions. This implies that the linkage between digital develop-
ment and agricultural multifunctionality is contingent on regional development bases and
agricultural production contexts, without forming a unified cross-regional pattern.
Figure 11. Ranking of driving factors based on SHAP values across four major regions. (A) East;
(B) Central; (C) West; (D) Northeast.
Overall, the driving mechanisms of county-level agricultural multifunctionality fea-
ture both cross-regional commonalities and remarkable spatial heterogeneity. Agricultural
industrial structure and economic development are core drivers across all regions, yet their
relative explanatory weights vary sharply. The East and Central regions are dominated by
economic development, the West relies primarily on agricultural industrial structure, and
the Northeast is most strongly shaped by agricultural industrial structure together with
urbanization. Therefore, policies to promote agricultural multifunctionality should avoid
one-size-fits-all schemes and fully consider such spatial disparities. Targeted policy portfo-
lios should be formulated according to the dominant driving factors and local development
conditions of each region.
To further unpack the driving structure of agricultural multifunctionality (AMF) across
regions, this study selects the top three contributing variables for each region according to
feature importance ranking and plots regional SHAP dependence graphs for core variables
(Figure 12), visualizing the nonlinear marginal effects of dominant drivers and threshold
values identified via LOWESS smoothing. The Eastern region is characterized by a high
threshold and strong structural transition. The threshold of lnGDPpc is 11.1132; economic
development mainly inhibits AMF below this cutoff and turns into a positive driver after
crossing the threshold, which may be related to the high proportion of non-agricultural
industries in the East, where early economic growth tended to crowd out agricultural fac-
tors. The threshold for agricultural structure (AgStr) is 8.4068, with its effect shifting from
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 24 of 35
inhibitory to facilitating once the threshold is exceeded. Urbanization has a threshold of
30.1545, showing positive effects below this threshold and reversion to negative effects at
excessively high levels, indicating that the impacts of urbanization on agricultural functions
are stage-dependent. The Central region presents moderate threshold values overall. Its
lnGDPpc threshold is 10.7214, lower than that of the East, suggesting that economic devel-
opment enters the positive-effect stage at an earlier level. Agricultural structure has two
thresholds of 12.8071 and 44.1800, generating positive driving effects within this interval
while its marginal contribution diminishes beyond 44.1800. Urbanization, with dual thresh-
olds of 39.0372 and 67.6308, follows an “inhibition–promotion–re-inhibition” trajectory,
possibly due to the limited carrying capacity of small and medium-sized cities.
Figure 12. Regional SHAP dependence plots of key driving factors. (A) East-lnGDPpc; (B) East-
AgStr; (C) East-Urban; (D) Central-lnGDPpc; (E) Central-AgStr; (F) Central-Urban; (G) West-AgStr;
(H) West-lnGDPpc; (I) West-Fis; (J) Northeast-AgStr; (K) Northeast-Urban; (L) Northeast-Digital.
The Western region features structural dominance and fiscal constraints. The threshold
for agricultural structure is 18.3986, and it exerts sustained positive effects on AMF after
crossing this threshold. The lnGDPpc threshold is 10.7878, at which economic develop-
ment switches from a negative constraint to positive support. Fiscal expenditure (Fis) has
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 25 of 35
three thresholds: 0.1866, 0.2561 and 0.5921. As fiscal input rises, its effect evolves sequen-
tially from inhibition to weak promotion and then to persistent inhibition, which may reflect
that expanding fiscal scale does not necessarily improve agricultural multifunctionality
synchronously; outcomes depend on expenditure composition and allocation efficiency. The
Northeast region shows persistent gains from agricultural structure, while digitalization fol-
lows an inhibit–promote–inhibit trajectory. The agricultural structure threshold is 20.9489;
AMF rises continuously after crossing this point with no obvious attenuation, which may
be associated with functional synergy formed by large-scale farming and commodity grain
base construction. Urbanization has dual thresholds of 9.2668 and 35.1859: it promotes AMF
within the interval and turns negative above the upper threshold. Digital development has
three thresholds (124.3782, 2956.6851 and 4525.0000), presenting initial inhibition, positive
facilitation at moderate levels, and renewed inhibition at overly high levels, implying that
digital investment must match the local absorptive capacity of agriculture. Overall, the
direction and effective range of a given driver differ substantially across regions. Identi-
fying region-specific threshold intervals helps identify the primary constraints for AMF
improvement, whereas these thresholds only serve as exploratory evidence obtained from
the fitted model.
Given the regional differences in the relationships between individual driving factors
and agricultural multifunctionality, this study further examines the interactions among
driving factors across the four regions (Figure 13). Figure 13A–D present the SHAP in-
teraction matrices for the eastern, central, western, and northeastern regions, respectively.
The size and color intensity of the bubbles in the lower triangular matrix represent the
magnitude of the mean absolute SHAP interaction values between pairs of driving factors,
while the upper triangle reports the corresponding numerical values. The diagonal ele-
ments represent the main effects of individual factors. The following analysis focuses on
the interactions between factors represented by the off-diagonal elements.
In terms of regional interaction patterns, the strongest interaction in the eastern region
occurs between fiscal support (Fis) and digital development (Digital), with a value of
0.0054, whereas the weakest interaction is between agricultural industrial structure (AgStr)
and human capital (Edu), at 0.0015. In the central region, fiscal support (Fis) and digi-
tal development (Digital) exhibit the strongest interaction, with a value of 0.0048, while
the interaction between human capital (Edu) and fiscal support (Fis) is the weakest, at
0.0006. In the western region, the strongest interaction is observed between agricultural
industrial structure (AgStr) and lnGDPpc, reaching 0.0039, whereas the interaction between
urbanization (Urban) and human capital (Edu) is the weakest, at 0.0007. The northeastern
region shows the strongest interaction between agricultural industrial structure (AgStr)
and urbanization (Urban), with a value of 0.0434, which is the highest among all factor
pairs across the four regions. By contrast, the interaction between human capital (Edu) and
fiscal support (Fis) is the weakest, at 0.0007.
These findings reveal regional heterogeneity in the interactive relationships among
driving factors for agricultural multifunctionality. Their nonlinear interactions are jointly
shaped by regional resource endowments and agricultural production conditions. Therefore,
policies aimed at enhancing agricultural multifunctionality should account for regional
characteristics and adopt differentiated, combinatorial regulation strategies instead of only
targeting individual factors.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 26 of 35
Figure 13. SHAP interaction matrix of driving factors for agricultural multifunctionality across
subregions. (A) East; (B) Central; (C) West; (D) Northeast.
6. Spatial Dependence and Spillover Effects
6.1. Global Spatial Autocorrelation
The preceding analysis revealed local spatial clustering in agricultural multifunction-
ality. To further examine overall spatial dependence at the study-area level, this paper
conducts a global spatial autocorrelation test using Moran’s I; the results are reported in
Table 4. Under the adjacency weight matrix, the adjusted Moran’s I (I(adj)) remains be-
tween 0.492 and 0.547 across years, indicating a relatively high level and strong clustering
intensity, with a mild downward trend over time. The distance-based adjusted Moran’s
I (I(dist)) is substantially lower, ranging from 0.066 to 0.085, and is also statistically sig-
nificant in all years. Under both the adjacency and distance weight matrices, the global
Moran’s I is significantly positive in every year, indicating that county-level agricultural
multifunctionality in China exhibited significant positive spatial autocorrelation throughout
the study period.
Table 4. Global Moran’s I of county-level agricultural multifunctionality, 2014–2023.
Year I (Adj) Z (Adj) I (Dist) Z (Dist)
2014 0.533 *** 26.732 0.085 *** 62.074
2015 0.547 *** 27.428 0.084 *** 61.461
2016 0.517 *** 25.927 0.077 *** 56.741
2017 0.522 *** 26.184 0.077 *** 56.498
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 27 of 35
Table 4. Cont.
Year I (Adj) Z (Adj) I (Dist) Z (Dist)
2018 0.509 *** 25.517 0.074 *** 54.506
2019 0.508 *** 25.478 0.072 *** 52.747
2020 0.512 *** 25.659 0.071 *** 52.181
2021 0.504 *** 25.266 0.068 *** 49.983
2022 0.505 *** 25.312 0.069 *** 50.474
2023 0.492 *** 24.657 0.066 *** 48.665
Note: I = global Moran’s I; Z = normal-approximation z-statistic under the randomization assumption;
p = two-sided p-value. adj = row-standardized Queen contiguity matrix; dist = row-standardized
inverse-distance matrix. N = 1569 counties per year. *** p < 0.01.
6.2. Spatial Durbin Model Estimation
To determine the appropriate spatial econometric specification, this study conducts LM
tests using both the contiguity-based and geographic distance-based spatial weight matrices.
The results show that, under the contiguity-based weight matrix, the LM-lag and LM-error
statistics are 909.002 and 874.493, respectively, both significant at the 1% level. The robust
LM-lag statistic is 43.534 and is also significant at the 1% level. Further likelihood ratio tests
indicate that, under the contiguity-based weight matrix, the LR statistics comparing the
SDM with the SAR and SEM specifications are 47.031 and 68.945, respectively. Both tests
are significant at the 1% level, indicating that the SDM cannot be simplified to either the
SAR or SEM specification. The Hausman test statistic is 260.443 and is significant at the 1%
level, leading to the rejection of the null hypothesis of random effects. Taken together, these
results support the use of a fixed-effects spatial Durbin model for the empirical analysis.
The corresponding test results under the geographic distance-based weight matrix are not
discussed further.
Global spatial autocorrelation tests indicate that county-level agricultural multifunc-
tionality exhibits stable spatial dependence. Accordingly, this paper constructs a spatial
Durbin model (SDM) and estimates it using an adjacency weight matrix and a distance
weight matrix, respectively (Table 5). Under both weight specifications, the spatial lag
coefficient ρ is significantly positive (0.266 under the adjacency weight and 0.962 under the
distance weight), indicating that county-level agricultural multifunctionality as a whole
exhibits significant positive spatial dependence, consistent with the existence of positive
spatial spillovers across counties.
Further examination shows that the local effects and spatial spillover effects of individ-
ual drivers are not consistent, with competitive and synergistic effects coexisting. Under
the adjacency weight matrix, the spatial spillover coefficients of economic development
(lnGDPpc) and human capital (Edu) are significantly negative, and that of urbanization
(Urban) is marginally negative, consistent with interregional factor competition; the spatial
spillovers of the remaining factors are statistically insignificant. Under the distance weight
matrix, the spatial spillover coefficients of economic development and agricultural structure
are significantly (or marginally) negative, while those of digitalization and fiscal expendi-
ture intensity are significantly positive, suggesting possible cross-regional complementary
spillovers under longer-distance spatial linkages. Overall, the direction and strength of
spillovers are sensitive to the choice of spatial weight matrix. County-level agricultural
multifunctionality itself presents positive spatial dependence, yet the spillover pathways
of individual driving factors diverge markedly; local marginal effects cannot be directly
extrapolated to cross-regional spatial spillover effects.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 28 of 35
Table 5. Spatial Durbin Model estimation results.
Variable (1) Adj (2) Adj W× (3) Dist (4) Dist W×
ρ 0.266 ***(29.12) 0.962 ***(79.88)
lnGDPpc 0.000(0.16) −0.003 ***(−2.89) 0.001(1.11) −0.032 ***(−3.84)
Urban −0.000 ***(−2.92) −0.000 *(−1.84) −0.000 ***(−3.32) −0.000(−1.10)
AgStr 0.000 ***(9.70) −0.000(−0.59) 0.001 ***(11.52) −0.001 *(−1.67)
Edu 0.000(1.22) −0.000 ***(−5.40) −0.000 *(−1.81) −0.000(−0.01)
Digital −0.000 ***(−2.98) 0.000(1.33) −0.000 ***(−4.25) 0.000 ***(3.31)
Fis 0.002(1.18) 0.003(1.11) −0.000(−0.12) 0.039 **(2.28)
LogL 46,922.232 46,854.848
County FE Yes Yes
Year FE Yes Yes
N 15,690 15,690
Note: t-statistics in parentheses; both models include county and year fixed effects (two-way fixed-
effects maximum likelihood estimation); * p < 0.10, ** p < 0.05, *** p < 0.01.
6.3. Spatial Effect Decomposition
To clarify the local effects and spatial transmission logic of each driver on agricultural
multifunctionality, this paper decomposes the effects of the spatial Durbin model, estimating
direct, indirect, and total effects under the adjacency and distance weights, respectively; the
results are reported in Table 6.
Table 6. Direct, indirect, and total effects.
Variable Direct (Adj) Indirect (Adj) Total (Adj) Direct (Dist) Indirect (Dist) Total (Dist)
lnGDPpc −0.000(−0.17) −0.004 ***(−3.11) −0.004 ***(−3.12) 0.000(0.43) −0.797 **(−2.49) −0.797 **(−2.49)
Urban −0.000 ***(−3.22) −0.000 **(−2.49) −0.000 ***(−3.79) −0.000 ***(−3.69) −0.009(−1.28) −0.009(−1.29)
AgStr 0.000 ***(10.17) 0.000(1.44) 0.001 ***(7.69) 0.000 ***(11.93) −0.004(−0.44) −0.004(−0.39)
Edu 0.000(0.62) −0.000 ***(−5.49) −0.000 ***(−4.71) −0.000 *(−1.93) −0.000(−0.16) −0.000(−0.17)
Digital −0.000 ***(−3.00) 0.000(0.84) −0.000(−0.98) −0.000 ***(−3.74) 0.000 **(2.25) 0.000 **(2.24)
Fis 0.003(1.37) 0.004(1.44) 0.007 **(2.12) 0.000(0.26) 1.015 *(1.92) 1.015 *(1.92)
Note: t-statistics in parentheses. Direct effects are the average own-county effects; indirect effects
are the spatial spillovers to other counties; total effects = direct + indirect. * p < 0.10, ** p < 0.05,
*** p < 0.01.
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 29 of 35
The effect decomposition shows that county-level agricultural multifunctionality re-
sults from the joint operation of local drivers and spatial spillovers, and that the spillover
characteristics of the drivers exhibit pronounced distance heterogeneity. Under the adja-
cency weight, agricultural structure has a significant positive local effect, whereas economic
development, urbanization, and human capital show negative neighboring spillovers, con-
sistent with factor competition at short distances. Under the distance weight, the positive
local effect of agricultural structure persists, while its spillover effect becomes insignificant,
and the negative cross-regional spillover of economic development remains significant.
Digitalization, by contrast, shows a positive long-distance spillover, suggesting that digital
factors may generate cross-regional benefits across geographical boundaries. Overall, the
effective radius of the drivers differs markedly: the positive effect of agricultural structure is
largely confined to the county itself, whereas digital factors may be associated with positive
spillovers at larger spatial scales; traditional factors such as economic development and
human capital are more likely to be associated with interregional resource competition and
negative spatial spillovers. These results indicate that ignoring spatial spillovers and their
distance differences would lead to a one-sided assessment of the true effects of the drivers
on agricultural multifunctionality.
7. Discussion
This study examines the spatiotemporal evolution and driving factors of agricultural
multifunctionality (AMF) across 1569 Chinese counties from 2014 to 2023. An AMF index
was constructed across four dimensions: supply, economic, social, and ecological functions.
Equal weighting was assigned to the four dimensions, while entropy-based weighting was
applied to indicators within each dimension. XGBoost–SHAP and spatial econometric
models were further employed to identify the major factors associated with AMF and
examine their nonlinear patterns, regional heterogeneity, and spatial relationships. The
results show that the average AMF index increased from 0.375 in 2014 to 0.423 in 2023, while
the coefficient of variation also rose from 0.124 to 0.130, indicating that overall improve-
ment occurred alongside widening disparities across counties. The Northeast and West
consistently exhibited relatively higher AMF levels, whereas the East and Central regions
showed relatively lower and similar levels. Agricultural industrial structure, economic
development, and fiscal expenditure intensity were identified as the three most important
predictive factors, jointly accounting for 81.27% of total SHAP importance. These factors
exhibited nonlinear patterns and considerable regional heterogeneity in their predictive
contributions. The spatial econometric results further revealed positive spatial dependence
in county-level AMF, with some explanatory factors also exhibiting spatial associations.
Overall, agricultural multifunctionality is shaped by the combined influence of agricultural
structure, economic development, and fiscal expenditure intensity, rather than by any single
aspect of agricultural production or regional development.
The findings of this study both corroborate and extend previous research on agri-
cultural multifunctionality. First, the overall improvement in AMF was accompanied by
widening disparities across counties. By examining a national county-level sample over
the period 2014–2023, this study provides additional evidence on the long-term evolution
of county-level agricultural multifunctionality. Second, the finding that the Northeast and
West maintained relatively higher AMF levels, while the East and Central regions exhibited
relatively lower and similar levels, differs from the conventional expectation that agricul-
tural and rural development broadly follows an east–west economic gradient. Agricultural
resource endowments, cultivated land conditions, and grain production capacity may in-
stead play important roles in shaping these regional patterns. The relatively favorable land
resources and agricultural production base of Northeast China may support its agricultural
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 30 of 35
supply function and provide a foundation for the development of other agricultural func-
tions. Our findings therefore highlight the importance of agricultural resource endowments
in explaining the regional distribution of AMF, complementing previous research that has
placed greater emphasis on economic development and market conditions. Third, the iden-
tification of agricultural industrial structure, economic development, and fiscal expenditure
intensity as the three leading predictive factors is broadly consistent with previous studies
emphasizing the roles of industrial restructuring, economic conditions, and public invest-
ment in shaping agricultural and rural functions. Beyond identifying the major predictive
factors, however, this study uses XGBoost–SHAP to reveal nonlinear patterns in their contri-
butions across different value ranges. Unlike conventional linear models, which primarily
estimate average relationships, this approach captures more complex associations between
explanatory variables and agricultural multifunctionality. Recent research on trade-offs and
synergies among cultivated land use functions has also applied XGBoost–SHAP to identify
nonlinear relationships, suggesting that the contributions of environmental and socioeco-
nomic factors may vary with regional conditions and development stages [44]. By extending
this analytical approach to county-level agricultural multifunctionality, our study provides
further insights into why the predictive contributions of different factors do not necessarily
follow monotonic patterns. It should be noted that the fiscal indicator used in this study
is defined as the ratio of general public budget expenditure to regional GDP , rather than
agriculture-specific fiscal expenditure. Its nonlinear SHAP pattern should therefore not
be interpreted as evidence of the policy effects of agricultural fiscal support. Similarly, the
nonlinear pattern associated with digitalization may reflect complex relationships among
technology adoption, production organization, and local absorptive capacity, although the
underlying mechanisms require further investigation. Fourth, the regional analysis reveals
substantial differences in the relative importance of the main predictive factors. Economic
development is more prominent in the East and Central regions, agricultural industrial
structure is particularly important in the West, and agricultural industrial structure together
with urbanization plays a leading predictive role in the Northeast. These findings are
consistent with previous research showing that rural and agricultural functions are shaped
by heterogeneous regional conditions. Recent work integrating Geodetector and GTWR has
likewise unveiled pronounced spatiotemporal heterogeneity in China’s agricultural carbon
emissions [45]. Tang et al. found that the spatial distribution of rural multifunctionality in
metropolitan suburbs of China was jointly influenced by production specialization, living
convenience, and ecological protection requirements [46]. Chen and Wang also identified
substantial spatiotemporal differences in rural multifunctionality and its associated fac-
tors in the Liaoning Coastal Economic Belt [47]. Our regional analysis further compares
the relative predictive importance of the main factors across the East, Central, West, and
Northeast regions, demonstrating that national-level average relationships may conceal
substantial regional differences. In addition, the spatial econometric results reveal positive
spatial associations in county-level AMF. Nevertheless, the considerable variation in spatial
lag coefficients across alternative spatial weight matrices indicates that the estimated spatial
relationships are sensitive to how spatial proximity is defined. The spatial results therefore
provide evidence of spatial dependence in agricultural multifunctionality, but do not estab-
lish whether specific mechanisms, such as technology diffusion or agricultural socialized
services, generate these spatial associations. Taken together, this study extends previous
research by showing that improvements in county-level agricultural multifunctionality can
coexist with widening relative disparities, that its regional distribution does not simply
follow the conventional economic gradient, and that its associated factors exhibit nonlinear
patterns and regional heterogeneity. These findings provide additional county-level evi-
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 31 of 35
dence for understanding the complex evolution of agricultural multifunctionality and its
spatially differentiated drivers.
Several limitations of this study should be acknowledged, which also provide direc-
tions for future research. First, due to limitations in the continuity and comparability of
county-level statistical data, the ecological dimension is primarily measured using pesticide
application per unit of sown area and agricultural mechanization intensity. Although these
indicators capture input-intensity pressures on the agro-environment, they do not fully
represent fertilizer-related non-point-source pollution, soil health, biodiversity, greenhouse
gas emissions, ecosystem services, or sustainable agricultural practices. The ecological
dimension should therefore be interpreted as a proxy for environmental pressure rather
than a comprehensive assessment of agricultural ecological quality. Future research could
incorporate more detailed county-level data on fertilizer inputs, agricultural greenhouse
gas emissions [48], soil conditions, biodiversity, and ecosystem services to improve the
comprehensiveness of ecological function measurement. Second, some county-level vari-
ables contain missing observations, which were addressed using time-series imputation.
Although this approach helps maintain panel continuity, imputed values may introduce
additional uncertainty. Future studies could conduct further robustness checks using
complete-case samples, alternative imputation methods, and different indicator combina-
tions when more comprehensive data become available. In addition, differences in county
boundaries, geographic size, and population distribution may affect comparisons of AMF
across counties. Future research could integrate historical administrative boundaries with
more detailed spatial data to examine the sensitivity of AMF measurement to spatial scale.
Finally, this study employs XGBoost–SHAP to identify the major predictive factors and their
nonlinear associations, while spatial econometric models are used to examine spatial depen-
dence. These methods provide evidence from the perspectives of predictive interpretation
and spatial association, respectively, but cannot independently establish the causal effects
of all identified factors. Correlations among explanatory variables and model specifications
may also affect the estimated predictive importance. Accordingly, the identified drivers and
nonlinear patterns should be interpreted as statistical associations conditional on the models
rather than definitive causal effects. Future research could combine these approaches with
quasi-experimental designs, dynamic panel models, and other causal inference methods to
identify the mechanisms through which key factors influence agricultural multifunction-
ality. More detailed county- and household-level data could also help clarify the roles of
technological adoption, agricultural organization, and interregional factor flows in shaping
the evolution of agricultural multifunctionality.
8. Conclusions and Implications
8.1. Conclusions
This study examined the spatiotemporal evolution, nonlinear drivers, and spatial
spillovers of agricultural multifunctionality across 1569 Chinese counties over 2014–2023.
Three analytical conclusions emerge.
First, county-level AMF improved substantially but unevenly. The nationwide mean
rose from 0.375 to 0.423, yet inter-county disparities widened, and the improvement was
driven mainly by the supply and social functions, with the ecological dimension—although
now equally weighted—contributing through reduced input intensity rather than enhanced
ecological provision.
Second, the drivers of AMF are concentrated, nonlinear, and regionally heteroge-
neous. Agricultural structure, economic development, and fiscal expenditure intensity
account for the majority of predictive importance (about 81.3%), and every driver exhibits
threshold-like, stage-dependent contributions. The leading factor shifts across regions—
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 32 of 35
economic development in the East and Central regions, agricultural structure in the West
and Northeast—so there is no single dominant driver of multifunctionality.
Third, spatial interdependence is real but selective and scale-dependent. Significant
positive local effects of agricultural structure and a positive long-distance spillover of
digitalization suggest that cross-county coordination in structural upgrading and digital
infrastructure may propagate benefits beyond administrative boundaries, whereas the
negative spillovers of economic development and human capital point to possible inter-
county competition.
8.2. Implications
The empirical findings translate into several place-based implications. First, because
the dominant driver of AMF differs across regions, county agricultural policy should be
differentiated rather than uniform: the East and Central regions would benefit most from
policies that harness economic development and industrial upgrading to broaden agricul-
tural functions, whereas the West and Northeast require measures that leverage agricultural
structure, including support for large-scale, resource-appropriate production. Second, the
nonlinear, threshold-like contributions of key drivers imply that a given instrument (for ex-
ample, digitalization or public investment) is unlikely to raise multifunctionality uniformly
across all counties; policy should therefore be staged and targeted to counties below rather
than above the relevant threshold. Third, the significant positive local effects of agricultural
structure and the long-distance spillover of digitalization suggest the potential value of
cross-county coordination in technical extension and value-chain integration, while the
negative spillovers of several development-related factors indicate that regional competition
for labor and capital may need to be managed to avoid beggar-thy-neighbor outcomes.
Fourth, the fiscal result should be interpreted with caution: because the fiscal indicator
measures general public expenditure scale rather than specialized agricultural support, the
finding does not warrant direct conclusions about agricultural subsidies; instead, it suggests
that the composition and efficiency of public expenditure, rather than its sheer scale, matter
for agricultural multifunctionality.
Author Contributions: Conceptualization, X.Z. and Y.D.; methodology, X.Z. and Y.D.; software, X.Z.;
validation, X.Z. and Y.D.; formal analysis, X.Z.; investigation, X.Z.; resources, Y.D.; data curation, X.Z.;
writing—original draft preparation, X.Z.; writing—review and editing, X.Z. and Y.D.; visualization,
X.Z.; supervision, Y.D.; project administration, Y.D.; funding acquisition, Y.D. All authors have read
and agreed to the published version of the manuscript.
Funding: The study was supported by the Sichuan Provincial Philosophy and Social Science Fund
Project (Grant No. SCJJ26ND075), Chengdu, China, and the Guizhou Provincial Philosophy and
Social Science Planning Project (Grant No. 25GZQN80), Guiyang, China.
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
Data Availability Statement: Data will be made available on request.
Conflicts of Interest: The authors declare no conflicts of interest.
Appendix A
This appendix provides detailed information on the XGBoost model specification and
hyperparameter optimization procedure. Table A1 reports the candidate ranges of the
nine hyperparameters considered in the randomized search. Table A2 presents the optimal
hyperparameter configurations selected independently within the five outer cross-validation
folds. These fold-specific configurations were obtained through three-fold county-grouped
https://doi.org/10.3390/agriculture16222561

Agriculture 2026, 16, 2561 33 of 35
cross-validation using the corresponding outer training samples. Table A3 reports the final
optimal hyperparameter configuration identified through an additional three-fold county-
grouped randomized search using the full sample. The final model was subsequently
refitted on the entire sample using this configuration. The five fold-specific configurations
and the final full-sample configuration serve different purposes and should therefore be
distinguished.
Table A1. Candidate Hyperparameter Ranges for the XGBoost Model.
Hyperparameter Candidate Values
n_estimators 300, 500, 800, 1000, 1200
max_depth 2, 3, 4, 5, 6
learning_rate 0.01, 0.02, 0.03, 0.05, 0.08, 0.10
subsample 0.6, 0.7, 0.8, 0.9, 1.0
colsample_bytree 0.6, 0.7, 0.8, 0.9, 1.0
min_child_weight 1, 3, 5, 7, 10
reg_alpha 0, 0.01, 0.1, 0.5, 1, 2
reg_lambda 1, 3, 5, 10, 15, 20
gamma 0, 0.05, 0.1, 0.2, 0.5
Table A2. Optimal Hyperparameter Configurations Across the Five Outer Cross-Validation Folds.
Hyperparameter Fold 1 Fold 2 Fold 3 Fold 4 Fold 5
subsample 0.8 0.7 0.7 0.8 0.8
reg_lambda 1 5 15 10 15
reg_alpha 1 0.1 2 0 0
n_estimators 300 500 300 300 1000
min_child_weight 3 7 10 5 5
max_depth 5 6 5 2 2
learning_rate 0.05 0.02 0.05 0.1 0.01
gamma 0 0 0 0 0
colsample_bytree 0.7 0.6 0.8 0.8 0.8
Table A3. Final Optimal Hyperparameter Configuration Based on the Full Sample.
Hyperparameter Optimal Value
subsample 0.9
reg_lambda 3
reg_alpha 0.5
n_estimators

论文原文与出版信息

Agriculture
查看论文原文

继续探索