Aligning Language Models with Investor and Market Behavior for Financial Recommendations Conference: 6th ACM International Conference on AI in Finance; November 15–18, 2025; Singapore, Singapore 6th ACM International Conference on AI in Finance (ICAIF ’25), November 15–18, 2025, Singapore, Singapore
Fernando Spadea, Oshani Seneviratne · 2025
Read Aligning Language Models with Investor and Market Behavior for Financial Recommendations Conference: 6th ACM International Conference on AI in Finance; November 15–18, 2025; Singapore, Singapore 6th ACM International Conference on AI in Finance (ICAIF ’25), November 15–18, 2025, Singapore, Singapore by Fernando Spadea, Oshani Seneviratne (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-15993.txt.
Introduction
Fernando Spadea and Oshani Seneviratne align financial advice with how investors in fact behave. Standard recommenders ignore behavioural and legal factors in their advice. Their advice can then miss user tastes, read poorly, or go unfollowed. Their framework, FLARKO, joins a large language model with a knowledge graph. A preference-based tuning method completes the design.
User trade histories and asset trends are encoded as a structured knowledge graph. That graph gives the model context that is clear and controllable. Kahneman-Tversky Optimization then fine-tunes the model toward advice that is both profitable and fit for real behaviour. Spadea and Seneviratne build a central version and a federated one. The federated one keeps data at its home site. On the FAR-Trans data set, FLARKO beats leading baselines on behavioural fit and joint profit. It stays clear and light on resources, they report.
Catalog record
| CREATOR | Fernando Spadea, Oshani Seneviratne |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 42 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2510-15993
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Aligning Language Models with Investor and Market Behavior for Financial Recommendations Conference: 6th ACM International Conference on AI in Finance; November 15–18, 2025; Singapore, Singapore 6th ACM International Conference on AI in Finance (ICAIF ’25), November 15–18, 2025, Singapore, Singapore DOI: 10.1145/3768292.3770399 ISBN: 979-8-4007-2220-2/2025/11 CCS: Computing methodologies Distributed computing methodologies CCS: Computing methodologies Distributed artificial intelligence CCS: Computing methodologies Machine learning approaches CCS: Information systems Recommender systems CCS: Information systems Business intelligence CCS: Information systems Language models CCS: Information systems Combination, fusion and federated search Fernando Spadea, Oshani Seneviratne Abstract . Most financial recommendation systems often fail to account for key behavioral and regulatory factors, leading to advice that is misaligned with user preferences, difficult to interpret, or unlikely to be followed. We present FLARKO (Financial Language-model for Asset Recommendation with Knowledge-graph Optimization), a novel framework that integrates Large Language Models (LLMs), Knowledge Graphs (KGs), and Kahneman-Tversky Optimization (KTO) to generate asset recommendations that are both profitable and behaviorally aligned. FLARKO encodes users’ transaction histories and asset trends as structured KGs, providing interpretable and controllable context for the LLM. To demonstrate the adaptability of our approach, we develop and evaluate both a centralized architecture (CenFLARKO) and a federated variant (FedFLARKO). To our knowledge, this is the first demonstration of combining KTO for fine-tuning of LLMs for financial asset recommendation. We also present the first use of structured KGs to ground LLM reasoning over behavioral financial data in a federated learning (FL) setting. Evaluated on the FAR-Trans dataset, FLARKO consistently outperforms state-of-the-art recommendation baselines on behavioral alignment and joint profitability, while remaining interpretable and resource-efficient. 1. Introduction Many existing financial asset recommendation systems, while valuable, often fall short in real-world settings because financial decision-making is influenced by more than just numerical optimization. As highlighted by Sanz-Cruzado et al. 2024 and Lee et al. 2024 , individuals frequently disregard theoretically optimal financial advice if it conflicts with their personal preferences, ethical views, or logistical constraints. Thus, aligning recommendations with user preferences is fundamental to the recommendation system’s effectiveness. Simply maximizing expected profitability is insufficient if the recommendations are unlikely to be followed. Conventional recommendation models are further limited by their rigid architectures and reliance on static user profiles or historical return patterns. This makes them poorly suited to capture the nuanced, evolving nature of individual investor behavior, including preferences that shift over time or depend on non-financial factors. Such constraints are particularly pronounced in regulated financial environments, where data centralization may not be feasible due to legal, geographic, or institutional boundaries. In these cases, a federated learning strategy offers a promising alternative by enabling collaborative model training across institutions while preserving data locality. Since these federated scenarios inherently involve client data that is not independent and identically distributed (non-IID), measuring the effects of this data distribution is also important. Recent advances in large language models (LLMs) have unlocked new possibilities for personalized decision support, yet their adoption in regulated financial domains remains limited. A key barrier is the tension between personalization and compliance: most financial institutions cannot centralize sensitive client data due to consumer privacy regulations, and vanilla LLMs offer little transparency or behavioral grounding. In this paper, we propose a novel system that uses an LLM to generate asset recommendations based on both user behavioral data that reflects user’s preferences, patterns, and intent (e.g., customer transaction history) and non-behavioral market signals (e.g., asset price history). We structure both types of these data as knowledge graphs (KGs), which are passed into the LLM context to enable more informed and interpretable recommendations; KGs provide a structured, interconnected, and semantically rich representation of financial behavior and market trends, allowing the model to reason over personalized, contextual, and external signals. For aligning LLM recommendations with user preferences, we leverage Kahneman-Tversky Optimization (KTO) ( Ethayarajh et al. 2024 ) . We select KTO for its computational efficiency, behavioral grounding, and suitability for distributed optimization. In particular, KTO performs well in federated learning environments ( Spadea and Seneviratne 2025c ) , where user data is siloed and sensitive. KTO requires only a binary desirability label (indicating whether a recommendation was both profitable and consistent with user behavior), making it significantly easier to collect alignment data compared to ranking or pairwise preference approaches. 1.1. Contributions Figure 1. Performance Comparison of CenFLARKO and FedFLARKO Against Baseline Models The left panel plots preference alignment (Pref@3) against profitability (Prof@3) for all models. Prof@3 captures the ability to recommend assets that generate positive returns over the next 180 days, while Pref@3 reflects behavioral alignment by checking whether the user actually purchased the recommended assets. Although some models (e.g., LightGBM) achieve higher profitability, FLARKO-based models, particularly CenFLARKO , excel in preference alignment, demonstrating stronger user-centric performance. The right panel reports Comb@3, which quantifies how often the model recommends assets that are both profitable and behaviorally aligned, representing actionable, high-quality financial advice. Both CenFLARKO and FedFLARKO outperform all baselines on this crucial metric, validating the strength of our approach in real-world financial asset recommendation scenarios. In this work, we present FLARKO (Financial Language-model for Asset Recommendation with Knowledge-graph Optimization), a unified framework that combines LLMs with structured KGs to deliver personalized, behaviorally aligned financial asset recommendations. We apply this core framework in both centralized (CenFLARKO) and federated (FedFLARKO) settings, demonstrating its versatility across deployment environments with varying privacy and data-sharing constraints. Our methodology is tested using the FAR-Trans dataset ( Sanz-Cruzado et al. 2024 ) , and as illustrated in Figure 1 , our experiments demonstrate competitive performance and key advantages over the state-of-the-art recommendation system baselines. Our specific contributions include: (1) A unified LLM-KG framework: FLARKO integrates LLMs with personalized behavioral and market-level KGs, enabling contextual reasoning about financial assets. The KGs provide structured, interpretable representations of user behavior and market dynamics, while the LLM leverages this symbolic context to generate flexible, natural language asset recommendations. This combination allows FLARKO to support user-centric constraints, ethical investment rules, and portfolio diversification strategies ( Spadea and Seneviratne 2025a ; Spadea and Seneviratne 2025b ) . (2) User preference alignment in financial asset recommendations: We are the first to show that aligning LLM-generated financial recommendations with actual user investment behavior, measured via Pref@3 and Comb@3, can be effectively achieved in both centralized and federated settings. As shown in Figure 1 , FLARKO significantly outperforms many recommendation baselines, validating FLARKO’s core design principle that actionable recommendations must be both profitable and behaviorally aligned. (3) Efficient and cost-effective performance with mid-sized LLMs: We evaluate our framework across a range of LLMs (0.6B to 8B parameters) and demonstrate that state-of-the-art performance is attainable without relying on massive, resource-intensive models. Our empirical results show that performance does not strictly increase with model size; in fact, models in the 1.7B to 4B parameter range often delivered the best results, even outperforming the larger 8B model. This illustrates that FLARKO offers a practical and resource-efficient solution for real-world deployment in financial applications. (4) Federated collaboration under realistic data constraints: We introduce FedFLARKO, a framework for collaboratively training financial asset recommendation models across multiple institutions without sharing sensitive or proprietary data, addressing key regulatory and competitive barriers. Through extensive evaluation under both IID and non-IID clients, we show that FedFLARKO remains robust, and