IDEAS home Printed from https://ideas.repec.org/a/hin/jnlmpe/3327065.html
   My bibliography  Save this article

An Enhanced Phrase Matching Method Based on Cross-Attention

Author

Listed:
  • Guoqing Pang
  • Qiming Fu
  • Jianping Chen
  • Yunzhe Wang
  • You Lu
  • Hongjie Wu
  • Vimal Shanmuganathan

Abstract

Text matching is a core problem in the field of natural language understanding. It aims to analyze and judge the semantic relevance or similarity between two texts. In the past, much work on text matching focused on long text and little on phrase optimization. However, phrase matching also has essential application scenarios. Compared with long texts, phrases have difficulties covering less semantics and polysemy, and because of the weak expression ability of phrases, it is hard to match phrases accurately. On the Kaggle patent phrase matching dataset, due to the few words in the phrase and the repeated occurrences under different patent classification numbers, it is difficult to match each other accurately. In the data-processing stage, this work proposes aggregating related targets for data fusion, expanding the background semantic information, and enhancing the expression ability of phrases. In the training stage, this work considers adding a cross-attention network to the model to make the additional related targets better used and learned. The added cross-attention network makes the model pay more attention to the most related information. The proposed method has experimented on pretrained language models such as BERT-for-patent, DeBERTa, and RoBERTa. The results show that the proposed method in this work improves by 2–4 points more than the general method without any information or additional network layers in its evaluation metric called the Pearson correlation, which enhances the performance in short-text matching.

Suggested Citation

  • Guoqing Pang & Qiming Fu & Jianping Chen & Yunzhe Wang & You Lu & Hongjie Wu & Vimal Shanmuganathan, 2023. "An Enhanced Phrase Matching Method Based on Cross-Attention," Mathematical Problems in Engineering, Hindawi, vol. 2023, pages 1-11, April.
  • Handle: RePEc:hin:jnlmpe:3327065
    DOI: 10.1155/2023/3327065
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/mpe/2023/3327065.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/mpe/2023/3327065.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2023/3327065?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:jnlmpe:3327065. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.