Automated Summarization of Financial News Using Large Language Models and Retrieval-Augmented Generation: An Early Empirical Study (Fall 2023)
用AI总结股市新闻发现:简单的摘要方法反而比时髦的检索增强技术更靠谱
这项2023年秋季在乔治华盛顿大学完成的项目搭建了一套系统,从新闻、维基百科和股价数据中提取十家大公司的信息,再用大语言模型自动生成摘要。结果显示,开源模型Falcon-7B搭配简单的“分块汇总(Summarize Chains)”方法效果最好,而现在流行的检索增强生成(RAG)技术反而导致内容重复或凭空捏造事实。把股价数字提前转换成自然语言句子再交给GPT处理,则完全避免了计算错误。
他们做了什么
- 为苹果、谷歌、特斯拉等十家公司搭建数据管道,分别从News API、维基百科和雅虎财经获取新闻、公司背景和股价数据
- 针对大语言模型不擅长处理数字表格的问题,先用Python算好涨跌百分比,再转换成'特斯拉10月4日收盘价261.16美元,上涨5.93%'这样的自然语言句子输入模型
- 对比了两种新闻摘要方法(分块汇总Summarize Chains和检索增强生成RAG配合FAISS检索),在Falcon-7B、DistilBART、BART-Large三个开源模型上进行测试
- Falcon-7B搭配分块汇总方法准确完整地涵盖了谷歌相关的三条新闻事件,而RAG方法导致Falcon把同样内容重复了60多次,也导致BART-Large编造出不实信息
- 两种大语言模型摘要方法在ROUGE-1指标上都超过了仅取文章前三句的简单基准方法(Lead-3)
| Company (Ticker) | News Articles | Wikipedia Summary |
|---|---|---|
| Apple (AAPL) | ≈97 | Yes |
| Microsoft (MSFT) | ≈85 | Yes |
| Alphabet (GOOGL) | ≈112 | Yes |
| Amazon (AMZN) | ≈78 | Yes |
| Meta (META/FB) | ≈91 | Yes |
| Tesla (TSLA) | ≈103 | Yes |
| JPMorgan (JPM) | ≈64 | Yes |
| NVIDIA (NVDA) | ≈88 | Yes |
| Walmart (WMT) | ≈52 | Yes |
| Disney (DIS) | ≈67 | Yes |
| Total | ≈837 | 10 |
| Model | Type | Access | Task |
|---|---|---|---|
| GPT (text-davinci-003) | Proprietary (OpenAI) | API | Stock data |
| Falcon-7B-Instruct | Open-source (TII) | HuggingFace Hub | News |
| DistilBART-CNN-12-6 | Open-source (sshleifer) | HuggingFace Hub | News |
| BART-Large-XSum-SAMSum | Open-source (AdamCodd) | HuggingFace Hub | News |
| Model | Approach | ROUGE-1 | ROUGE-2 | ROUGE-L |
|---|---|---|---|---|
| DistilBART | Summarize Chains | 0.4000 | 0.3456 | 0.2254 |
| DistilBART | RAG | 0.2523 | 0.1813 | 0.1201 |
| Falcon-7B | Summarize Chains | 0.3361 | 0.1828 | 0.1708 |
| Falcon-7B | RAG | 0.2281 | 0.1118 | 0.1579 |
| BART-Large | Summarize Chains | 0.2604 | 0.1786 | 0.2012 |
| BART-Large | RAG | 0.2553 | 0.1835 | 0.1459 |
| Lead-3 Baseline | Extractive | 0.2812 | 0.1943 | 0.1654 |
| Company | ROUGE-1 | ROUGE-2 | ROUGE-L |
|---|---|---|---|
| AAPL | 0.4348 | 0.2206 | 0.2754 |
| MSFT | 0.4306 | 0.1972 | 0.2639 |
| GOOGL | 0.3269 | 0.0980 | 0.2885 |
| TSLA | 0.2913 | 0.0990 | 0.1942 |
| AMZN | 0.5098 | 0.3600 | 0.4902 |
| META | 0.2435 | 0.0531 | 0.1565 |
| Mean | 0.3728 | 0.1713 | 0.2781 |
| Model | Approach | Coverage | Accuracy | Coherence | Key Issue |
|---|---|---|---|---|---|
| Falcon-7B | Chains | 3/3 | ✓ | ✓ | Best overall |
| DistilBART | Chains | 2/3 | ✓ | ✓ | Misses layoffs |
| DistilBART | RAG | 2/3 | ✓ | ✓ | Misses Russia fine |
| BART-Large | Chains | 1/3 | ✓ | × | Truncated output |
| BART-Large | RAG | 2/3 | × | ✓ | Hallucinated entity |
| Falcon-7B | RAG | 3/3 | ✓ | × | 60× repetition |
为什么重要
这项研究表明检索增强生成并非万能药,反而可能让较小的模型在检索内容混乱时更容易编造事实,这对金融等对准确性要求极高的领域尤为重要。它给实际应用一个提醒:选择方法时,契合场景的简单方案有时比追逐最新技术更可靠。
本文术语
- 大语言模型(LLM) · 通过海量文本训练、能够生成类似人类文字的AI模型
- 检索增强生成(RAG) · 先检索相关资料,再让AI参考这些资料生成答案的方法
- 分块汇总(Summarize Chains) · 先把长文档切块分别摘要,再把这些摘要合并成最终摘要的方法
- 幻觉(hallucination) · AI生成看似合理但实际不真实的信息
- ROUGE分数 · 衡量生成摘要与参考文本之间词语重合程度的自动评估指标
- FAISS · Meta开发的相似度搜索工具库,用于快速找到语义相近的文本片段
论文原文摘要(英文)
Stock market analysts and investors face a daily challenge: too much financial news, too little time. Manually reading and synthesizing hundreds of company-specific articles is impractical, yet missing key information can directly affect investment decisions. This project, conducted at George Washington University in Fall 2023, explores whether Large Language Models can automate this process reliably. We built a pipeline that pulls news articles from the News API, company background from Wikipedia, and stock price data from Yahoo Finance for ten major companies (AAPL, MSFT, GOOGL, AMZN, META, TSLA, JPM, NVDA, WMT, DIS). Because LLMs cannot directly process numerical tables, we developed a simple but effective template that converts stock data into natural language narratives. We then tested two summarization approaches (Summarize Chains and Retrieval-Augmented Generation with FAISS) across three open-source models (Falcon-7B-Instruct, DistilBART-CNN-12-6, BART-Large-XSum) for news, and GPT (text-davinci-003) for stock summaries. Falcon-7B with Summarize Chains gave the best results, covering all news events accurately and coherently. RAG, while promising in theory, caused severe repetition in Falcon and hallucinated facts in BART-Large when k was large. Both LLM-based approaches outperformed a simple Lead-3 baseline on ROUGE-1. We also built a Streamlit dashboard for interactive stock visualization. The work was done in Fall 2023, before RAG-based financial tools became widespread, and the failure modes we document, particularly hallucination under RAG in smaller models, remain relevant today.
在 arXiv 阅读最新论文
- LoRA-GA$^2$: Low Rank Adaptation with Multi-step Gradient Adaptive Alignment在正式微调前先偷看几步训练的梯度,让LoRA的初始化更聪明
- Remember, Verify, or Ask? Cross-Family Evaluation of Memory Commitment in LLM AgentsAI助手在该向你提问的时候,却更愿意自己去核实事实
- Robust Incomplete Multimodal Sentiment Analysis via Iterative Proxy Correction文本信息缺失或损坏时,这个AI不靠一次性猜测,而是反复修正猜测结果,从而更准确地判断情绪
- Generating Diverse Personas for User Simulators to Test Interview Dialogue Systems要测试访谈式对话系统需要大量不同性格的虚拟用户,这项研究用大语言模型自动生成这些虚拟用户人设
- Rethinking Patch Based Multivariate Time Series Forecasting with Semantic Structured Partitioning别再机械切分时间序列,按语义把它切成有意义的块
- Reliable Financial Named Entity Recognition under Domain ShiftAI在正式文件里学到的自信,一到推特上就变得不可信
- Bringing analytic rigor to agentic AI for science: The Brain Researcher platform for neuroimaging data analysis让AI分析脑影像数据时,把“为什么这个结论可信”也一并记录下来
- GenMatch: An End-to-End Generative Matching Framework for Micro-View Order-Dispatching in Ride-Hailing滴滴把打车派单从预测-计算-匹配三段式流程改成一次生成完成,线上效果提升明显