Skip to Content
ElectronicsElectronics
  • Article
  • Open Access

18 March 2026

16 Pages

Prompt-Guided Structured Multimodal NER with SVG and ChatGPT

,
,
and
1
School of Cyber Security and Defense, Anhui Police College, Hefei 238076, China
2
College of Computer Science, Sichuan Normal University, Chengdu 610101, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section Artificial Intelligence

Abstract

Multimodal named entity recognition (MNER) leverages both textual and visual information to improve entity recognition, particularly in unstructured scenarios such as social media. While existing approaches predominantly rely on raster images (e.g., JPEG, PNG), scalable vector graphics (SVG) offer unique advantages in resolution independence and structured semantic representation—an underexplored potential in multimodal learning. To fill this gap, we propose MNER-SVG, the first framework that incorporates SVG as a visual modality and enhances it with ChatGPT-generated auxiliary knowledge. Specifically, we introduce a Multimodal Similar Instance Perception Module that retrieves semantically relevant examples and prompts ChatGPT to generate contextual explanations. We further construct a Full-Text Graph and a Multimodal Interaction Graph, which are processed via Graph Attention Networks (GATs) to achieve fine-grained cross-modal alignment and feature fusion. Finally, a Conditional Random Field (CRF) layer is employed for structured decoding. To support evaluation, we present SvgNER, the first MNER dataset annotated with SVG-specific visual content. Extensive experiments demonstrate that MNER-SVG achieves state-of-the-art performance with an F1 score of 82.23%, significantly outperforming both text-only and existing multimodal baselines. This work validates the feasibility and potential of integrating vector graphics and large language model-generated knowledge into multimodal NER, opening a new research direction for structured visual semantics in fine-grained multimodal understanding.

1. Introduction

Named entity recognition (NER) is a fundamental NLP task that identifies entities such as persons, locations, and organizations [1,2]. With social media’s rise, unstructured and multimodal user-generated content challenges traditional NER, promoting multimodal named entity recognition (MNER). By integrating visual and linguistic information, MNER has emerged as a key paradigm driving artificial intelligence toward a deeper understanding of the complex real world. Leveraging visual information, MNER enhances recognition performance and proves effective in tasks like multimodal sentiment analysis [3], vehicle engineering [4], machine translation [5], and visual dialog [6]. Its importance in practical applications continues to grow.
However, existing MNER approaches largely rely on raster images (e.g., JPEG, PNG), which are resolution-dependent and often suffer from information loss during compression or scaling. This limits the accuracy and interpretability of cross-modal understanding, especially in scenarios such as human–computer interaction, interface understanding, and information visualization. Scalable vector graphics (SVG), in contrast, describe images using mathematical primitives rather than pixels, offering resolution independence, structural clarity, and editability. These properties make SVG particularly suitable for structured visual content, such as diagrams, logos, infographics, and interface icons. SVG are widely adopted in modern digital platforms, including educational tools, scientific visualizations, mobile icons, and web interfaces. Tools like Iconfont, Figma, and AdobeXD use SVG as a standard format, highlighting its relevance for emerging multimodal understanding scenarios. Despite this, the potential of SVG as a visual modality in multimodal learning remains unexplored.
In this work, we explore the value of SVG in a downstream task, namely multimodal named entity recognition (MNER) [7]. MNER aims to identify and categorize entities in text with the help of visual context, improving recognition accuracy in noisy and informal user-generated content. As shown in Figure 1, relying solely on textual information may lead to labeling “Zeppelin” as a person. In contrast, the accompanying image clearly indicates that “Zeppelin” is a dog, allowing the model to correctly categorize it as “MISC”. By using SVG instead of raster images, we can provide more structured and informative visual signals, facilitating precise cross-modal semantic alignment.
Figure 1. An example of multimodal named entity recognition. Relying on text alone may lead to incorrect entity classification.
Moreover, large language models (LLMs) such as ChatGPT have demonstrated strong contextual learning and generalization capabilities across NLP and multimodal tasks [8,9]. Leveraging this, we generate auxiliary knowledge using ChatGPT-3.5-Turbo to further enhance MNER performance, providing semantic cues that complement the SVG visual information and improving cross-modal understanding.
We propose MNER-SVG, a framework that incorporates vector graphics and ChatGPT-generated auxiliary knowledge to enhance cross-modal understanding. To fully exploit SVG-specific information, we develop a dual-stream module that extracts macro-pixel patterns alongside micro-structural primitives directly from the XML source. A Multimodal Similar Instance Perception Module selects semantically related examples and combines ChatGPT knowledge with textual inputs for downstream modeling. To better align text and visual semantics, we construct a Full-Text Graph to capture global contextual relations and a Multimodal Interaction Graph for fine-grained region-level alignment. Graph Attention Networks (GATs) enable adaptive cross-modal fusion, followed by a Conditional Random Field (CRF) decoder for entity prediction. To support evaluation, we construct SvgNER, the first MNER dataset with SVG-specific annotations.
Our contributions are summarized as follows:
  • We are among the first to explore the use of SVG as a visual modality specifically for the MNER task, emphasizing its resolution independence and structural semantics.
  • We propose an integrated framework MNER-SVG combining SVG representations, ChatGPT-generated auxiliary knowledge, and graph-based cross-modal interactions via Graph Attention Networks (GATs), enhancing both performance and interpretability.
  • We present SvgNER, the first SVG-annotated dataset for MNER. Experimental results demonstrate the effectiveness of our approach, validating SVG as a promising modality for fine-grained multimodal understanding.
The remainder of this paper is organized as follows: Section 2 reviews related work on multimodal named entity recognition. Section 3 describes the proposed MNER-SVG model in detail. Section 4 presents the experimental results and corresponding analyses. Section 5 concludes the paper and discusses future research directions.

3. Methods

MNER generally consists of three steps: text processing—recognizing named entities; image processing—extracting visual cues via regional feature extraction or structural parsing; and joint modeling—fusing textual and visual features to improve recognition.
Multimodal named entity recognition (MNER) extracts named entities from a text sequence X = { x 1 , x 2 , … , x n } and visual information I to improve classification, treated as a sequence labeling task. The goal is to assign an entity label Y = { y 1 , y 2 , … , y n } to each token, based on the BIO2 annotation scheme.
Figure 2 illustrates the MNER-SVG framework, comprising four key modules: (1) text and SVG feature extraction, (2) auxiliary knowledge generation via ChatGPT, (3) multimodal interaction and fusion, and (4) CRF decoding. The process begins with extracting features from both modalities, followed by ChatGPT-generated knowledge integration into a Transformer encoder. To align text and visual features, we construct text and multimodal graphs, fused via Graph Attention Networks (GATs). A final CRF layer predicts entity labels, improving recognition accuracy. Importantly, MNER-SVG leverages SVG structural information and ChatGPT-generated knowledge to enhance cross-modal understanding beyond pixel-level visual features.
Figure 2. Architecture overview of MNER-SVG.

3.1. Feature Extraction Module

MNER-SVG captures both textual and visual features for multimodal representation.

3.1.1. Textual Representation

For a sentence S , BERT provides contextual embeddings H ^ ∈ R n × d , where n is the sequence length and d is the hidden dimension. A self-attention mechanism further refines these representations:
M = softmax Q K ⊤ d k ,   H = LN ( H ^ + M V )
where LN denotes layer normalization. This enables the model to capture long-range dependencies among tokens.

3.1.2. Hybrid Visual Representation

To fully leverage vector-based visual cues, MNER-SVG employs a hybrid representation strategy that combines macro-pixel features with micro-structural primitives. As described in Algorithm 1, the process involves two parallel branches: rasterization and structural feature parsing.
Leveraging SVG structural and semantic information. While rasterized PNG images allow the model to utilize powerful pre-trained CNNs for hierarchical visual patterns, they are explicitly complemented by structural feature vectors ( V s t r u c t ) extracted directly from the SVG’s XML source. These representations are not limited to pixel-level grids; they encode vector-specific properties—such as path complexity, stroke attributes, and primitive types—that support downstream fusion and reasoning. This dual-stream approach ensures that resolution-independent semantic anchors are preserved, providing stable cues that are immune to information loss during scaling. Furthermore, ChatGPT-generated knowledge derived from SVG descriptions provides high-level semantic cues, ensuring that the inherent advantages of vector graphics are utilized beyond simple pixel-level representations.
The feature extraction pipeline consists of three essential stages:
  • Structural Feature Extraction: Parse XML-based primitives, including line segments L x 1 , y 1 , x 2 , y 2 , Bézier curves B ( t ) , and region fills, to construct a structural descriptor V s t r u c t .
  • Rasterization: Convert continuous vector coordinates into discrete pixels with resolution R = ( w , h ) : ( x p , y p ) = ( ⌊ x ⋅ w ⌋ , ⌊ y ⋅ h ⌋ ) .
  • Feature Synthesis: The CNN-derived regional features and the XML-derived V s t r u c t are then integrated to form a comprehensive multimodal representation for downstream tasks.
Algorithm 1 Hybrid SVG Feature Extraction
Input: Path to an SVG file
Output: (1) PNG image in RGB format; (2) Structural feature vector V s t r u c t
  • if the SVG file does not exist then
  •   Raise an error indicating missing file
  • end if
  • //Branch 1: Rasterization for Pixel Features
  • Initialize an in-memory buffer for output
  • Convert SVG to PNG format using cairosvg and store in the buffer
  • Load the PNG image and convert it to RGB format
  • //Branch 2: Structural Parsing for Vector Features
  • Parse the XML tree of the SVG to extract primitives
  • Derive   V s t r u c t from path properties, coordinates, and XML tag statistics
  • return   The   RGB   image   and   V s t r u c t
  • If any error occurs during processing, return None

3.1.3. Visual Feature Extraction

Following Algorithm 1, we extract deep visual features from the rasterized SVG using a pre-trained ResNet-152. Images are resized to 224 × 224 pixels, and regional features are extracted as U = (u1, u2, …, u49), where u i ∈ R 2048 . These features are projected into the text feature space via a linear transformation V   =   W u T U , where V = (v1, v2, …, v49) and v i ∈ R ᵈ . To incorporate vector-specific semantics, we further fuse the structural descriptor V s t r u c t with the regional features, and define the augmented visual representation as V a u g =   V   ;   W ₛ V s t r u c t , where W ₛ is a learnable projection matrix and [ ; ] denotes concatenation. This hybrid representation V a u g serves as the input for subsequent multimodal interaction and fusion tasks.

3.2. ChatGPT-Generated Auxiliary Knowledge Module

To enhance MNER with external knowledge, we leverage ChatGPT to generate auxiliary explanations based on multimodal context (Figure 3). Importantly, the ChatGPT-generated knowledge is derived from SVG descriptions and associated textual annotations, rather than from rasterized PNG images. This ensures that vector-specific structural and semantic information is preserved and provides semantic cues that complement the visual features extracted from CNNs. This process includes three steps: (1) manually annotating a small training subset as high-quality reference data, (2) selecting similar examples via multimodal similarity, and (3) prompting ChatGPT to generate auxiliary knowledge integrated into the input for better entity recognition.
Figure 3. Enhancing MNER via ChatGPT-generated knowledge from SVG inputs.

3.2.1. Reference Sample Annotation

We annotated 200 training samples with entity labels, multimodal explanations, and textual–visual alignment. This curated set serves as few-shot examples to guide ChatGPT in generating relevant auxiliary knowledge.

3.2.2. Multimodal Similarity-Based Example Selection

Since GPT’s performance depends heavily on example selection [24], we design a Multimodal Similarity-Based Example Selection (MSEA) module to retrieve contextually relevant pairs from the reference set.
Feature Extraction and Similarity Evaluation: We use existing MNER models to extract fused multimodal features from both test input and reference samples, denoted as D = { ( t i , p i , y i ) } i = 1 M , G = { ( t j , p j , y j ) } j = 1 N . Features H = M b ( t , p ) are computed via a shared encoder M b , which in our implementation is a pre-trained multimodal backbone frozen to project text and SVG–pixel pairs into a unified semantic space. Higher cosine similarity between these features indicates greater contextual alignment.
Example Selection Mechanism: We compute cosine similarity between the test input’s feature and each annotated sample, selecting the top N most similar examples for ChatGPT’s contextual references: C = { ( t j , p j , y j ) ∣ j ∈ I } Precomputing all fusion features allows efficient retrieval during inference.
Prompt Construction: Each prompt follows a fixed format consisting of three parts: (1) a concise task definition (“Extract named entities from the following multimodal input”), (2) few-shot context examples selected based on multimodal similarity, and (3) the current test input (text + SVG).
This structure ensures consistent guidance, improving accuracy and reproducibility.
To illustrate our prompt design, Table 1 provides a real sample of the prompt input and ChatGPT’s output auxiliary knowledge.
Table 1. Example prompt and ChatGPT-generated auxiliary knowledge.

3.3. Multimodal Interaction Fusion

This module includes: (1) Multimodal Interaction Graph construction; and (2) GAT-based fusion to propagate and integrate node features, suppressing noise and enhancing cross-modal understanding.

3.3.1. Multimodal Interaction Graph Construction

To model fine-grained text-SVG relations, we construct a Multimodal Interaction Graph G S =   V S ,   E S with two types of nodes: textual words and visual regions (complemented by the global structural descriptor V s t r u c t ). In our framework, the visual features are extracted by ResNet-152 as 49 regional grid vectors rather than detected objects, ensuring comprehensive coverage of the SVG layout.
Edges in E S are categorized into intra-modal and inter-modal connections. Intra-modal edges fully connect nodes within the same modality to capture internal dependencies. For inter-modal edges: (1) Text-to-Visual: noun phrases identified via a Stanford Parser are linked to their spatially corresponding visual regions; (2) Global alignment: remaining textual tokens are connected to all visual nodes to capture latent cross-modal semantics. By incorporating V s t r u c t as a central structural node, the graph G S effectively integrates pixel-level details with SVG-specific semantic primitives. The resulting adjacency matrix is denoted as A S .

3.3.2. Cross-Modal Feature Fusion with GAT

To construct the Full-Text Graph, we utilize dependency parsing (via the Stanford Parser) to establish edges between textual tokens, capturing both local syntactic dependencies and global semantic relations. This graph is then integrated with the visual nodes to form the complete Multimodal Interaction Graph G .
We employ a two-layer Graph Attention Network (GAT) for cross-modal feature fusion (see Figure 4). The attention mechanism adaptively weights neighbor nodes—including textual tokens, visual regions, and the SVG structural node—to mitigate noise and enhance integration.
Figure 4. Multimodal Interaction Graph construction and GAT-based feature fusion.
GAT Fusion. Each layer computes multi-head attention to capture cross-modal interactions. Node features are aggregated from neighbors using attention scores via Softmax. Swish activation is applied to improve expressiveness and ensure robust gradient flow. Outputs from all heads are concatenated and averaged to obtain fused node representations.
Node Representation. The final fused representation H S is formulated as:
H S = H X ^ , H V ^ = x ^ 1 , … , x ^ n , v ^ 1 , … , v ^ m
where H X ^ and H V ^ denote the fused textual and visual features (comprising both regional grid features and the structural descriptor V s t r u c t ), respectively.
The attention score between nodes i and j is:
a i j = e x p ( Swish ( a T [ W h i ∥ W h j ] ) ) ∑ k ∈ N i e x p ( Swish ( a T [ W h i ∥ W h k ] ) )
with learnable parameters W and a . These adaptive scores guide fine-grained multimodal fusion.

3.4. CRF Decoding Module

To model label dependencies and ensure coherent predictions, we apply a CRF layer over the fused features H S . The probability of label sequence y is:
p ( y | H S ) = ∏ i = 1 N F i ( y i − 1 , y i , H S ) ∑ y ′ ∈ Y ∏ i = 1 N F i ( y i − 1 ′ , y i ′ , H S )
where F i models compatibility between adjacent labels and features.
We optimize the log-likelihood:
L = − ∑ i = 1 M l o g p ( y ( i ) | H S ( i ) )
At inference, the most probable label sequence is:
y ^ = a r g m a x y ′ ∈ Y p ( y ′ | H S )
The CRF decoder enforces structured output consistency in MNER.

4. Experimental Evaluation

4.1. SvgNER Dataset

Existing vector graphic datasets focus on font generation [25], line drawing [26], or synthesis, but lack multimodal NER integration. We introduce SvgNER, the first dataset specifically designed for SVG-based multimodal entity recognition.
Data Collection. We collected 2130 high-quality SVG icons from the Iconfont platform (https://www.iconfont.cn/, accessed on 15 March 2025), covering a wide spectrum of visual categories including business, technology, daily life, and nature. Each SVG is paired with a descriptive sentence that contains named entities relevant to the icon’s semantic content.
Annotation Guidelines and Quality Control. Following the standard MNER annotation protocol, we defined four entity types: person (PER), location (LOC), organization (ORG), and miscellaneous (MISC). The annotation process was conducted by three trained experts. To ensure data reliability, we implemented a two-stage quality control: Inter-annotator Agreement: We measured annotation consistency using Cohen’s kappa coefficient, achieving an average score of 0.84, which indicates strong agreement. Expert Review: A senior researcher performed a final manual audit to resolve any conflicting labels.
The resulting dataset provides both high-resolution SVG source code and fine-grained textual annotations, making it a robust benchmark for evaluating vector-based multimodal learning. Samples are illustrated in Figure 5.
Figure 5. Samples from the SvgNER dataset in vector graphics format, which have rich semantic meanings, shapes, and paths.

4.2. Data Structure

To effectively integrate SVG into MNER using deep neural networks, we adopted the BIO tagging scheme (Beginning, Inside, Outside). As required by Reviewer 1, we clarify that “B-” (Beginning of Entity) denotes the first token of a named entity, “I-” (Inside of Entity) marks subsequent tokens of the same entity, and “O” (Outside) represents non-entity tokens.
We follow [27] to split the SvgNER dataset (containing 2130 image–text pairs) into training, validation, and testing sets with a ratio of 70%/15%/15%. To ensure the credibility of our dataset, the revised statistics are presented in Table 2.
Table 2. Statistics of the SvgNER dataset.

4.3. Experimental Details

We conducted experiments on our SvgNER dataset. All models were implemented in PyTorch 2.0 and trained on a single NVIDIA RTX 4060 GPU. We used a max sequence length of 256, batch size of 4, and trained for 25 epochs. The checkpoint with the highest dev F1 was used for evaluation.
ChatGPT Settings. We utilized the GPT-3.5-Turbo model. To ensure response stability, the temperature was set to 0.2 and top-p was set to 1.0. The inference was conducted via the OpenAI API, and the generated knowledge was cached to ensure experimental consistency across all trials.
Our MNER-SVG framework adopts BERT-base and a frozen ResNet-152 for textual and visual features, respectively. Cross-modal attention heads are set to 12. Learning rate, dropout, and balancing factor λ are set to 5 × 10 − 6 , 0.1, and 0.5 via grid search. All results are averaged over three random seeds for robustness.
For a fair comparison, we performed exhaustive hyperparameter tuning for each baseline using the same grid search strategy and computational environment to ensure that they achieved their optimal performance on our dataset.

4.4. Evaluation Metrics

We evaluated models using Precision (P), Recall (R), and F1-score (F1), defined as:
Precision = T P T P + F P
Recall = T P T P + F N
F 1 - score = 2 ⋅ Precision ⋅ Recall Precision + Recall
where TP, FP, and FN denote true positives, false positives, and false negatives, respectively.

4.5. Comparison Experiments

We compared MNER-SVG with representative baselines in both text-only and multimodal NER. Baseline models are shown in Table 3.
Table 3. Main technical information of the baseline methods (“N/A” indicates not applicable).
For text-based models, we include BiLSTM-CRF [28], a classic sequence labeling model using BiLSTM with CRF decoding; BERT-CRF [22], which uses BERT for contextual embeddings with a CRF layer; and RoBERTa-span [29], which adopts span-based modeling with auxiliary tasks for entity recognition.
Among multimodal baselines, UMT [11] enhances MNER via entity span detection using visual and textual features; MNER-QG [30] reformulates MNER as a question answering task with query–image–text encoding; and CAT-MNER [31] employs cross-modal attention with knowledge-enhanced feature fusion. MCIRP employs relation propagation to filter irrelevant images and is state-of-the-art result.
Our proposed model, MNER-SVG, is the first designed for scalable vector graphics (SVG) datasets. By leveraging the structural and semantic information of SVG, it enables more precise visual feature extraction. Additionally, auxiliary knowledge from ChatGPT enriches contextual representation. Experimental results on the SvgNER dataset show consistent improvements over all baselines, particularly in complex scenarios.
All baseline models are retrained on the SvgNER dataset under the same training/validation split as MNER-SVG for fair comparison.
Furthermore, we analyze the computational cost of our similarity-based selection module. Since the example retrieval uses a pre-computed vector index, the additional inference latency is approximately 12 ms per sample. This indicates that the module provides significant performance gains without hindering the model’s scalability for large-scale deployment.

4.6. Results and Analysis

Table 4 presents the precision (P), recall (R), and F1-score (F1) of various methods on the SvgNER dataset.
Table 4. Performance comparison of NER and MNER models on the SvgNER dataset.
In comparative experiments, we selected four entity types for named entity recognition: person names (PER), locations (LOC), organizations (ORG), and miscellaneous (MISC). The recognition performance of different models on these four entity types is presented in Figure 6. The experimental results demonstrate the effectiveness of various models on specific entity types in the context of SVG multimodal named entity recognition. Notably, our proposed model achieves significant improvements in particular entity types in this task.
Figure 6. The recognition performance of various models on the PER, LOC, ORG, MISC entity types.
In comparative experiments, the overall precision, recall, and F1-score of the recognition results for the four entity types—person names (PER), locations (LOC), organizations (ORG), and miscellaneous (MISC)—are shown in Figure 7. The experimental results demonstrate that our proposed model achieves significant effectiveness in the task of SVG multimodal named entity recognition.
Figure 7. The accuracy, recall, and F1-score of the recognition results from various baseline models.
When only text-based named entity recognition (NER) methods are considered, BERT-CRF and RoBERTa-span both outperform BiLSTM-CRF, validating the effectiveness of pre-trained language models and Conditional Random Fields (CRFs) in NER tasks. Under the multimodal NER setting, however, text-only approaches significantly underperform their multimodal counterparts. This indicates that multimodal modeling confers substantial advantages over unimodal text modeling in specific scenarios involving the integration of structured visual information from SVG alongside text. This finding aligns with conclusions drawn in existing related studies.
Multimodal named entity recognition (NER) models that integrate both textual and visual information—such as CAT-MNER, MCIRP, and our proposed MNER-SVG—enhance NER performance by fusing image and text features. Specifically, MNER-SVG achieves a state-of-the-art F1-score of 82.23% on the SvgNER dataset, representing a 2.34% absolute improvement over the strongest baseline MCIRP. This underscores the distinct advantage of incorporating SVG structural primitives alongside pixel-level features. As the first model to introduce scalable vector graphics (SVG) into the MNER task, our approach of integrating diverse visual cues follows a similar refinement philosophy as seen in RePack then Refine [32], which effectively compresses high-dimensional foundation model features into essential semantic manifolds to alleviate information redundancy while preserving core structural integrity. Further experiments show that incorporating auxiliary knowledge generated by ChatGPT can effectively improve model performance. By fully leveraging the structured representations inherent to SVG and exploiting external semantic knowledge from ChatGPT, MNER-SVG offers a novel perspective for multimodal NER. Experimental results confirm that SVG structural information complements traditional visual features, demonstrating the feasibility and potential value of integrating vector graphic information into multimodal entity recognition.

4.7. Ablation Study

We conducted ablation experiments to assess the impact of ChatGPT-generated auxiliary knowledge and the Graph Neural Network (GNN) module.

4.7.1. Impact of ChatGPT-Generated Knowledge

Table 5 compares performance across varying sample sizes and prompt strategies. “VanillaGPT” uses no prompts, while “PromptGPT” selects top N similar samples for context.
Table 5. Comparison of ChatGPT and PGIM. VanillaGPT and PromptGPT represent direct predictions using ChatGPT.
Prompted ChatGPT significantly improves performance in low-resource settings, with F1 scores increasing steadily as more relevant samples are included. These results highlight the auxiliary module’s effectiveness in enhancing MNER-SVG, especially under few-shot conditions.

4.7.2. Effect of Removing ChatGPT Auxiliary Knowledge

We evaluate the impact of removing ChatGPT-generated auxiliary knowledge by using only plain SVG features without ChatGPT guidance. Results are reported in Table 6.
Table 6. Ablation on ChatGPT auxiliary knowledge on SvgNER dataset.
The results show that removing ChatGPT-generated knowledge leads to a significant drop in performance, confirming the effectiveness of our auxiliary knowledge module.

4.7.3. Effectiveness of the GNN Module

We evaluate the impact of different GNN architectures through ablation experiments, with results in Table 7. “w/o” denotes removal of components, “ X G C N ” and “ I G C N ” refer to GCN processing of the full-text and visual object graphs, respectively, while “ S G A T ” indicates GAT-based multimodal fusion.
Table 7. Ablation results of MNER-SVG on SvgNER dataset.
Key findings:
  • GCN for Text and Visual Representation: Removing GCN from either graph severely impacts performance, demonstrating its role in enhancing representation by aggregating topological and node features.
  • GAT for Multimodal Fusion: GAT outperforms GCN in fusion, adaptively weighting features and improving cross-modal relationships for better integration.
These results highlight the essential role of each module in the MNER-SVG framework.

5. Conclusions

We propose MNER-SVG, a novel multimodal named entity recognition framework that integrates scalable vector graphics (SVG) with auxiliary knowledge generated by ChatGPT. By combining multimodal example selection, text–image alignment, and Graph Attention Networks (GATs), the framework enhances cross-modal interaction and improves recognition performance. Experiments on the SvgNER dataset demonstrate that the resolution independence and structural clarity of SVG provide valuable visual context, resulting in significant accuracy gains.
Future work will focus on integrating richer auxiliary knowledge to enhance reasoning capabilities and expanding datasets for cross-domain evaluation. As SVG gains traction in digital media, its combination with other modalities holds promising potential to advance multimodal NER and cross-modal information processing.

Author Contributions

Conceptualization, Y.M. and W.L.; methodology Y.M. and W.L.; software, S.X. and H.Q.; validation, Y.M., H.Q., S.X. and W.L.; data curation, Y.M. and S.X.; writing—original draft preparation, Y.M.; writing—review and editing, Y.M. and W.L.; visualization, S.X. and H.Q.; supervision, W.L.; project administration, W.L.; funding acquisition, W.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Key Research Project of Anhui Provincial Department of Education, China (2022AH053089). Outstanding Scientific Research and Innovation Team of Anhui Police College (2023GADT06).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The source code presented in the study are openly available in GitHub https://github.com/TeacherWLee/MNER_SVG/ (accessed on 28 January 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Seow, W.L.; Chaturvedi, I.; Hogarth, A.; Mao, R.; Cambria, E. A Review of Named Entity Recognition: From Learning Methods to Modelling Paradigms and Tasks. Artif. Intell. Rev. 2025, 58, 315. [Google Scholar] [CrossRef] [Scilit]
  2. Li, J.; Sun, A.; Han, J.; Li, C. A Survey on Deep Learning for Named Entity Recognition. IEEE Trans. Knowl. Data Eng. 2020, 34, 50–70. [Google Scholar] [CrossRef] [Scilit]
  3. Zhu, C.; Chen, M.; Zhang, S.; Sun, C.; Liang, H.; Liu, Y.; Chen, J. SKEAFN: Sentiment Knowledge Enhanced Attention Fusion Network for Multimodal Sentiment Analysis. Inf. Fusion 2023, 100, 101958. [Google Scholar] [CrossRef] [Scilit]
  4. Geng, H.; Qing, H.; Hu, J.; Huang, W.; Kang, H. A Named Entity Recognition Method for Chinese Vehicle Fault Repair Cases Based on a Combined Model. Electronics 2025, 14, 1361. [Google Scholar] [CrossRef] [Scilit]
  5. Shi, X.; Yu, Z. Adding Visual Information to Improve Multimodal Machine Translation for Low-Resource Language. Math. Probl. Eng. 2022, 2022, 5483535. [Google Scholar] [CrossRef] [Scilit]
  6. Chen, F.; Chen, X.; Xu, S.; Xu, B. Improving Cross-Modal Understanding in Visual Dialog Via Contrastive Learning. In Proceedings of the ICASSP 2022—2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Singapore, 23–27 May 2022; pp. 7937–7941. [Google Scholar]
  7. Xu, B.; Huang, S.; Sha, C.; Wang, H. MAF: A General Matching and Alignment Framework for Multimodal Named Entity Recognition. In Proceedings of the Fifteenth ACM International Conference on Web Search and Data Mining, Tempe, AZ, USA, 21–25 February 2022; ACM: New York, NY, USA, 2022; pp. 1215–1223. [Google Scholar]
  8. Chai, Y.; Xie, H.; Qin, J.S. Text Data Augmentation for Large Language Models: A Comprehensive Survey of Methods, Challenges, and Opportunities. Artif. Intell. Rev. 2025, 59, 35. [Google Scholar] [CrossRef] [Scilit]
  9. Wang, Z.; Chen, H.; Xu, G.; Ren, M. A Novel Large-Language-Model-Driven Framework for Named Entity Recognition. Inf. Process. Manag. 2025, 62, 104054. [Google Scholar] [CrossRef] [Scilit]
  10. Zhang, Q.; Fu, J.; Liu, X.; Huang, X. Adaptive Co-Attention Network for Named Entity Recognition in Tweets. In Proceedings of the AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018; Association for the Advancement of Artificial Intelligence: Palo Alto, CA, USA, 2018; Volume 32. [Google Scholar]
  11. Yu, J.; Jiang, J.; Yang, L.; Xia, R. Improving Multimodal Named Entity Recognition via Entity Span Detection with Unified Multimodal Transformer; Association for Computational Linguistics: Stroudsburg, PA, USA, 2020. [Google Scholar]
  12. Zhang, D.; Wei, S.; Li, S.; Wu, H.; Zhu, Q.; Zhou, G. Multi-Modal Graph Fusion for Named Entity Recognition with Targeted Visual Guidance. In Proceedings of the AAAI Conference on Artificial Intelligence, Online, 2–9 February 2021; Association for the Advancement of Artificial Intelligence: Palo Alto, CA, USA, 2021; Volume 35, pp. 14347–14355. [Google Scholar]
  13. Xu, M.; Peng, K.; Liu, J.; Zhang, Q.; Song, L.; Li, Y. Multimodal Named Entity Recognition Based on Topic Prompt and Multi-Curriculum Denoising. Inf. Fusion 2025, 124, 103405. [Google Scholar] [CrossRef] [Scilit]
  14. Li, E.; Li, T.; Luo, H.; Chu, J.; Duan, L.; Lv, F. Adaptive Multi-Scale Language Reinforcement for Multimodal Named Entity Recognition. IEEE Trans. Multimed. 2025, 27, 5312–5323. [Google Scholar]
  15. Zhang, Q.; Song, Z.; Wang, D.; Cai, Y.; Bi, M.; Zuo, M. Named Entity Recognition and Coreference Resolution Using Prompt-Based Generative Multimodal. Complex Intell. Syst. 2025, 12, 10. [Google Scholar] [CrossRef] [Scilit]
  16. Mu, Y.; Guo, Z.; Li, X.; Shao, L.; Liu, S.; Li, F.; Mei, G. MCIRP: A Multi-Granularity Cross-Modal Interaction Model Based on Relational Propagation for Multimodal Named Entity Recognition with Multiple Images. Inf. Process. Manag. 2026, 63, 104384. [Google Scholar] [CrossRef] [Scilit]
  17. Wei, X.; Cui, X.; Cheng, N.; Wang, X.; Zhang, X.; Huang, S.; Xie, P.; Xu, J.; Chen, Y.; Zhang, M.; et al. ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPT. arXiv 2023, arXiv:2302.10205. [Google Scholar]
  18. Chen, Y.; Zhang, B.; Li, S.; Jin, Z.; Cai, Z.; Wang, Y.; Qiu, D.; Liu, S.; Zhao, J. Prompt Robust Large Language Model for Chinese Medical Named Entity Recognition. Inf. Process. Manag. 2025, 62, 104189. [Google Scholar] [CrossRef] [Scilit]
  19. De, S.; Sanyal, D.K.; Mukherjee, I. Fine-Tuned Encoder Models with Data Augmentation Beat ChatGPT in Agricultural Named Entity Recognition and Relation Extraction. Expert Syst. Appl. 2025, 277, 127126. [Google Scholar] [CrossRef] [Scilit]
  20. Han, R.; Peng, T.; Yang, C.; Wang, B.; Liu, L.; Wan, X. Is Information Extraction Solved by Chatgpt? An Analysis of Performance, Evaluation Criteria, Robustness and Errors. arXiv 2023, arXiv:2305.14450. [Google Scholar] [CrossRef] [Scilit]
  21. Li, B.; Fang, G.; Yang, Y.; Wang, Q.; Ye, W.; Zhao, W.; Zhang, S. Evaluating ChatGPT’s Information Extraction Capabilities: An Assessment of Performance, Explainability, Calibration, and Faithfulness. arXiv 2023, arXiv:2304.11633. [Google Scholar]
  22. Devlin, J.; Chang, M.-W.; Lee, K.; Toutanova, K. Bert: Pre-Training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers); Association for Computational Linguistics: Minneapolis, MN, USA, 2019; pp. 4171–4186. [Google Scholar]
  23. Brown, T.; Mann, B.; Ryder, N.; Subbiah, M.; Kaplan, J.D.; Dhariwal, P.; Neelakantan, A.; Shyam, P.; Sastry, G.; Askell, A. Language Models Are Few-Shot Learners. Adv. Neural Inf. Process. Syst. 2020, 33, 1877–1901. [Google Scholar]
  24. Yang, Z.; Gan, Z.; Wang, J.; Hu, X.; Lu, Y.; Liu, Z.; Wang, L. An Empirical Study of Gpt-3 for Few-Shot Knowledge-Based Vqa. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI-22), Virtual, 22 February –1 March 2022; Association for the Advancement of Artificial Intelligence: Palo Alto, CA, USA, 2022; Volume 36, pp. 3081–3089. [Google Scholar]
  25. Lopes, R.G.; Ha, D.; Eck, D.; Shlens, J. A Learned Representation for Scalable Vector Graphics. In Proceedings of the IEEE/CVF International Conference On Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 7930–7939. [Google Scholar]
  26. G. C. Lab. The Quick, Draw! Dataset. Available online: https://github.com/googlecreativelab/quickdraw-dataset (accessed on 25 January 2026).
  27. Moon, S.; Neves, L.; Carvalho, V. Multimodal Named Entity Recognition for Short Social Media Posts. In Proceedings of theNAACL-HLT, New Orleans, LA, USA, 1–6 June 2018; pp. 852–860. [Google Scholar]
  28. Huang, Z.; Xu, W.; Yu, K. Bidirectional LSTM-CRF Models for Sequence Tagging. arXiv 2015, arXiv:1508.01991. [Google Scholar] [CrossRef] [Scilit]
  29. Yamada, I.; Asai, A.; Shindo, H.; Takeda, H.; Matsumoto, Y. LUKE: Deep Contextualized Entity Representations with Entity-Aware Self-Attention. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), Online, 16–20 November 2020. [Google Scholar]
  30. Jia, M.; Shen, L.; Shen, X.; Liao, L.; Chen, M.; He, X.; Chen, Z.; Li, J. Mner-Qg: An End-to-End Mrc Framework for Multimodal Named Entity Recognition with Query Grounding. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI-23), Virtual, 7–14 February 2023; Association for the Advancement of Artificial Intelligence: Palo Alto, CA, USA, 2023; Volume 37, pp. 8032–8040. [Google Scholar]
  31. Wang, X.; Ye, J.; Li, Z.; Tian, J.; Jiang, Y.; Yan, M.; Zhang, J.; Xiao, Y. CAT-MNER: Multimodal Named Entity Recognition with Knowledge-Refined Cross-Modal Attention. In Proceedings of the 2022 IEEE International Conference on Multimedia and Expo (ICME), Taipei, Taiwan, 18–22 July 2022; IEEE: New York, NY, USA, 2022; pp. 1–6. [Google Scholar]
  32. Dong, G.; Schultz, L.; Hassanpour, N.; Gao, C. RePack then Refine: Efficient Diffusion Transformer with Vision Foundation Model. arXiv 2026, arXiv:2512.12083. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.