# DecompRL: Solving Harder Problems by Learning Modular Code Generation
> Ficha editorial pública de Research IA. Estado: Lectura primaria completa. La interpretación editorial no sustituye la fuente primaria.

- Página canónica: https://luiseduardodemiguel.com/research-ia/papers/decomprl-solving-harder-problems-by-learning-modular-code-generation
- Fuente primaria: https://arxiv.org/html/2607.02390v1
- Versión leída: v1
- Fuente comprobada: 2026-08-19 · lectura primaria completa; extracción editorial automatizada, revisión humana pendiente
- Autores: Juliette Decugis, Fabian Gloeckle, Francis Bach, Taco Cohen, Gabriel Synnaeve
- Fecha del corte: 2 JULIO 2026.
- Área: CODING

## Tesis y contexto

Entrena modelos a descomponer código en subfunciones recombinables. Recombinar k implementaciones de n módulos genera hasta k^n soluciones candidatas, desplazando coste de GPU a evaluación CPU y reduciendo coste de tokens \~50x.

- Problema: Si la política base casi nunca genera la solución completa, ni sampling ni RL estándar bastan.
- Por qué importa: Propone una vía práctica para que modelos pequeños resuelvan problemas de programación más difíciles.

## Evidencia reportada

- **reported-result**: With the Llama 3.1 8B and Qwen 2.5 7B, we show training the decomposition policy increases success rates per decomposition and number of evaluations. [localizador](https://arxiv.org/html/2607.02390#S4)
- **reported-result**: Crucially, this remains true throughout reinforcement learning training as shown in Figure 7 where the solve rate continues to increase given a fixed evaluation budget of m=512 code samples. [localizador](https://arxiv.org/html/2607.02390#S4)
- **reported-result**: As we scale the inference budget per problem, models that create larger decompositions improve faster than those with smaller ones. [localizador](https://arxiv.org/html/2607.02390#S4)
- **reported-result**: Additional CPU execution resources could further increase the appeal of the method according to the scaling behavior in Figure 7 . [localizador](https://arxiv.org/html/2607.02390#S4)

## Lectura y límite

- Método: La lectura de 2 Method describe la intervención y su construcción: We first introduce hierarchical generation in the context of problem solving (Section 2.1 , 2.2 ) as described in Parsel ( Zelikman et al. 2023 ) and then show how we adapt this to train decomposition and implementation policies (Section 2.3 ). We consider the task of generating code in a modular fashion, where model users have tighter control over the generation process than in the standard setup of whole-code generation from an autoregressive language model. Standard whole-code generation models the joint distribution of a piece of code of multiple parts I_{1},\ldots,I_{n} by means of its autoregressive…
- Límite: La lectura primaria permite comprobar método y resultados en el HTML, pero no convierte sus conclusiones en validación independiente. La ficha no demuestra transferencia fuera de los datasets, modelos, herramientas y condiciones descritos en 4 Results.
- Confianza editorial: Media
- Limitación: El cierre de la fuente señala: During training, DecompRL scales the number of evaluations per problem to up to 512 in our experiments compared to the default 16 . This allows for more exploration during training (see Figure 11 ) but can also lead to: slower worker GPUs and introduce off-policyness in online RL. We see DecompRL as a policy distillation method for gathering new solutions on the training set not available with regular RL. If we have a good enough starting policy using…
- Limitación: La ficha no demuestra transferencia fuera de los datasets, modelos, herramientas y condiciones descritos en 4 Results.

## Localizadores de evidencia
- [Fuente primaria · canonical](https://arxiv.org/html/2607.02390v1): tipo abstract
- [HTML · lectura completa](https://arxiv.org/html/2607.02390): tipo abstract
- [Método · 2 Method](https://arxiv.org/html/2607.02390#S2): tipo section
- [Evaluación · 4 Results](https://arxiv.org/html/2607.02390#S4): tipo section
- [Cierre · 6 Limitations and Discussion](https://arxiv.org/html/2607.02390#S6): tipo section
- [HTML · fuente navegable](https://arxiv.org/abs/2607.02390v1): tipo abstract

## Próxima prueba

- ¿La propuesta mejora coding agents frente a la línea base actual?
- Métrica: Comparar la métrica principal de la fuente junto con calidad, coste, latencia y tasa de errores.
- Regla de parada: Parar si no aparece una mejora reproducible o si aumenta el riesgo, la complejidad o el coste sin compensación.

## Recursos reproducibles
- [the following issues](https://github.com/arXiv/html_feedback/issues)
- [list of packages that need conversion](https://github.com/brucemiller/LaTeXML/wiki/Porting-LaTeX-packages-for-LaTeXML)
- [developer contributions](https://github.com/brucemiller/LaTeXML/issues)

## Enlaces relacionados

- [CodeGrep](https://luiseduardodemiguel.com/research-ia/markdown/papers/codegrep)
- [RepoOMP](https://luiseduardodemiguel.com/research-ia/markdown/papers/repoomp)
- [The Devil Is in the Interface](https://luiseduardodemiguel.com/research-ia/markdown/papers/devil-interface)