June 13, 2024

How Ramp builds customer-first AI

Artificial intelligence is transforming how we work and build software. Companies like Ramp, Amazon, and Google have been using AI for years to provide recommendations, extract insights, and combat fraud. Since our founding, we’ve built AI tools to save customers over $400 million to date.

However, most AI solutions today are superficial chat experiences that lack real customer value. We think these are prime examples of "AI washing"—using AI for the hype rather than the impact.

At Ramp, we follow a few principles to ensure our models consistently deliver meaningful outcomes—and more importantly, save customers time and money.

Focus on outcomes, not interfaces

Many AI implementations are a thin chat layer on top of a product that customers have to go out of their way to use. But AI should be more than a flashy chatbot interface—it should be embedded in your workflows to actually get things done.

For example, when you’re managing contracts on Ramp, you don’t want to ask a chatbot question after question—you want the key details extracted and analyzed for you. Having AI pull out and highlight the most important terms from an automatically imported contract is far more useful than a chatbot that requires manually uploading documents and posing individual, one-off questions. AI should work for people, not the other way around.

Separate general knowledge and private data

Large language models are good at common-sense reasoning because they have been trained on huge datasets to learn relationships between concepts. However, for a fintech platform like Ramp, models also need to understand concepts and sensitive customer data not found in these general datasets. Unlike companies that train models on private data end-to-end, we safeguard data by splitting models into two categories:

  1. General models trained on aggregated and masked customer data to handle common tasks. These shared models learn patterns across customers by understanding the structure of the data rather than the actual contents.
  2. Sensitive models that can temporarily use private customer data without storing it, using a technique called in-context learning.

For example, our contract pricing benchmarks use a shared model to extract line items and terms from vendor documents. We use a general model for this purpose to ensure that it performs well across a wide variety of contracts. If customers opt in to share pricing data derived from their contracts, we then use in-context learning to benchmark their pricing against pricing data shared by similar customers.

By separating our models into general and private domains, we enable powerful insights while upholding data privacy. Customers then have the choice to share their contract data to improve Ramp’s models, but only if they explicitly opt in.

This framework ensures that no customer's contract information is used without their permission. It allows us to build models that understand both general knowledge and customer specifics, without risking accidental exposure of private data.

Explainability isn’t enough—offer users control

The best AI is useless without trust from users. Explainability, which attempts to trace how models make their decisions, seeks to build trust. But explanations aren’t always helpful or relevant—it’s more important that models improve and are responsive to user feedback.

For example, if Ramp’s spend intelligence model incorrectly codes a purchase to the wrong accounting category, a lengthy explanation of the model logic isn’t particularly useful. We simply allow customers to provide feedback so the model learns for the future. Focusing on control and continuous improvement is more meaningful than attempting to explain every AI decision.

Build guardrails, not censorship

As AI systems gain wider adoption, the risks posed by inappropriate, nonsensical, or offensive outputs also increase. Rather than censoring AI model outputs, we design models to make unwanted outputs impossible in the first place. In contrast, models like ChatGPT take natural language inputs and apply censorship filters to the outputs, blocking offensive or nonsensical responses. The problem is that censorship can be incomplete—it's difficult for filters to anticipate every possible unwanted output, especially as language models become more advanced.

Ramp’s Copilot AI is great at processing natural language to generate search queries from customer data. But instead of having the model directly respond using plain text (which could contain unwanted or harmful content), we show the results of those queries using predefined blocks of interactive, structured data. This allows Copilot to interpret the nuances of natural language while ensuring safe, controlled outputs.

This approach to "guardrails, not censorship" allows us to leverage powerful language models with confidence that we can build and maintain safe constraints on their operation. For example, we use techniques like Jsonformer (pioneered at Ramp) to convert unstructured text into formats that can be safely interpreted and used. Overall, designing safety from the start leads to more robust and trustworthy AI than retroactively censoring model outputs.

Creating better AI

AI will keep advancing, but it must be grounded in customer needs to provide real value. For Ramp, we’re focused on developing AI that gets work done, uses data responsibly, builds trust through improvement, and is designed safely from the start. By following these principles, we'll keep building AI that serves our customers rather than hype.

If you like our approach to building products, we’d love to connect. Check out our careers page.

Try Ramp for free
Share with
Ramp is dedicated to helping businesses of all sizes make informed decisions. We adhere to strict editorial guidelines to ensure that our content meets and maintains our high standards.

“I assumed I would have to choose between speed and control. What I found is that you can have both. A well-designed system takes friction out, for the finance function and for everyone else.”

Justin Webster

CFO, Denver Broncos

What it takes to pay for an NFL season: inside the Denver Broncos’ finance rebuild

“A well-run district should not have to choose between getting work done at the school site and keeping control of the dollars behind it. We're not hiring more people to do more jobs, so we have to be smarter about the process. With Ramp, the purchase, the receipt, and the record stay together from the start. ”

Nick Brizeno

Director of Purchasing, San Marcos Unified School District

San Marcos Unified gives maintenance teams room to act — and finance a clear record of their spend across 19 schools

“AI is moving faster than the finance context around it. Prices change, models change, and the value is not always obvious from an invoice. We needed enough detail to know which bets deserved more investment — and which ones did not.”

Greg Cooley

Controller, AngelList

From purchase requests to 409 API keys: How AngelList puts spend under owner-level control

“Invoices, cards, tokens. The categories change but the principle doesn't: know where the money is going, remove the work around it, and make sure the spend is worth it.”

Maciej Mylik. Finance

ElevenLabs

ElevenLabs speaks more than 70 languages but its money speaks the same one

“We weren’t trying to retrofit an old finance system. We had a blank canvas, and Ramp gave us the foundation to build a global finance function of the future.”

Justin Dourado

Director of Finance, Othership

How Othership’s first finance hires built one operation across Canada and the U.S.

“There's just no surprises anymore. No more waiting two months to find out how a job did. We know how it's doing as it's happening.”

Erich Kuss

Financial Systems Manager, Infinity Home Services

Infinity Home Services prevents the margin leak nobody can see from the ground, so its 20+ local companies build what they bid

“More token spend isn’t proof that AI is working. Less isn’t proof that it isn’t. What matters is whether we’re buying the right level of intelligence for the work. Ramp lets us make that judgment in the same place we manage every other type of spend.”

Cody Nutt

Senior Director of Business Systems, Daxko

How Daxko put every AI token on the same operating system as every dollar

“Most banks treat the back office as a cost to keep down. We treat ours as a return to compound, which is why we run it on Ramp. Now we put our clients on Ramp, too.”

Patrick Gaughen

President & COO, Hingham Institution for Savings

The 192-year-old bank that banks on Ramp to take the waste out of its own books