MPL: Multiple Programming Languages with Large Language Models for Information Extraction

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Bo, Fang, Gexiang, Ye, Wei, Xu, Zhenghua, Zhang, Jinglei, Cheng, Hao, Zhang, Shikun
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908374199697408
author Li, Bo
Fang, Gexiang
Ye, Wei
Xu, Zhenghua
Zhang, Jinglei
Cheng, Hao
Zhang, Shikun
author_facet Li, Bo
Fang, Gexiang
Ye, Wei
Xu, Zhenghua
Zhang, Jinglei
Cheng, Hao
Zhang, Shikun
contents Recent research in information extraction (IE) focuses on utilizing code-style inputs to enhance structured output generation. The intuition behind this is that the programming languages (PLs) inherently exhibit greater structural organization than natural languages (NLs). This structural advantage makes PLs particularly suited for IE tasks. Nevertheless, existing research primarily focuses on Python for code-style simulation, overlooking the potential of other widely-used PLs (e.g., C++ and Java) during the supervised fine-tuning (SFT) phase. In this research, we propose \textbf{M}ultiple \textbf{P}rogramming \textbf{L}anguages with large language models for information extraction (abbreviated as \textbf{MPL}), a novel framework that explores the potential of incorporating different PLs in the SFT phase. Additionally, we introduce \texttt{function-prompt} with virtual running to simulate code-style inputs more effectively and efficiently. Experimental results on a wide range of datasets demonstrate the effectiveness of MPL. Furthermore, we conduct extensive experiments to provide a comprehensive analysis. We have released our code for future research.
format Preprint
id arxiv_https___arxiv_org_abs_2505_16107
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MPL: Multiple Programming Languages with Large Language Models for Information Extraction
Li, Bo
Fang, Gexiang
Ye, Wei
Xu, Zhenghua
Zhang, Jinglei
Cheng, Hao
Zhang, Shikun
Computation and Language
Recent research in information extraction (IE) focuses on utilizing code-style inputs to enhance structured output generation. The intuition behind this is that the programming languages (PLs) inherently exhibit greater structural organization than natural languages (NLs). This structural advantage makes PLs particularly suited for IE tasks. Nevertheless, existing research primarily focuses on Python for code-style simulation, overlooking the potential of other widely-used PLs (e.g., C++ and Java) during the supervised fine-tuning (SFT) phase. In this research, we propose \textbf{M}ultiple \textbf{P}rogramming \textbf{L}anguages with large language models for information extraction (abbreviated as \textbf{MPL}), a novel framework that explores the potential of incorporating different PLs in the SFT phase. Additionally, we introduce \texttt{function-prompt} with virtual running to simulate code-style inputs more effectively and efficiently. Experimental results on a wide range of datasets demonstrate the effectiveness of MPL. Furthermore, we conduct extensive experiments to provide a comprehensive analysis. We have released our code for future research.
title MPL: Multiple Programming Languages with Large Language Models for Information Extraction
topic Computation and Language
url https://arxiv.org/abs/2505.16107