Deferring Commitment at Qualitative Boundaries

Many perception systems turn noisy continuous measurements into a few discrete relations: "inside or outside," "touching or apart," "closer or farther." The usual argument for this move is robustness. Small sensor jitter stays inside a category and never reaches the reasoning layer. The argument has a known weak spot. When the true value sits near the line between two categories, the same jitter flips the label back and forth. This field has built deployed diagnosis systems and formal spatial calculi, yet it has almost never measured how often this happens on real sensor noise or what it costs downstream. We propose to measure it, and to test one specific fix. Near a boundary, the abstraction layer reports a set of possible relations instead of one label. Two sources of structure then narrow that set: the logical rules governing how relations combine across object pairs, and the rules governing which relations can follow which over time.

The core claim is that boundary noise is better handled as relational ambiguity, resolved by constraints, than as a signal-processing problem. Hysteresis thresholds and temporal smoothing act on one signal at a time, so they buy stability by adding lag. Relational constraint propagation can often settle an ambiguous relation at once, because other relations in the scene rule some options out. If this is right, it should show up as fewer spurious label flips at equal or lower latency, and as better containment and occlusion tracking when inputs come from real detectors rather than ground-truth boxes.

What the literature establishes and leaves open

The robustness premise is well motivated. Model-based diagnosis reasons over qualitative deviations such as "pressure higher than expected" and has run in more than 1,500 Fiat workshops and on kilobyte-scale engine control units (Model-based Diagnosis in the Real World). AQUA derives the coarsest intervals, for example four voltage regions for a pedal sensor, that preserve diagnostic resolution (Automated Qualitative Domain Abstraction). Neither work tests what happens when a reading hovers at an interval edge. That untested case is the gap we target.

Three papers supply the machinery we reuse, and none tests boundary jitter:

  • Constraint Logic Programming over Qualitative Spatial domains, CLP(QS). Robust Natural Language Processing combines this with two calculi. RCC8 covers topology (disconnected, touching, partial overlap, inside, and so on). A left–right calculus covers orientation. The system kept task performance up to 50% visual frame loss. Frame loss removes evidence entirely, which is a different failure from evidence that is present but sits on a boundary.
  • The containment graph. What Is Where tracks which container holds which object. It forbids "paranormal" containment changes that occur without human contact, and it raised fully occluded tracking from 8% to 43%. It commits to hard IN/ON scores and repairs errors afterwards with dynamic programming over the whole video. That design is offline and scales poorly.
  • Constraint-satisfaction checking of qualitative consistency. RoomSpace uses this only to grade language models' text answers. It does not use it to stabilize perception.

Two results constrain the design:

  • Near Optimal Behavior via Approximate State Abstraction found zero policy loss in Taxi up to a merge tolerance of about 0.02, then a sharp crash near 0.025. Abstraction quality is therefore governed by what happens at boundaries, not in category interiors.
  • Learning Object Permanence from Video reports that its model, OPNet, degrades significantly when ground-truth boxes are replaced by Faster R-CNN detections. This is the regime where boundary noise lives. It is also where the qualitative-robustness claim has gone untested.

Research Program

The method has three stages.

Stage 1: margin-aware relation extraction. Each relation is computed from continuous geometry: box overlap, contact distance, relative height, center ordering. For each quantity we estimate a per-frame noise scale. This comes from detector-versus-ground-truth residuals on held-out data, or from the spread across tracker hypotheses. A quantity is "near boundary" when its distance to a category threshold is under $k$ noise scales. In that case the extractor outputs the category plus its conceptual neighbors, meaning the relations reachable by an infinitesimal continuous change. For example, near the tangent-inside/non-tangent-inside boundary it outputs {tangential proper part, non-tangential proper part}. This neighborhood structure is standard for RCC8 and interval orderings, so the disjunction is principled rather than arbitrary.

Stage 2: online constraint narrowing. Each frame, we run path consistency over the scene's relation network using the calculus composition tables. If A is inside B and B is inside C, then A cannot be disconnected from C. We also apply a temporal-neighborhood constraint: between consecutive frames, a relation may only move to a conceptual neighbor. The containment-graph contact prior is included, so containment may change only when a hand or carrier is in contact. The narrowing runs per frame over a sliding window. It does not use a whole-video dynamic program.

Stage 3: downstream handoff. Relations that remain ambiguous are passed downstream as sets. The containment tracker treats them as uncertain evidence rather than forcing a choice.

The empirical half of the program is a boundary stress protocol that the field lacks. On each benchmark we bin every relation instance by its distance to the nearest category boundary, measured in noise units. We then report three things per bin: the label-flip rate, how often a flip reflects a real change, and the downstream error attributable to each flip. This produces the first direct measurement of the boundary problem. It lets us check whether errors really concentrate at boundaries before crediting any fix. If they do not, the problem is not where the literature says it is, and we will report that as the finding.

Baselines

Naive thresholding. Relations are computed from the same detector outputs by fixed thresholds with no temporal treatment. It shows the raw size of the boundary problem, and every other method must beat it on flip rate without losing transition recall.

Filtering plus hysteresis. This is the strongest simple engineering competitor and the one most likely to match us. Continuous quantities first pass through a constant-velocity Kalman filter, then through two-threshold hysteresis. It is simple, decades old, and directly targets oscillation. We give its filter noise, hysteresis band, and our margin $k$ an equal random-search tuning budget on the same validation split. Beating it means fewer spurious flips at equal or lower latency for detecting true transitions, or the same flip rate at clearly lower latency.

OPNet (Learning Object Permanence from Video). This is the strongest learned method on the benchmark closest to our question. It reports 81.94% mean IoU on LA-CATER, 57.59% on the Carried subtask, and 74.8% on CATER snitch localization, all with ground-truth boxes. We found no reported result on Lacuna for OPNet with detector inputs. We will retrain it on the same detector outputs our pipeline receives. For a fair comparison with learned smoothing, we will also feed it our relation sets as extra inputs.

Containment-aware model (What Is Where). This is the explicit symbolic competitor, reported at 59% overall and 43% under full occlusion on its RGB-D dataset. Beating it means higher accuracy on that dataset with online per-frame inference instead of whole-video dynamic programming.

Two ablations isolate the key ingredient. The first keeps the sets but removes constraint narrowing, so ambiguity simply passes downstream. The second keeps constraint narrowing but uses hard labels, repairing violations after the fact in the style of the paranormal-change filter. Our claim requires the full system to beat both. That would show the gain comes from committing late and resolving ambiguity relationally, not from either part alone.

Why not just…?

Why not just smooth the signal and add hysteresis? This is a real threat. On isolated objects with slowly varying geometry, it may equal our method, because no other relations exist to constrain the ambiguous one. Our prediction is narrower. Hysteresis must trade lag against stability per signal. Constraint narrowing gains an advantage only in multi-object scenes, where composition and contact rules can resolve ambiguity with no delay. The stratified comparison settles this. We split results by the number of related objects in the scene. If filtering plus hysteresis matches us even in dense scenes, we will conclude that the relational ingredient adds nothing and report that.

Why not just track continuously and skip qualitative labels? The evidence says continuous motion alone fails at occlusion. Offline Tracking with Object Permanence reports 58.7% association accuracy for a constant-velocity model versus 90.3% with map priors. What Is Where reports 8% for a plain tracker under full occlusion. We include a Kalman-only tracker so this comparison is re-measured on our splits.

Why not just let an end-to-end network learn the abstraction? OPNet does well with clean boxes, but its authors report sharp degradation with detector inputs, and learned soft attention gives no check on logical consistency. Visual Spatial Reasoning likewise shows vision-language models plateauing near 70% against 95.4% for humans. The retrained-OPNet comparison on detector inputs answers this directly. If a network given our relation sets as input beats our symbolic resolver, that is a useful result: the sets are the contribution and the resolver is not.

Proposed Experiments

LA-CATER. We run three input conditions. The first uses ground-truth boxes. The second adds calibrated noise, with the noise scale swept from zero up to detector-level residuals. The third uses real Faster R-CNN detections. The metrics are per-state accuracy on containment state (Visible, Occluded, Contained, Carried), target mean IoU, snitch localization accuracy, label-flip rate per boundary-distance bin, and latency to detect true transitions.

RGB-D containment dataset (What Is Where). This dataset provides real depth-sensor noise. We report overall and full-occlusion tracking accuracy against the published 59% and 43%.

Discrete-abstraction control. As a small check linking back to decision-making, we inject observation noise into Taxi. We then ask whether emitting neighbor sets for states near the abstraction boundary delays the policy-value crash reported near 0.025 in Near Optimal Behavior via Approximate State Abstraction.

Decisive checks. Two results would support the proposal. First, the boundary stress protocol should show errors concentrated in near-boundary bins; without that, there is nothing to fix. Second, on real detector inputs, the full system should beat tuned filtering plus hysteresis on the flip-rate versus latency trade-off in multi-object scenes, and beat both ablations. If hysteresis matches us in dense scenes, the claim is falsified.