2608.07037-Accounting Graph Transformer for Short-History Multi-KPI Forecasting in Small Businesses

summary

Video file (mp4)

In short

The hosts discuss a paper from Intuit's Foresight-AI lab on forecasting 13 financial KPIs for small businesses with only 12–24 months of history. The proposed model, AGT, uses a fixed accounting graph and gated recency path, beating baselines on all KPIs and transferring to unseen companies.

Key concepts

Accounting graph
A fixed graph with 71 nodes (ledger series) and 437 directed edges representing financial relationships like accruals and statement links. It encodes accounting identities as inductive bias, reducing overfitting by limiting cross-series communication to meaningful connections.
KPI-macro MAE
A metric averaging mean absolute error across all 13 KPIs, each normalized by its trailing mean. A score of 0.6990 means forecasts miss by about 0.7 times a typical monthly swing, averaged over all KPIs and horizons.
Company-disjoint evaluation
Testing the model on companies never seen during training, with no fine-tuning. This simulates real-world deployment and ensures the model generalizes across heterogeneous small businesses, as shown by a later cohort of 7,094 unseen companies.

This episode discusses

Transcript

Introduction to the show: ident: Paper Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Next we'll be talking about the paper "Accounting Graph Transformer for Short-History Multi-KPI Forecasting in Small Businesses".

Jane: The paper was written by Shrutendra Harsola and Vignesh Subrahmaniam from Foresight-AI, Intuit.

Tom: Stay tuned as we take you through the paper and discuss its implications.

Title and Authors: Tom: This one comes out of Intuit's Foresight-eye lab in Bangalore. The authors are Shrutendra Harsola and Vignesh Subrahmaniam, and they've aimed the research squarely at small business finance. That's a world where data is thin, messy, and full of exceptions. Most small firms simply don't have five years of clean history lying around.

Jane: Thin is the operative word. We're talking 12 to 24 months of monthly ledger history, and they want a full 12-month forecast of 13 key financial indicators. Revenue, expenses, assets, liabilities, cash flows, receivables, payables — the whole picture at once. Those 13 KPIs are fed by 71 separate ledger series.

Tom: Right. A bakery owner doesn't just need next year's revenue. They need to know whether cash will cover supplier payments in June, and what that does to the balance sheet. The paper wants one model that produces all of those trajectories together.

Lu: What makes it genuinely hard is the heterogeneity underneath. No two small businesses keep the same chart of accounts. One firm buries everything in "other expenses," another has a dozen finely split subaccounts. The model has to cope with both.

Meng: And the consequences are concrete. A company can show healthy revenue while slowly strangling on receivables. If the forecast treats each line in isolation, it misses that story entirely. You need the balance sheet and cash flow to tell you the true picture.

Lalam: Step back and the implication lands on who gets served. Banks and lenders have to score thousands of small firms, and they can't hire a modeler for each one. A single model that generalizes across companies changes the economics of small business credit. It also makes planning tools affordable for firms that never had them.

Tom: That's exactly the paper's framing. It builds one shared model, trains it on some companies, and tests it on entirely unseen ones. No company-specific fine-tuning anywhere. The evaluation runs across 11,993 forecast origins from 1,060 companies the model never met in training.

Jane: One model, many businesses. That's the bet, and the paper came prepared with a serious scoreboard. The numbers tell that story next.

Summary of the Paper: Tom: We left off with a bet: one shared model scoring thousands of unseen businesses. Here's the scoreboard. The paper's model — it goes by AGT — reaches a sample-weighted KPI-macro MAE of 0.6990, averaged over three independent training seeds. LightGBM, the strongest baseline, sits at 0.7378.

Jane: So what does a number like 0.6990 actually mean? Every KPI forecast is expressed relative to that KPI's trailing mean. Zero means "keep doing what you were doing," and one means you're off by a full typical month's magnitude. So AGT's average miss is about seven tenths of a typical monthly swing, across all 13 KPIs and all 12 horizons.

Tom: The gap over LightGBM looks modest at 0.0395, but the confidence interval says it's real. The paired company-clustered bootstrap gives

0.0350, 0.0439: , and AGT wins at every one of the three seeds. The across-seed standard deviation is tiny — 0.0013.

Lu: And this isn't a single lucky target. The paper reports AGT beats the three strongest baselines on all 13 KPIs individually. Revenue is the closest race, operating cash flow is the hardest target for every method, and AGT wins there by a wide margin.

Meng: The comparison is fair, too. Every method sees the same origins, the same masks, the same observed history, and the same scoring rules. The baselines include classical statistics, gradient boosting, modern neural forecasters like TimeMixer and SOFTS, and even time-series foundation models like Chronos-2 and TimesFM.

Jane: Foundation models still lose to a small task-trained model on this sparse panel. Fine-tuning Chronos-2 helps, but it stays above 0.80. That tells you how unusual this setting is — short histories, missing accounts, heterogeneous charts.

Lalam: The transfer test is the part that convinces me. They took the frozen checkpoint and ran it on 7,094 additional unseen companies, with forecast origins sampled from January through May 2025. AGT scores 0.7548 there, against 0.7694 for the closest baseline. No adaptation at all.

Tom: So the ordering holds on new companies and a later time window. That's production-strength evidence, and it raises a question. How does one small model manage that?

Jane: The answer lives in the architecture. It starts with that fixed accounting graph we keep mentioning.

Improvements the Paper Suggests: Tom: The results were strong, but the real contribution is how the model gets there. AGT turns each of the 71 ledger series into a masked token, then runs four relational attention blocks over a fixed accounting graph. Cross-series communication only happens along edges that make financial sense. It uses 8.7 percent of the edges a fully connected model would use.

Jane: A graph fixed before training, not learned from the data. That's the bold move. It has 71 nodes and 437 directed edges in five relation types. Statement groups wire together the income statement, the balance sheet, and the three cash-flow sections. Accrual links connect revenue to accounts receivable, and COGS plus expenses to accounts payable.

Tom: Exactly. A fully connected encoder would let every series whisper to every other series, and with 12 to 24 months of data, the model would start hallucinating relationships. The graph cuts that off early. The financial identities hand you the structure for free.

Lu: So the inductive bias does heavy lifting. The balance sheet has to balance, cash flow has to reconcile, receivables follow revenue. Instead of learning those laws from a handful of months, the graph says they're true from the start. The model only needs to learn the strengths of those connections.

Meng: It also fuses local momentum back in. Each KPI gets a learned pooling query over the graph tokens, plus a gated path for its last three observed values. The gate decides how much to trust fresh local behavior versus the broader financial context. That's a clever way to keep the short-term signal from being diluted.

Tom: The ablations make the case airtight. Drop graph attention entirely, and test error rises by 0.0141. Replace the accounting graph with a degree-matched random one, and you still lose 0.0063. Remove the recency path and you give up 0.0053.

Jane: So the specific topology matters, not just the capacity to attend. Random structure recovers part of the gap, but the true accounting pairings add a real edge. Each component earns its place.

Lalam: And the whole thing is tiny. 5.3 million parameters, one forward pass, 156 aligned forecasts in one shot. That means a lender or an accountant can refresh forecasts for a whole portfolio without fitting a separate model per firm.

Tom: That efficiency is what makes the graph prior so attractive. Structure you can trust beats structure you have to infer from almost no data.

Jane: I keep coming back to the opening pages, because the problem framing itself carries a lot of the weight.

First Page of the Paper: Tom: We've seen the model and the numbers, so let's go back to page one and the motivation. The authors open with a blunt claim: standard multivariate forecasting models simply don't work in this setting. One to two years of monthly history is far too short to learn cross-series dependencies from data alone.

Jane: And the dependencies are the whole point. Revenue connects to accounts receivable. COGS and expenses connect to accounts payable. Assets relate to liabilities and equity. The three cash-flow sections tie together. These aren't guesses — they're accounting identities.

Lu: The paper lays out three contributions. First, it formulates a large company-disjoint forecasting task spanning all three financial statements plus working capital. Second, it introduces the architecture we just discussed. Third, it evaluates everything under one shared pipeline with strict data parity.

Meng: The schema is worth a closer look. Thirteen top-level KPIs, and then for each one, a set of ranked child subaccounts chosen per company. Income statement parents get the five largest subaccounts, balance sheet and cash flow parents get three, plus a catch-all slot for the long tail.

Tom: And accounts receivable and payable each contribute four aging buckets. That gives you the full 71 series. The slots are fixed, but what fills them changes from company to company. Slot identity means "ranks within a parent," not a universal account name.

Jane: The masking discipline is the quiet star here. A temporal mask records company age, while a series mask records whether a channel is active at all. A young company isn't mistaken for a mature one with a stretch of true zeros, and an inactive account can't leak through its embedding.

Lu: The data makes it urgent. In the test set, 92.2 percent of origins have fewer than 24 observed months, and the mean history is 18.4 months. Revenue spans more than four orders of magnitude across companies. Everything about this task punishes models that need long, stable histories.

Lalam: That's the real-world condition for small business finance, and the paper treats it as the norm rather than a nuisance. If forecasting has to serve this population, it has to work under exactly these constraints.

Tom: And it does, which brings us full circle. The conclusion writes itself after evidence like that.

Conclusion: Tom: Here's the bottom line. This paper took a genuinely hard operational problem — forecasting 13 financial KPIs for small businesses with barely any history — and built a compact model that handles it. AGT combines a fixed accounting graph with a gated recency path, and it beats strong baselines on every target. The three independent seeds agree, which tells you the result isn't a fluke of initialization.

Jane: The numbers hold up across the board. 0.6990 MAE against 0.7378 for LightGBM, wins on all 13 KPIs, and a paired bootstrap difference that excludes zero. Even under company-balanced weighting, where every firm counts equally, the advantage over SOFTS stays almost the same. And the 7,094-company later cohort confirms the model transfers forward in time.

Lu: What stands out to me is the respect for messy reality. Ranked child slots, catch-all accounts, temporal masks, series masks. The model meets small businesses where they actually are, with all their inactive subaccounts and idiosyncratic charts of accounts.

Meng: And the practical payoff is real. A single 5.3 million parameter checkpoint produces 156 aligned forecasts in one forward pass. Planning, liquidity, and working capital views can all share one forecast origin without refitting.

Lalam: The wider implication is access. When forecasting becomes cheap and reliable at small business scale, credit decisions and financial tools can reach firms that were previously ignored. That's the kind of impact research should aim for. It also sets a nice example: inject domain structure instead of just throwing more data at the problem.

Tom: Well said. We've squeezed a lot out of this paper, and the next one is already waiting in the stack. Thanks for listening, everybody. We'll see you there.

Jane: See you on the next one.

More episodes

← Home