Haystack Engineering: Context Engineering for Heterogeneous and Agentic Long-Context Evaluation
8 Oct · Mufei Li, Dongqi Fu, Limei Wang +9 · arXiv:2510.07414
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…