# Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling

극단적 금융 숫자 레이블링을 위한 대형 언어 모델의 매개변수 효율적 지시 튜닝

Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly 외 2명 · arXiv · 2024년 5월 3일

- **연구 문제** 재무 보고서의 수치에 XBRL 태그를 붙이는 일은 수천 개 레이블을 다루는 극단적 분류 문제이며, 기존 방법은 레이블이 많아지면 성능이 떨어지고 태그 문서의 설명 정보를 충분히 활용하지 못합니다.
- **연구 방법** FLAN-T5를 과제 지시문으로 instruction tuning해 태그 문서를 생성하고, Sentence-T5-XXL 기반 Tag Matcher로 가장 유사한 실제 태그를 찾는 두 단계 구조입니다. 최종 모델은 FLAN-T5-Large에 LoRA(rank 2)를 적용해 학습합니다.
- **주요 결과** FNXL 데이터셋에서 FLAN-T5-Large with LoRA는 Macro-F1 66.23을 기록해 AttentionXML Pipeline의 47.54를 넘었으며, 학습에 없던 67개 태그에서도 Macro-F1 58.89를 보고했습니다.

## XBRL 태깅 문제와 기존 방식의 한계

재무 보고서의 수치에 XBRL 태그를 붙이는 일은 수천 개 레이블 가운데 하나를 고르는 극단적 분류 문제입니다. 기존 방법은 레이블 수가 많아질수록 성능이 떨어지며, FiNER는 상위 139개 태그에만 적용되는 NER 방식이고 AttentionXML은 극단적 분류 기준선으로 쓰입니다. 또한 이 방법들은 태그 문서(tag documentation)에 담긴 설명 정보를 충분히 활용하지 않으며, 판별 방식이므로 학습 중 보지 못한 태그를 예측하기 어렵습니다. 이 논문은 FNXL 데이터셋을 대상으로 이 문제를 생성형 instruction tuning으로 다룹니다.

![Figure 1: Demonstrating the challenges in the Extreme Financial Numeral Labelling (XFNL) task. Within a financial statement, there are scenarios where every nu…](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6/figures/figure-d3c4049a35569f8232ab133848851753.png?thumb=512)

**Figure 1** : Demonstrating the challenges in the Extreme Financial Numeral Labelling (XFNL) task. Within a financial statement, there are scenarios where every numeral is associated with a distinct XBRL tag, such as in Example 2 (6 distinct tags). Then, there are cases where a mixture of both relevant and irrelevant numerals (tagged ‘Others’) coexist in the same statement, often within a very limited context, such as in Examples 1 & 3.

[원문](https://arxiv.org/abs/2405.06671v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal · Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## FLAN-FinXC의 두 단계 구조

FLAN-FinXC는 두 단계로 작동합니다. 첫 단계에서는 FLAN-T5가 과제 지시문, 재무 문장, 대상 수치에 대한 질문을 입력받아 해당 수치의 태그 문서를 생성합니다. 관련 없는 수치는 'Other'로 생성하도록 정의되어 있습니다. 학습은 생성된 토큰과 정답 토큰 사이의 교차 엔트로피 손실을 줄이는 방식으로 이루어집니다. 두 번째 단계에서는 Tag Matcher가 Sentence-T5-XXL로 생성된 설명문과 모든 정답 태그 문서의 임베딩을 계산하고, 코사인 유사도가 가장 높은 문서를 선택해 최종 태그로 바꿉니다. 이 매칭 단계는 감독 학습 없이 수행됩니다. 태그 자체가 아니라 태그 문서를 생성 목표로 삼는 이유는 문서가 태그보다 더 세부적인 구분 정보를 담기 때문입니다.

![Figure 2: FLAN-FinXC Architecture. FLAN-T5 takes as input a task-specific instruction, the financial state- ment, and a question with a designated target numer…](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6/figures/figure-d63d68aee8e4838471c186850a74ba3c.png?thumb=512)

**Figure 2** : FLAN-FinXC Architecture. FLAN-T5 takes as input a task-specific instruction, the financial state- ment, and a question with a designated target numeral. FLAN-T5-generated tag documentation subsequently flows into the Tag Matcher that predicts the final tag for the given numeral.

[원문](https://arxiv.org/abs/2405.06671v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal · Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## LoRA 기반 파라미터 효율적 instruction tuning

전체 FLAN-T5-Large를 instruction tuning하는 대신, 저자들은 Prefix Tuning과 LoRA로 일부 파라미터만 학습하는 설정을 비교했습니다. LoRA 설정에서는 분해 행렬의 rank를 2로 두고, 학습률 5e-4로 10 에폭 동안 학습했습니다. 이 설정값은 검증 세트의 Macro-F1을 기준으로 선택되었습니다. 원문은 LoRA 학습 가능 파라미터 비율을 전체의 0.08%로 보고하며, 이는 LoRA 가중치가 추가로 학습된다는 뜻이며 백본 전체를 학습하지 않는다는 뜻으로 해석되지 않습니다. 원문에 명시되지 않은 별도 분류 head의 학습은 이 설명에 포함되지 않습니다.

![Table 7: Comparison of number of trainable parameters between the baselines and FLAN-T5-Large with LoRA](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6/figures/figure-5d18268f088312074ae14e3d7842cb82.png?thumb=512)

**Table 7** : Comparison of number of trainable parameters between the baselines and FLAN-T5-Large with LoRA

[원문](https://arxiv.org/abs/2405.06671v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal · Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## FNXL과 FiNER에서의 주요 비교

FNXL 데이터셋에서 FLAN-T5-Large with LoRA는 Macro-F1 66.23을 기록했습니다. 같은 표에서 PEFT를 쓰지 않은 instruction tuning 모델은 65.77, Prefix Tuning 모델은 64.65, AttentionXML Pipeline은 47.54입니다. 저자들은 이 결과를 AttentionXML 대비 39.3% Macro-F1 이득과 17.2% Hits@1 이득으로 보고합니다. FiNER에서도 같은 모델의 Macro-F1 이득 15.22%와 Hits@1 이득 3.3%가 보고되지만, 이는 상위 139개 태그로 제한된 FiNER 데이터셋의 결과입니다. 이 비교는 FNXL과 FiNER라는 두 데이터셋의 설정에 한정됩니다.

![Table 2: Performance evaluation based on Macro & Hits@1 metrics for FNXL dataset and FINER dataset. The best performance is highlighted in bold, and the strong…](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6/figures/figure-d2d3f99e9a291fca462766a5ee3381c2.png?thumb=512)

**Table 2** : Performance evaluation based on Macro & Hits@1 metrics for FNXL dataset and FINER dataset. The best performance is highlighted in bold, and the strongest baseline result is underlined.

[원문](https://arxiv.org/abs/2405.06671v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal · Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 학습에 없던 태그에 대한 제로샷 평가

테스트 세트에는 학습과 검증 세트에 없던 67개 XBRL 태그가 포함되어 있습니다. 이 67개 미학습 태그에 대해 FLAN-T5-Large with LoRA는 Macro-F1 58.89를 기록했습니다. 생성형 방식은 태그 문서를 생성할 수 있으므로 판별형 분류기와 달리 새 태그에 대응할 수 있다고 저자들은 설명합니다. 이 결과는 학습에 없던 67개 태그에 대한 제로샷 측정이며, 모든 학습 외 태그나 다른 데이터셋으로 일반화된다는 의미는 아닙니다.

![Table 3: Zero-Shot Performance of FLAN-T5-Large with LoRA, for a few XBRL tags absent in the training set of FNXL dataset](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6/figures/figure-de91ecfd42d098a117d60f6374ab3878.png?thumb=512)

**Table 3** : Zero-Shot Performance of FLAN-T5-Large with LoRA, for a few XBRL tags absent in the training set of FNXL dataset.

[원문](https://arxiv.org/abs/2405.06671v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal · Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 지시문과 태그 메타데이터의 기여

절제 실험은 FLAN-T5-Large with LoRA에서 특정 요소를 제거했을 때 결과가 어떻게 달라지는지 봅니다. 과제 지시문(instruction prompt)을 제거하면 Macro-F1이 66.23에서 56.46으로 낮아집니다. 이 결과는 지시문을 유지하는 것이 성능에 도움이 된다는 관찰이며, 지시문 제거 외의 다른 변수는 바뀌지 않았습니다. 태그 메타데이터를 쓰지 않고 태그 자체를 목표로 삼은 변형은 Macro-F1 53.12, Hits@1 73.14로 나타납니다. Sentence-BERT 대신 Sentence-T5-XXL을 쓰는 비교는 Tag Matcher 인코더의 선택 효과를 보여 줍니다.

![Table 4: Results for our ablation studies of FNXL dataset](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6/figures/figure-7023d56b47f863c1310bbd0c52106d9c.png?thumb=512)

**Table 4** : Results for our ablation studies of FNXL dataset

[원문](https://arxiv.org/abs/2405.06671v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal · Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 범위와 남은 한계

이 연구는 외부 재무 지식을 통합하지 않았으며, 수치 라벨링을 문장 수준 텍스트만으로 수행했습니다. 저자들은 주변 문단이나 표 같은 문맥을 사용하지 않은 점이 어려움의 원인이 될 수 있다고 밝힙니다. 또한 오류 분석에서 'from/to other party'나 'dividends paid/declared'처럼 작은 어휘 차이가 잘못된 최종 태그를 만들었습니다. 이 평가는 FNXL과 FiNER 데이터셋, 그리고 원문이 보고한 모델 설정에 대한 것입니다.

![Table 6: Examples to show that subtle differences be- tween ground truth tag (GT) and the predicted tag. The few-word differences between Ground Truth (green)…](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6/figures/figure-f51db151f21001be5cf13372399e736d.png?thumb=512)

**Table 6** : Examples to show that subtle differences be- tween ground truth tag (GT) and the predicted tag. The few-word differences between Ground Truth (green) and predicted text (red) are highlighted. More such ex- amples are in the Appendix A.3

[원문](https://arxiv.org/abs/2405.06671v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal · Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 11: Error cases. Examples to show the subtle difference between ground truth (shown in green color) and generated tag docs (shown in red color) and predi…](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6/figures/figure-5abd0f2f9abc6adbe523a6e6b7703170.png?thumb=512)

**Table 11** : Error cases. Examples to show the subtle difference between ground truth (shown in green color) and generated tag docs (shown in red color) and predicted tag.

[원문](https://arxiv.org/abs/2405.06671v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal · Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 5월 3일
- **등록일**: 2026년 11월 5일
- **수정일**: 2024년 5월 15일
- **버전**: v2
- **arXiv**: 2405.06671
- **분류**: cs.CL · cs.CE · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

We study the problem of automatically annotating relevant numerals (GAAP metrics) occurring in the financial documents with their corresponding XBRL tags. Different from prior works, we investigate the feasibility of solving this extreme classification problem using a generative paradigm through instruction tuning of Large Language Models (LLMs). To this end, we leverage metric metadata information to frame our target outputs while proposing a parameter efficient solution for the task using LoRA. We perform experiments on two recently released financial numeric labeling datasets. Our proposed model, FLAN-FinXC, achieves new state-of-the-art performances on both the datasets, outperforming several strong baselines. We explain the better scores of our proposed model by demonstrating its capability for zero-shot as well as the least frequently occurring tags. Also, even when we fail to predict the XBRL tags correctly, our generated output has substantial overlap with the ground-truth in majority of the cases.

## 원문 인용

Subhendu Khatuya, Rajdeep Mukherjee, Akash Ghosh, Manjunath Hegde, Koustuv Dasgupta, Niloy Ganguly, Saptarshi Ghosh, Pawan Goyal (2024). Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling. arXiv:2405.06671v2. https://arxiv.org/abs/2405.06671v2

**BibTeX**

```
@misc{khatuya2024parameter,
  title = {{Parameter-Efficient Instruction Tuning of Large Language Models For Extreme Financial Numeral Labelling}},
  author = {Subhendu Khatuya and Rajdeep Mukherjee and Akash Ghosh and Manjunath Hegde and Koustuv Dasgupta and Niloy Ganguly and Saptarshi Ghosh and Pawan Goyal},
  year = {2024},
  eprint = {2405.06671},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.06671v2}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [Macro-F1](https://refivu.com/terms/bac7d2670b4d-macro-f1)

## 다른 논문 해설

- [Neuron-Aware Data Selection In Instruction Tuning For Large Language Models](https://refivu.com/papers/1804c30c-140b-474c-87dc-21d33fff29fd-neuron-aware-data-selection-in-instruction-tuning-for.md)
- [Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224-vikhr-the-family-of-open-source-instruction-tuned.md)
- [Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c-lost-in-the-flow-with-code-talkers-unveiling.md)
- [Language Models Can Benefit from Domain-Specific Inductive Biases](https://refivu.com/papers/ecf0e8f5-8763-4d53-8896-37d657f3527c-language-models-can-benefit-from-domain-specific-inductive.md)
- [Evaluating LLMs as Judges of Counterspeech Quality Against Online Hate Speech](https://refivu.com/papers/d2d1f40b-1fe4-4cae-8794-5a84f3a546b6-evaluating-llms-as-judges-of-counterspeech-quality-against.md)
- [Are LLM Assistants Regulatory Ready? Answers from regenold's 2026 EU AI Act Q&A Challenge](https://refivu.com/papers/9b6889ca-15e2-465e-a64c-a042438c119c-are-llm-assistants-regulatory-ready-answers-from-regenold.md)
- [Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation](https://refivu.com/papers/bed362a2-5462-4d3e-b4f6-dbaa75490982-explaining-sequence-level-knowledge-distillation-as-data.md)
- [On the generalization capabilities of FSL methods through domain adaptation: a case study in endoscopic kidney stone image classification](https://refivu.com/papers/d0852ca3-f9f1-4ed4-b12e-f39db82c6c87-on-the-generalization-capabilities-of-fsl-methods-through.md)
- [Restoring Negative Information in Few-Shot Object Detection](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731-restoring-negative-information-in-few-shot-object-detection.md)
- [Edge-Cloud Collaborated Object Detection via Difficult-Case Discriminator](https://refivu.com/papers/6c563382-b07f-4499-b0d2-cae4199ee500-edge-cloud-collaborated-object-detection-via-difficult-case.md)
- [Honest Small Decision Models for Finance: Scale, Specialization Collapse, and Mixed-Corpus Remediation](https://refivu.com/papers/7a9a2694-dbb6-41dd-a5c8-2f7bfc5a8bbf-honest-small-decision-models-for-finance-scale.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/fe79f5fe-6112-4cdb-8ffe-b049c3d860a6-parameter-efficient-instruction-tuning-of-large-language)
