1. Introduction
Against the backdrop of global climate change and increasing resource and environmental constraints, improving grain production efficiency has become an important way to ensure national food security [
1]. Located in the eastern coastal area of China, Shandong Province has diverse terrain including mountains, hills, and plains, making it a major grain-producing region. In 2023, Shandong’s GDP exceeded 9 trillion CNY (12,535.69 billion USD) for the first time, with the gross output value of agriculture, forestry, animal husbandry, and fishery reaching 1253.19 billion CNY (174.55 billion USD), highlighting its pivotal role in national grain production [
2]. However, the traditional extensive growth path has become unsustainable, and there is an urgent need to promote agricultural transformation through technological upgrading and model innovation.
Scholars have extensively researched grain production efficiency. In the field of technical efficiency, Farrell provided a foundational work, interpreting technical efficiency as the ratio of theoretical minimum cost to actual cost [
3], while Leibenstein defined it from the output perspective as the ratio of actual output to maximum possible output [
4]. Regarding measurement methods, the C-D production function proposed by Cobb and Douglas pioneered quantitative analysis [
5], and Coelli constructed a time-varying stochastic frontier production function (SFPF) [
6]. According to Liu and Mao, Chinese scholars have mainly relied on two methodological systems: Stochastic Frontier Analysis (SFA) and Data Envelopment Analysis (DEA) [
7]. For instance, Wang et al. applied a stochastic frontier production function approach to reveal the spatial–temporal heterogeneity of urban construction land allocation efficiency in China’s urban agglomerations [
8]. However, in this study, we majorly focus on DEA, which is a non-parametric approach to evaluate the relative efficiency of a group of decision-making units (DMUs). DEA models have been widely adopted in existing research, and their frameworks and extended forms keep evolving continuously. For example, Liu et al. evaluated China’s grain production efficiency based on the super-efficiency DEA method [
9]; Yin et al. used the Slacks-Based Measure (SBM) model to measure Chinese total grain production efficiency under climate change [
10]; and Zhang and Jia analyzed the grain production efficiency of five major grain-producing provinces using the DEA–Malmquist index model [
11]. In recent years, DEA has achieved prominent applications in research on spatial–temporal differentiation. Li et al. studied spatial variations in agricultural efficiency in Iran [
12]; Frei et al. revealed the impact of climate and potassium nutrition on crop yields based on a 30-year Swiss long-term fertilization experiment [
13]; scholars Jin and Han analyzed the regional pattern changes and driving factors of China’s grain production [
14]; Shao et al. revealed a distinct trend of “northward and westward” spatial restructuring in grain production [
15]. A wide range of spatial analytical approaches have been extensively adopted in agricultural production system research. In early studies, scholars such as Liu et al. mainly relied on global and local Moran’s indices, Getis–Ord hot spot analysis and standard deviational ellipses to identify the agglomeration and differentiation patterns of grain efficiency across regions [
16]. To further quantify cross-regional interactive relationships, spatial econometric panel models were used by scholars, such as Jing et al., to decompose local direct effects and interregional spatial spillover effects based on multi-year panel datasets [
17]. Regarding influencing factors, Ordóñez et al. systematically analyzed the interactive driving effects of weather and technology on soybean production in the United States [
18]; Dong et al. studied the contributions of planting density, nitrogen application, and other factors to rice yield changes [
19]; according to Zhang, land is the core determinant shaping grain output performance across regions [
20]; Luo et al. found that the amount of agricultural and the level of agricultural technology present a “U-shaped” trend for production agglomeration [
21]; Wei and Lu revealed a positive correlation between farmers’ machinery ownership and grain production efficiency [
22]; Deng and Zhu found that conservation tillage combinations significantly improved grain production efficiency [
23]; and Zhang et al. found that agricultural subsidy reform policies significantly promoted the improvement of grain production efficiency [
24].
Although existing research has laid a solid theoretical foundation and provided abundant empirical evidence, some questions remain. First, most existing studies are carried out at the national macro scale (e.g., Ding et al.) or concentrate on a single grain crop (e.g., Li and Cui) [
25,
26], and there is a lack of systematic efficiency measurement and spatial–temporal evolution analysis specifically for Shandong Province, an important grain-producing region. Second, as Liu et al. argued, most existing evaluations of grain production efficiency merely depict rudimentary spatial clustering patterns, while failing to employ spatial econometric frameworks [
27]. Third, Wang Helong’s research findings indicate that advances in green technology are one of the primary drivers of growth [
28]. Traditional efficiency evaluations often focus only on desirable outputs such as grain yield, while ignoring undesirable outputs such as agricultural carbon emissions, making it difficult to fully reflect the true level of efficiency under the background of green and sustainable development. Furthermore, there are disagreements in existing conclusions regarding the direction and magnitude of the effects of modern factors such as mechanization, digitalization, and urbanization.
To further investigate these issues, this paper uses panel data from 16 prefecture-level cities in Shandong Province from 2013 to 2022, constructs an evaluation system that includes input indicators and output indicators, and comprehensively applies the SBM model, DEA–Malmquist index, spatial autocorrelation analysis, and the spatial Durbin model (SDM) to systematically reveal the static level, dynamic evolution trend, spatial correlation pattern, and spatial spillover effects of influencing factors of grain production efficiency in Shandong Province. The study aims to answer three core questions: What spatial–temporal evolution characteristics does grain production efficiency in Shandong Province present? Does significant spatial agglomeration and spillover effects exist? What are the direct and indirect effects of different factors on efficiency?
The contributions of this paper are threefold. First, it incorporates agricultural carbon emissions into the grain production efficiency evaluation system, addressing the shortcoming of traditional efficiency measurements that ignore undesirable outputs, and making the evaluation more consistent with the concepts of green agriculture and sustainable development. Second, it constructs a comprehensive analytical framework by combining the DEA–Malmquist index model with spatial autocorrelation and cold–hot spot analysis, revealing the temporal dynamics and spatial evolution characteristics of efficiency from both static and dynamic perspectives. Third, it uses the spatial Durbin model to quantify the direct, indirect, and total effects of different factors on grain production efficiency, deeply revealing the influence mechanisms of various factors at different spatial scales, and providing a refined scientific basis for formulating differentiated regional agricultural policies.
4. Discussion
4.1. Interpretation of Key Findings
During 2013–2022, grain production efficiency in Shandong generally improved with remarkable regional disparities. In terms of average efficiency indicators, overall technical efficiency increased from 0.8455 to 0.9605, pure technical efficiency grew from 0.9120 to 1.3310, while average scale efficiency decreased from 0.9314 to 0.8502 over the study period, showing a divergent evolutionary pattern between technical and scale dimensions. At the same time, the spatiotemporal evolution of grain production efficiency in Shandong Province is distinct. From a temporal perspective, grain production efficiency in Shandong Province fluctuates in response to technological progress and policy adjustments. For example, during the 2017–2018 crop year, Shandong Province’s grain production efficiency (TFPCH) reached 1.0486, indicating a high level of production efficiency. However, in certain years, such as the 2018–2019 crop year, efficiency declined despite significant technological progress.
The static efficiency analysis revealed significant regional disparities. Cities such as Jinan, Dezhou, Binzhou, and Heze consistently achieved high efficiency scores, whereas Weihai and Dongying lagged behind. These differences reflect heterogeneity in natural endowments, irrigation infrastructure, labor quality, and mechanization levels. For instance, the western plain areas benefit from flat terrain and concentrated farmland, while the eastern coastal regions face challenges, such as fragmented land and soil salinity, which constrain efficiency gains.
From a dynamic perspective, the Malmquist index decomposition showed that TFPCH averaged 0.9962 over the ten-year period, indicating a slight overall decline. However, notable fluctuations occurred: TFPCH peaked at 1.0486 in 2017–2018, driven jointly by technical progress (TECHCH = 1.0148) and efficiency change (EFFCH = 1.0303). In contrast, the 2018–2019 period saw a decline to 0.9634 despite significant technological progress (TECHCH = 1.1460), suggesting that technological gains alone are insufficient to compensate for declines in pure technical and scale efficiency. This underscores the need for balanced improvements across all efficiency components.
4.2. Spatial Patterns and Agglomeration Effects
Global Moran’s I analysis revealed significant positive spatial autocorrelation in grain production efficiency for most years, with values exceeding 0.4 in 2016 and 2017. Local spatial autocorrelation further identified distinct agglomeration patterns: high–high (H-H) clusters were consistently observed in western cities, such as Liaocheng, Dezhou, and Heze, while low–low (L-L) clusters dominated eastern cities, such as Qingdao, Weihai, and Yantai. These findings are consistent with the spatial convergence patterns identified by Liu et al. in the Huaihe River Ecological Economic Belt and by Zhang and Li in the Yellow River basin [
40]. The persistence of these clusters suggests the presence of spatial spillover effects, where neighboring cities influence each other’s efficiency levels. This spatial dependency implies that policies aimed at improving efficiency should consider not only local interventions but also cross-regional coordination.
Cold and hot spot analysis further corroborated this west–east divide. Hot spots of comprehensive efficiency and pure technical efficiency gradually shifted westward during 2013–2022, reflecting the westward concentration of grain production. This spatial realignment may increase systemic vulnerability, as production becomes more geographically concentrated. The contraction of cold spots in eastern coastal areas indicates relative stagnation or decline, possibly due to urbanization-driven labor outmigration and farmland conversion.
4.3. Influencing Factors and Their Spatial Effects
The Spatial Durbin model results revealed complex and sometimes counterintuitive effects of various factors on grain production efficiency.
Mechanization (Mec) showed a significant positive direct effect (0.230,
p < 0.001) and a positive albeit non-significant indirect effect (0.130), indicating that local mechanization improves local efficiency and may moderately benefit neighboring areas through technology diffusion. However, according to Peng and Zhang, Mec can lead to the environmental cost, such as greenhouse gas emissions, soil compaction, and degradation [
41]. Therefore, smallholder farming systems commonly adopt total agricultural machinery power per unit cultivated area as an indicator to quantify the intensity of Mec [
42]. In summary, how to incorporate the environmental costs of Mec into the assessment model warrants attention.
Fertilizer and pesticide intensity (Ferpes) had a significant negative direct effect (−0.0752,
p < 0.05) and a negative total effect (−0.176,
p < 0.01). This finding challenges the conventional belief that higher chemical input necessarily leads to higher output. Instead, this finding aligns with the research by Li et al., indicating that excessive application reduces marginal returns, degrades soil health, and increases in carbon emissions, consequently reducing overall efficiency [
43]. This highlights the urgency of promoting green agricultural technologies and precision farming practices.
Urbanization (Urb) exerted the strongest negative effects, with direct, indirect, and total effects all significant at the 0.001 level (coefficients: −0.840, −0.838, −1.677). This implies that rapid urbanization draws labor and land away from agriculture, reducing the availability of experienced farmers and fragmenting production. These findings are consistent with those of Zhang and Zheng [
44], who reported a negative relationship between urbanization and grain production efficiency in China. In addition, the study by Wang et al. also confirms that urban expansion in developing countries has a significant inhibitory effect on agricultural production [
45].
Agricultural technology innovation (Rtec) demonstrated non-significant direct effects but significant negative indirect effects (−0.0694,
p < 0.001). This suggests that while innovation may eventually improve efficiency, short-term adaptation costs and uneven technology adoption across regions can create negative spillovers. Young and McCarty’s study confirms that negative cross-regional spillovers can occur even when scale imbalances are corrected [
46]. This complexity implies that technology promotion requires tailored extension services and capacity building, especially in less developed areas.
Digitalization (Tv) had a positive direct effect (0.00382,
p < 0.01) but a negative indirect effect (−0.00995,
p < 0.001). This dichotomy suggests that while digital tools (e.g., smart irrigation, remote sensing) improve local management, the digital divide may prevent neighboring regions from benefiting equally, potentially exacerbating spatial inequality. Currently, major approaches to addressing this imbalance include targeted rural digital infrastructure investment, customized communal precision machinery services, lightweight offline aggrotech tools, and integrated cross-regional agricultural data platforms for unlocking interregional technological spillovers [
47].
The labor force level (lnpop) showed a significant negative indirect effect (−0.00158,
p < 0.001), reflecting the inefficiencies associated with surplus rural labor. Excess labor increases production costs without corresponding output gains, consistent with Pan et al. [
48], who found that labor hollowing out negatively affects grain production efficiency. Some East Asian countries also face this rural labor surplus barrier to food efficiency, and documented efficiency losses exceed those in Shandong Province [
49].
4.4. Practical Implications
The findings carry several practical implications. First, the significant negative effect of fertilizer and pesticide intensity calls for stricter regulations on chemical inputs and stronger incentives for organic alternatives. At this phase, the province of Shandong has initiated pilot projects for transition in some regions [
50]. The results of the study can provide data support and guidance for selecting suitable demonstration zones in Shandong. Second, the adverse impact of urbanization suggests that urban expansion plans must incorporate agricultural protection zones and support for part-time or multi-occupational farming. However, local governments confront practical barriers to demarcating suburban agricultural protection zones [
51]. This study quantifies urbanization’s heterogeneous impacts on grain production efficiency, offering empirical support for optimizing suburban spatial planning. Third, spatiotemporal patterns of grain production efficiency across Shandong reveal marked interregional gaps in resource endowments, technology uptake, and operational scale. Western plains feature high efficiency and agglomeration, while fragmented, low-fertility terrain restricts productivity in eastern coastal and northern zones. Based on the research findings, the government can take into account the natural conditions of each region and adopt differentiated resource allocation plans.
4.5. Limitations and Future Research Directions
Despite its contributions, this study has several limitations. First, the analysis is based on prefecture-level aggregate data, which may mask heterogeneity at the farm or household level. Future research could incorporate micro-survey data to capture intra-regional variability. Second, the study period (2013–2022) does not fully capture post-pandemic recovery or recent climate extremes. Extending the time horizon would enrich the understanding of long-term dynamics. Third, while this study included carbon emissions as a non-expected output, other environmental indicators such as water footprint or biodiversity loss were not considered. Future studies could adopt more comprehensive ecological efficiency frameworks. Fourth, the spatial weight matrix used was primarily based on geographic adjacency; alternative matrices based on economic distance or information flow could yield additional insights. Finally, causal mechanisms underlying complex effects—such as the negative indirect effect of digitalization—warrant in-depth qualitative or mixed-methods investigation.
5. Conclusions
From 2013 to 2022, grain production efficiency in Shandong Province exhibited a general upward trend, yet with pronounced regional disparities. The average technical efficiency increased from 0.8455 to 0.9605, driven primarily by improvements in pure technical efficiency (0.9120 to 1.3310), while scale efficiency declined from 0.9314 to 0.8502, indicating that efficiency gains relied more on technological advancement than on scale expansion. Cities such as Jinan, Dezhou, Binzhou, and Heze achieved high efficiency levels, whereas Weihai and Dongying lagged behind. Spatiotemporally, comprehensive technical efficiency and pure technical efficiency decreased gradually from Western to Eastern Shandong, and scale efficiency became increasingly concentrated in the west, reflecting a westward shift in the grain production center. Significant spatial autocorrelation and agglomeration effects were identified, with high–high clusters in Liaocheng and Dezhou and low–low clusters in Qingdao and Weihai, confirming that spatial spillovers play an important role. Mechanization had a positive and significant direct effect on efficiency, whereas fertilizer and pesticide intensity, labor surplus, and urbanization exerted significant negative effects. Digitalization showed positive direct but negative indirect effects, implying a digital divide across regions. These findings suggest that improving grain production efficiency requires optimizing resource allocation, reducing excessive chemical inputs and labor redundancies, promoting regionally adapted technological innovation, mitigating adverse urbanization effects, and strengthening inter-city coordination to leverage positive spatial spillovers. This research adopts the DEA–Malmquist index with agricultural carbon emissions incorporated as undesirable outputs to measure and decompose total factor productivity (TFP) of grain production systems, distinguishing the contributions of pure technical efficiency and scale efficiency. Global Moran’s I is further applied to evaluate and identify spatial autocorrelation and agglomeration patterns of efficiency distribution. On this basis, the spatial Durbin model is utilized to quantitatively decompose the local direct effects, cross-regional indirect spatial spillover effects and aggregate total effects of influencing factors. Combined with spatiotemporal characteristic analysis, the multi-model framework systematically reveals the evolutionary logic of agricultural production efficiency, thereby furnishing a rigorous quantitative foundation for designing differentiated regional agricultural policies.
That said, several caveats should be acknowledged. The empirical analysis relies on prefecture-level aggregate data, which may obscure finer heterogeneity at the farm or household level; future work would benefit from micro-survey data. The study period ends in 2022 and thus misses post-pandemic recovery and recent extreme climate events; extending the time window could offer a richer understanding of long-term dynamics. While carbon emissions were included as an undesirable output, other environmental dimensions—such as water footprint or biodiversity—remain unaccounted for, pointing toward the need for more comprehensive ecological efficiency frameworks. The spatial weight matrix is also primarily based on geographic adjacency; alternative specifications using economic distance or information flow might yield additional insights. Finally, the causal mechanisms behind some complex effects, notably the negative indirect effect of digitalization, warrant further in-depth qualitative or mixed-methods investigation.