# BloombergGPT: A Large Language Model for Finance

BloombergGPT: 금융 특화 대규모 언어 모델

Shijie Wu, Ozan Irsoy, Steven Lu, Vadim Dabravolski, Mark Dredze, Sebastian Gehrmann 외 3명 · arXiv · 2023년 3월 30일

- **연구 문제** 일반 목적 LLM은 금융 용어와 맥락이 특수한 분야에서 충분하지 않았고, 금융 특화 LLM은 아직 보고된 적이 없습니다.
- **연구 방법** BloombergGPT는 Bloomberg 금융 아카이브 FinPile과 공개 데이터를 섞어 50B 파라미터 디코더 모델을 학습합니다.
- **주요 결과** 금융 과제 다수에서 비교 모델보다 높은 성능을 냈고, 일반 벤치마크 BIG-bench Hard에서는 비슷한 크기 모델 중 가장 높은 평균 점수를 기록했습니다.

## 금융 도메인에 맞는 LLM이 필요한 이유

대규모 언어 모델은 일반 목적 데이터로 학습해 여러 과제에서 좋은 성능을 보였지만, 금융처럼 용어와 맥락이 특수한 도메인에서는 일반 모델만으로 충분하지 않다는 문제의식에서 출발합니다. 이 논문은 금융 과제에서 최고 수준의 성능을 내면서도 일반 벤치마크 성능을 잃지 않는 모델을 만드는 것을 목표로 합니다. 이를 위해 Bloomberg의 금융 아카이브와 공개 데이터를 함께 쓰는 혼합 학습 전략을 택했습니다. 이 문단은 연구 질문을 정하는 역할을 하며, 실험 결과의 해석 범위는 뒤 절에서 다룹니다.

## FinPile과 Unigram 토크나이저

학습 말뭉치는 Bloomberg 아카이브에서 만든 FinPile과 The Pile, C4, Wikipedia 같은 공개 데이터를 합쳐 구성했습니다. FinPile은 전체 학습 말뭉치의 약 절반을 차지하며, 중복 제거 후 토큰 기준으로 집계했습니다. 토크나이저는 기존 BPE 계열 대신 Unigram 모델을 사용했습니다. 이 방식은 토큰마다 확률을 보존하므로 추론 시 더 나은 토큰화를 선택할 수 있다는 근거를 들었습니다.

## 모델 크기와 구조 결정

모델 크기는 Chinchilla 스케일링 법칙을 바탕으로 정했습니다. 연산 예산의 0.75배를 가정하고, 데이터가 제한되어 있다는 점을 고려해 약 50B 파라미터 모델을 선택했습니다. 원문은 ALiBi 덕분에 학습 시 길이보다 긴 시퀀스에도 적용할 수 있다고 설명합니다. 모델은 디코더 전용 인과 언어 모델이며 BLOOM 계열 구조를 따릅니다.

## 분산 학습과 메모리 관리

모델은 64개의 p4d 인스턴스에 있는 512개의 40GB A100 GPU에서 학습했습니다. 학습 상태를 여러 GPU에 나누는 ZeRO 최적화 stage 3을 사용했고, 각 트랜스포머 계층에는 Activation Checkpointing을 적용해 중간 텐서를 재계산합니다. 이 조합으로 학습 메모리 부담을 줄이면서 평균 102 TFLOPs의 처리량을 얻었다고 보고합니다. 학습 상태를 나누는 방식과 재계산 기법은 서로 다른 메모리 절감 수단입니다.

## 평가 구성과 비교 모델

평가는 금융 과제와 일반 벤치마크로 나눠 수행했습니다. 비교 모델로는 GPT-NeoX, OPT 66B, BLOOM 176B를 직접 실행했고, GPT-3 결과는 가능한 경우 외부 보고값으로 따로 표시했습니다. 프롬프트는 모델마다 조정하지 않은 표준 방식으로 통일했습니다. 금융 과제의 대표 예로는 FPB를 5-shot 설정에서 가중 F1로 평가했습니다. 여러 모델 쌍의 과제별 승패 비율은 win rate로 요약했습니다.

## 금융 과제에서의 성능

금융 과제 평가에서 BloombergGPT는 다섯 개 공개 과제 중 네 개(ConvFinQA, FiQA SA, FPB, Headline)에서 가장 높은 성능을 보였습니다. 내부 감성 분석 과제에서도 여러 데이터셋에서 큰 차이로 앞섰습니다.

## BIG-bench Hard의 일반 벤치마크 결과

일반 목적 벤치마크인 BIG-bench Hard에서 BloombergGPT는 PaLM 540B와 BLOOM 176B보다 낮았지만, 비교한 비슷한 크기의 모델 중 가장 높은 평균 점수를 기록했습니다. 3-shot 표준 프롬프팅으로 평가했습니다. 이 결과는 금융에 특화된 학습이 일반 능력을 크게 희생하지 않았다는 근거로 제시됩니다. 지식, 독해, 언어 과제의 세부 결과는 원문에서 개별 표로 보고되며 여기서는 대표 비교만 다룹니다.

## 한계와 모델 비공개 결정

모델 가중치는 공개하지 않았습니다. 이는 FinPile의 학습 데이터가 가중치 추출 공격으로 노출될 수 있다는 우려 때문입니다. 저자들은 데이터 유출 위험이 있으므로 공개를 하지 않는 것이 더 조심스러운 선택이라고 봅니다. 또한 일반 벤치마크에서도 PaLM 540B와 GPT-3보다 낮은 결과가 있어 모든 영역에서 최고 성능이라고 볼 수 없습니다.

## 논문 정보

- **저자**: Shijie Wu, Ozan Irsoy, Steven Lu, Vadim Dabravolski, Mark Dredze, Sebastian Gehrmann, Prabhanjan Kambadur, David Rosenberg, Gideon Mann
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2023년 3월 30일
- **등록일**: 2026년 11월 12일
- **수정일**: 2023년 12월 21일
- **버전**: v3
- **arXiv**: 2303.17564
- **분류**: cs.LG · cs.AI · cs.CL · q-fin.GN
- **원문 이용 조건**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **제공 범위**: 논문 정보, 해설

[논문 원문 ↗](https://arxiv.org/abs/2303.17564v3) · [원문 PDF ↗](https://arxiv.org/pdf/2303.17564v3)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 원문 인용

Shijie Wu, Ozan Irsoy, Steven Lu, Vadim Dabravolski, Mark Dredze, Sebastian Gehrmann, Prabhanjan Kambadur, David Rosenberg, Gideon Mann (2023). BloombergGPT: A Large Language Model for Finance. arXiv:2303.17564v3. https://arxiv.org/abs/2303.17564v3

**BibTeX**

```
@misc{wu2023bloomberggpt,
  title = {{BloombergGPT: A Large Language Model for Finance}},
  author = {Shijie Wu and Ozan Irsoy and Steven Lu and Vadim Dabravolski and Mark Dredze and Sebastian Gehrmann and Prabhanjan Kambadur and David Rosenberg and Gideon Mann},
  year = {2023},
  eprint = {2303.17564},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.17564v3}
}
```

## 이 논문의 용어

- [Win Rate](https://refivu.com/terms/14de48f4526a-win-rate)
- [ALiBi](https://refivu.com/terms/39fd00702695-alibi)
- [bits per byte](https://refivu.com/terms/3092bcd2a2f1-bits-per-byte)
- [GPT-NeoX](https://refivu.com/terms/ff2d293fa69a-gpt-neox)
- [Activation Checkpointing](https://refivu.com/terms/b705d1e86646-activation-checkpointing)
- [Chinchilla scaling laws](https://refivu.com/terms/e4592bab75cb-chinchilla-scaling-laws)

## 다른 논문 해설

- [Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection](https://refivu.com/papers/8c7ef054-dbb9-4dbc-aa5f-7f764d2b0d6b-not-what-you-ve-signed-up-for-compromising.md)
- [Making Pre-trained Language Models Better Few-shot Learners](https://refivu.com/papers/58cbc07a-35f5-4401-ada0-4d09082241d1-making-pre-trained-language-models-better-few-shot.md)
- [Evaluating Object Hallucination in Large Vision-Language Models](https://refivu.com/papers/994f787c-7b50-4945-8065-0d6a2ea146e6-evaluating-object-hallucination-in-large-vision-language.md)
- [Hetis: Serving LLMs in Heterogeneous GPU Clusters with Fine-grained and Dynamic Parallelism](https://refivu.com/papers/9a8fc864-5aea-4764-acc1-099932b6fbd6-hetis-serving-llms-in-heterogeneous-gpu-clusters-with.md)
- [Instruction-Following Evaluation for Large Language Models](https://refivu.com/papers/87d7b3e4-5def-4a0c-ac6d-4f0204c38402-instruction-following-evaluation-for-large-language-models.md)
- [Large Language Models: A Survey](https://refivu.com/papers/d8a3f692-1bfe-4a26-b530-c20397434b3c-large-language-models-a-survey.md)
- [Exploiting Unintended Feature Leakage in Collaborative Learning](https://refivu.com/papers/422f8c4a-b03f-4b77-a90a-48be0d614527-exploiting-unintended-feature-leakage-in-collaborative.md)
- [Learning from Simulated and Unsupervised Images through Adversarial Training](https://refivu.com/papers/932cb1b6-f4a0-43ce-8dda-320fa18f82a5-learning-from-simulated-and-unsupervised-images-through.md)
- [Libra R-CNN: Towards Balanced Learning for Object Detection](https://refivu.com/papers/c37a17a8-6ca9-466b-8cf2-8b63070f36bc-libra-r-cnn-towards-balanced-learning-for-object.md)
- [Continual Learning Through Synaptic Intelligence](https://refivu.com/papers/443ed68e-4775-416a-b80f-35ef15c63f40-continual-learning-through-synaptic-intelligence.md)
- [BiSeNet V2: Bilateral Network with Guided Aggregation for Real-time Semantic Segmentation](https://refivu.com/papers/fe62be3d-2187-471e-93af-db527c65a4a6-bisenet-v2-bilateral-network-with-guided-aggregation-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/2dae70a1-3c88-432c-b934-14abfe8cc431-bloomberggpt-a-large-language-model-for-finance)
