Research Papers 论文研究 1d ago Updated 20h ago 更新于 20小时前 43

Reliable Financial Named Entity Recognition under Domain Shift 域偏移下可靠的金融命名实体识别

Financial NER models trained on one textual register (e.g., SEC filings) degrade significantly when deployed on out-of-domain text like social media, and standard F1 scores fail to indicate which predictions remain safe to automate Confidence rankings shift under distribution shift: whole-output probability is the strongest in-domain error detector but deteriorates out of domain, while entity-span probability and self-consistency prove more robust and better calibrated without post-hoc fitting S 金融NER模型在域偏移(SEC文件→新闻→社交媒体)下置信度排名会发生变化,整体输出概率域内最强但域外恶化 实体跨度概率和自一致性在域偏移下更稳健,自一致性无需后处理拟合即可更好校准 选择性预测在域内可将句子错误率从34.3%降至2%以下(保留最高置信度40%),但在极端社交媒体偏移下失效 评估了BERT标记器和LoRA微调的Qwen2.5-0.5B/1.5B模型,使用五种推理时置信度信号和bootstrap区间 提出分阶段部署策略:先在上游检测严重分布偏移,再应用预测级置信度门控

55
Hot 热度
72
Quality 质量
62
Impact 影响力

Analysis 深度分析

TL;DR

  • Financial NER models trained on one textual register (e.g., SEC filings) degrade significantly when deployed on out-of-domain text like social media, and standard F1 scores fail to indicate which predictions remain safe to automate
  • Confidence rankings shift under distribution shift: whole-output probability is the strongest in-domain error detector but deteriorates out of domain, while entity-span probability and self-consistency prove more robust and better calibrated without post-hoc fitting
  • Selective prediction via abstention reduces sentence error from 34.3% to below 2% on the highest-confidence 40% of in-domain inputs and remains useful on financial news, but recovers no meaningfully large clean subset under extreme social-media shift
  • The study evaluates BERT taggers and LoRA-tuned Qwen2.5-0.5B/1.5B models across a three-tier stress test (SEC filings → financial news → general social media) using five inference-time confidence signals, three training seeds, and bootstrap intervals
  • Results motivate a staged deployment strategy that detects severe distribution shift upstream before applying prediction-level confidence gating

Why It Matters

This research directly addresses a critical gap in production AI systems: standard accuracy metrics like F1 scores are insufficient for determining when predictions are safe to automate under domain shift, which is a common real-world scenario in financial NLP pipelines. The findings provide actionable guidance for practitioners building financial information extraction systems, showing that confidence estimation strategies must be carefully chosen based on the expected deployment domain and that upstream domain detection is essential before relying on selective prediction.

Technical Details

  • Models evaluated: BERT-based NER tagger and LoRA-tuned Qwen2.5-0.5B and Qwen2.5-1.5B language models, tested across three training seeds with bootstrap confidence intervals
  • Three-tier domain stress test: SEC filings (in-domain) → financial news (mild shift) → general-topic social media (extreme out-of-domain), creating a progressive distribution shift gradient
  • Five inference-time confidence signals: whole-output probability, entity-span probability, self-consistency, and two additional signals; self-consistency emerged as better calibrated without requiring post-hoc fitting
  • Selective prediction results: Abstention on highest-confidence 40% of in-domain inputs reduced sentence error from 34.3% to below 2%; performance on financial news remained useful but collapsed under extreme social-media shift with no recoverable clean subset
  • Key finding on confidence ranking instability: The relative effectiveness of confidence signals changes under distribution shift, with whole-output probability losing its in-domain advantage while entity-span probability and self-consistency maintain robustness

Industry Insight

  • Organizations deploying financial NER systems should implement upstream domain classification or drift detection as a gate before applying confidence-based selective prediction, since no single confidence signal remains reliable across all domains
  • Self-consistency-based confidence estimation is a strong candidate for production financial NLP pipelines due to its calibration properties and robustness to domain shift without requiring expensive post-hoc calibration procedures
  • The dramatic performance collapse on social media suggests that financial AI systems should explicitly define their operational domain scope and avoid overgeneralizing extraction capabilities to user-generated content without dedicated domain adaptation or separate model pipelines

TL;DR

  • 金融NER模型在域偏移(SEC文件→新闻→社交媒体)下置信度排名会发生变化,整体输出概率域内最强但域外恶化
  • 实体跨度概率和自一致性在域偏移下更稳健,自一致性无需后处理拟合即可更好校准
  • 选择性预测在域内可将句子错误率从34.3%降至2%以下(保留最高置信度40%),但在极端社交媒体偏移下失效
  • 评估了BERT标记器和LoRA微调的Qwen2.5-0.5B/1.5B模型,使用五种推理时置信度信号和bootstrap区间
  • 提出分阶段部署策略:先在上游检测严重分布偏移,再应用预测级置信度门控

为什么值得看

这篇论文揭示了金融AI系统在生产部署中面临的域偏移挑战,指出标准F1分数无法反映模型在不同文本类型下的实际可靠性。研究为金融NLP系统的置信度评估和选择性预测提供了实证框架,对金融信息提取系统的落地部署具有直接指导价值。

技术解析

  • 三级压力测试设计:从SEC文件(域内)→金融新闻→通用主题社交媒体(极端域外),系统评估模型在分布偏移下的表现
  • 模型与实验设置:评估BERT标记器和LoRA微调的Qwen2.5-0.5B/1.5B模型,使用三种训练种子和bootstrap区间确保统计可靠性
  • 五种置信度信号对比:整体输出概率、实体跨度概率、自一致性等多种推理时置信度指标,发现不同信号在域内/域外表现差异显著
  • 选择性预测效果:在域内输入上拒绝低置信度预测可大幅降低错误率,但在极端域外条件下无法恢复有用的干净子集
  • 校准特性:自一致性方法无需后处理拟合即可实现更好的置信度校准,适合生产环境部署

行业启示

  • 金融AI系统不能仅依赖训练集F1分数评估部署风险,需建立域偏移检测机制,在输入分布发生显著变化时触发预警
  • 选择性预测(abstention)策略在域内有效但域外失效,建议采用分层部署架构:上游先检测分布偏移,下游再应用置信度门控
  • 自一致性等无需后处理的置信度估计方法更适合生产环境,可降低部署复杂度的同时提升跨域可靠性

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Finance AI 金融AI Research 科学研究 Evaluation 评测 NER NER Deployment 部署