Manuscript Offprint
arXiv:2610.37913Grounding Long Financial Text with Semantically-Enriched Tables via Multimodal Learning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We propose a multimodal transformer framework for efficiently modeling long financial documents that combine structured tabular data with noisy, unstructured textual disclosures. The framework represents financial tables as semantically enriched token sequences and integrates them with long-form text through a cross-attention mechanism that explicitly captures cross-modal dependencies. In particular, we augment each numerical variable with a semantic embedding derived from its textual definition, enabling the model to encode both numerical magnitude and economic meaning. This design yields a more expressive and parameter-efficient representation of tabular data compared to value-only embeddings. Using a large-scale dataset of financial statements and MD&A disclosures, we show that structured numerical features remain the dominant source of predictive signal; however, textual information provides consistent incremental gains when incorporated via cross-attention rather than simple concatenation. Our results further demonstrate that noisy textual disclosures are most useful when conditioned on a stable, semantically structured tabular representation. In particular, using frozen variable-level tabular representations as cross-attention queries enables the model to weight MD&A chunks differently for each financial variable and observation. These findings suggest that cross-attention provides an efficient mechanism for table-conditioned aggregation of long-form narrative evidence.
1 Introduction
The rapid advancement of Large Language Models (LLMs) has sparked significant interest in their cross-domain applications. Recent research has explored LLMs within the financial sector for tasks such as sentiment analysis [20], question answering [25], and algorithmic trading [23]. Despite these strides, many existing studies are oversimplified, relying on truncated contexts that fail to reflect real-world investment scenarios. Specifically, current financial prediction models often focus on fine-tuning generative architectures (e.g., GPT) on short-form unstructured data, such as tweets [24, 21, 22]. In contrast, professional investors typically analyze comprehensive documents like 10-K filings, which integrate structured numerical tables with extensive narrative disclosures. While some efforts have been made to leverage LLMs for stock performance forecasting, these approaches predominantly utilize generative models that ingest tabular and textual data as raw context. Such methods not only struggle with the complexity of multimodal integration but are also prone to look-ahead bias [14], undermining their practical utility. To address these limitations, we propose a novel multimodal transformer framework to efficiently represent financial documents.
Traditionally, financial prediction task has relied heavily on structured data—the "hard" numbers found in balance sheets, income statements, and cash flow reports. However, the modern financial landscape is increasingly defined by "soft" information: the narrative disclosures, strategic commentaries, and qualitative nuances embedded in unstructured text. Despite the availability of both
Submitted to the Third Workshop on Long-Context Foundation Models at NeurIPS (NeurIPS 2026). Do not distribute.
modalities, effectively integrating them into a unified, high-fidelity representation remains a significant challenge for existing machine learning architectures. Current research in financial forecasting often faces a "modality gap." Traditional econometrics and tree-based ensembles, such as XGBoost and LightGBM, excel at processing structured tabular data but are inherently incapable of ingesting narrative context. Conversely, the rise of Large Language Models (LLMs) and transformer-based encoders like BERT has revolutionized textual analysis, yet these models often struggle to maintain the rigid precision required for numerical tabular data. When these two worlds meet, the standard approach is often simple feature concatenation, which fails to account for the complex, non-linear interactions between a company's reported figures and its qualitative disclosures. Furthermore, financial documents like the Management's Discussion and Analysis (MD&A) sections of 10-K filings—are characterized by a low signal-to-noise ratio. Disclosures are often lengthy, repetitive, and subject to "boilerplate" language that can obscure economically relevant information. Our findings suggest that unstructured financial text is most predictive not in isolation, but when it is grounded in the context of structured financial tables. Without a numerical anchor, the narrative is often too noisy to provide a stable signal for earnings prediction.
Specifically, our architecture comprises two primary components: a semantically-enriched tabular encoder and a hierarchical textual segment encoder. The tabular module innovates by projecting each financial variable into a high-dimensional space that fuses numerical magnitude with a semantic embedding of the variable's definition. A subsequent transformer layer learns the dependencies between variables across all tables within a document, creating a cohesive, context-aware representation of the firm's financial state. For the textual modality, we employ a hierarchical approach: long-form narrative disclosures, such as the Management's Discussion and Analysis (MD&A), are partitioned into fixed-length segments, encoded via ModernBERT, and pooled into segment-level representations. These two streams are integrated via a phased cross-attention mechanism, where the tabular embeddings serve as the query (Q) to selectively filter and aggregate informative signals from the textual keys and values (K, V). To evaluate this framework, we utilize a large-scale dataset of corporate 10-K filings, encompassing both structured financial statement variables and unstructured narrative text (MD&A). The experimental results indicate that our framework outperform existing tabular multimodal deep learning architecture as well as tree-based models. The ablation study suggest only when the tabular encoder is trained first and frozen in cross-attention layer can unstructured texts contribute to final document representation. This architectural design allows the model to ground noisy, long-form text in the structural stability of financial tables, providing a more robust and expressive representation for downstream tasks like earnings prediction. We summarize the contributions of our paper as follows:
- Semantically-Enriched Tabular Representation: We introduce an efficient tabular encoding strategy that maps financial variables into a unified document-level vector by fusing numerical magnitudes with their semantic definitions.
- Grounding-Based Multimodal Framework: We propose a novel framework that integrates structured tables and long-form unstructured text, utilizing a cross-attention mechanism to capture complex inter-modal dependencies for long financial documents.
- Comprehensive Financial Benchmark: We contribute a multimodal dataset comprising structured tables and extensive narrative disclosures, designed to simulate high-fidelity, real-world financial decision-making scenarios.
2.1 The Applications of LLMs in Finance Domain
Textual data represents a cornerstone of unstructured information in the financial domain, prompting a robust body of literature dedicated to leveraging Large Language Models (LLMs) for financial analysis. While tasks like sentiment analysis—detecting positive, negative, or neutral tones to inform investment decisions—are well-established, existing benchmarks such as FinQA [7] and FinancialPhraseBank [16] face significant constraints. Current datasets are primarily characterized by short-context snippets, often constructed by concatenating isolated news headlines or tweets. Such formats fail to replicate the long-context environment of professional investing, where decisions are derived from extensive documentation rather than disjointed sentences. Furthermore, existing financial task benchmarks [15] are frequently restricted to a handful of high-profile technology firms
(e.g., Apple, Google), which precludes a comprehensive evaluation of LLM performance across diverse market sectors. Lastly, the majority of contemporary financial prediction frameworks [21, 22] utilize generative architectures (e.g., GPT) via in-context learning. By prepending a mixture of numerical and textual data into a single prompt for prediction, these models may inadvertently introduce look-ahead bias [14], as temporal boundaries are often blurred within the context window.
2.2 Tabular Transformer-Based Models
Recent advances in representation learning for structured data have led to the development of transformer-based models tailored to tabular domains. Among these, the TabTransformer [10] extends the transformer architecture to tabular data by applying self-attention over feature embeddings, enabling the model to capture complex inter-feature dependencies. This approach contrasts with traditional machine learning methods such as gradient boosting and linear models, which often rely on handcrafted features or assume limited interaction structures. Subsequent studies [1] have demonstrated that transformer-based tabular models can achieve competitive or superior performance, particularly in settings with heterogeneous feature types and rich semantic representation for numerical variables. Variants such as FT-Transformer [8] further refine this framework by incorporating both numerical and categorical features into a unified attention-based architecture. In the context of financial prediction tasks, where interactions among accounting variables are often nonlinear and context-dependent, these models offer a principled way to learn feature representations directly from data. Overall, the emerging literature suggests that attention-based architectures provide a flexible and powerful alternative to conventional approaches for modeling tabular data.
2.3 Multimodal Cross-Attention Mechanism
A growing body of literature has explored multimodal transformer architectures as a principled framework for integrating heterogeneous data sources, particularly through the use of cross-attention mechanisms [4, 19]. Prior work in vision-language tasks [13], such as visual question answering and image captioning, demonstrates that cross-attention layers can effectively learn fine-grained correspondences between modalities, significantly improving downstream performance. More recent studies extend these ideas to structured data settings, showing that cross-modal attention can uncover interactions between numerical and unstructured inputs, such as clinical records paired with physician notes or financial variables paired with narrative disclosures. Furthermore, hierarchical and multi-head cross-attention mechanisms enable the model to capture interactions at different levels of abstraction, while preserving modality-specific representations. Collectively, this literature highlights that the key advantage of multimodal transformers lies not merely in combining multiple data sources, but in explicitly modeling their interactions through attention-based alignment, offering a flexible and scalable framework for complex prediction tasks involving heterogeneous information. However, prior literature's multi-modal setting is limited in short contexts (short sentiment + numbers), in contrast, we focus on multimodal long-context document (long tables + long narrative texts) which is more common in finance.
3 Model Design
3.1 Encoding Structured Financial Tables
Unlike prior literature that often treat numeric features as themselves, we propose a new model architecture to encode tabular financial data by integrating natural language semantics with numerical values. The model processes each table as a sequence of row-level embeddings, where each row is defined by a text-based feature name and a corresponding scalar value . For each row, the semantic context of the feature name is captured using a light pre-trained sentence transformer encoder (all-MiniLM-L6-v2), which produces a fixed-length vector . This vector is subsequently refined through a linear projection and layer normalization to match the model's internal dimension :
Simultaneously, the scalar value is mapped into a high-dimensional space with the same dimension as via a linear Encoder. This module utilizes a multi-layer perceptron (MLP) with GELU and Tanh activations to capture the magnitude and scale of the financial metric:
The final "cell embedding" for a given row is then generated by the element-wise addition of the text and numerical representations, followed by a final normalization step to ensure stable gradients during training:
To capture the inter-dependencies between various financial line items (e.g., the relationship between Revenue and Cost of Goods Sold), the table is represented as a sequence , where is a learnable table summarization token prepended to the sequence. This sequence is processed through a L-layer Transformer Encoder. Each layer performs multi-head self-attention (MHSA) and point-wise feed-forward (FFN) operations:
The global context of the table is aggregated in the final state of the [CLS] token, . This vector can represent the whole table and serve as the input to our downstream task — earnings direction prediction. We can either concat with other features or directly add a linear classification head to produce the final prediction :
3.2 Encoding Unstructured Financial Texts
Textual representation learning has undergone substantial evolution, progressing from simple frequency-based methods to context-aware transformer architectures. Early approaches to encoding textual information primarily rely on word occurrence statistics and treat words as independent units. While these methods offer computational simplicity and interpretability, they are inherently limited in their ability to capture semantic meaning, contextual dependencies, and higher-order linguistic structures. The introduction of transformer-based language models, such as BERT, represents a significant advancement by enabling context-sensitive encoding through self-attention mechanisms. To encode long-form financial narratives without document-level truncation, we adopt a hierarchical text-encoding strategy. Specifically, each MD&A document is segmented into a sequence of non-overlapping chunks , where denotes the number of chunks produced for document . Each chunk contains at most 2,048 tokens. We preserve paragraph boundaries whenever a complete paragraph fits within this limit; if a paragraph exceeds 2,048 tokens, it is divided into two or more chunks at sentence boundaries so that no sentence is split across chunks. Each chunk is independently processed by the ModernBERT encoder to obtain a chunk-level representation . We impose no global upper bound on and therefore retain all chunks generated from each document. Within each mini-batch , the chunk dimension is dynamically set to ; documents with fewer chunks are padded to this length, and padded positions are excluded using an attention mask. For the text-only model, the document-level representation is computed by mean-pooling over only the valid chunk representations, . Finally, a linear classification head maps to two logits, from which the predicted earnings-direction label is obtained.
3.3 Encoding whole financial document
To represent long financial documents that integrate structured financial tables with unstructured narrative disclosures, we employ cross-attention to model context-dependent interactions between the two modalities. The architecture contains a text branch, in which the MD&A is encoded as a sequence of chunk representations using ModernBERT, and a tabular branch, in which financial variables are encoded as a sequence of semantically enriched tabular tokens. Unlike late-fusion approaches that first compress each modality into a single vector, our model retains both sequences during cross-modal interaction. Let denote the sequence of contextualized tabular tokens produced by the tabular Transformer, where is the number of financial variables and each token represents one financial row by combining its numerical value with the semantic representation of its variable definition. Similarly, let denote the sequence of MD&A chunk representations produced by the hierarchical text encoder. We investigate two cross-attention directions, distinguished by which modality provides the queries.
In the tabular-query configuration, every financial-variable token acts as an independent query, while the MD&A chunk representations provide the keys and values:
The corresponding attention matrix and output sequence are
Each element represents the attention weight assigned by financial-variable token i to MD&A chunk j. This configuration grounds the resulting multimodal representation in structured tabular information while selectively incorporating relevant evidence from the narrative disclosures.
In the text-query configuration, every MD&A chunk representation acts as an independent query, while the tabular tokens provide the keys and values:
The corresponding attention matrix and output sequence are
Here, represents the importance assigned by MD&A chunk to financial-variable token . This configuration therefore produces a sequence of table-conditioned textual chunk representations, with each chunk receiving its own weighted aggregation of the financial variables. The two configurations model complementary directions of cross-modal interaction. Tabular-query attention identifies which MD&A chunks are relevant to each financial variable, whereas text-query attention identifies which financial variables are relevant to each MD&A chunk. Both configurations therefore operate at the financial-variable and text-chunk levels, providing more structured cross-modal interaction than the direct concatenation of pooled document-level representations. For both cross-attention configurations, we follow the standard multi-head Transformer architecture. The outputs from the attention heads are concatenated and projected to the shared hidden dimension: . Let denote the original query sequence and its length. For table-to-text attention, and , whereas for text-to-table attention, and . The projected attention output is integrated with the query sequence through a residual connection and layer normalization, followed by a position-wise feed-forward network with a second residual connection and layer normalization.
Consequently, the table-to-text configuration produces , while the text-to-table configuration produces . To aggregate the variable-length cross-modal output, we prepend a learned fusion token to and process the augmented sequence using a Transformer encoder layer:
where is the contextualized representation of the fusion token. An attention mask prevents the fusion token from attending to padded positions. In the table-to-text configuration, the fusion token aggregates information from the text-conditioned financial-variable tokens. In the text-to-table configuration, it aggregates information from the table-conditioned MD&A chunks. Finally, a linear classification head maps the resulting representation to two logits:
4 Experiments Setup
Datasets Our dataset consists of 50,849 firm-year observations constructed from corporate 10-K filings and corresponding financial statements covering fiscal years 2000–2025. Each observation for firm and predictor fiscal year contains only the MD&A narrative and structured financial variables associated with year . We exclude MD&A sections containing fewer than 512 tokens; the retained sections contain approximately 15,000 tokens on average, motivating the use of a long-document architecture. We measure earnings using annual net income (Compustat item NI) and define the next-year earnings-direction label as , where indicates an increase in net income and indicates no change or a decrease. Observations without valid net-income values in either year are excluded. We partition the data according to predictor fiscal year, using 2000–2017 for training, 2018–2019 for validation, and 2020–2024 for held-out testing. For observations from fiscal year 2024, the 2025 net-income value is used only to construct the target label; no 2025 MD&A text or financial variables are included as predictors. Appendix A provides a detailed sample observation, while Tables 3 and 4 report the industry and label distributions, respectively. The sample covers all Global Industry Classification Standard sectors, and the training and test sets have similar class distributions, with approximately 55% positive and 45% negative observations.
Benchmarks We compare our model architecture with previous tabular transformer model including Resnet [18], FT-transformer [18], Tabnet [2], TabSTAR [1] and Tabtransformer [10], Trompt [5]. These models are specifically designed to ingest multimodal tabular data containing both numerical and textual features. These models encode numeric columns and the text column into a shared feature space, then jointly learn from them inside the backbone model; the text is usually represented as a document-level feature as similar structural level as every numeric column. To ensure a fair multimodal comparison, every tabular baseline is provided with the same representation of the complete MD&A document using the hierarchical ModernBERT procedure described in Section 3.2. This document vector is then concatenated with the firm's numerical financial features and provided to each tabular model, including ResNet, FT-Transformer, and TabTransformer etc. Furthermore, we benchmark against industry-standard tree-based ensembles: Random Forest, XGBoost [6], LightGBM [12], and CatBoost [17]. Although tree-based methods frequently achieve competitive performance on tabular tasks, they lack the native ability to process multimodal inputs or generate cohesive latent representations of a table. For tree-based models, we only concatenate the frozen text embeddings as features. To isolate the impact of specific design choices, we ablate several model features: specifically, we assess the performance differential between static and trainable text embeddings, the utility of auxiliary text columns, and the efficacy of complex cross-modal interactions over basic feature concatenation.
Model Training and Evaluation We employ systematic hyperparameter tuning using validation set to optimize model performance across all experimental settings. For tree-based models, we use grid search to get optimal hyperparameters and report the best performance for each model. For deep learning models, we consider hyperparameters including batch sizes, dropout rates, learning rates etc. The detailed hyperparameter search is in appendix B. The optimal set of hyperparameters is selected based on the accuracy achieved on the validation set. For all deep learning model training experiments, we adopt the Adam optimizer with weight decay (, ). We utilize a parameter-efficient fine-tuning (PEFT) strategy, specifically Low-Rank Adaptation (LoRA), to finetune the text encoder (ModernBERT) in all model systems. This allows for effective domain specialization without the substantial computational overhead. We implemented early stopping with a patience of 2 epochs, monitoring validation loss to prevent overfitting, with a maximum limit of 20 epochs. Since it is a binary classification task, we use ROC-AUC, Accuracy and macro-F1 score to evaluate model performance. We run each model using five random seeds and conduct ten runs for each seed, yielding 50 results in total. For each performance metric, we calculate the mean and sample standard deviation across all 50 runs. The training was utilizing 4 NVIDIA A100 80GB GPUs.
Experiment Results Table 1 summarizes the performance of various tabular deep learning architectures and tree-based models on the earnings prediction task. Our results demonstrate that current tabular deep learning frameworks consistently achieve lower Accuracy, AUC, and F1 scores compared to our proposed architecture when processing integrated numerical data and unstructured MD&A text. Specifically, models such as TabTransformer and FT-Transformer yield approximately 60% accuracy, underperforming our framework by 6 percentage points. Interestingly, tree-based models tend to outperform tabular deep learning models in both accuracy and F1 score due to the fact that feature selection is built in tree-based models. However, our approach outperforms all benchmarked tree-based models, including Random Forest, LightGBM, and XGBoost. These improvements stem from two primary architectural innovations: first, our framework incorporates numerical variable semantics into the table representation, whereas baseline models typically rely on raw numerical inputs and simple imputation methods for missing values. Second, recognizing that financial text often suffers from a low signal-to-noise ratio, we employ a cross-attention mechanism rather than simple feature concatenation. This enables a more dynamic and weighted integration of tabular and textual modalities within the holistic document representation.
Table 2 presents the results of our ablation study evaluating various architectural components. In unimodal configurations, the financial tabular embeddings significantly outperform text-based representations using either attention or mean pooling. Specifically, the tabular-only model achieves an accuracy of 65.52% and an AUC of 70.05%, whereas the text-only baseline yields only 57.32% and 59.29%, respectively. These results suggest that structured financial data provides a more robust signal for this task than unstructured textual descriptions. In multimodal settings, the integration of textual and tabular data presents significant complexity. First, simple concatenation of tabular and textual embeddings—regardless of whether the encoders are frozen or fine-tuned—consistently underperforms the unimodal tabular model. For example, joint training via concatenation yields an accuracy of 63.57%, approximately 2 percentage points lower than the tabular-only baseline (65.52%). Second, within the cross-attention framework, using textual embeddings as the query (Q) vector consistently results in degraded performance compared to using tabular queries, irrespective of the learning regime. Superior performance is achieved only by employing a two-stage approach: pre-training tabular embeddings, freezing their weights, and subsequently utilizing them as the query (Q) in the cross-attention mechanism. This configuration achieves our peak performance of 66.64% accuracy and 73.04% AUC. These results suggest that while textual disclosures provide complementary signals, they are inherently noisier than structured financial data and are most effective when integrated through a schema that prioritizes a stable tabular foundation.
5 Conclusion
Our study provides a comprehensive examination of the roles played by structured financial variables and unstructured textual disclosures in earnings prediction, with a specific focus on multimodal integration. We first propose a tabular model that can efficiently represent the whole structured tables. Notably, we observe that due to the low signal-to-noise ratio inherent in financial text, unstructured disclosures are most effective when grounded in the context of structured financial tables. To achieve this, we implement a phased training strategy: we first optimize the tabular module, then freeze it to serve as a query (Q) vector. This allows the model to selectively and dynamically attend to textual features via a cross-attention mechanism, resulting in a more flexible and expressive representation of long-form financial documents. However, our study only provides one financial task (earnings prediction) using large multimodal dataset, shedding light on future research studying more financial tasks based on multimodal data like risk management, stock prediction.
| Model | AUC | Acc | Macro-F1 |
|---|---|---|---|
| Tabular Deep Learning Model | |||
| Resnet [18] | |||
| FT-Transformer [18] | |||
| TabTransformer [10] | |||
| TabNet [2] | |||
| TabSTAR [1] | |||
| Trompt [5] | |||
| Ours | |||
| Tree-Based Models | |||
| Random Forest | |||
| CatBoost [17] | |||
| LightGBM [12] | |||
| Xgboost [6] | |||
Table 1: Comparison of model performance between benchmark models including tabular deep learning models and tree-based models in multi-modal setting (tabular + text) under earnings prediction task. Results are reported as mean ± the half-width of the 95% standard normal confidence interval over 50 runs.
| Model Design | ROC-AUC | Acc | Macro-F1 |
|---|---|---|---|
| Learned Tabular Embedding | |||
| Learned Text Embedding + attention pooling | |||
| Learned Text Embedding + mean pooling | |||
| Freeze Text Embedding + Learned Tabular Embedding + Concatenation | |||
| Learned Text Embedding + Freeze Learned Tabular Embedding + Concatenation | |||
| Learned Text Embedding + Learned Tabular Embedding + Concatenation | |||
| Learned Text Embedding (Q) + Learned Tabular Embedding (K, V) +Cross-Attention | |||
| Freeze Text Embedding (Q) + Learned Tabular Embedding (K, V) +Cross-Attention | |||
| Learned Tabular Embedding (Q) + Learned Text Embedding (K, V) + Cross-Attention | |||
| Freeze Learned Tabular Embedding (Q) + Learned Text Embedding (K, V) + Cross-Attention |
Table 2: Ablation study for different model components. This table compares different model architecture choices (freeze text encoder vs unfreeze text encoder; concatenation vs cross-attention; freeze tabular transformer vs unfreeze tabular transformer) in earnings prediction performance. Results are reported as mean ± the half-width of the 95% standard normal confidence interval over 50 runs.
References
[1] Alan Arazi, Eilam Shapira, and Roi Reichart. Tabstar: A foundation tabular model with semantically target-aware representations. arXiv e-prints, pages arXiv–2505, 2025.
[2] Sercan Ö Arik and Tomas Pfister. Tabnet: Attentive interpretable tabular learning. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pages 6679–6687, 2021.
[3] Stephen V Brown and Jennifer Wu Tucker. Large-sample evidence on firms' year-over-year md&a modifications. Journal of Accounting Research, 49(2):309–346, 2011.
[4] Chun-Fu Richard Chen, Quanfu Fan, and Rameswar Panda. Crossvit: Cross-attention multi-scale vision transformer for image classification. In Proceedings of the IEEE/CVF international conference on computer vision, pages 357–366, 2021.
[5] Kuan-Yu Chen, Ping-Han Chiang, Hsin-Rung Chou, Ting-Wei Chen, and Tien-Hao Chang. Trompt: Towards a better deep neural network for tabular data. arXiv preprint arXiv:2305.18446, 2023.
[6] Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, pages 785–794, 2016.
[7] Zhiyu Chen, Shiyang Li, Charese Smiley, Zhiqiang Ma, Sameena Shah, and William Yang Wang. Convfinqa: Exploring the chain of numerical reasoning in conversational finance question answering. arXiv preprint arXiv:2210.03849, 2022.
[8] Yury Gorishniy, Ivan Rubachev, Valentin Khrulkov, and Artem Babenko. Revisiting deep learning models for tabular data. Advances in neural information processing systems, 34:18932–18943, 2021.
[9] Noah Hollmann, Samuel Müller, Lennart Purucker, Arjun Krishnakumar, Max Körfer, Shi Bin Hoo, Robin Tibor Schirrmeister, and Frank Hutter. Accurate predictions on small data with a tabular foundation model. Nature, 637(8045):319–326, 2025.
[10] Xin Huang, Ashish Khetan, Milan Cvitkovic, and Zohar Karnin. Tabtransformer: Tabular data modeling using contextual embeddings. arXiv preprint arXiv:2012.06678, 2020.
[11] Xuan Huang, Siew Hong Teoh, and Yinglei Zhang. Tone management. The accounting review, 89(3):1083–1113, 2014.
[12] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boosting decision tree. Advances in neural information processing systems, 30, 2017.
[13] Wonjae Kim, Bokyung Son, and Ildoo Kim. Vilt: Vision-and-language transformer without convolution or region supervision. In International conference on machine learning, pages 5583–5594. PMLR, 2021.
[14] Bradford Levy. Caution ahead: Numerical reasoning and look-ahead bias in ai models. Available at SSRN 5082861, 2024.
[15] Haohang Li, Yupeng Cao, Yangyang Yu, Shashidhar Reddy Javaji, Zhiyang Deng, Yueru He, Yuechen Jiang, Zining Zhu, Kp Subbalakshmi, Jimin Huang, et al. Investorbench: A benchmark for financial decision-making tasks with llm-based agent. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2509–2525, 2025.
[16] Pekka Malo, Ankur Sinha, Pekka Korhonen, Jyrki Wallenius, and Pyry Takala. Good debt or bad debt: Detecting semantic orientations in economic texts. Journal of the Association for Information Science and Technology, 65(4):782–796, 2014.
[17] Liudmila Prokhorenkova, Gleb Gusev, Aleksandr Vorobev, Anna Veronika Dorogush, and Andrey Gulin. Catboost: unbiased boosting with categorical features. Advances in neural information processing systems, 31, 2018.
[18] Ivan Rubachev, Artem Alekberov, Yury Gorishniy, and Artem Babenko. Revisiting pretraining objectives for tabular deep learning. arXiv preprint arXiv:2207.03208, 2022.
[19] Yao-Hung Hubert Tsai, Shaojie Bai, Paul Pu Liang, J Zico Kolter, Louis-Philippe Morency, and Ruslan Salakhutdinov. Multimodal transformer for unaligned multimodal language sequences. In Proceedings of the 57th annual meeting of the association for computational linguistics, pages 6558–6569, 2019.
[20] Neng Wang, Hongyang Yang, and Christina Dan Wang. Fingpt: Instruction tuning benchmark for open-source large language models in financial datasets. arXiv preprint arXiv:2310.04793, 2023.
[21] Qianqian Xie, Weiguang Han, Xiao Zhang, Yanzhao Lai, Min Peng, Alejandro Lopez-Lira, and Jimin Huang. Pixiu: A large language model, instruction data and evaluation benchmark for finance. arXiv preprint arXiv:2306.05443, 2023.
[22] Hongyang Yang, Xiao-Yang Liu, and Christina Dan Wang. Fingpt: Open-source financial large language models. arXiv preprint arXiv:2306.06031, 2023.
[23] Yangyang Yu, Zhiyuan Yao, Haohang Li, Zhiyang Deng, Yupeng Cao, Zhi Chen, Jordan W Suchow, Rong Liu, Zhenyu Cui, Zhaozhuo Xu, et al. Fincon: A synthesized llm multi-agent system with conceptual verbal reinforcement for enhanced financial decision making. arXiv preprint arXiv:2407.06567, 2024.
[24] Boyu Zhang, Hongyang Yang, and Xiao-Yang Liu. Instruct-fingpt: Financial sentiment analysis by instruction tuning of general-purpose large language models. arXiv preprint arXiv:2306.12659, 2023.
[25] Yilun Zhao, Yitao Long, Hongjun Liu, Ryo Kamoi, Linyong Nan, Lyuhao Chen, Yixin Liu, Xiangru Tang, Rui Zhang, and Arman Cohan. Docmath-eval: Evaluating math reasoning capabilities of llms in understanding long and specialized documents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 16103–16120, 2024.
A Dataset Example
A.1 Management Discussion and Management (MD&A)
The Management's Discussion and Analysis (MD&A) section is a mandatory, narrative component of a company's annual report (Form 10-K) or quarterly report (Form 10-Q), providing investors with a qualitative look into the financial and operational performance from the perspective of the management team. Unlike the audited financial statements, which provide a quantitative snapshot of the past, the MD&A serves to "bridge the gap" between raw data and business reality by explaining the "why" behind the numbers. It details the company's liquidity, capital resources, and results of operations, while specifically highlighting known trends, commitments, or uncertainties—such as inflation, supply chain disruptions, or regulatory changes—that are reasonably likely to impact future performance. By offering this critical context, the MD&A helps stakeholders assess the quality of earnings and the sustainability of the company's competitive position. Prior literature indicates when a company's financial fundamentals (like earnings) are poor, managers often "pad" the MD&A with excessive positive sentiment to mislead investors or stabilize stock prices, leading to biased narrative disclosure [11]. They found that firms with poor performance or high uncertainty often use high levels of "boilerplate" text (copy-pasting from the previous year). This allows them to comply with the letter of the law while avoiding the disclosure of specific, evolving risks [3]. Figure 1 gives an example MD&A section from Apple Inc. 10K filling.
A.2 Tabular Data
Structured financial tabular data, mostly found in the Financial Statements and Supplementary Data section, typically designated as Item 8 in a Form 10-K, constitutes the quantitative core of the annual report. This section presents the formal record of a company's financial activities and contains the
Context
Product, Service and Software Announcements The Company announces new product, service and software offerings at various times during the year. Significant announcements during fiscal year 2025 included the following: ...
Fiscal Period The Company's fiscal year is the 52- or 53-week period that ends on the last Saturday of September. An additional week is included in the first fiscal quarter every five or six years to realign the Company's fiscal quarters with calendar quarters, which occurred in the first quarter of 2023. The Company's fiscal years 2025 and 2024 spanned 52 weeks each, whereas fiscal year 2023 spanned 53 weeks.
Macroeconomic Conditions
Macroeconomic conditions, including inflation, interest rates and currency fluctuations, have directly and indirectly impacted, and could in the future materially impact, the Company's results of operations and financial condition.
Tariffs and Other Measures
Beginning in the second quarter of 2025, new U.S. Tariffs were announced, including additional tariffs on imports from China, India, Japan, South Korea, Taiwan, Vietnam and the EU, among others. In response, several countries have imposed, or threatened to impose, reciprocal tariffs on imports from the U.S. and other retaliatory measures. Various modifications to the U.S. Tariffs have been announced and further changes could be made in the future, which may include additional sector-based tariffs or other measures. For example, the U.S. Department of Commerce has initiated an investigation under Section 232 of the Trade Expansion Act of 1962, as amended, into, among other things, imports of semiconductors, semiconductor manufacturing equipment, and their derivative products, including downstream products that contain semiconductors. Tariffs and other measures that are applied to the Company's products or their components can have a material adverse impact on the Company's business, results of operations and financial condition, including impacting the Company's supply chain, the availability of rare earths and other raw materials and components, pricing and gross margin. The ultimate impact remains uncertain and will depend on several factors, including whether additional or incremental U.S. Tariffs or other measures are announced or imposed, to what extent other countries implement tariffs or other retaliatory measures in response, and the overall magnitude and duration of these measures. Trade and other international disputes can have an adverse impact on the overall macroeconomic environment and result in shifts and reductions in consumer spending and negative consumer sentiment for the Company's products and services, all of which can further adversely affect the Company's business and results of operations.
Products and Services Performance
iPhone
iPhone net sales increased during 2025 compared to 2024 due to higher net sales of Pro models.
Mac
Mac net sales increased during 2025 compared to 2024 primarily due to higher net sales of laptops and desktops.
iPad
iPad net sales increased during 2025 compared to 2024 primarily due to higher net sales of iPad Air, iPad mini and iPad, partially offset by lower net sales of iPad Pro.
Wearables, Home and Accessories
Wearables, Home and Accessories net sales decreased during 2025 compared to 2024 primarily due to lower net sales of Accessories and Wearables.
...
Figure 1: A sample MD&A from Apple Inc. 10K
Table 3: Industry Distribution
| Sector | Num | % |
|---|---|---|
| Technology | 9962 | 19.6% |
| Industrials | 8779 | 17.3% |
| Financials | 1744 | 3.4% |
| Healthcare | 10497 | 20.6% |
| Consumer Discretionary | 7238 | 14.2% |
| Consumer Staples | 2405 | 4.7% |
| Utilities | 1293 | 2.5% |
| Communication Services | 1900 | 3.7% |
| Materials | 2620 | 5.2% |
| Energy | 3501 | 6.9% |
| Real Estate | 910 | 1.8% |
| Total | 50849 | 100% |
Table 4: Label Distribution
| Label | Num | % |
|---|---|---|
| Train+Validation Sample | ||
| Increase | 21471 | 55.47% |
| Decrease | 17236 | 44.53% |
| Test Sample | ||
| Increase | 6732 | 55.44% |
| Decrease | 5410 | 44.56% |
four primary financial statements: the consolidated balance sheets, the statements of income (or operations), the statements of cash flows, and the statements of stockholders' equity. Crucially, these statements are prepared in accordance with Generally Accepted Accounting Principles (GAAP) and are accompanied by the Report of Independent Registered Public Accounting Firm, which provides the auditor's opinion on whether the statements fairly represent the company's financial position. Beyond the raw numbers, this section includes extensive Notes to Consolidated Financial Statements. These footnotes are essential for transparency, as they disclose the specific accounting policies used, provide granular breakdowns of line items (such as debt maturity schedules or segment performance), and reveal potential liabilities or "off-balance-sheet" arrangements that are not immediately visible on the face of the statements. The Compustat database provides all financial statement items and detail variable definitions. Figure 2 gives an income statement example from Apple Inc. 10K.
| Years ended | ||
|---|---|---|
| September 27,2025 | September 28,2024 | |
| Net income | $112,010 | $ 93,736 |
| Other comprehensive income/(loss): | ||
| Change in foreign currency translation, net of tax | (267) | 395 |
| Change in unrealized gains/losses on derivative instruments, net of tax: | ||
| Change in fair value of derivative instruments | 849 | (832) |
| Adjustment for net (gains)/losses realized and included in net income | (212) | (1,337) |
| Total change in unrealized gains/losses on derivative instruments | 637 | (2,169) |
| Change in unrealized gains/losses on marketable debt securities, net of tax: | ||
| Change in fair value of marketable debt securities | 817 | 5,850 |
| Adjustment for net (gains)/losses realized and included in net income | 414 | 204 |
| Total change in unrealized gains/losses on marketable debt securities | 1,231 | 6,054 |
| Total other comprehensive income/(loss) | 1,601 | 4,280 |
| Total comprehensive income | $113,611 | $ 98,016 |
Figure 2: Structured Table From Apple Inc. 10K
B Hyperparameter Tuning
B.1 Tabuar Transformer
Since we use SentenceTransformer('all-MiniLM-L6-v2') to encode the semantic part, we align our model architecture with SentenceTransformer('all-MiniLM-L6-v2') which has d_model (384), number of layers (6). We also tried using 192 d_model, 768 d_model by adding a linear projection layer to project 384 to lower/higher dimensions as well as 3 and 12 layers. The hyperparameter search space is shown in table 5.
Table 5: Tabular Transformer Model Search Space
| Hyperparameter | Search Space |
|---|---|
B.2 CatBoost
We run CatBoost using catboost package. We follow prior literature [18, 1] setting early_stopping_rounds = 50, od_val = 0.001, iterations = 2000 and do hyperparameter search [9, 1]. The hyperparameter search space is shown in table 6.
Table 6: CatBoost-Tuned Hyperparameters Search Space
| Hyperparameter | Search Space |
|---|---|
| learning_rate | |
| random_strength | |
| I2_leaf_reg | |
| bagging_temperature | |
| leaf_estimation_iterations | |
| iterations |
Table 7: XGBoost-Tuned Hyperparameters Search Space
| Hyperparameter | Search Space |
|---|---|
| learning_rate | |
| max_depth | |
| subsample | |
| colsample_bytree | |
| colsample_bylevel | |
| min_child_weight | |
| alpha | |
| reg_lambda | |
| gamma | |
| n_estimators |
B.3 XGBoost
We use xgboost package to run xgboost. Specifically, we use booster = gbtree, early_stopping_rounds = 50, n_estimators = 2000. The hyperparameter search space is shown in table 7.
B.4 LightGBM
We use lightgbm package to run LightGBM with its default implementation. We do hyperparameter search shown in table 8 following prior literature [1].
B.5 Random Forest
Following [1], we treat Random Forest as a weak baseline to set up a lower-bound reference for each dataset split. We run it with the sklearn package with its default configuration with n_estimators = 100.
Table 8: LightGBM-Tuned Hyperparameters Search Space
| Hyperparameter | Search Space |
|---|---|
| num_leaves | |
| max_depth | |
| learning_rate | |
| n_estimators | |
| min_child_weight | |
| subsample | |
| colsample_bytree | |
| reg_alpha | |
| reg_lambda |