Lyon foundation models
Beyond feature engineering
Every swipe, transfer, and payment captures a pattern of human behavior, and together they are some of the richest signals an institution has. Yet most production models still reduce them to hand-built features fed into gradient-boosted trees like XGBoost and LightGBM, which lose sequential information. The world's largest financial institutions are replacing them with what the industry calls transaction foundation models, built in house. Lyon develops foundation models for its customers on their proprietary data, with its strongest results so far in credit.
These models use the same transformer architecture as large language models. Instead of human media, they are pretrained on large volumes of financial events and user activity, read natively through a custom tokenizer. Self-attention is well suited to long financial histories, connecting events that sit far apart in time and learning relationships inherent in the data that tree models miss, even with windows and aggregates engineered up front. It is the bitter lesson, applied to financial records.
Hierarchical encoders
Lyon's models are built from encoders that read every event and entity with full context.
The history encoder produces a rich representation of every entity and every event, which is then trained on labeled outcomes. For credit, that means probability of default, and the same architecture supports other entity-level outcomes and event-level labels such as fraud. Because the representation is learned once, new tasks need only labels, not new feature engineering.
For lenders and credit funds
For fintechs and banks, Lyon's foundation models assess credit risk for underwriting and monitoring customers. For credit funds and SME lending, they evaluate and monitor loan portfolios as new loan and economic data arrive.