LoopWeaver: Weaving Feedback Loops into Hierarchical Generation under Constraints
Zhu, Yifan, Chen, Guanting, Wei, Bing, Luo, Haoran
–arXiv.org Artificial Intelligence
Large Language Models face a multi-objective optimization problem in constrained long-text generation, balancing global structure, local coherence, and constraint satisfaction. We propose LoopWeaver, a hierarchical workflow with two sequential offline preference-optimization stages. Constraint-aware planning produces structured plans, feasibility filtering removes invalid plans, and a shared deterministic reward constructs preference pairs for plan-level and generation-level DPO. At inference time, LoopWeaver remains feed-forward: it generates and revises a complete plan, filters the revised plan, and then generates segments conditioned on the current sub-plan and running narrative. We evaluate the method on four LongGenBench-style structured scenarios across multiple backbones. Results show improvements in both constraint accuracy and text quality across all four open-source backbones. Our software and data are publicly available at https://github.com/cgtaa-cmyk/LoopWeaver.
arXiv.org Artificial Intelligence
Nov-10-2026
- Country:
- Asia (0.93)
- North America
- United States (0.68)
- Canada (0.67)
- Europe > Austria
- Vienna (0.14)
- Genre:
- Research Report
- Experimental Study (1.00)
- New Finding (0.87)
- Research Report
- Industry:
- Leisure & Entertainment (0.68)
- Education (0.46)
- Technology: