﻿# AI4Boundaries: field extent, boundary distance and parcel identity are different targets

Choose AI4Boundaries raster targets by their actual meaning instead of feeding extent, boundary, distance and field-enumeration layers into one interchangeable loss.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-ai4boundaries-extent-distance-field-targets/
Language: en

## Choose what the model must predict

The [AI4Boundaries paper](https://essd.copernicus.org/articles/15/317/2023/) describes aligned raster targets for field extent, boundaries, distance and field enumeration. These layers share geography but do not share mathematical meaning. A mask asks whether a location belongs to a field or boundary. A distance layer describes a geometric relation. An enumeration distinguishes parcels. Select the intended target before choosing a loss, output activation or validation statistic; identical array shapes do not make their values interchangeable.

## Do not read local identifiers as ordered classes

If parcel identifiers are used to recover individual fields, their numeric order should not imply that a higher-numbered field is more agricultural or farther from a boundary. Preserve identity through categorical or instance-aware processing. Resizing an identity raster with continuous interpolation can create codes that name no source parcel. Inspect neighboring fields and clipped edge parcels after transformation, rather than trusting a display that assigns similar colors to accidentally merged identifiers.

## Preserve the units of a geometric target

A distance-derived layer needs its documented definition and scaling. Do not assume that an arbitrary normalized value is a calibrated boundary probability. If spatial resolution or cropping changes, establish whether the stored distance still represents the intended geometry and units. The [JRC dataset record](https://data.jrc.ec.europa.eu/dataset/0e79ce5d-e4c8-4721-8773-59a4acf2c9c9) provides the authoritative dataset identity and access entry point. Keep the chosen imagery representation and label product attached to every derived training example.

## Audit files by role

The [publisher archive](https://jeodpp.jrc.ec.europa.eu/ftp/jrc-opendata/DRLL/AI4BOUNDARIES/) separates imagery and sampling resources. Build a manifest that identifies the target layer used, not just the common sample stem. A loader can read the correct file successfully and still select the wrong channel for its declared task. Before a long training run, show the source image alongside each selected target and verify a central field, a boundary and an outside-field region with numeric values.

## Evaluate the chosen agricultural question

Compare a boundary detector with boundary evidence and an instance delineation system with instance-aware evidence. An extent overlap score alone cannot establish that touching parcels were separated correctly. Related guides cover [image geometry](/journal/data-guide-image-exif-box-coordinate/) and [dataset release identity](/journal/data-guide-google-research-authoritative-release/). AI4Boundaries is useful because it exposes several target representations; the experiment becomes reproducible when it states which representation was predicted, how it was transformed and what its evaluation actually measures.
