Reading Satellite Catalogs as Hierarchical Tables

Language-model agents that write code against Earth-observation platforms fail mostly at one step: choosing which dataset to load. On the UnivEarth benchmark, frontier models answer only a third of planetary-science questions. Their generated Google Earth Engine scripts crash 58% of the time, largely because the models write collection names that are wrong or nonexistent. When the code does run, answers are correct 70–80% of the time (Towards LLM Agents for Earth Observation). The bottleneck is finding the right data, not doing the science.

This proposal argues that the failure has a familiar shape. A satellite data catalog is a deeply nested table: mission, then sensor, then product, then collection version, then band, then resolution and units. A single band name such as a daytime land-surface-temperature layer means something different depending on which branch of that tree it sits under. Hierarchical-table research has already shown that models rarely fail at arithmetic and mostly fail at locating the right cell under nested headers (Evaluating LLMs' Mathematical Reasoning in Financial Document Question Answering). It has also shown that accuracy collapses with depth, to 14.1% at five or more nesting levels on HiTab (HiTab). We propose to treat dataset selection as a hierarchical-table lookup. The agent walks the catalog tree top-down. Branches that do not match the question are folded into one-line summaries the agent can reopen, rather than deleted. We also measure how fragile the method is to its own settings, using a matched evolutionary tuning budget.

Core Claim

Most wrong-dataset errors in Earth-observation coding agents are not misspellings. They are grounding errors among valid but sibling entries, such as the wrong product version or the right band under the wrong product. Constrained decoding and flat retrieval do not fix this class of error. A tree-structured, recoverable-attenuation navigator should fix it, and its advantage should grow with catalog depth and with the number of same-named siblings.

A second, weaker claim concerns tuning. Keeping the hierarchy should also make the method less sensitive to its knobs, such as how many branches stay open and how aggressively branches are folded, than flat soft-weighting.

Research Program

The first step is diagnostic. We will re-run the UnivEarth protocol and label every wrong dataset choice with one of two tags. A nonexistent identifier error is one that no catalog lookup would accept. A valid-but-wrong error names a real collection or band that does not answer the question. We will also record the tree depth at which the agent's path first leaves the correct one. UnivEarth reports that wrong asset names correlate with accuracy at $r=-0.88$, but it does not separate these two kinds of error. The split determines whether anything beyond a lookup table is needed.

The method has three parts.

Tree construction. We build the catalog tree from public catalog metadata, using only fields that exist in the catalog: platform, sensor, product, version, band, scale factor, units, and temporal coverage. This replaces the step in TreeThinker (RealHiTBench), a three-stage prompting pipeline whose first stage asks the model to self-generate a header tree. Here the tree is given and correct, which isolates navigation from parsing.

Question-to-node alignment. The question is broken into constraints: physical variable, sensor family, time window, and resolution. Each constraint is matched against node labels with both BM25 and dense scores. We include BM25 because UDA found that exact-token matching beats dense embeddings on identifier-heavy material (UDA).

Recoverable attenuation. Low-scoring branches are collapsed to a one-line summary with an "expand" action rather than removed. This follows the argument in CABINET, which down-weights irrelevant cells softly instead of pruning them so that a mistaken filter can be undone (CABINET). CABINET works at the cell-embedding level on flat tables and has no notion of parent-child headers. Our attenuation is applied per subtree, and the agent can reverse it as an explicit action.

For open-weight models, we additionally test an embedding-level version. It adds an attention bias toward the selected path, closer to CABINET's mechanism. Before writing code, the agent must commit to a full root-to-leaf path. This borrows the "grounding contract" idea from TABALIGN, which has the model declare its target cells explicitly. TABALIGN found that 67% of its errors came from the model skipping the declared plan (TABALIGN). It also reports that very complex hierarchical tables remain hard for cell mapping, and our method targets exactly that weakness.

The evolutionary component is a measurement tool and a fairness device, not the core mechanism. Every method has a few discrete or continuous knobs: branch-keep count, fold threshold, the mix between BM25 and dense scores, sampling temperature, and maximum expansions. For each method, we tune these on a development split with the same budget of agent rollouts, using a small CMA-ES or genetic search. Evolutionary search is known to be unstable on ill-conditioned landscapes under default settings (Diagonal Acceleration for CMA-ES), so we report two things. The first is the tuned optimum. The second is the spread of accuracy across the final population and across random configurations, which serves as a sensitivity score. We deliberately do not use LLM-driven program evolution such as EFE (Evolutionary Feature Engineering for Structured Data) or token-restricted crossover such as NGS (Neural Genetic Search in Discrete Spaces). Both tune flat or sequential objects, and adding them here would add meta-hyperparameters without testing the hierarchy claim.

Baselines

Naive reference. The zero-shot and Reflexion-style agent exactly as in UnivEarth. For the strongest existing system, the reported number is 33% accuracy for both Claude 3.7-Sonnet and o3-mini on UnivEarth (Towards LLM Agents for Earth Observation). We will re-run it with our base model so the comparison is like-for-like. The fine-tuned open model in that paper, a Llama-3.1-8B trained on synthetic scripts, reaches 25%. This is the "just train on more scripts" reference, and we will reproduce it on the same 8B backbone.

Constrained decoding. The asset string is forced to come from the set of valid catalog identifiers. This is the cheapest serious competitor, because it removes nonexistent-identifier errors by construction.

Flat retrieval. The top-$k$ catalog entries are retrieved with BM25, or with a hybrid of BM25 and dense scores, and placed in the prompt. This is the remedy UDA's results would suggest. No reported result found on Lacuna for retrieval-augmented asset grounding on UnivEarth.

Long-context dump. The full catalog, or the full relevant mission subtree, is placed in the prompt.

TreeThinker transplanted. The model self-generates the catalog tree from raw metadata, as in RealHiTBench. Its reported table result is a GPT-4o chart-generation PASS@1 gain from 14.29% to 33.55%, but there is no catalog number.

Ablations isolating the key ingredients. We will run three. The first removes the hierarchy: CABINET-style soft weighting over flattened catalog rows. The second removes recoverability: hard pruning of low-scoring subtrees. The third removes the path commitment.

Fairness rules. Every method gets the same base models, catalog snapshot, tool sandbox, and evolutionary tuning budget on the development split. Beating a baseline means a statistically significant gain in end-task accuracy on held-out UnivEarth questions. It also means a gain specifically on valid-but-wrong errors over constrained decoding combined with hybrid retrieval, which together form the real bar.

Why not just…?

Why not just constrain the decoder to valid collection names? This fixes misspellings and invented identifiers, and it may recover a large share of UnivEarth's 58% crash rate. That would be a real and useful result, and we will report it honestly. It cannot help when the model picks a real but wrong product or band. The diagnostic split above measures that residual directly. If valid-but-wrong errors turn out to be negligible, the hierarchical method is unnecessary, and the paper becomes a negative result about the asset-name problem.

Why not just retrieve catalog entries with BM25 and append them? Flat retrieval cannot express that identical band names live under different parents. This is the duplicate sub-header failure documented for nested tables in AIT-QA (AIT-QA). Retrieval is still a strong threat when questions name the sensor explicitly. We therefore stratify results by sibling ambiguity, measured as the number of same-labeled leaves under different parents. We predict that retrieval matches our method at low ambiguity and falls behind at high ambiguity.

Why not just put the whole catalog in a long context? UDA shows numerical document QA collapsing from 45.9 with retrieval to 0.4 with full-context GPT-4 on FinHybrid. RealHiTBench shows coherence loss on hierarchical tables beyond about 20,000 tokens. A large mission catalog is far longer than that. We include this baseline anyway, so the collapse is measured on catalogs rather than assumed.

Why not just fine-tune on more synthetic scripts? UnivEarth's own attempt reached 25% with an 8B model, below the frontier zero-shot result. More scripts also go stale when catalog versions change. We test the staleness issue directly: we hold out newly versioned collections, so the fine-tuned model has never seen their names but our navigator can still read them from the tree.

Proposed Experiments

Main evaluation. The primary benchmark is UnivEarth's 140 questions. Because 140 questions limits statistical power, we add a larger diagnostic set built from the catalog itself. Each item pairs a natural-language data request, such as a variable, region, period, and resolution, with its unique correct root-to-leaf path. The items are stratified by depth and sibling ambiguity. Metrics are end-task accuracy, code execution rate, exact-path accuracy, and the first-divergence depth. As a secondary transfer check, we run the navigator inside Earth-Agent's tool loop on Earth-Bench. There the reference is about 66% accuracy (Earth-Agent), and we expect little change, because Earth-Bench stresses tool ordering rather than catalog lookup. A null result there is informative about scope.

Decisive check 1: hierarchy. Plot exact-path accuracy against depth and against sibling ambiguity for three methods: our navigator, the flattened soft-weighting ablation, and constrained decoding with hybrid retrieval. The claim survives only if our curve stays flat where the others fall, mirroring the HiTab depth collapse.

Decisive check 2: recoverability. Compare hard pruning with recoverable folding on items where the first-stage scorer ranks the correct branch outside the top-$k$. Folding should recover a measurable fraction of these items, and pruning should recover none.

Decisive check 3: sensitivity. Under the matched evolutionary budget, report the interquartile range of development-split accuracy across the final population for each method. If the hierarchical method is not tighter than flat soft-weighting, we drop the stability claim.

Sanity check: is it really a table method? Run the same navigator on HiTab and RealHiTBench, giving it gold header trees where available and TreeThinker-generated trees otherwise. Compare against TreeThinker, and against HiTab's hierarchy-aware logical forms at 45.1% execution accuracy. This confirms that the mechanism transfers between financial tables and satellite catalogs, rather than exploiting some quirk of one catalog.