Geo-OLM: Enabling Sustainable Earth Observation Studies with Cost-Efficient Open Language Models & State-Driven Workflows

Dimitrios Stamoulis, Diana Marculescu · OpenReview

TL;DR

Geo-OLM introduces a state-driven prompting framework that enables small, cost-effective open language models (OLMs) to execute complex Earth Observation workflows. By structuring agent reasoning as a finite state machine, it achieves performance comparable to proprietary models like GPT-4o while slashing inference costs by up to 100x.

What Problem Does This Paper Address?

Earth Observation (EO) and climate monitoring studies involve highly complex, multi-step workflows—such as loading terabytes of satellite imagery, filtering data by spatiotemporal constraints, running specialized detection models, and rendering map visualizations.

While AI copilots show immense promise in automating these tasks, existing frameworks rely heavily on massive, proprietary models like GPT-4o. This creates a sustainability paradox: tools designed to study environmental sustainability incur unsustainable financial costs (thousands of dollars in API fees) and high carbon footprints. When researchers attempt to downsize to smaller, open-source language models (OLMs), performance collapses. This is because standard agent frameworks overwhelm smaller models by forcing them to manage complex task planning, tool selection, and error handling all at once.

Methods

Geo-OLM solves this bottleneck by adopting a state-driven reasoning paradigm (inspired by the StateFlow framework) that models EO workflows as finite state machines (FSMs). Instead of using a single, centralized prompt, Geo-OLM decouples task progression from tool execution.

Figure 1: Earth observation studies, such as post-disaster societal impact assessments [38], involve complex workflows with multiple tools, data sources, and analytical steps. Automating such tasks with off-the-shelf Copilots – particularly agents using proprietary models such as GPT-4o – can rapidly escalate costs, making large-scale spatiotemporal assessments unsustainable for practitioners and researchers. We introduce Geo-OLM, a geospatial agentic framework based on state-driven prompting, where reasoning is structured into distinct stages. By decoupling task progression from tool calling, Geo-OLM enables competitive agentic performance with low-resource open language models while substantially reducing costs. [Project repo]

The framework introduces several novel constraints to help low-resource OLMs succeed:

  • Discrete Workflow States: Workflows are divided into explicit sequential stages (e.g., Init $\rightarrow$ Load $\rightarrow$ Filter $\rightarrow$ Detect $\rightarrow$ Map $\rightarrow$ End).
  • Per-State Tool Masking: Instead of exposing the OLM to the entire API library, the system dynamically suggests only the tools relevant to the current state. This drastically reduces decision complexity.
  • Structured Error Handling: When a tool call fails, the system transitions to a dedicated Error state. This triggers a standalone "self-reflection" prompt, allowing the model to fix minor syntax errors or typos without derailing the entire workflow.
  • Termination Safeguards: The model must explicitly output a TERMINATE keyword, which triggers a follow-up validation step to confirm the task is genuinely complete, preventing premature exits or infinite loops.
Figure 2: State-driven LLM reasoning with Geo-OLM. Earth observation (EO) workflows exhibit inherent progression logic, which we encapsulate using the StateFlow paradigm [50]. We illustrate this first in a single-agent scenario for satellite detection in remote sensing (RS) tasks (left) and extend it flexibly to a multi-agent setup incorporating diverse EO applications (right). By structuring reasoning into explicit states, Geo-OLM reduces the cognitive burden on low-resource OLMs, allowing them to better reflect on task progression, correctly handle errors, and prevent premature function termination.

Datasets

The authors evaluated Geo-OLM across two established geospatial benchmarks and one real-world case study:

  1. GeoLLM-Engine: A benchmark consisting of single-task, multi-step workflows for object detection, land cover classification, and visual question answering (VQA) over satellite imagery.
  2. GeoLLM-Squad: A broader benchmark covering multi-round, multi-agent EO workflows across urban analysis, agriculture, forest monitoring, and climate retrievals. It integrates open-source datasets like Sentinel-2 imagery and NASA MODIS Terra products.
  3. Turkey Earthquake Case Study: A real-world replication dataset based on a February 2023 post-disaster assessment, requiring the agent to combine satellite-based building damage detection with population density estimates to quantify societal impact.

Key Insights and Ideas

  • The Orchestration Burden: Smaller models fail at geospatial tasks not because they lack tool-calling capabilities, but because they cannot handle the cognitive load of tracking workflow progression simultaneously. Decoupling the two unlocks their latent capabilities.
  • The "Self-Reflection" Trap: For certain large open models (like LLaMA-3.3-70B), adding too much self-reflection logic can actually backfire. The authors observed that it caused the model to overthink, question its correct actions, and abandon tasks prematurely.
  • Token Inflation in Small Models: An interesting correlation emerged where smaller models often consume more tokens per task than larger ones. Lower initial correctness rates lead to repeated retries and excessive function-calling loops, inflating token costs if safeguards aren't in place.

Key Results

  • 100x Cost Reduction: Geo-OLM reduced benchmark inference costs from \$500–\$1000 (using GPT-4o) to under \$10, making large-scale spatiotemporal assessments financially viable for resource-constrained researchers.
  • Mitigating Performance Collapse: On models under 7B parameters (such as Qwen-2.5-7B), where prior geospatial baselines suffered a massive performance drop, Geo-OLM improved successful query completion rates by up to 33%.
  • Parity with Proprietary Models: When paired with a strong open weights model like Qwen-2.5-72B, Geo-OLM achieved performance within 1–2% of its GPT-4o-mini counterpart while running at a comparable local execution cost.
Agentic success rate vs. geospatial study cost across various models and prompting methods.

Limitations and Future Work

  • Reliance on Domain Expertise: A key limitation of state-driven prompting is that it requires a human expert to manually define the workflow states and valid transitions beforehand. It is not yet a fully "plug-and-play" generalist agent.
  • Hardware Profiling: The cost model in this paper primarily looks at cloud/monetary costs. The authors note that future work must profile actual hardware metrics, such as local GPU latency, memory footprints, and power efficiency—especially for edge device deployments.
  • Quantization Effects: The study primarily utilized Q4 quantized models via Ollama. Investigating how higher precision variants (Q8, Q16, or full-precision) impact the performance-cost frontier remains an open direction.

Summary updated

BibTeX
@misc{stamoulis2025geo,
  author = {Dimitrios Stamoulis and Diana Marculescu},
  title = {{Geo-OLM: Enabling Sustainable Earth Observation Studies with Cost-Efficient Open Language Models \& State-Driven Workflows}},
  year = {2025},
  eprint = {2504.04319},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.04319},
}
Figure