# Beyond Bots - Ilia Zintchenko, Ntropy

Published: 2023-07-14
Duration: 1162s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/fc5387b7-2803-419c-b420-7bd49aacd386/stream.mp3

## Key Takeaways
- Caching Is a Major Cost: GPU compute and in-memory caching are Ntropy's two largest costs. The team weighs how long to store a result against discarding it and recomputing later, especially for odd transactions unlikely to recur.
- LLM Performance at Scale: To handle hundreds of millions to billions of transactions a month, Ntropy uses distillation, layer fusing, quantization, different architectures and caching to balance accuracy, cost, latency and reliability.
- Test for Consistent Outputs: Ntropy periodically reruns fixed sets of transactions and investigates any changed output. It also aims for stable results when only minor details, like a reference or card number, differ.
- No Perfect Merchant Database: Ntropy combines its own web scraping, bulk-purchased databases and entity linkage. It also builds a payments graph that can infer things like a merchant's likely subscription cost.
- Build Human Labeling Early: External labeling quality wasn't acceptable, and Ilia says Ntropy waited too long to build an in-house team. Human labels are essential for training, ground truth and real-time quality monitoring.

**Choosing an LLM stack: Ilia Zintchenko of Ntropy on the tools his team picked for its language model work and the tradeoffs behind each choice.**

———

Today we are dropping another special episode of the Code Story podcast, as part of our series entailed Beyond Bots: the REAL impact of AI on financial services, brought to you by our friends at [Ntropy](https://www.ntropy.com/). As a reminder, [Ntropy](https://www.ntropy.com/) is the most accurate financial data standardization and enrichment API. They can take in any data source, any geography, and understand / enrich a financial transition in milliseconds. Made for developers, for fast, easy implementation. Check out their product at [Ntropy.com](https://www.ntropy.com/).

Guest: [Ilia Zintchenko](https://www.linkedin.com/in/iliazintchenko/), CTO & Co-founder of [Ntropy](https://www.ntropy.com/)

Questions:

- We talked with Nare about Ntropy and LLM's. But let's dig in more.... what is your LLM stack? How did you choose it, what were the considerations?
- What are the system costs in doing this?
- How do you optimize on reliability - what sort of lever are you pulling to ensure reliability?'
- How are you thinking about predictive vs generative learning?
- You guys have been using small and large LM's since the beginning - why is this significant?
- What data sources have you been using, and are there some that are better than others?'
- Have you had to scrub these data sources in any way to prep them for your LM?
- What is the major benefit that Ntropy is providing by using LLM?
- What would you go back and change if you could?

Links

- Website: [https://www.ntropy.com/](https://www.ntropy.com/)
- LinkedIn: [https://www.linkedin.com/in/iliazintchenko/](https://www.linkedin.com/in/iliazintchenko/)

  

Timestamps

00:00 – Intro

02:03 – Choosing Ntropy's LLM Stack

05:06 – Breaking Down LLM Costs

06:41 – Measuring Model Reliability

08:53 – Predictive Versus Generative Learning

10:58 – Early Bet on Language Models

13:14 – Selecting Data Sources

16:06 – What Ilia Would Change

Times are from the episode recording; ad breaks in your player may shift them a bit later.

  

Read the key answers from this episode, with quotes and timestamps from Ilia Zintchenko from Ntropy: [https://www.codestory.co/episodes/beyond-bots-ilia-zintchenko-ntropy/](https://www.codestory.co/episodes/beyond-bots-ilia-zintchenko-ntropy/)

  
  

Current Sponsors:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our [Substack](https://news.codestory.co/subscribe)

Checkout our [Stacklist!](https://stacks.codestory.co/)

Checkout our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart.](https://noahlabhart.com/)

  
  
Our Sponsors:  
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai  
* Check out Perplexity: https://pplx.ai/codestory  
  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 2:03 — Choosing Ntropy's LLM Stack
- 5:06 — Breaking Down LLM Costs
- 6:41 — Measuring Model Reliability
- 8:53 — Predictive Versus Generative Learning
- 10:58 — Early Bet on Language Models
- 13:14 — Selecting Data Sources
- 16:06 — What Ilia Would Change

## Frequently Asked Questions
- **Q:** How does Ntropy run large language models on financial transactions at a reasonable cost? — **A:** Ilia Zintchenko says Ntropy uses model distillation, layer fusing, quantization, different architectures and caching, reusing earlier computation for very similar transactions. The goal, as he put it, is "how do we bring this performance and reasoning ability of large language models into a stack" [04:18] that processes transactions at massive scale.
- **Q:** How does Ntropy measure and maintain model reliability? — **A:** Ilia explains that the same input should produce the same output, and similar inputs with insignificant differences should too. For live testing, he said, "We have some kind of fixed sets of transactions" [07:49], which are periodically rerun so any changes can be flagged and investigated.
- **Q:** Why use language models instead of rules to understand bank transactions? — **A:** Ilia argues that rules alone won't capture important edge cases, and that Ntropy's approach only became possible with transformer models. In his words, many players are "still pushing this rules-based agenda, which we believe is very performance-capped at a certain point." [11:57]
- **Q:** What data sources does Ntropy use to identify merchants? — **A:** Ilia says Ntropy combines location lookup tables, merchant databases, search engines, APIs, web scraping and the financial data itself. Multiple sources are needed because the team has not found a "holy grail merchant database, which has all the companies in the world perfectly categorized and updated." [14:20]
- **Q:** What would Ntropy's CTO do differently if he could start over? — **A:** Ilia Zintchenko would build up human data labeling sooner, saying "if I were to do it again, I would invest more in our labeling data with humans." [16:34] He also would have invested earlier in customer-facing pieces such as documentation and onboarding.
