arXiv:2610.39715cs.CVOct 2026

Manuscript Offprint

arXiv:2610.39715

NIF: Normal-Intersection Fields for Geometrically Consistent Oriented Box Refinement

Shaokai Zheng

Abstract

Accurate oriented detection requires a box to follow object boundaries, yet a standard regression head predicts its center, size, and angle from a pooled region representation. Small errors in these coupled parameters can displace long boundaries even when the object is correctly classified. We propose NIF, a refinement module that replaces an additional box regressor with normal-intersection fields. Given a coarse oriented box, the module observes local features at 20 boundary anchors and predicts signed distances along their outward normals. These observations admit an exact affine representation in five geometric variables. A differentiable, reliability-weighted least-squares fit projects the predicted field onto this representation and analytically recovers a refined rectangle. Tangential pooling preserves the normal position profile, while shared projection limits the added network to 0.132M parameters. On DOTA-v1.0, NIF reaches 78.00%, 79.11%, and 79.02% mAP with Oriented R-CNN, LSKNet-S, and Strip R-CNN, respectively, achieving the highest single-scale SOTA result in Table 1. It reaches 68.19% on DIOR-R, improves matched FAIR1M/DIOR-R baselines by 0.30/0.68%, and raises HRSC mean IoU from 0.867 to 0.888 while reducing field error by 24.5%. Across four different detector frameworks with the detectors frozen, relative AP 75_{75} improves by 1.57–4.18% and COCO-style mAP by 0.42–3.74%, without detector retraining. Code is available at https://github.com/zsk466991125-collab/Normal-Intersection-Fields.

1 Introduction

A ship can be recognized correctly while its predicted rectangle still cuts across the bow or extends into the water. For a long object, a small angular error moves the end of a boundary substantially; for a narrow object, a small normal displacement can remove a considerable fraction of the overlap. Such errors matter in aerial imagery, where ships, vehicles, bridges, and aircraft occur at arbitrary orientations and widely varying aspect ratios [4, 10, 25, 31, 42, 46, 65]. Benchmarks such as DOTA, DIOR-R, and FAIR1M reflect dense scenes, small instances, and fine-grained categories [7, 25, 42, 46]. Improving recognition alone does not ensure that the four sides form an accurate enclosure. In two-stage detectors built on region-based pipelines [40], this motivates a question: can an oriented detector correct its final box by observing the boundaries that the box is intended to represent?

Recent oriented detectors improve the features used for localization in several ways. RoI Transformer [9] and Oriented R-CNN [47] align region features to candidate orientation. ReDet [16], ARC [39], and GRA [44] incorporate rotation into feature extraction. LSKNet [28], PKINet [1, 2], and Strip R-CNN [62] model the context and anisotropy of aerial objects. Fourier Angle Alignment (FAA) [15] estimates dominant directions in the frequency domain to align features in the neck and head. These advances provide stronger representations, but a final box is still typically obtained from a compact region descriptor. The connection between individual boundary evidence and the joint center, scale, and angle correction remains implicit.

An additional regression stage is one way to improve localization. It also asks another learned mapping to infer the same coupled parameters. A more direct approach would observe displacements at several points on the four sides and fit the corrected geometry. This raises two difficulties. First, the observations must remain meaningful when a coarse corner lies beyond a target side or when the target and coarse box use different but equivalent width–height conventions. Second, independently predicted displacements need not agree on a rectangle: two sides may imply different rotations, or a noisy observation may dominate an otherwise consistent correction.

We address these difficulties with normal-intersection fields (NIF). Starting from the detector’s final coarse rectangle, we place five anchors on each side and predict a signed displacement along the outward normal. The target is the intersection with the corresponding target supporting line,

∗^{*}Corresponding author.

which remains defined beyond the finite side. After aligning equivalent target axes, the resulting 20-dimensional field is exactly affine in five geometric variables. Opposite-side means encode translation and scale, while their coordinated slopes encode rotation. Thus, rectangle compatibility can be enforced through an explicit five-variable fit rather than learned from arbitrary output coordinates. Figure 1 summarizes the prediction-and-refinement pipeline.

The local predictor is designed for this measurement task. Pooling an entire sampling strip discards where a boundary response occurs along its normal. Instead, we pool only along the tangent, retaining an ordered normal profile. Each descriptor predicts a displacement and a bounded reliability. The latter weights both field supervision and the geometric fit, with detached, per-RoI normalized weights in the observation loss. One shared projection is reused across boxes on each active pyramid level. This 0.132M-parameter plug-in reuses FPN features and coarse boxes while preserving the carrier's backbone, proposal generator, and RoI heads.

We evaluate NIF on DOTA-v1.0, FAIR1M-v1.0, DIOR-R, and HRSC2016. On DOTA, NIF reaches 78.00%, 79.11%, and 79.02% mAP with Oriented R-CNN, LSKNet-S, and Strip R-CNN, respectively, with the LSKNet-S result being the highest single-scale SOTA result in Table 1. It also reaches 68.19% DIOR-R mAP. Matched gains are 0.91/0.33% for PKINet-v2/Strip R-CNN on DOTA and 0.30% for Strip R-CNN on FAIR1M. HRSC gains persist at AP 75_{75} and multi-IoU mAP. With four frozen detectors, training only NIF yields relative gains of 1.57–4.18% in AP 75_{75} and 0.42–3.74% in COCO-style mAP; paired analysis links these gains to lower field error and better geometric fits.

Our contributions are threefold:

• We formulate oriented box refinement as a normal-intersection field and derive its exact five-variable affine representation, linking distributed boundary measurements to a compatible rectangle.

• We develop a local, normal-position-aware predictor and a differentiable reliability-weighted fit, implemented as a lightweight branch after the carrier’s final coarse box regression.

• We establish strong SOTA comparisons on DOTA and DIOR-R, demonstrate rapid transfer across four different detector frameworks, and connect field and compatibility errors to the observed detection gains.

References (67)