Abstract
Commentary provides readers with a deep understanding of events by presenting diverse arguments and evidence. However, creating commentary is a time-consuming task, even for skilled commentators. Large language models (LLMs) have simplified the process of natural language generation, but their direct application in commentary creation still faces challenges due to unique task requirements. These requirements can be categorized into two levels: 1) fundamental requirements, which include creating well-structured and logically consistent narratives, and 2) advanced requirements, which involve generating quality arguments and providing convincing evidence. In this paper, we introduce Xinyu, an efficient LLM-based system designed to assist commentators in generating Chinese commentaries. To meet the fundamental requirements, we deconstruct the generation process into sequential steps, proposing targeted strategies and supervised fine-tuning (SFT) for each step. To address the advanced requirements, we present an argument ranking model for arguments and establish a comprehensive evidence database that includes up-to-date events and classic books, thereby strengthening the substantiation of the evidence with retrieval augmented generation (RAG) technology. Our experiments confirm the effectiveness of our proposed system. We also observe a significant increase in the efficiency of commentators in real-world scenarios, with the average time spent on creating a commentary dropping from 4 hours to 20 minutes. Importantly, such an increase in efficiency does not compromise the quality of the commentaries.
1. Introduction
Writing high-quality news commentary is a demanding task that requires more than just linguistic fluency. It necessitates a specific "total-division" structure, original and insightful arguments, and factual, convincing evidence. While Large Language Models (LLMs) have shown promise in general text generation, they often struggle with the rigid logical flow required for professional journalism and are prone to hallucinating facts or producing generic arguments.
Xinyu is designed to address these challenges by acting as a specialized AI assistant. By decomposing the complex creative process into manageable, fine-tuned steps, Xinyu enables human editors to produce professional-grade commentary with unprecedented efficiency.
2. System Architecture and Methodology
The core of Xinyu is a five-step pipeline that mimics the professional human editorial process. This decomposition ensures that the model maintains a consistent logical thread from the initial news hook to the final concluding remarks.
2.1 The Five-Step Pipeline
- Peg Generation: The system identifies the "peg"—the specific news event or hook that the commentary responds to.
- Main Argument Generation: Xinyu generates candidate arguments across ten distinct thematic directions (e.g., technology, finance, society).
- Supporting Argument Generation: The system develops a multi-faceted structure (parallel, progressive, or contrasting) to build a logical case for the main thesis.
- Evidence Generation: Utilizing Retrieval-Augmented Generation (RAG), the system pulls factual evidence from a curated database to ground the arguments.
- Article Combination: Finally, the system crafts a title and ending, weaving all components into a cohesive, professional narrative.
3. Technical Innovations
To achieve high-quality output, Xinyu incorporates several technical advancements beyond standard LLM prompting:
- Step-specific Supervised Fine-Tuning (SFT): The system utilizes a LLaMA2-13B model fine-tuned on a massive dataset of 400,000 samples specifically tailored to each of the five generation steps.
- Argument Ranking Model: To ensure originality and resonance, a BERT-based ranking model was trained using social signals (such as "likes" from platforms like Zhihu) as proxies for argument quality and novelty.
- Curated Evidence Database: Xinyu does not rely solely on internal model weights. It queries a dedicated repository containing 200,000 recent event summaries and 110,000 chunks from classic books in specialized fields like law and finance.
4. Evaluation and Results
Experimental results demonstrate that Xinyu significantly outperforms larger general-purpose models in the specific task of commentary generation. Xinyu achieved an overall quality score of 7.93 on a 10-point scale, surpassing Qwen-72B (7.37) and approaching the performance of GPT-4 (8.30).
One of the most impactful results is the dramatic increase in human productivity. In real-world testing, the time required for a human commentator to produce a finished article dropped from an average of 4 hours to just 20 minutes—a 12x speedup. Ablation studies further highlighted the importance of the specialized RAG database, which improved "Evidence Support" scores from 5.60 to 7.41.
5. Conclusion
Xinyu demonstrates that the key to automating complex, high-stakes writing tasks lies in process decomposition and specialized knowledge integration. By combining step-specific fine-tuning with a robust evidence retrieval system, Xinyu provides a powerful tool for modern journalism, maintaining high standards of logic and factual accuracy while drastically reducing production time.
Summary updated