{"id":"arxiv/2606.13634","url":"https://arxiv.org/abs/2606.13634","tags":["cs.CL","math.CT"],"score":0,"title":"Operads for compositional reasoning in LLMs","domain":"cs.CL","source":"arxiv","authors":["Nathaniel Bottman","Kyle Richardson"],"reviews":0,"subject":"cs.CL","summary":"Question decomposition, i.e. breaking a complex query into simpler sub-queries whose answers are composed to produce a final answer, is a widely used strategy for improving LLM reasoning, yet it currently lacks a rigorous mathematical foundation. In this paper, we propose operads, mathematical structures that model many-in, one-out operations and compositions thereof, as a natural framework for describing question decomposition. We define the questions operad $Q$, in which operations correspond to question templates and composition corresponds to substitution of sub-answers, and show how QA…","category":"research","comments":0,"disputed":false,"division":"cs","mentions":0,"discussed":0,"published":"2026-06-11","reactions":{}}