---
title: "Plan, divide, and conquer: How weak models excel at long context tasks"
description: "Weaker LLMs such as Llama-3-70B and Qwen-72B can match or beat GPT-4o single-shot on long-context tasks by using a planner-worker-manager \"Divide & Conquer\" framework (ICLR 2026)."
url: "https://swe.quest/articles/plan-divide-and-conquer-how-weak-models-excel-at-long-context-tasks-a842fcc530f247ad"
canonical: "https://www.together.ai/blog/plan-divide-conquer"
source: "Together AI"
published: "2026-03-26"
difficulty: "medium"
kind: "Research"
reading_minutes: 4
tags: ["llms","evals"]
---

# Plan, divide, and conquer: How weak models excel at long context tasks

A post on [Together AI](https://swe.quest/sources/together.md), published 2026-03-26, 4 min read, Research. Original: [https://www.together.ai/blog/plan-divide-conquer](https://www.together.ai/blog/plan-divide-conquer)

## Summary

Weaker LLMs such as Llama-3-70B and Qwen-72B can match or beat GPT-4o single-shot on long-context tasks by using a planner-worker-manager "Divide & Conquer" framework (ICLR 2026). The framework separates three noise sources: model noise, which grows superlinearly with input length; task noise from cross-chunk dependence; and aggregator noise. Planner-rewritten prompts reduce aggregator noise, for example asking each worker for the two smallest numbers rather than the second smallest. The approach is cheaper and parallelizable, and testing about 5 random samples is enough to tune chunk size, but it breaks down on tasks with strong long-range dependencies, where single-shot reading still wins.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- LLM context windows ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- prompt engineering basics

## Keywords

GPT-4o, Llama-3-70B, Qwen-72B, ICLR 2026, MapReduce

## Related posts

- [Accelerate RL rollouts by up to 50% with distribution-aware speculative decoding](https://swe.quest/articles/accelerate-rl-rollouts-by-up-to-50-with-distribution-aware-speculative-decoding-1fa2a300c01f2135.md): Together AI · 2026-04-24 · Hard · 5 min read · Inference & serving, Model training, LLMs, Performance engineering, Data structures
  Distribution-aware speculative decoding (DAS) speeds up the rollout phase of LLM RL post-training, which can consume ~70% of training time due to long-tail straggler generations, while keeping outputs identical to standard decoding.
- [How Long Prompts Block Other Requests - Optimizing LLM Performance](https://swe.quest/articles/how-long-prompts-block-other-requests-optimizing-llm-performance-d2ca64ef1cd69733.md): Hugging Face · 2025-06-12 · Hard · 7 min read · Inference & serving, LLMs, Performance engineering, Scheduling
  Under vLLM's default chunked-prefill scheduling, a single long prompt blocks the prefill queue, and any prefill running alongside decodes slows token generation for requests already in progress.
- [Introducing HELMET: Holistically Evaluating Long-context Language Models](https://swe.quest/articles/introducing-helmet-holistically-evaluating-long-context-language-models-ceb9c80801153e04.md): Hugging Face · 2025-04-16 · Hard · 10 min read · Evaluation, LLMs
  HELMET is a long-context language model benchmark covering diverse real tasks (RAG, generation with citations, re-ranking, ICL, long QA, summarization, synthetic recall) with controllable input lengths from 8K to 128K tokens and model-based metrics that agree with human judgments better than ROUGE.
- [Building Long-Running Agents with ScaleDown and Deep Agents](https://swe.quest/articles/building-long-running-agents-with-scaledown-and-deep-agents-76e2d7318050ea78.md): LangChain · 2026-10-13 · Medium · 9 min read · AI agents, LLMs, Python
  The langchain-scaledown integration offloads context-management decisions in long-running agents (summarizing history, compressing tool results, extracting fields, classifying state) from frontier LLMs to ScaleDown's small, task-specific constrained decoding models, which ScaleDown reports are far faster and cheaper on these narrow tasks.
- [GLM-5.2: Built for Long-Horizon Tasks](https://swe.quest/articles/glm-5-2-built-for-long-horizon-tasks-22484eb2dd0aab06.md): Hugging Face · 2026-06-17 · Hard · 13 min read · LLMs, Inference & serving, Model training, AI for coding, Evaluation
  GLM-5.2 is Z.ai's MIT-licensed flagship model for long-horizon coding-agent work, with a 1M-token context and selectable thinking effort levels.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
