Share from 0:00
0:00
/

"Language Models can Self-Lengthen to Generate Long Texts"

The podcast on this paper is generated with Google's Illuminate.

LLMs teach themselves to write longer by splitting and expanding their own outputs

πŸ“š https://arxiv.org/abs/2410.23933

πŸ€– Original Problem:

LLMs excel at processing long inputs but struggle to generate high-quality text beyond 2,000 words. Current solutions rely on human-written texts or proprietary models like GPT-4, making them impractical and limited.

-----

πŸ”§ Solution in this Paper:

β†’ Introduces "Self-Lengthen" - a two-component framework with Generator and Extender models

β†’ Generator produces initial response, Extender expands it in two stages:

- Stage 1: Extends first half of content

- Stage 2: Uses extended first half as reference to complete second half

β†’ Uses iterative training cycles:

- Micro-iteration: Progressive expansion of text length

- Macro-iteration: Fine-tuning both models with expanded outputs

β†’ Requires only seed instructions and open-source instruction model

-----

πŸ’‘ Key Insights:

β†’ LLMs can self-improve long-text generation without external data

β†’ Two-stage extension bypasses model length constraints

β†’ Length-bias sampling accelerates output length increase

β†’ Random line removal during training enhances extension capabilities

-----

πŸ“Š Results:

β†’ Increased output length from 1,000 to 8,000 words while maintaining quality

β†’ Outperformed instruction backtranslation and behavior imitation methods

β†’ No negative impact on MMLU benchmark performance

β†’ Successfully integrated into Qwen 2.5 series models

Discussion about this video

User's avatar

Ready for more?