paper-with-me

Papers

Haystack Engineering: Context Engineering for Heterogeneous and Agentic Long-Context Evaluation

2025-10-08 · Mufei Li, Dongqi Fu, Limei Wang, Si Zhang, Hanqing Zeng, Kaan Sancak, Ruizhong Qiu, Haoyu Wang, Xiaoxin He, Xavier Bresson, Yinglong Xia, Chonglin Sun, Pan Li arxiv

Modern long-context large language models (LLMs) perform well on synthetic "needle-in-a-haystack" (NIAH) benchmarks, but such tests overlook how noisy contexts arise from biased retrieval and agentic workflows. We argue that haystack engineering is necessary to construct noisy long contexts that faithfully capture key real-world factors -- distraction from heterogeneous biased retrievers and cascading errors in agentic workflows -- to test models' long-context robustness. We instantiate it through HaystackCraft, a new NIAH benchmark built on the full English Wikipedia hyperlink network with multi-hop questions. HaystackCraft evaluates how heterogeneous retrieval strategies (e.g., sparse, dense, hybrid, and graph-based) affect distractor composition, haystack ordering, and downstream LLM performance. HaystackCraft further extends NIAH to dynamic, LLM-dependent settings that simulate agentic operations, where models refine queries, reflect on their past reasonings, and decide when to stop. Experiments with 15 long-context models show that (1) while stronger dense retrievers can introduce more challenging distractors, graph-based reranking simultaneously improves retrieval effectiveness and mitigates more harmful distractors; (2) in agentic tests, even advanced models like Gemini 2.5 Pro and GPT-5 suffer cascading failures from self-generated distractors or struggle to perform early stops. These results highlight persistent challenges in agentic long-context reasoning and establish HaystackCraft as a valuable testbed for future progress.

📄 PDF Abstract BibTeX arXiv:2510.07414

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Agentic Agile-V: From Vibe Coding to Verified Engineering in Software and Hardware Development

2026-05-19 · Christopher Koch arxiv

Agentic AI coding systems can inspect repositories, plan implementation steps, edit files, call tools, run tests, and submit pull requests. These capabilities make software and hardware development faster in some setting…

Prompt EngineeringCode Generation

Meta Context Engineering via Agentic Skill Evolution

2026-01-29 · Haoran Ye, Xuning He, Vincent Arak, Haonan Dong 외 arxiv

The operational efficacy of large language models relies heavily on their inference-time context. This has established Context Engineering (CE) as a formal discipline for optimizing these inputs. Current CE methods rely …

Loosely-Structured Software: Engineering Context, Structure, and Evolution Entropy in Runtime-Rewired Multi-Agent Systems

2026-03-16 · Weihao Zhang, Yitong Zhou, Huanyu Qu, Hongyi Li arxiv

As LLM-based multi-agent systems (MAS) become more autonomous, their free-form interactions increasingly dominate system behavior. However, scaling the number of agents often amplifies context pressure, coordination erro…

CEDAR: Context Engineering for Agentic Data Science

2026-01-10 · Rishiraj Saha Roy, Chris Hinze, Luzian Hahn, Fabian Kuech arxiv

We demonstrate CEDAR, an application for automating data science (DS) tasks with an agentic setup. Solving DS problems with LLMs is an underexplored area that has immense market value. The challenges are manifold: task c…

Code Generation

AIDev: Studying AI Coding Agents on GitHub

2026-02-09 · Hao Li, Haoxiang Zhang, Ahmed E. Hassan arxiv

AI coding agents are rapidly transforming software engineering by performing tasks such as feature development, debugging, and testing. Despite their growing impact, the research community lacks a comprehensive dataset c…