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.
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
Errorstate. 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
TERMINATEkeyword, which triggers a follow-up validation step to confirm the task is genuinely complete, preventing premature exits or infinite loops.
Datasets
The authors evaluated Geo-OLM across two established geospatial benchmarks and one real-world case study:
- 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.
- 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.
- 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.
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