Why building FinLangNet changed how we viewed user histories

Author's notesCredit riskSequence representation

Multi-source credit data with unequal lengths and noise led us to reconsider temporal representations. Notes on FinLangNet's motivation, methodological choices and questions that remain unresolved.

Paper:FinLangNet · A Unified Framework for Modeling Heterogeneous Financial Data via Dual-Granularity Prompting

Contents · 5 sections
Likes and comments ↓

While building FinLangNet, I kept feeling that user histories contained information we were not fully using.

Credit modeling has many useful summary features. Counts and means, however, do not retain every behavioral sequence and change. We wanted to know whether learning histories as sequences could capture richer user changes and improve risk assessment across future windows.

Changes lost in aggregation

Credit status changes. Inquiries, accounts, borrowing and repayment each record parts of that process. A score at one point may not fully use the relationships unfolding through history.

That was our starting point. For the industrial problem then, we put multi-source histories at the center of representation learning alongside static attributes. Multiple future windows let one representation serve different risk horizons.

In implementation, multiple prediction heads each output delinquency probability for their own window.

Why conventional methods fell short

Conventional methods did not perform as hoped. Industrial data were irregular: sources and field meanings differed, sequence lengths varied, and noise, sparse records and missing values were common.

An account history and an inquiry history cannot simply be treated as identically structured sequences. Mixed continuous and categorical fields complicate representations. Choosing a temporal model is only one step; inputs and source organization also need redesign.

We spent substantial time reviewing related work. Final comparisons included XGBoost, GRU, Transformer, Mamba and TimesNet.

Using dual-granularity prompts

FinLangNet retains two branches. DeepFM models interactions among static attributes. Histories enter the sequence representation generator, SRG, by source; source representations are then combined.

SRG discretizes continuous fields, encodes categorical fields and orders records in time. Feature-level prompts summarize temporal patterns within channels; user-level prompts combine channels within a source into that user's source-specific behavior representation. Sources are fused afterward.

Prompts are vectors trained with the model. They draw on special-token aggregation in sequence models, not natural-language instructions to a general-purpose language model.

FinLangNet's static branch, multi-source temporal branch and dual-granularity prompts
FinLangNet architecture The left fuses static attributes and multiple sources; the right details SRG input processing and prompts.Paper Figure 1 · View paper ↗

For deployment, we retained XGBoost and used FinLangNet prediction scores as another input alongside existing features.

What the experiments support

Ablations strengthened my confidence in sequence representations. On y₁, full-model KS is 34.08, falling to 12.53 without sequences and 32.75 without static attributes. In this setup, histories supply much of the discrimination and static features add complementary value.

Without prompts, KS is 32.62. Feature-level or user-level prompts alone give 32.79 and 32.99; both give 34.08. All use the paper's percentage scale and the same y₁ task.

Paper Table 3: prompt, sequence-branch and static-branch ablations on y₁
Ablations on y₁Contributions of dual-granularity prompts and both branches. Results concern one task in Table 3.Paper Table 3 · View paper ↗

Truncating histories to one quarter changes mean six-task KS from 33.71 to 33.49, supporting stability in this truncation experiment. Real new-user missingness is not identical to truncating existing histories; cold-start behavior needs separate validation.

Questions still unresolved

Looking back, I think generalizability remains limited. We tested industrial data and SRG on five public time-series classification datasets, but broader use still raises questions: which designs transfer to different data or targets, and which need adaptation?

Theoretical explanation is another gap. Ablations indicate contribution, but why dual granularity helps and under which conditions needs a deeper account.

I want to pursue both: extend applicability and explain the reasons and limits more clearly.

For complete methods and experiments, see the FinLangNet research page; implementation is in the open-source code。

Read alongside

Responses elsewhere

No public responses have been added yet. I will check the original before adding a submitted link.

Include a public link in your comment
LEAVE A NOTE

Thoughts after reading?

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    Ask Max Ask about this site
    Ask Max ↗

    Opening the assistant…

    Paper figure

    Photo comments

    LEAVE A NOTE

    About this photograph

    Connecting to the discussion board…

      Comments become public after moderation. You can delete your own comments from this browser.
      No email is required. Clearing cookies prevents this browser from claiming earlier comments.

      MAX WANG / INDEX

      Find something

      Enter a keyword, or explore the directory below.