每天早上一封邮件,把昨天的 AI 梳理好订阅邮件

METAL LAB

Automated Summarization of Financial News Using Large Language Models and Retrieval-Augmented Generation: An Early Empirical Study (Fall 2023)

arXiv:2608.195262026-08-21

用AI总结股市新闻发现:简单的摘要方法反而比时髦的检索增强技术更靠谱

这项2023年秋季在乔治华盛顿大学完成的项目搭建了一套系统,从新闻、维基百科和股价数据中提取十家大公司的信息,再用大语言模型自动生成摘要。结果显示,开源模型Falcon-7B搭配简单的“分块汇总(Summarize Chains)”方法效果最好,而现在流行的检索增强生成(RAG)技术反而导致内容重复或凭空捏造事实。把股价数字提前转换成自然语言句子再交给GPT处理,则完全避免了计算错误。

他们做了什么

  1. 为苹果、谷歌、特斯拉等十家公司搭建数据管道,分别从News API、维基百科和雅虎财经获取新闻、公司背景和股价数据
  2. 针对大语言模型不擅长处理数字表格的问题,先用Python算好涨跌百分比,再转换成'特斯拉10月4日收盘价261.16美元,上涨5.93%'这样的自然语言句子输入模型
  3. 对比了两种新闻摘要方法(分块汇总Summarize Chains和检索增强生成RAG配合FAISS检索),在Falcon-7B、DistilBART、BART-Large三个开源模型上进行测试
  4. Falcon-7B搭配分块汇总方法准确完整地涵盖了谷歌相关的三条新闻事件,而RAG方法导致Falcon把同样内容重复了60多次,也导致BART-Large编造出不实信息
  5. 两种大语言模型摘要方法在ROUGE-1指标上都超过了仅取文章前三句的简单基准方法(Lead-3)
Table 1: Dataset statistics: news articles collected per company via News API (7-day rolling window, September–October 2023).
Company (Ticker)News ArticlesWikipedia Summary
Apple (AAPL)≈97Yes
Microsoft (MSFT)≈85Yes
Alphabet (GOOGL)≈112Yes
Amazon (AMZN)≈78Yes
Meta (META/FB)≈91Yes
Tesla (TSLA)≈103Yes
JPMorgan (JPM)≈64Yes
NVIDIA (NVDA)≈88Yes
Walmart (WMT)≈52Yes
Disney (DIS)≈67Yes
Total≈83710
Table 2: Language models evaluated in this study and their assigned tasks.
ModelTypeAccessTask
GPT (text-davinci-003)Proprietary (OpenAI)APIStock data
Falcon-7B-InstructOpen-source (TII)HuggingFace HubNews
DistilBART-CNN-12-6Open-source (sshleifer)HuggingFace HubNews
BART-Large-XSum-SAMSumOpen-source (AdamCodd)HuggingFace HubNews
Table 3: ROUGE scores for news summarization (Google/GOOGL, 3 source articles as reference). Higher is better. Note: DistilBART Chains scores highest on ROUGE-1/2 due to extractive copying; Falcon Chains scores best on factual accuracy and coverage of all three events.
ModelApproachROUGE-1ROUGE-2ROUGE-L
DistilBARTSummarize Chains0.40000.34560.2254
DistilBARTRAG0.25230.18130.1201
Falcon-7BSummarize Chains0.33610.18280.1708
Falcon-7BRAG0.22810.11180.1579
BART-LargeSummarize Chains0.26040.17860.2012
BART-LargeRAG0.25530.18350.1459
Lead-3 BaselineExtractive0.28120.19430.1654
Table 4: ROUGE scores for stock data summarization using GPT (text-davinci-003) across 6 companies. Reference = structured-to-text transformed input.
CompanyROUGE-1ROUGE-2ROUGE-L
AAPL0.43480.22060.2754
MSFT0.43060.19720.2639
GOOGL0.32690.09800.2885
TSLA0.29130.09900.1942
AMZN0.50980.36000.4902
META0.24350.05310.1565
Mean0.37280.17130.2781
Table 5: Qualitative evaluation. Coverage: events covered (out of 3). Accuracy: no hallucinated facts. Coherence: fluent and non-repetitive. ✓= passes criterion, × = fails.
ModelApproachCoverageAccuracyCoherenceKey Issue
Falcon-7BChains3/3Best overall
DistilBARTChains2/3Misses layoffs
DistilBARTRAG2/3Misses Russia fine
BART-LargeChains1/3×Truncated output
BART-LargeRAG2/3×Hallucinated entity
Falcon-7BRAG3/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.

作者 · Pranav Chandaliya

在 arXiv 阅读

最新论文

全部论文 →

METAL LAB 最新报道