# Siamese meta-learning network for social disputes based on multi-head attention

**Authors:** Jing Wang, Rui Zhang, Huijian Han, Yuxiang Liu, Zhaoxing Peng

PMC · DOI: 10.7717/peerj-cs.2910 · PeerJ Computer Science · 2025-06-04

## TL;DR

This paper introduces a new Siamese meta-learning network with multi-head attention to improve few-shot learning for social disputes.

## Contribution

The novel MASM network uses synonym substitution and multi-head attention to enhance performance in few-shot learning.

## Key findings

- MASM outperformed existing methods on four benchmark datasets.
- The model achieved good results on a private social dispute dataset.
- Multi-head attention improved long-distance dependency capture in the network.

## Abstract

Few-shot learning has been widely used in scenarios where labeled data is scarce, where meta-learning based few-shot classification is widely used, such as the Siamese network. Although the Siamese network has achieved good results in some applications, there are still some problems: (1) When computing prototype vectors with external knowledge of class labels, it depends on the quality and correctness of class labels. (2) When processing data, the Siamese network is not sufficient to capture dependencies between long distance. (3) When the data is complex or the samples are unbalanced, the Siamese network does not achieve the best performance. Therefore, this article proposes a multi-head attention siamese meta-learning network (MASM). Specifically, this article uses synonym substitution to solve the problem that the computation of prototype vectors will be transitionally dependent on class label. In addition, we use the multi-head attention mechanism to capture long-distance dependence by exploiting its global perception capability, which further improves the model performance. We conducted experiments on four benchmark datasets, all of which achieved good performance, and also applied the model for the first time in the field of social disputes, and experimented on a homemade private dispute dataset, which also achieved good results.

## Full-text entities

- **Diseases:** injury (MESH:D014947), gastroenteritis (MESH:D005759), road traffic accident (MESH:D000081084), appendicitis (MESH:D001064), learning (MESH:D007859), occupational diseases (MESH:D009784)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12192778/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12192778/full.md

## References

29 references — full list in the complete paper: https://tomesphere.com/paper/PMC12192778/full.md

---
Source: https://tomesphere.com/paper/PMC12192778