ConvexBench: Can LLMs Recognize Convex Functions?
Not on the map. Why?
Abstract (arXiv)
Convex analysis is a modern branch of mathematics with many applications. As Large Language Models (LLMs) start to automate research-level math and sciences, it is important for LLMs to demonstrate the ability to understand and reason with convexity. We introduce cb, a scalable and mechanically verifiable benchmark for testing textitwhether LLMs can identify the convexity of a symbolic objective under deep functional composition. Experiments on frontier LLMs reveal a sharp compositional reasoning gap: performance degrades rapidly with increasing depth, dropping from an F1-score of 1.0 at depth 2 to approximately 0.2 at depth 100. Inspection of models' reasoning traces indicates two failure modes: textitparsing failure and textitlazy reasoning. To address these limitations, we propose an agentic divide-and-conquer framework that (i) offloads parsing to an external tool to construct an abstract syntax tree (AST) and (ii) enforces recursive reasoning over each intermediate sub-expression with focused context. This framework reliably mitigates deep-composition failures, achieving substantial performance improvement at large depths (e.g., F1-Score = 1.0 at depth 100).
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 54 of its 62 references that are in the map. First posted on arXiv 1 Feb 2026.
Builds on
54 of 62 references.
References · 54
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2025Qwen3 Technical Reportcited by 8,195
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2021Convex optimizationcited by 2,479
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
38 more
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
- 2025OpenAI GPT-5 System Cardcited by 910
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2016CVXPY: A Python-Embedded Modeling Language for Convex Optimizationcited by 633
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 618
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
- 2023Effective Long-Context Scaling of Foundation Modelscited by 301
- 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 298
- 2024Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Modelscited by 277
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 135
- 2025A Comprehensive Survey on Long Context Language Modelingcited by 113
- 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
- 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solvingcited by 90
- 2025BFS-Prover: Scalable Best-First Tree Search for LLM-based Automatic Theorem Provingcited by 82
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 80
- 2025From AI for Science to Agentic Science: A Survey on Autonomous Scientific Discoverycited by 74
- 2025WideSearch: Benchmarking Agentic Broad Info-Seekingcited by 66
- 2025Mathematical exploration and discovery at scalecited by 66
- 2025The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMscited by 62
- 2024DafnyBench: A Benchmark for Formal Software Verificationcited by 54
- 2025AI4Research: A Survey of Artificial Intelligence for Scientific Researchcited by 54
- 2025OMEGA: Can LLMs Reason Outside the Box in Math? Evaluating Exploratory, Compositional, and Transformative Generalizationcited by 48
- 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansioncited by 47
- 2025Solving Inequality Proofs with Large Language Modelscited by 21
- 2025Frontier LLMs Still Struggle with Simple Reasoning Taskscited by 20
- 2025How Do Transformers Learn Variable Binding in Symbolic Programs?cited by 19
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks
- 2025Putnam-AXIOM: A Functional and Static Benchmark for Measuring Higher Level Mathematical Reasoning in LLMs
- 2025CRANE: Reasoning with constrained LLM generation
- 2025Thinking Machines: Mathematical Reasoning in the Age of LLMs
- 2025CryptoX : Compositional Reasoning Evaluation of Large Language Models
- 2026Beyond Surface Forms: Symbolic Edits as a Test for Logical Reasoning with LLMs
- 2026VERGE: Formal Refinement and Guidance Engine for Verifiable LLM Reasoning
- 2026The Missing Primitive: Diagnosing and Repairing Mathematical Reasoning in Large Language Models