paper-with-me

Papers

LoCoBench: A Benchmark for Long-Context Large Language Models in Complex Software Engineering

2025-09-11 · Jielin Qiu, Zuxin Liu, Zhiwei Liu, Rithesh Murthy, Jianguo Zhang, Haolin Chen, Shiyu Wang, Ming Zhu, Liangwei Yang, Juntao Tan, Zhepeng Cen, Cheng Qian, Shelby Heinecke, Weiran Yao, Silvio Savarese, Caiming Xiong, Huan Wang arxiv

The emergence of long-context language models with context windows extending to millions of tokens has created new opportunities for sophisticated code understanding and software development evaluation. We propose LoCoBench, a comprehensive benchmark specifically designed to evaluate long-context LLMs in realistic, complex software development scenarios. Unlike existing code evaluation benchmarks that focus on single-function completion or short-context tasks, LoCoBench addresses the critical evaluation gap for long-context capabilities that require understanding entire codebases, reasoning across multiple files, and maintaining architectural consistency across large-scale software systems. Our benchmark provides 8,000 evaluation scenarios systematically generated across 10 programming languages, with context lengths spanning 10K to 1M tokens, a 100x variation that enables precise assessment of long-context performance degradation in realistic software development settings. LoCoBench introduces 8 task categories that capture essential long-context capabilities: architectural understanding, cross-file refactoring, multi-session development, bug investigation, feature implementation, code comprehension, integration testing, and security analysis. Through a 5-phase pipeline, we create diverse, high-quality scenarios that challenge LLMs to reason about complex codebases at unprecedented scale. We introduce a comprehensive evaluation framework with 17 metrics across 4 dimensions, including 8 new evaluation metrics, combined in a LoCoBench Score (LCBS). Our evaluation of state-of-the-art long-context models reveals substantial performance gaps, demonstrating that long-context understanding in complex software development represents a significant unsolved challenge that demands more attention. LoCoBench is released at: https://github.com/SalesforceAIResearch/LoCoBench.

📄 PDF Abstract BibTeX arXiv:2509.09614

Code (0)

등록된 구현이 없습니다.

Tasks

Long-Context Understanding

Similar Papers 제목 키워드 기반

LoCoBench-Agent: An Interactive Benchmark for LLM Agents in Long-Context Software Engineering

2025-11-17 · Jielin Qiu, Zuxin Liu, Zhiwei Liu, Rithesh Murthy 외 arxiv

As large language models (LLMs) evolve into sophisticated autonomous agents capable of complex software development tasks, evaluating their real-world capabilities becomes critical. While existing benchmarks like LoCoBen…

CLongEval: A Chinese Benchmark for Evaluating Long-Context Large Language Models

2024-03-06 · Zexuan Qiu, Jingjing Li, Shijue Huang, Xiaoqi Jiao 외

Developing Large Language Models (LLMs) with robust long-context capabilities has been the recent research focus, resulting in the emergence of long-context LLMs proficient in Chinese. However, the evaluation of these mo…

LongSkywork: A Training Recipe for Efficiently Extending Context Length in Large Language Models

2024-06-02 · Liang Zhao, Tianwen Wei, Liang Zeng, Cheng Cheng 외

We introduce LongSkywork, a long-context Large Language Model (LLM) capable of processing up to 200,000 tokens. We provide a training recipe for efficiently extending context length of LLMs. We identify that the critical…

Continual PretrainingInformation RetrievalLanguage ModelingLanguage Modelling+1

Marathon: A Race Through the Realm of Long Context with Large Language Models

2023-12-15 · Lei Zhang, Yunshui Li, Ziqiang Liu, Jiaxi Yang 외

With the advancement of large language models (LLMs) and the expansion of their context windows, existing long-context benchmarks fall short in effectively evaluating the models' comprehension and reasoning abilities in …

Long-Context UnderstandingMultiple-choice

LongGenBench: Long-context Generation Benchmark

2024-10-05 · Xiang Liu, Peijie Dong, Xuming Hu, Xiaowen Chu

Current long-context benchmarks primarily focus on retrieval-based tests, requiring Large Language Models (LLMs) to locate specific information within extensive input contexts, such as the needle-in-a-haystack (NIAH) ben…

Language ModellingRetrieval