Query-aware cross-view target geolocation method, apparatus, device and medium

By generating content-aware guidance maps and using LLPE, OBM, and MS-CVFM modules, the problem of weakened user intent signals in existing technologies is solved, improving the accuracy and reliability of cross-view target geolocation.

CN123178668APending Publication Date: 2026-11-27SHENZHEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611419937.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing cross-perspective target geolocation methods based on detection-based query perception, the query signal carrying user intent is gradually weakened in the three stages of intent encoding, query representation, and cross-perspective matching, resulting in diffused fusion attention and low target localization accuracy and reliability.

Method used

By generating a content-aware guide map, the query image is processed using a lightweight learnable positional encoding (LLPE) and an orthogonal bidirectional Mamba (OBM) feature enhancer, and cross-view matching is performed using a multi-scale cross-view fusion module (MS-CVFM) to improve query awareness.

Benefits of technology

It significantly improves the accuracy and reliability of target positioning under conditions of large viewing angle differences, ensuring that the fusion attention is focused on the clicked target, thereby improving positioning accuracy and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178668A_ABST
    Figure CN123178668A_ABST
Patent Text Reader

Abstract

The application discloses a query-aware cross-view target geolocation method and device, equipment and medium, and relates to the field of computer vision and geographic information processing. The method comprises the following steps: acquiring a query image and a reference image, the query image being a ground view, the reference image being a aerial view or a radar depth image, and the direction being unknown; extracting initial spatial features through a shared backbone network; extracting frequency-guided structural priors of the initial features to obtain multi-frequency structural features encoding global structural patterns; frequency-guided adaptive modulation of the initial features based on the multi-frequency structural features to generate refined features; state space modeling of the refined features to propagate global information based on structural consistency and generate structure-aligned feature representations; and determining a matching reference image based on distance measurement in a shared embedding space to complete geolocation. The application significantly improves the positioning robustness and accuracy in complex environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of geographic information processing technology, and in particular to a query-aware cross-view target geographic positioning method, apparatus, device and medium. Background Technology

[0002] Query-aware cross-view object geo-localization (CVOGL) aims to determine the precise location of a clicked target in satellite imagery, given a query image from a ground or UAV perspective and a user's click on that image. In scenarios where Global Navigation Satellite System (GNSS) signals are unavailable or unreliable, this technology is a crucial means of achieving target-level spatial awareness and has been widely applied in fields such as autonomous driving, disaster assessment, and urban planning.

[0003] Unlike traditional cross-view geolocation that retrieves scene-level matching results, query-aware cross-view target geolocation requires precise target-level location: the model must infer the location of a clicked target from a satellite perspective and output an accurate target bounding box. Therefore, it needs to simultaneously perform fine-grained reasoning on cross-view appearance differences, spatial structural relationships, and user intent. Most existing methods instantiate this task as a click-conditional cross-view detection problem. For example, DetGeo encodes user clicks as static Euclidean distance heatmaps, while VAGeo and OCGNet build upon this by introducing view-related priors and Gaussian click embeddings. However, examining this process reveals that the query signal carrying the user's intent is gradually weakened in three consecutive stages before reaching the detection head: First, intent encoding relies solely on coordinates. Regardless of whether Euclidean distance, viewpoint correlation, or Gaussian forms are used, the click prior is calculated only from the click location, conveying only where the user clicked but not what the user clicked. When clicking on adjacent and similar-looking targets, the guiding signal differs by only one spatial translation. Second, query representation suffers from local fragmentation. The convolutional receptive field can only capture discrete local patterns lacking global context, and downstream fusion consumes only a globally pooled query vector. The fragmented response collapses into a descriptor mainly composed of scene-general statistics, losing the discriminative power specific to the target. Third, cross-viewpoint matching is scale-rigid. The query representation is only compared with satellite features at a single reference scale, making it difficult to cover the significant differences in imaging scale of the same target from ground, UAV, and satellite perspectives.

[0004] The three degradations mentioned above overlap, resulting in the following: the fused cross-view attention is diffused across multiple visually similar candidate targets, rather than forming a clear peak at the clicked target. The resulting bounding boxes inherit this ambiguity, limiting localization accuracy and reliability. Statistics show that on the complete CVOGL test set, a representative detection-based baseline method, under both protocols, has a fused attention peak falling within the true target bounding box in less than 40% of the samples. Therefore, there is an urgent need for a query-aware cross-view target geolocation method that can simultaneously enhance query awareness in intent encoding, query representation, and cross-view matching to improve the system's localization accuracy and reliability under conditions of large viewpoint differences. Summary of the Invention

[0005] The technical problem solved by the embodiments of the present invention is that, in the existing detection-based query perception cross-view target geolocation method, the query signal carrying the user's intent is gradually weakened in the three stages of intent encoding, query representation and cross-view matching, resulting in the problems of fusion attention diffusion and low target positioning accuracy and reliability.

[0006] In a first aspect, embodiments of the present invention provide a query-aware cross-view target geolocation method, including: Obtain the query image, the location of a user's click on the query image, and a reference image covering the same area; Based on the click location and the query image, a content-aware guidance map is generated. The guidance map simultaneously reflects the geometric proximity of the click location and the local structural information of the query image near the click location. The query image is guided using the guidance image, and features are extracted from the guided query image to obtain local query features; Long-range spatial context enhancement is performed on the local features of the query to obtain the query representation; Multi-scale feature extraction is performed on the reference image to obtain reference features; The query representation is matched with the reference feature across perspectives to obtain a modulation map that integrates multi-scale matching information. The reference features are refined using the modulation map, and target detection is performed based on the refined reference features to obtain the position information of the target corresponding to the click position in the reference image.

[0007] Secondly, embodiments of the present invention also provide a query-aware cross-view target geolocation device, comprising: The acquisition module is used to acquire the query image, the location of a user's click on the query image, and a reference image covering the same area; The guide image generation module is used to generate a content-aware guide image based on the click location and the query image. The guide image simultaneously reflects the geometric proximity of the click location and the local structural information of the query image near the click location. The query feature extraction module is used to guide the query image using the guidance image and extract features from the guided query image to obtain local query features. The feature enhancement module is used to perform long-range spatial context enhancement on the query local features to obtain the query representation; The reference feature extraction module is used to perform multi-scale feature extraction on the reference image to obtain reference features; A cross-view matching module is used to perform cross-view matching between the query representation and the reference feature to obtain a modulation map that integrates multi-scale matching information; The target detection module is used to refine the reference features using the modulation map, and to perform target detection based on the refined reference features to obtain the position information of the target corresponding to the click position in the reference image.

[0008] Thirdly, embodiments of the present invention also provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned query-aware cross-view target geolocation method.

[0009] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described query-aware cross-view target geolocation method.

[0010] This invention enhances query perception capabilities simultaneously in three stages: intent encoding, query representation, and cross-view matching. It generates a content-aware guidance map that simultaneously reflects the geometric proximity and local structural information of the click location, performs long-range spatial context enhancement on the local features of the query, and performs cross-view matching and fusion of the query representation and reference features to obtain a modulation map. This results in a significant improvement in positioning accuracy and reliability under conditions of large view differences. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1A schematic diagram of a query-aware cross-view target geolocation framework provided in an embodiment of the present invention; Figure 2 A flowchart illustrating the query-aware cross-view target geolocation method provided in this embodiment of the invention; Figure 3 A visual comparison diagram of LLPE and static baseline provided for embodiments of the present invention; Figure 4 This is a schematic diagram of an orthogonal bidirectional Mamba module provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of the MS-CVFM module provided in an embodiment of the present invention; Figure 6 A visualization diagram of click sensitivity provided for an embodiment of the present invention; Figure 7 A summary statistical chart of similarity comparison analysis provided for embodiments of the present invention; Figure 8 A concentration statistics graph of fused cross-view attention on the complete CVOGL test set provided in this embodiment of the invention; Figure 9 This is a fused cross-view attention map superimposed on a satellite reference image, provided in an embodiment of the present invention. Figure 10 A scale-layered positioning accuracy map provided for embodiments of the present invention; Figure 11 A schematic diagram of a query-aware cross-view target geolocation device provided in an embodiment of the present invention; Figure 12 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0014] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0015] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0016] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0017] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0018] like Figure 1 As shown, the present invention utilizes LM 2 The Geo architecture is implemented by applying a Lightweight Learnable Location Encoding (LLPE) and an Orthogonal Bidirectional Mamba (OBM) feature enhancer sequentially to generate a discriminative query representation in the query branch (top). The reference branch (bottom) is a detection pipeline built on Darknet-53, where query features are injected through a Multi-Scale Cross-View Fusion Module (MS-CVFM). The fused reference features drive a binary detector head to predict the existence and bounding box of the target.

[0019] This embodiment provides a query-aware cross-view target geolocation method, applicable to target-level geolocation and spatial awareness scenarios with user interaction as the entry point, such as autonomous driving, post-disaster assessment, urban planning, UAV reconnaissance and power line inspection, and emergency command. It is particularly suitable for scenarios where Global Navigation Satellite System (GNSS) signals are unavailable or unreliable, and where a precise target location can be provided in satellite imagery based on a single user click. Figure 2 As shown, the method includes steps S1-S7: S1. Obtain the query image, the location of a user's click on the query image, and a reference image covering the same area.

[0020] In this step, the query image is either a ground-view or drone-view image, and the click location is the coordinate corresponding to a single click by the user on the query image, denoted as . ,in and These are the x and y coordinates of the click in the query image, in pixels. The reference image is a satellite image covering the same area as the query image. The satellite reference image is resized to 1024×1024 pixels; the query image is resized to 256×512 pixels under the Ground→Satellite protocol and to 256×256 pixels under the Drone→Satellite protocol. The task of this step is to determine the position of the clicked target in the satellite image, i.e., to learn a mapping function. To make it in a given query image Click on the location Compared with reference image Under the condition that the output target has confidence and target bounding box, it can be represented as ,in This indicates the confidence level of the target; the higher the value, the higher the probability that the target at that location is clickable. The predicted target bounding box is determined by the horizontal and vertical coordinates of the box center and the width and height of the box. This represents the manually labeled ground truth bounding boxes. The optimization objective of the model is to ensure that the intersection-union ratio (IU) between the predicted and ground truth boxes is not less than a given threshold. ,Right now ,in This represents the intersection-union ratio of two bounding boxes, which is the ratio of their intersection area to their union area. A user's click expresses their intention to identify a specific target; this click location is the core condition upon which all subsequent processing is based.

[0021] S2. Based on the click location and the query image, generate a content-aware guidance map, which simultaneously reflects the geometric proximity of the click location and the local structural information of the query image near the click location.

[0022] In this step, the guiding image is used to guide the query image, ensuring that subsequent feature extraction focuses on the area near the click location. Simultaneously, the guiding signal carries local structural information of the clicked target, thereby eliminating the ambiguity of relying solely on click coordinates while ignoring visual content. The user's click location is encoded as a spatial prior (intent encoding stage), and then the content-independent click prior is converted into a content-aware structural prior through Lightweight Learnable Position Encoding (LLPE). In a specific embodiment, this step includes the following sub-steps: S21. Generate a static spatial prior based on the distance from each pixel in the query image to the clicked position.

[0023] In this step, static priors are generated based on the distance of each pixel to the user's click point. , ,in Represents the set of real numbers. express OK A real matrix of columns; in this invention, all superscripts of the superscripts of the following symbols indicate the dimensions of the corresponding tensors. and These are the height and width of the query image, in pixels; This represents the spatial location of any pixel in the image. For row index, For column indexes; express Norm, therefore That is, the Euclidean distance from the pixel to the user's click point; Get the diagonal length of the query image: This normalizes the aforementioned distances into dimensionless quantities, making... The value of falls within the closed interval [0, 1]: it reaches a maximum of 1 at the click point, approaches 0 at the farthest corner of the image, and monotonically decreases with increasing distance. This prior monotonically decays around the click point, providing geometric proximity cues, but it treats all visual content equally, belonging to content-independent geometric priors, derived only from the click coordinates, and forms the basis for subsequent content perception.

[0024] S22. Modulate the query image using the static spatial prior to obtain a modulated image.

[0025] S23. Extract local structural fingerprints from the modulated image using lightweight depth-separable convolutional blocks.

[0026] S24. Modulate the static spatial prior using the local structural fingerprint, and superimpose the modulation result with the static spatial prior through residual connection to obtain the content-aware guidance map.

[0027] In steps S22-S24, the lightweight learnable positional encoding generates the final output through a three-step learnable process. The first step is to use static priors to evaluate the query image. Modulation is performed so that subsequent convolutions obtain a strong response mainly in the vicinity of the click neighborhood; the second step is to use a lightweight depthwise separable convolution block. Extracting multichannel structural fingerprints from modulated images The third step is to re-modulate the static prior using this fingerprint and add it back through residual connections. The entire process can be represented as: in To query the number of channels in an image; Represents element-wise product; and This is an operation used for channel-level adaptation: static prior. Only a single channel, while querying the image have One channel, therefore Bundle Extended by copying along the channel dimension One channel, so as to communicate with Element-wise multiplication; conversely, multiplication by element. This is a multi-channel tensor. In this embodiment, the depth-separable convolutional block... When extracting structural fingerprints, the spatial resolution is downsampled by four times, therefore The height and width are each one-quarter of the query image; First, compress it into a single channel along the channel dimension, then upsample it to the same level. The same Size, so as to match Multiply element by element. In this embodiment, it consists of 3×3 depthwise separable convolutions. Final output... and Having the same spatial dimensions, they are fed into the backbone network of the query branches as content-aware guide graphs.

[0028] In this embodiment, depthwise separable convolution encodes local structures such as boundary layout, texture, and edge orientation within the click neighborhood with a minimal number of parameters. This allows the guiding signal to simultaneously reflect geometric proximity and target-related structures, thus more faithfully depicting the query target. The residual form ensures that even when local structural cues are unreliable, the model can still degenerate into usable geometric priors, thereby maintaining the stability of the training process. Furthermore, this module is fully end-to-end learnable, relying neither on external supervision nor adding any computational overhead. Figure 3 As shown, compared to content-independent static baselines, LLPE learns to embed salient local structures in the input image into spatial priors, providing significantly more discriminative guiding signals for the localization task.

[0029] S3. Use the guidance image to guide the query image, and extract features from the guided query image to obtain local query features.

[0030] In this step, the content-aware guide image is combined with the query image (e.g., through channel stitching or weighted fusion) and then fed into the convolutional backbone network of the query branch for feature extraction, yielding local features. The backbone network of the query branch uses ResNet-18, initialized with ImageNet pre-trained weights. Since the guide image already carries the geometric proximity and local structural information of the click location, the features extracted by the convolutional backbone network have a stronger response in the vicinity of the click neighborhood, resulting in query local features containing target-related local patterns. Due to the inherent limitations of convolutional locality, the features obtained at this point are often fragmented, consisting of discrete local patterns lacking a coherent global context. Therefore, the fragmented local responses need to be reconstructed in the next step.

[0031] S4. Perform long-range spatial context enhancement on the query local features to obtain the query representation.

[0032] In this step, the local features of the query are enhanced using an orthogonal bidirectional Mamba (OBM) feature enhancer to efficiently model long-range spatial dependencies and reconstruct fragmented features into semantically coherent representations. For example... Figure 4 As shown, OBM is applied to the input feature map. , here , and These represent the height, width, and number of channels of the feature map (determined by the downsampling ratio of the backbone network, which differs from the pixel size of the aforementioned query image); OBM processes it through two branches with identical structures but independent parameters: a horizontal scanning branch. With vertical scan branch The outputs of the two branches are then fused with the original input via residual connections. This orthogonal processing strategy enables the linearly complex Mamba model to be effectively applied to two-dimensional data. The overall structure can be represented as: in The enhanced output feature map, compared with the input... They have the same shape; and These are processing branches along the width axis and the height axis, respectively. They have the same structure but their weights are independent. This involves transposing the tensors of the height and width axes to allow the vertical branch to process features along the height dimension. In this step, this orthogonal processing strategy enables the linearly complex Mamba model to be effectively applied to two-dimensional data. In a specific embodiment, this step includes the following sub-steps: S41. Perform a bidirectional scan on the query local features along the first direction to obtain the first direction branch output.

[0033] S42. Perform a bidirectional scan on the query local features along a second direction orthogonal to the first direction to obtain the second direction branch output.

[0034] In steps S41 and S42, the first direction is, for example, the horizontal direction (along the width axis) for querying local features. The horizontal scan branch performs a bidirectional scan of the input feature map along the width direction, unfolding the two-dimensional features into a one-dimensional sequence row by row, and processing them along both forward and reverse paths, thereby aggregating the context information in the forward and backward directions in the horizontal direction. The second direction is, for example, the vertical direction (along the height axis) for querying local features. The vertical scan branch allows processing to be performed along the height dimension by exchanging the tensor transposes of the height and width axes, thereby aggregating the context information in the forward and backward directions in the vertical direction. The horizontal and vertical scan branches have the same structure but independent weights. This orthogonal processing strategy enables the linear complexity state-space model to be effectively applied to two-dimensional data.

[0035] The bidirectional scanning paths in steps S41 and S42 have the same internal structure, and their specific processing steps are as follows: S411. Perform linear projection on the input features to obtain the projected features.

[0036] S412. The projection feature is input into the first state space processing block along the forward path for scanning processing to obtain the forward sequence output, and the projection feature is input into the second state space processing block along the reverse path for scanning processing to obtain the reverse sequence output.

[0037] S413. Summing the forward sequence output and the reverse sequence output, modulating the summation result using a gating signal obtained by activating the projection feature, and reshaping the modulation result into a two-dimensional feature map to obtain the branch output in the corresponding direction.

[0038] In steps S411-S413, since the horizontal and vertical branches share the same architecture, their common internal structure, referred to as the bidirectional scan path, is described below; it is the core of this design. For a given input feature map... The path first projects through a linear layer, then projects the projected features... Process along two independent directional paths, forward and reverse, each using its own independent MambaVision block: in Representation layer normalization, Indicates a linear projection layer. Features after projection; Expand the two-dimensional features row by row into a one-dimensional sequence. Reverse the sequence order for use in reverse paths; and These are the one-dimensional feature sequences output by the forward and reverse paths, respectively. The key lies in the forward block. With reverse block These are two independent instances with non-shared weights, ensuring that each directional path can learn different sequence patterns. Their internal structure is as follows: Figure 4 As shown in (b).

[0039] Finally, the outputs of the two directional paths are fused: first, the two are summed, then modulated by a gated signal obtained by SiLU activation from the same initial projection, and the resulting sequence is reconstructed back into a two-dimensional feature map format. in This represents the SiLU activation function. Press one-dimensional sequence with AND The reverse order reshapes it back into a two-dimensional feature map format. That is, the output feature map of the bidirectional scanning path, which is also the formula. or The branch output it represents. As a gating signal, it enables the model to adaptively adjust the passage intensity of the summation result of the two directional paths based on the input content.

[0040] S43. The output of the first directional branch and the output of the second directional branch are fused together, and then superimposed on the query local features through residual connection to obtain the enhanced query features.

[0041] In this step, the outputs of the horizontal and vertical scanning branches are fused with the original input through residual connections, which ensure the preservation of the original features. After processing along the orthogonal scanning path described above, each position in the output feature map integrates contextual information from the four basic directions. This process transforms fragmented local features into coherent representations with global perception capabilities, preparing for subsequent cross-view fusion. The computational cost of OBM increases linearly with the number of pixels in the feature map, which is a key difference between it and self-attention mechanisms: self-attention requires calculating correlations between all position pairs, and its computational cost is proportional to the square of the number of pixels; while the state-space model propagates the hidden state recursively along the scanning sequence, requiring only a constant number of operations per position, so the computational cost of a complete scan along a single direction is proportional to the number of pixels; OBM performs one bidirectional scan along the width axis and one along the height axis, with the number of directions being a fixed constant, so the overall complexity remains linear. This makes introducing global context modeling on high-resolution feature maps a computationally feasible option, without sacrificing the receptive field to control overhead as in window-based attention.

[0042] S44. Perform global average pooling on the enhanced query features to obtain a single query vector, which serves as the query representation.

[0043] In this step, a single query vector is obtained through global average pooling. This query vector is consistent with the feature vector of the reference feature in the channel dimension and is used for subsequent cross-view matching with the reference feature. This query vector integrates content-aware click prior information and global context information, and has stronger target discriminative power compared to descriptors that mainly rely on scene-general statistics, thus preparing a query representation for subsequent cross-view alignment.

[0044] S5. Perform multi-scale feature extraction on the reference image to obtain reference features.

[0045] In this step, feature maps from multiple levels are extracted from the reference (satellite) image backbone network to construct a feature pyramid, resulting in multi-scale reference features. The backbone network of the reference branch uses Darknet-53, initialized with ImageNet pre-trained weights. The total number of levels in the feature pyramid is L, which in this embodiment is L=3, corresponding to the three detection scales output by the reference branch backbone network. The first layer corresponds to the layer with the highest spatial resolution (most refined), and the larger the layer number, the coarser the spatial resolution (coarser semantic scale). In this step, the multi-scale reference features provide a foundation for mitigating the significant scale differences between the ground / UAV perspective and the satellite perspective, enabling the same query representation to align with the reference features at multiple scales.

[0046] S6. Perform cross-perspective matching between the query representation and the reference feature to obtain a modulation map that integrates multi-scale matching information.

[0047] In this step, a multi-scale cross-view fusion module (MS-CVFM) matches the query vector with reference features at each scale level, and fuses them step-by-step from coarse to fine to obtain a high-resolution modulation map, preserving accurate localization details while suppressing background noise. In a specific embodiment, this step includes the following sub-steps: S61. At each scale level, the attention map of that scale level is obtained by sliding calculation of the cosine similarity between the query representation and the feature vectors at each position in the reference features of that scale level.

[0048] S62. The attention maps at each scale level are upsampled from coarse to fine and accumulated to the finest scale level to obtain the modulation map.

[0049] In steps S61-S62, a multi-scale cross-view fusion module (MS-CVFM) is introduced to achieve robust feature alignment in the face of significant scale differences between the ground and satellite perspectives. This module starts from a coarse-grained semantic scale and progressively refines the attention map to a finer spatial resolution, preserving accurate positioning details while suppressing background noise.

[0050] like Figure 5 As shown, (a) Overall architecture: Multi-scale feature maps are processed by multiple CVFM modules, and then fused in a bottom-up manner to obtain the final feature map. (b) Cross-view fusion module (CVFM): After global average pooling, the query features are compared with the reference features by calculating cosine similarity across spatial locations. MS-CVFM operates on the feature pyramid extracted from the backbone network of the reference (satellite) image. ,in This represents the pyramid hierarchy; the process first generates an independent attention map at each level. Its core is the Cross-View Fusion Module (CVFM): given a global query feature vector... (Obtained from OBM output through global average pooling) and reference feature map CVFM computes the attention map using the sliding dot product operation. : in This represents the total number of levels in the feature pyramid. In this embodiment, the level corresponding to the highest (most detailed) spatial resolution is... These correspond to the three detection scales output by the reference branch backbone network; and The first The height and width of the layer reference feature map; The number of feature channels, query vector The reference feature vector is aligned with this dimension to compute the inner product; It is the first Layer reference feature map in spatial location The eigenvector at that location; This represents the dot product of two vectors. express Norm. This formula calculates the cosine similarity, resulting in a normalized attention map used to highlight regions semantically similar to the query.

[0051] These multi-scale attention maps are then fused in a coarse-to-fine manner. The final high-resolution attention map is then obtained. This is achieved by progressively upsampling coarser attention maps and then summing them up to a finer scale: in This is the attention map at the finest level; Adjust the attention map to the finest level. The dimensions; the summation symbol indicates that the second layer to the third layer are summed. Attention map after layer upsampling and Element-wise addition. This progressive aggregation allows high-level semantic cues from a coarser scale to guide and constrain the distribution of attention at a finer resolution. The resulting As a spatial modulation map conditioned on a query, it is used to refine the reference features fed into the final detection head.

[0052] S7. The reference features are refined using the modulation map, and target detection is performed based on the refined reference features to obtain the position information of the target corresponding to the click position in the reference image.

[0053] In this step, the reference features fed into the detection head are refined using a modulation map. Then, the binary detection head performs anchor-box-based target presence classification and bounding box regression on the refined reference features to obtain the target presence confidence score and the target bounding box, thereby determining the position of the clicked target in the reference image. This is the fourth stage of detection output. In a specific embodiment, this step includes the following sub-steps: S71. The reference features are weighted using the modulation map to obtain the refined reference features.

[0054] In this step, the modulation map spatially indicates the region where the clicked target is located (the location of attention focus). This map is used to weight the reference features, enhancing the features corresponding to the target region and suppressing the features corresponding to the background region, thus transmitting the query-aware attention information to the detection stage. In this step, because the enhanced query signal significantly focuses attention on the clicked target during the intermediate matching stage, and suppresses attention diffused across multiple candidate targets, the detection head only needs to make choices among fewer candidates. Therefore, a more conservative confidence threshold can be used without sacrificing recall, and it is easier to provide a unique target coordinate in the downstream process. This avoids the detection head repeatedly oscillating between several candidates and outputting multiple predictions with similar confidence levels and overlapping bounding boxes due to attention diffusion, thereby reducing the additional costs of coordinate calculation and manual verification.

[0055] S72. Based on the refined reference features, perform target existence classification and bounding box regression using preset anchor boxes to obtain target existence confidence and target bounding boxes, which are used as the location information.

[0056] In this step, target presence classification and bounding box regression based on anchor boxes are performed on the modulated reference features. The anchor box size is obtained by performing k-means clustering on the training set. The target presence classification is used to output the target presence confidence. A larger value indicates a higher probability that the target is at that location; bounding box regression is used to output the target bounding box. In this step, since the refined reference features already include the attention peak of the clicked target, the detection head can give a unique target coordinate by making fewer choices among fewer candidates, thus improving the positioning accuracy and reliability.

[0057] S73. Perform end-to-end training on the target detection network.

[0058] In this step, during training, binary cross-entropy loss is used to supervise target existence classification, i.e., the binary cross-entropy between the predicted confidence and the ground truth label is used as the classification term; intersection-over-union (IoU) loss is used to supervise bounding box regression, i.e., the sum of the squares of the differences between the corresponding components of the predicted box and the ground truth box is used as the regression term; the two losses are added with equal weights, and the entire network is jointly optimized end-to-end. The network is trained for 25 epochs using the RMSProp optimizer with a batch size of 12, and the initial learning rate is set to a preset value; the loss function is composed of the binary cross-entropy of target existence classification and the IoU loss of bounding box regression with equal weights, and the anchor boxes are initialized by k-means clustering on the training set. Viewpoint-related data augmentation is employed to maintain the validity of click points and bounding boxes: random flipping, target-preserving cropping, and mild photometric perturbation are applied to the query image, and bounding box-safe spatial transformations and moderate color, noise, and blur perturbations are applied to the satellite image. In this step, LLPE, OBM, and MS-CVFM form an internally consistent process, connecting query-aware capabilities from intent encoding all the way to the final cross-view alignment: LLPE addresses the problem that intent encoding relies solely on coordinates, enabling the guiding signal to simultaneously reflect the click location and the local structure of the clicked area; OBM addresses the problem of local fragmentation in query representation, supplementing the long-range dependencies missing by convolution with linear complexity; MS-CVFM addresses the scale rigidity problem of cross-view matching, enabling the same query representation to align with reference features at multiple scales. Since the three modules operate at different stages of the same link, they can be used in combination or embedded independently as plug-and-play modules into existing detection-based query-aware cross-view target geolocation frameworks.

[0059] It should be noted that in the above steps of this invention, the query branch sequentially applies LLPE and OBM to generate discriminative query representations, the reference branch is a detection process built on Darknet-53, the query features are injected into it through MS-CVFM, the fused reference features drive the binary detection head to predict the existence and bounding box of the target, the entire network is optimized end-to-end, and the output position information is the precise target bounding box corresponding to the clicked target in the reference image.

[0060] Technical effectiveness verification: 1. Dataset and Evaluation Metrics (1) Dataset. The technique was evaluated on two publicly available query-aware cross-view target geolocation benchmarks, covering both standard target-level settings and building scenarios with different geographical distributions and annotation processes. CVOGL[6] is the main benchmark for query-aware cross-view target geolocation, providing paired satellite reference images and query images from ground or UAV perspectives, with click-level target annotations, and supporting evaluation under both Ground→Satellite and Drone→Satellite protocols. VIGOR-Building

[19] is derived from the VIGOR dataset

[20] , covering multiple North American cities such as Chicago, New York and San Francisco, and provides semi-automatically generated building annotations that have been manually verified, used to test whether the technique can be generalized to different geographical distributions and annotation processes.

[0061] (2) Evaluation metrics. Following the standard evaluation protocol for query-aware cross-perspective target geolocation, the report... time This metric measures the intersection-union ratio (IUR) between the predicted bounding box and the ground truth bounding box, which is not less than [a certain value]. The proportion of test samples: in It is the total number of test samples. For sample numbering, and They represent the first The predicted bounding box and the ground truth bounding box for each sample. This is an indicator function, meaning it takes the value 1 if the condition within the square brackets is true and 0 if it is false.

[0062] 2. Implementation details All models were implemented in PyTorch and trained end-to-end on two NVIDIA V100 GPUs. The query branch used ResNet-18

[37] and the reference branch used Darknet-53

[38] , both initialized with ImageNet pre-trained weights. The satellite reference images were resized to 1024×1024 pixels; the query images were resized to 256×512 pixels in Ground→Satellite protocol and to 256×256 pixels in Drone→Satellite protocol. The network was trained for 25 epochs using the RMSProp optimizer with an initial learning rate of The batch size is 12; the loss function consists of the binary cross-entropy of target existence classification and bounding box regression. The loss is composed of groups with equal weights, and the anchor boxes are initialized by k-means clustering on the training set. Viewpoint-related data augmentation is employed to preserve the validity of click points and bounding boxes: random flipping, target-preserving cropping, and mild photometric perturbation are applied to query images, while bounding box-safe spatial transformations and moderate color, noise, and blur perturbations are applied to satellite images. To ensure fair comparison, key baseline methods are reproduced and evaluated under identical settings.

[0063] 3. Comparison with existing methods (1) Quantitative comparison on the CVOGL benchmark.

[0064] Table 1: Quantitative comparison of this solution with existing technologies on the CVOGL dataset. In Table 1, all methods were evaluated using acc@0.25 and acc@0.50 under the Ground→Satellite and Drone→Satellite protocols, respectively. Best performance is indicated in bold and underlined.

[0065] Table 1 presents a quantitative comparison of this technique with retrieval and detection methods on the CVOGL benchmark. LM 2 Geo achieved the best performance across all partitions of both protocols.

[0066] Within the family of detection-based methods, the improvement of this technique compared to DetGeo[6] and VAGeo[7] remains consistent on both the validation and test sets: on the Ground→Satellite test set, acc@0.25 is improved by 6.54 and 5.03 percentage points respectively, and on the Drone→Satellite test set, it is improved by 8.23 ​​and 4.01 percentage points respectively, indicating that the observed improvement reflects the true generalization ability rather than overfitting to a specific evaluation partition. Compared with the strongest baseline OCGNet[8], LM 2Geo improved accuracy by 1.75 percentage points on Ground→Satellite and by 1.85 percentage points on Drone→Satellite. These improvements were achieved without increasing input resolution or backbone network capacity, demonstrating that strengthening the query path using Content-Aware Click Prior (LLPE) and Global Context Injection (OBM) is a principled and effective cross-viewpoint geolocation technology approach.

[0067] The comparison with the retrieval method family further illustrates the differences in task setting. CVM-Net[5], L2LTR

[25] , TransGeo

[26] and SAFA

[22] are designed for scene-level matching. Their goal is to retrieve the entire satellite image corresponding to the query image from the reference image library. Therefore, their accuracy is generally low when asked to provide the target-level bounding box. This gap is not due to insufficient feature extraction capability, but to the granularity of the supervision signal: the scene-level objective function only needs to distinguish different locations, and does not need to distinguish adjacent buildings with similar appearances within the same satellite image. This technique belongs to the detection paradigm. Its gain comes from the targeted enhancement of the query path. Therefore, it can be directly superimposed while keeping the detection process structure unchanged.

[0068] (2) Generalization comparison on VIGOR-Building.

[0069] Table 2: Quantitative comparison of the proposed technology with existing technologies on the VIGOR-Building dataset. Table 2 highlights the best performance in bold and underlined. Results for each method trained and evaluated on VIGOR-Building are presented. This dataset covers North American urban scenes, and its urban composition, building forms, satellite image providers, and annotation processes differ from CVOGL. LM 2 Geo achieved the best performance on both the test and validation sets with a significant advantage, with a test set acc@0.25 that was 15.6 percentage points higher than the strongest detection-based baseline, DetGeo. Notably, while VAGeo consistently outperformed DetGeo on CVOGL, it performed worse on VIGOR-Building, indicating that its fixed viewpoint-related click priors are highly sensitive to the spatial statistics of the training distribution. In contrast, LM... 2 Geo's content-aware click prior provides an intent representation that is less dependent on distribution-related geometric assumptions, thus achieving stronger and more stable performance on VIGOR-Building.

[0070] 4. Ablation Experiment Analysis (1) Ablation of core components.

[0071] Table 3: LM 2 Ablation test results of Geo's main components. The contributions of each component were evaluated by removing LLPE, OBM, and MS-CVFM one by one. Table 3 shows that each component makes a positive contribution, and their effects are complementary. In the more challenging Ground→Satellite task, removing LLPE caused the largest decrease in accuracy@0.50 (4.11 percentage points in the test set), indicating that content-aware click priors are particularly critical when precise localization is required under stricter intersection-union thresholds. Removing OBM caused a significant degradation in accuracy@0.25 (4.63 percentage points in the test set), indicating that global context injection is the dominant factor determining coarse-grained hit rate. The effect of MS-CVFM is more prominent in the Drone→Satellite task (3.92 percentage points decrease in accuracy@0.25 in the test set), which is consistent with its ability to mitigate the larger-scale differences unique to drone perspectives in localization. Furthermore, replacing the OBM with a biblock Transformer enhancer (TRM) with comparable parameter counts resulted in a consistent decrease in accuracy for both tasks, indicating that, with comparable model capacities, Mamba-style selective state-space mixing captures spatial dependencies in this two-dimensional cross-view matching problem more effectively than the original self-attention.

[0072] (2) OBM scan direction ablation. Further, the configuration of Mamba scanning within the OBM was examined under four progressively enhanced settings. The first setting completely removed the OBM, with query features directly output from the backbone network and fed into subsequent fusion; the second setting retained only one forward scan path along the width axis, i.e., only [the following is missing from the original text]. Furthermore, it internally only uses forward MambaVision blocks; the third setting enables both forward and reverse paths on the width axis, i.e., a complete horizontal bidirectional scan, but without introducing vertical branches; the fourth setting is the complete orthogonal bidirectional scan of this scheme, i.e., simultaneously enabling... and Each axis contains two paths, one forward and one reverse, aggregating context in four basic directions. The backbone network, detector head, and training hyperparameters are completely identical for all four settings; therefore, the difference in accuracy only reflects the influence of the scanning direction configuration.

[0073] Table 4: Ablation experiment results of OBM internal Mamba scan configuration. Table 4 presents a clear and insightful trend. Adding only a single forward scan provides minimal improvement and even slightly reduces accuracy (the accuracy on the Ground→Satellite test set acc@0.50 decreased from 45.63% to 44.41%), indicating that a single-direction sequence model introduces a positional bias incompatible with the isotropic two-dimensional spatial structure of satellite imagery. A bidirectional scan along a single axis compensates for this deficiency by simultaneously modeling two causal directions, resulting in consistent improvements on the test set. The complete OBM configuration aggregates information from four fundamental directions, achieving optimal results across all partitions, with the Ground→Satellite test set acc@0.25 showing a 3.70 percentage point improvement compared to the single-axis bidirectional variant. This incremental and monotonic improvement trend validates the design assumption of this approach: symmetrically acquiring the overall spatial context from both horizontal and vertical axes is essential for reconstructing discriminative and globally coherent query representations from local convolutional features.

[0074] (3) Click on the prior design ablation.

[0075] Table 5: Results of ablation experiments based on the prior design. Among them, (a) static Euclidean distance prior [6]. (b) fixed viewpoint-dependent prior [7]. (c) learnable prior with MLP instead of depthwise separable convolution. (d) complete LLPE of this scheme. The difference between (c) and (d) isolates the role of local structure modeling.

[0076] To isolate the contribution of LLPE structural fingerprint design, four click prior strategies are compared within the same detection framework. Configuration (a) uses a content-independent static Euclidean distance map [6]; Configuration (b) replaces it with a fixed viewpoint-dependent prior [7], whose spatial distribution can adapt to the query viewpoint, but the signal is still only derived from the click coordinates and does not read the local image content; Configuration (c) replaces the depth-separable convolution in LLPE with MLP, which introduces learnability but does not have the ability to model local structures; Configuration (d) is the complete LLPE of this scheme. The comparison between Configuration (c) and (d) is particularly informative: since both variants are learnable, their accuracy difference precisely isolates the benefit of local structural convolution, that is, the benefit brought by encoding the texture of the neighborhood of the click point into a structural fingerprint before the signal propagates along the network.

[0077] Table 5 reveals three conclusions. First, the fixed but domain-adaptive prior (b) outperforms the general MLP (c) by 0.77 percentage points on the test set acc@0.25, indicating that learnability alone is insufficient: without appropriate structural inductive bias, the general MLP is even inferior to the fixed view-related prior. Second, replacing the fixed prior with the complete LLPE (d) of this scheme achieves an additional 1.09 percentage points improvement on the test set acc@0.25 compared to (b), proving that content-aware local modeling does indeed extract real information from the scene structure, rather than merely approximating a fixed template. Third, the four configurations share the same backbone network and detector head, and none of them contain OBM or MS-CVFM; the cumulative gain of LLPE compared to the static baseline reaches 2.51 percentage points on the test set and 2.50 percentage points on the validation set. This indicates that the main source of the LLPE gain is the local structural fingerprint encoded by the 3×3 depthwise separable convolutions, rather than the number of learnable parameters.

[0078] In addition to the ablation within the framework mentioned above, LLPE was also embedded as a plug-and-play alternative module with static priors into the original DetGeo[6] framework (with the other components remaining unchanged). On the CVOGL validation set, a consistent improvement of approximately 2.5 percentage points in acc@0.25 was observed. This experiment demonstrates that the benefits of LLPE are not limited to LM. 2 Instead of the Geo process, it improves the click-based prior stage in the detection-based cross-view geolocation system.

[0079] 5. Content-aware click prior analysis like Figure 6 As shown: Click sensitivity visualization. Given the same query image, two click locations (one marked in yellow, the other in blue) point to different buildings. DetGeo produces responses that are similar to each other and simultaneously activate both candidate targets, while LM... 2 Geo adjusts its response based on the clicked area, providing a clearer focus on the target building.

[0080] An interactive, query-aware, cross-view target geolocation model should respond to the target indicated by a click, rather than simply favoring the most salient structure in the query image. To examine this behavior, two click locations are applied to the same query image, each falling on a different building, and the resulting geolocation response is visualized. Figure 6 This is a qualitative stress test of target disambiguation capability conditioned on clicks, rather than an independent quantitative benchmark. Under a content-independent Euclidean distance prior, DetGeo produces highly similar responses to two clicks and activates simultaneously on two candidate buildings, indicating that click coordinates alone are insufficient evidence to distinguish between visually similar neighboring targets. When the click moves from one building to another, LM...2 Geo's response changes are more pronounced. This behavior aligns with LLPE's design: click priors are modulated by local visual evidence surrounding the clicked area (including boundary layout, texture, and edge orientation), thus two clicks in the same image can elicit different query guidance signals; after OBM enhances the query representation and MS-CVFM completes cross-view matching, the final attention is correspondingly biased towards the clicked selected building. This example supports LLPE's intended role as a content-aware intent encoder while avoiding the stronger assertion that click sensitivity has been completely resolved in all ambiguous multi-object scenarios.

[0081] 6. Query representation quality analysis Further investigation is conducted to determine whether LLPE and OBM produce more discriminative query descriptors under the cosine matching operator actually used in the model, and whether this advantage can be transferred to the fused cross-view attention. The following similarity and attention statistics are calculated on the full CVOGL test set for both protocols.

[0082] (1) Query-Target Similarity Comparison. For each test sample, the pooled query descriptor is associated with the satellite feature map using cosine similarity, and the ability of the resulting similarity map to separate the real target region from the background is evaluated. Two complementary statistics are reported: similarity interval. ,in and These represent the average similarity between the inside and outside of the true bounding box, respectively; this definition is completely symmetrical between the two regions. Proportional ROC-AUC treats the similarity map as a pixel-by-pixel score distinguishing between inside and outside the bounding box, and is therefore independent of any aggregation method. For example... Figure 7 As shown, (a) the mean interval Δ, (b) the proportion of samples with positive intervals, and (c) the sample-by-sample mean ROC-AUC are reported under the Ground→Satellite (G→S) and Drone→Satellite (D→S) protocols, respectively. LM 2 The mean interval for Geo improved from 0.05 to 0.09 on Ground→Satellite and from 0.08 to 0.12 on Drone→Satellite; the proportion of samples with positive intervals increased from 91% and 94% to 96% and 99%, respectively; and the mean ROC-AUC increased from 0.69 and 0.73 to 0.76 and 0.84, respectively. Since both models were evaluated under the exact same matching operator, these gains can be attributed to the query representation itself, indicating that content-aware intent encoding and global context injection produced more selective descriptors for responses to clicked targets.

[0083] (2) Attention Concentration. Further quantification is needed to determine whether the fused cross-view attention is focused on the target or diffused across the background. Three statistics are calculated on the fused attention map: the proportion of energy within the real bounding box to the total attention quality; the proportion of samples where the global attention peak falls within the real bounding box, i.e., pointing accuracy; and the concentration ratio, obtained by dividing the proportion of energy within the box by the proportion of the real bounding box area to the image area. A concentration ratio greater than 1 indicates that the attention is more concentrated on the target than in a uniform distribution. For example... Figure 8 As shown, (a) the percentage of energy within the ground truth bounding box, (b) the pointing accuracy, and (c) the concentration ratio of a relatively uniform attention distribution. Solid bars represent Ground→Satellite, and striped bars represent Drone→Satellite. The pointing accuracy improved from 16% to 41% on Ground→Satellite and from 38% to 62% on Drone→Satellite; the concentration ratios improved from 1.82 and 1.91 to 2.13 and 2.60, respectively. It should be noted that the pointing accuracy of both models is lower than their final detection accuracy because the detection head performs anchor-box-based regression on the attention-modulated features, which can partially correct for the peak-shifted attention map. However, the relative comparison still shows that the enhanced query signal improves the reliability of the intermediate matching stage by more than 20 percentage points under both protocols, thereby reducing the correction burden on the detection head. The increase in the concentration ratio is particularly noteworthy: this metric has been normalized to the area of ​​the true bounding box, so its increase cannot be explained by the target becoming larger, but only indicates that the quality of attention has indeed shifted to the target area.

[0084] For ease of reproduction, the definitions of the above three statistics are as follows. (Note: The original text contains some inconsistencies and unclear meaning. A more accurate translation would require the full context.) This is the merged attention map. The set of pixels covered by the actual bounding box. The number of pixels in this set. This represents the total number of pixels in the attention map. The percentage of energy within the bounding box. Ratio to concentration They are respectively: The denominator sums over all pixels in the attention map, while the numerator sums only over pixels within the ground truth bounding box. Its value ranges between 0 and 1. Pointer accuracy is defined as... The position where the global maximum value is obtained falls into The proportion of test samples. Due to and The ratio is the area ratio of the actual bounding box. This means that the degree of concentration of attention on the target is higher than that of a uniform distribution.

[0085] Attention concentration is directly significant for project implementation. In real-world deployments, systems often need to respond to multiple clicks on the same query image or distinguish multiple similar-looking candidate targets within the same satellite image. In such cases, diffuse attention causes the detection head to repeatedly oscillate between several candidates, resulting in multiple outputs with similar confidence levels and overlapping bounding boxes, adding extra costs to subsequent coordinate calculations and manual verification. Shifting the attention peak towards the true target means the detection head makes choices among fewer candidates, allowing for the use of more conservative confidence thresholds without sacrificing recall, and making it easier to provide uniquely identifiable target coordinates in downstream processes.

[0086] (3) Descriptor separability. To quantitatively evaluate feature separability, three complementary indices were calculated on the pooled query descriptors, and the results are shown in Table 6. The Calinski-Harabasz (CH) index

[40] measures the ratio of inter-class dispersion to intra-class compactness. A higher value indicates that the clusters are more compact and the separation is better. The Fisher ratio

[41] describes the ratio of inter-class variance to intra-class variance. A higher value reflects that the discriminant signal is more concentrated. The Davies-Bouldin (DB) index

[42] averages the worst-case similarity of all cluster pairs. A lower value indicates better separation. These three indices together characterize inter-class separability and intra-class aggregation, which is more reliable than any single metric. All three indices are calculated on the pooled query descriptors, but the directions of advantage and disadvantage are not consistent. Therefore, the direction is indicated by arrows after the index name in Table 6: an upward arrow indicates that the index value is better the larger it is, and a downward arrow indicates that the value is better the smaller it is.

[0087] Table 6: Clustering metrics on query descriptors. LM 2 Geo significantly outperforms DetGeo across all three metrics. The CH index increased from 10.20 to 45.14 (approximately 4.4 times), indicating that the descriptors obtained by this technique form denser and more clearly separated clusters. The Fisher ratio also saw a substantial improvement (0.66, also approximately 4.4 times), confirming that the discriminative signal is more concentrated relative to the intra-class variance. The DB index decreased from 8.48 to 5.86, indicating that the improvement in inter-class separability is accompanied by enhanced intra-class aggregation. These gains are consistent with the mechanism of OBM, which replaces repetitive local patterns with complementary long-range structural contexts, thereby producing a more discriminative and coherent query representation.

[0088] (4) Visual comparison of attention. Figure 9 This demonstrates fused cross-view attention overlaid on satellite reference imagery. DetGeo's attention map is often diffuse and activated over multiple interfering targets and irrelevant background clutter; in contrast, LM... 2Geo consistently generates responses with sharp peaks, good localization, and a focus on the real target. This qualitative improvement reflects the richer query descriptors produced by LLPE and OBM: more discriminative queries provide a sharper initial match signal, which MS-CVFM then further suppresses residual background activation through progressive coarse-to-fine fusion.

[0089] Figure 9 The examples cover three representative difficult scenarios. The red bounding boxes indicate the actual target locations. DetGeo (top) often generates diffuse attention, activating on interfering targets or background clutter; LM 2 Geo (below) generates sharp, well-positioned, and target-centric attention, demonstrating superior cross-view alignment capabilities. The first type involves multiple buildings with similar shapes within the same block. In this case, the baseline method's attention often covers two to three buildings simultaneously, while this technique only generates a peak on the clicked building. The second type involves targets adjacent to high-contrast features such as roads and plazas. The baseline method is easily attracted to these prominent but irrelevant structures, while this technique relies on the structural fingerprint of the clicked neighborhood to constrain the response to the target itself. The third type involves targets with small images and low contrast with surrounding textures from a satellite perspective. The baseline method's attention tends to be flat, but this technique can still recover usable peaks at the finest level through multi-scale fusion.

[0090] 7. Scale-based stratified positioning analysis Cross-view matching must address situations where the target's image size differs significantly from the satellite's perspective. Figure 10 In the diagram, the scale-layered positioning accuracy on (a) Ground→Satellite and (b) Drone→Satellite is compared. Test samples are divided into three layers (small, medium, and large) based on the third-order points of the actual frame area. Solid bars represent acc@0.25, and striped bars represent acc@0.50. To verify whether the improved query signal can be converted into positioning gain across the entire scale spectrum, test samples for each protocol are divided into three layers (small, medium, and large) based on the third-order points of the actual frame area. Figure 10 The intermediate layers report acc@0.25 and acc@0.50. LM 2Geo achieves or surpasses DetGeo at every layer of both protocols. The greatest gains occur at stricter cross-union thresholds: Ground→Satellite's large target layer acc@0.50 is improved by 22 percentage points, Drone→Satellite's medium target layer by 21 percentage points, and acc@0.25 at the same layer is also improved by 15 and 16 percentage points respectively. This trend indicates that the proposed process not only hits the correct regions more frequently but also characterizes the target range more accurately, consistent with the expected role of query-conditional multi-scale fusion in mitigating cross-view scale differences. It should be noted that this comparison reflects the effect of the entire process rather than the effect of a single module; module-level attribution is given by the ablation of the aforementioned core components.

[0091] The scale stratification here is determined as follows: For each test sample, the ratio of the actual bounding box area to the area of ​​the entire satellite reference image is first calculated. Then, all test samples under this protocol are arranged in ascending order according to this ratio, and divided into three layers—small, medium, and large—using the third-order points as boundaries. Therefore, the number of samples in the three layers is approximately equal. Using area ratio rather than absolute pixel count as the stratification basis is to ensure that the division is not affected by the input resolution setting, thus maintaining comparability between the two protocols.

[0092] 8. Efficiency Analysis (1) Module-level overhead.

[0093] Table 7: Computational overhead and inference speed measured individually for each module. Table 7 analyzes the forward overhead of each module on a single NVIDIA V100. The additional overhead introduced by LLPE and MS-CVFM in terms of computation and parameter count is negligible. OBM requires 40.3 GFLOPs and 4.9M parameters, but its computation is less than one-third of TRM (120.3 GFLOPs, 6.3M parameters), while its throughput is more than twice that of the latter (158 FPS vs. 76 FPS). This indicates that for this task, Mamba-style selective hybridization is a more efficient global context aggregation method than the original self-attention.

[0094] (2) End-to-end reasoning speed.

[0095] Table 8: End-to-end accuracy and inference speed on the CVOGL Ground→Satellite verification partition. Table 8 reports the end-to-end results on the CVOGL Ground→Satellite validation partition. LM 2Geo achieves higher accuracy than DetGeo and VAGeo at 52 FPS, but slightly lower frame rate than DetGeo (62 FPS) and VAGeo (58 FPS). This is due to the additional query enhancement stage introduced by OBM. Therefore, the improvement in positioning accuracy is accompanied by an acceptable efficiency trade-off.

[0096] like Figure 11 As shown, this embodiment of the invention also provides a query-aware cross-view target geolocation device, comprising: The acquisition module 10 is used to acquire the query image, a user's click position on the query image, and a reference image covering the same area; The guide image generation module 20 is used to generate a content-aware guide image based on the click position and the query image. The guide image simultaneously reflects the geometric proximity of the click position and the local structural information of the query image near the click position. The query feature extraction module 30 is used to guide the query image using the guide image and extract features from the guided query image to obtain local query features. Feature enhancement module 40 is used to perform long-range spatial context enhancement on the query local features to obtain query representation; The reference feature extraction module 50 is used to perform multi-scale feature extraction on the reference image to obtain reference features; Cross-view matching module 60 is used to perform cross-view matching between the query representation and the reference feature to obtain a modulation map that integrates multi-scale matching information. The target detection module 70 is used to refine the reference features using the modulation map, and to perform target detection based on the refined reference features to obtain the position information of the target corresponding to the click position in the reference image.

[0097] In a specific embodiment, the guide map generation module 20 includes: The prior generation unit is used to generate a static spatial prior based on the distance from each pixel in the query image to the clicked position; The first modulation unit is used to modulate the query image using the static spatial prior to obtain a modulated image; A fingerprint extraction unit is used to extract local structural fingerprints from the modulated image using lightweight depth-separable convolutional blocks; The second modulation unit is used to modulate the static spatial prior using the local structural fingerprint, and to superimpose the modulation result with the static spatial prior through residual connection to obtain the content-aware guidance map.

[0098] In a specific embodiment, the feature enhancement module 40 includes: The first scanning unit is used to perform a bidirectional scan of the query local features along a first direction to obtain a first-direction branch output; The second scanning unit is used to perform a bidirectional scan of the query local features along a second direction orthogonal to the first direction to obtain a second direction branch output; The fusion unit is used to fuse the output of the first directional branch and the output of the second directional branch, and then superimpose them with the query local features through residual connection to obtain the enhanced query features; A pooling unit is used to perform global average pooling on the enhanced query features to obtain a single query vector, which serves as the query representation.

[0099] In a specific embodiment, both the first scanning unit and the second scanning unit include: The projection subunit is used to perform linear projection on the input features to obtain the projected features. The scanning subunit is used to input the projection feature along the forward path into the first state space processing block for scanning processing to obtain the forward sequence output, and to input the projection feature along the reverse path into the second state space processing block for scanning processing to obtain the reverse sequence output, wherein the first state space processing block and the second state space processing block are two processing block instances with mutually independent parameters. The modulation subunit is used to sum the forward sequence output and the reverse sequence output, modulate the summation result using a gating signal obtained by activating the projection features, and reshape the modulation result into a two-dimensional feature map to obtain the branch output in the corresponding direction.

[0100] In a specific embodiment, the cross-view matching module 60 includes: The attention map generation unit is used to obtain the attention map at each scale level by sliding calculation of the cosine similarity between the query representation and the feature vectors at each position in the reference features of that scale level. The fusion unit is used to upsample the attention maps at each scale level from coarse to fine and accumulate them to the finest scale level to obtain the modulation map.

[0101] In a specific embodiment, the target detection module 70 includes: A refinement unit is used to weight the reference features using the modulation map to obtain refined reference features; The detection unit is used to perform target existence classification and bounding box regression based on preset anchor boxes on the refined reference features to obtain target existence confidence and target bounding box as the location information.

[0102] In a specific embodiment, the device further includes a training module, which is used to perform end-to-end joint optimization of the target detection network by adding the classification loss and the regression loss with the same weights, using the binary cross-entropy loss for target existence classification as the classification loss and the intersection-union ratio loss for bounding box regression as the regression loss; wherein the size of the preset anchor box is obtained by clustering the training set of the target detection network to be trained.

[0103] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned query perception cross-view target geolocation device and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.

[0104] The aforementioned query-aware cross-view target geolocation device can be implemented as a computer program, which can, for example... Figure 12 It runs on the computer device shown.

[0105] Please see Figure 12 , Figure 12 This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 500 can be a terminal or a server. The terminal can be an electronic device with communication functions, such as a smartphone, tablet, laptop, desktop computer, personal digital assistant, or wearable device. The server can be a standalone server or a server cluster composed of multiple servers.

[0106] See Figure 12 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.

[0107] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to execute a query-aware, cross-view target geolocation method.

[0108] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0109] The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a query-aware cross-view target geolocation method.

[0110] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0111] The processor 502 is used to run a computer program 5032 stored in a memory to implement the steps of the query-aware cross-view target geolocation method described above.

[0112] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0113] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0114] Therefore, the present invention also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program. When executed by a processor, the computer program causes the processor to perform the steps of the query-aware cross-view target geolocation method described above.

[0115] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk, or any other physical storage medium capable of storing program code.

[0116] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0117] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0118] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0119] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0120] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0121] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Since these modifications and variations fall within the scope of the claims and their equivalents, this invention also intends to include these modifications and variations.

[0122] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A query-aware cross-view target geolocation method, characterized in that, include: Obtain the query image, the location of a user's click on the query image, and a reference image covering the same area; Based on the click location and the query image, a content-aware guidance map is generated. The guidance map simultaneously reflects the geometric proximity of the click location and the local structural information of the query image near the click location. The query image is guided using the guidance image, and features are extracted from the guided query image to obtain local query features; Long-range spatial context enhancement is performed on the local features of the query to obtain the query representation; Multi-scale feature extraction is performed on the reference image to obtain reference features; The query representation is matched with the reference feature across perspectives to obtain a modulation map that integrates multi-scale matching information. The reference features are refined using the modulation map, and target detection is performed based on the refined reference features to obtain the position information of the target corresponding to the click position in the reference image.

2. The query-aware cross-view target geolocation method according to claim 1, characterized in that, The step of generating a content-aware guide map based on the click location and the query image includes: A static spatial prior is generated based on the distance from each pixel in the query image to the clicked position; The query image is modulated using the static spatial prior to obtain a modulated image; Local structural fingerprints are extracted from the modulated image using lightweight depth-separable convolutional blocks; The static spatial prior is modulated using the local structural fingerprint, and the modulation result is superimposed on the static spatial prior through residual connection to obtain the content-aware guidance map.

3. The query-aware cross-view target geolocation method according to claim 1, characterized in that, The step of performing long-range spatial context enhancement on the local features of the query to obtain the query representation includes: Perform a bidirectional scan on the query local features along the first direction to obtain the first direction branch output; Perform a bidirectional scan on the query local features along a second direction orthogonal to the first direction to obtain the second direction branch output; The outputs of the first directional branch and the second directional branch are fused together, and then superimposed on the query local features through residual connection to obtain the enhanced query features; The enhanced query features are subjected to global average pooling to obtain a single query vector, which serves as the query representation.

4. The query-aware cross-view target geolocation method according to claim 3, characterized in that, The step of performing a bidirectional scan on the query local features along a first direction to obtain a first-direction branch output, and the step of performing a bidirectional scan on the query local features along a second direction orthogonal to the first direction to obtain a second-direction branch output, both include: The input features are linearly projected to obtain the projected features; The projection features are input into the first state space processing block along the forward path for scanning processing to obtain a forward sequence output, and the projection features are input into the second state space processing block along the reverse path for scanning processing to obtain a reverse sequence output, wherein the first state space processing block and the second state space processing block are two processing block instances with mutually independent parameters. The forward sequence output and the reverse sequence output are summed, and the summation result is modulated using a gating signal obtained by activating the projection features. The modulated result is then reshaped into a two-dimensional feature map to obtain the branch output in the corresponding direction.

5. The query-aware cross-view target geolocation method according to claim 1, characterized in that, The step of performing cross-view matching between the query representation and the reference features to obtain a modulation map that fuses multi-scale matching information includes: At each scale level, the attention map for that scale level is obtained by sliding the calculation of the cosine similarity between the query representation and the feature vectors at each position in the reference features of that scale level. The attention maps at each scale level are upsampled from coarse to fine and accumulated to the finest scale level to obtain the modulation map.

6. The query-aware cross-view target geolocation method according to claim 1, characterized in that, The step of refining the reference features using the modulation map and performing target detection based on the refined reference features to obtain the position information of the target corresponding to the click location in the reference image includes: The reference features are weighted using the modulation map to obtain refined reference features; Based on the refined reference features, target existence classification and bounding box regression are performed using preset anchor boxes to obtain target existence confidence and target bounding boxes, which are used as the location information.

7. The query-aware cross-view target geolocation method according to claim 6, characterized in that, The target existence classification and bounding box regression are performed on the refined reference features based on preset anchor boxes to obtain the target existence confidence and target bounding box, which are used as the location information and are executed by the target detection network trained end-to-end. The training of the object detection network includes: The object detection network is jointly optimized end-to-end by using the binary cross-entropy loss of target existence classification as the classification loss and the intersection-union ratio loss of bounding box regression as the regression loss, and adding the classification loss and the regression loss with the same weight. The size of the preset anchor frame is obtained by clustering the training set of the target detection network to be trained.

8. A query-aware cross-view target geolocation device, characterized in that, include: The acquisition module is used to acquire the query image, the location of a user's click on the query image, and a reference image covering the same area; The guide image generation module is used to generate a content-aware guide image based on the click location and the query image. The guide image simultaneously reflects the geometric proximity of the click location and the local structural information of the query image near the click location. The query feature extraction module is used to guide the query image using the guidance image and extract features from the guided query image to obtain local query features. The feature enhancement module is used to perform long-range spatial context enhancement on the query local features to obtain the query representation; The reference feature extraction module is used to perform multi-scale feature extraction on the reference image to obtain reference features; A cross-view matching module is used to perform cross-view matching between the query representation and the reference feature to obtain a modulation map that integrates multi-scale matching information; The target detection module is used to refine the reference features using the modulation map, and to perform target detection based on the refined reference features to obtain the position information of the target corresponding to the click position in the reference image.

9. A computer device, characterized in that, The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the query-aware cross-view target geolocation method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the query-aware cross-view target geolocation method as described in any one of claims 1 to 7.