Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zeng, Yiming, Yu, Wanhao, Li, Zexin, Ren, Tao, Ma, Yu, Cao, Jinghan, Chen, Xiyan, Yu, Tingting
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:https://arxiv.org/abs/2502.13358
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918303985827840
author Zeng, Yiming
Yu, Wanhao
Li, Zexin
Ren, Tao
Ma, Yu
Cao, Jinghan
Chen, Xiyan
Yu, Tingting
author_facet Zeng, Yiming
Yu, Wanhao
Li, Zexin
Ren, Tao
Ma, Yu
Cao, Jinghan
Chen, Xiyan
Yu, Tingting
contents Large Language Models (LLMs) have significantly advanced natural language processing, demonstrating strong capabilities in tasks such as text generation, summarization, and reasoning. Recently, their potential for automating precise text editing tasks across specialized domains, such as programming code, LaTeX, and structured database languages, has gained attention. However, current state-of-the-art LLMs still struggle with executing precise, instruction-driven edits, particularly when structural accuracy and strict adherence to domain conventions are required. To address these challenges, we introduce InstrEditBench, an automated benchmark dataset comprising over 30,000 structured editing tasks spanning diverse domains, including Wikipedia articles, LaTeX documents, source code, and database languages. Using this benchmark, we develop FineEdit, a specialized editing model explicitly trained for accurate, context-aware text modifications. Experimental evaluations demonstrate that FineEdit outperforms state-of-the-art models, achieving improvements of approximately 10\% over Gemini models on single-turn edits, up to 30\% over Llama-3.2-3B, and exceeding Mistral-7B-OpenOrca performance by over 40\% on direct editing tasks. FineEdit also effectively generalizes to realistic multi-turn editing scenarios, highlighting its practical applicability. To facilitate further research and reproducibility, we release FineEdit at https://github.com/StuRinDQB/FineEdit} and https://huggingface.co/datasets/YimingZeng/FineEdit_bench.
format Preprint
id arxiv_https___arxiv_org_abs_2502_13358
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bridging the Editing Gap in LLMs: FineEdit for Precise and Targeted Text Modifications
Zeng, Yiming
Yu, Wanhao
Li, Zexin
Ren, Tao
Ma, Yu
Cao, Jinghan
Chen, Xiyan
Yu, Tingting
Computation and Language
Large Language Models (LLMs) have significantly advanced natural language processing, demonstrating strong capabilities in tasks such as text generation, summarization, and reasoning. Recently, their potential for automating precise text editing tasks across specialized domains, such as programming code, LaTeX, and structured database languages, has gained attention. However, current state-of-the-art LLMs still struggle with executing precise, instruction-driven edits, particularly when structural accuracy and strict adherence to domain conventions are required. To address these challenges, we introduce InstrEditBench, an automated benchmark dataset comprising over 30,000 structured editing tasks spanning diverse domains, including Wikipedia articles, LaTeX documents, source code, and database languages. Using this benchmark, we develop FineEdit, a specialized editing model explicitly trained for accurate, context-aware text modifications. Experimental evaluations demonstrate that FineEdit outperforms state-of-the-art models, achieving improvements of approximately 10\% over Gemini models on single-turn edits, up to 30\% over Llama-3.2-3B, and exceeding Mistral-7B-OpenOrca performance by over 40\% on direct editing tasks. FineEdit also effectively generalizes to realistic multi-turn editing scenarios, highlighting its practical applicability. To facilitate further research and reproducibility, we release FineEdit at https://github.com/StuRinDQB/FineEdit} and https://huggingface.co/datasets/YimingZeng/FineEdit_bench.
title Bridging the Editing Gap in LLMs: FineEdit for Precise and Targeted Text Modifications
topic Computation and Language
url https://arxiv.org/abs/2502.13358