1. Home
  2. Explore
  3. Computer Science
  4. Graph Analytics for Fraud Detection

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Graph Analytics for Fraud Detection

Speaker 1Speaker 2

Graph Analytics for Fraud Detection

20:58
0:00-20:58
  1. Maria

    Welcome, everyone. I’m Maria, and I’m joined by Michael. Today we’re exploring graph analytics: what graphs are, why they’re useful, and how they can help organizations detect fraud. Michael, how would you describe your work?

  2. Michael

    I work on making machine learning useful in business environments. And fraud is a great example, because it shows how graph technology can bring together data, connections, and machine learning to solve a practical problem.

  3. Maria

    Let’s start with a familiar image. In crime documentaries, investigators often use a board covered with photographs, names, locations, and strings connecting them. They’re trying to understand how a victim, a place, a possible motive, and other pieces of evidence relate. That picture is a good introduction to graph thinking.

  4. Michael

    Exactly. People tend to think naturally in connections and relationships, not just in rows and columns. A graph database reflects that way of thinking: it represents entities and the relationships between them. You might connect a person to a location, a browsing history, a purchase, or an account, then investigate how those connections reveal something deeper.

  5. Maria

    And those relationships matter because organizations are dealing with more data while asking more complicated questions. Questions like, ‘What should we recommend next?’, ‘Is this transaction fraudulent?’, or ‘Where is our supply chain vulnerable?’ are graph-shaped problems: the links between the data points matter as much as the data points themselves.

  6. Michael

    Traditional relational systems are valuable, but they weren’t designed to make every kind of connected-data question easy. When relationships are spread across tables, answering a complex question may require multiple joins. Those joins can become slow and computationally expensive, and adding new relationships can require changes to the schema.

  7. Maria

    A graph database represents the data differently. It stores entities as connected elements, so relationships are part of the model rather than something you have to reconstruct from separate tables each time. You can explore a relationship one step away—or follow a chain many steps deep.

  8. Michael

    That’s useful whether all the information comes from one system or has been brought together from many systems. Graphs can help organizations connect data that might otherwise sit in separate silos, then ask questions that depend on how those pieces fit together.

  9. Maria

    Let’s make that distinction visual. Suppose a table shows David and Sally. At first glance, they don’t share a location, an Apple product, or a bank. In a relational view, those rows don’t reveal an obvious connection, and finding an indirect one may require joining data from different tables.

  10. Michael

    But the graph view can reveal paths that aren’t obvious from looking at David and Sally alone. David is a sibling of Lisa, and Lisa has a watch like Sally’s. David lives in Los Angeles, as does Steve, and Steve is Sally’s coworker. The people and facts are connected through several routes, even though David and Sally don’t share an immediate attribute.

  11. Maria

    So the shift is from asking only, ‘What facts do I have?’ to asking, ‘How are these facts connected?’ That can support faster exploration at greater depth, especially as the number of entities and relationships grows.

  12. Michael

    It also helps explain why graphs are relevant to artificial intelligence and machine learning. If a model is trained only on individual data points, it may miss the relationships between them. In a graph, those relationships can themselves be treated as information for the model, giving it a more holistic view of the data.

  13. Maria

    There are several benefits. Graphs can connect data sets and help address silos, support deeper questions about implicit relationships, and offer high-speed queries and graph algorithms. They can also make some model results easier to explain, because you can trace the connections that led to an answer.

  14. Michael

    That last point is often called explainable AI. If a result comes back because Scott is connected to Griffin, who is connected to Nathan, you can inspect that path rather than seeing only a model output. Being able to follow the relationships can help people understand why a system reached a particular conclusion.

  15. Maria

    Let’s walk through some common graph algorithm families. Centrality assigns a score or ranking to nodes based on their position in the network. That can help identify influential people in a social network, or influential customers in a customer data set.

  16. Michael

    Classification groups nodes according to a rule that has been defined. One example discussed in the presentation was manufacturing optimization: classification can help determine how many tasks can be performed together without overlapping.

  17. Maria

    Community detection is another important family. Algorithms such as Louvain identify groups whose members are densely connected to one another. In a fraud investigation, finding a tightly connected community can help surface a group of people who may be participating in related activity.

  18. Michael

    Graph embeddings take a node’s position and structure in the graph and convert it into a fixed-size vector of decimal values. Those graph-derived features can then be used as inputs to machine-learning models.

  19. Maria

    Path algorithms answer questions such as, ‘What is the shortest route from A to B?’ That makes them useful for route optimization, and they can also help investigators examine paths through a possible money-laundering network.

  20. Michael

    Similarity algorithms look for how alike pairs of items are. They can support finding similar users or customers, which is useful when making recommendations. Topological link prediction goes a step further: it predicts whether a connection may exist between two entities even when that link isn’t apparent in the recorded data.

  21. Maria

    And frequent-pattern mining searches for patterns that occur repeatedly in a graph. For example, a sequence of events might often happen before a customer abandons a cart or leaves. Detecting that pattern could let an organization intervene before the customer churns.

  22. Michael

    Those are common examples, not the complete list of what graph algorithms can do. The right choice depends on the business problem and on what the relationships in the data can help reveal.

  23. Maria

    That connects to a wide range of applications: entity resolution, customer journeys and customer 360, recommendation engines, supply chains, fraud and anti-money-laundering analysis, cybersecurity, data fabric, and AI and machine learning.

  24. Michael

    Recommendations are an easy example to recognize. When an online store says, ‘People also bought this,’ that kind of recommendation can be powered by graph relationships. Supply-chain analysis is another: a graph can show how suppliers connect to manufacturing operations and how demand may affect what happens upstream or downstream.

  25. Maria

    A question that often comes up is, ‘What kind of problem is graph best suited for?’ A helpful starting point is to ask whether the relationships matter to the answer. If the key challenge is understanding connections—especially indirect ones—that’s a strong signal that the problem may be graph-shaped.

  26. Michael

    And there isn’t one graph product that suits every situation. Some graph offerings are aimed at smaller data sets, while others are built for larger ones. The choice depends on the task, the scale, and the sort of graph you need.

  27. Maria

    There are also different categories of graph databases. A triple store is commonly used for ontologies, hierarchies, and document-management-style work. A property graph is designed for highly connected, data-intensive use cases such as risk prediction, behavioral patterns, and finding when past patterns resemble new ones.

  28. Michael

    Those categories are optimized for different needs. A triple store may be a good fit for an ontology or hierarchy, but it may not perform well for the connected, intensive analytics we’ve been discussing. A property graph may be well suited to those analytics, but not as well suited to document management.

  29. Maria

    Now let’s focus on fraud and anti-money-laundering analysis. The same mathematics used for a positive business goal—such as finding customers who might want a product—can also be used to assess risk. One use case looks for a likely good outcome; another looks for a potentially harmful one.

  30. Michael

    Imagine a bank has two years of a customer’s transaction history. It can learn what normal activity looks like, then notice a change: more frequent transactions, different ZIP codes, larger amounts, or other unusual behavior. The key is comparing the historical pattern with the new one.

  31. Maria

    That matters for both cost and customer experience. A system needs to distinguish potentially fraudulent activity from legitimate spending. If a valid transaction is incorrectly blocked, the customer may be prevented from using their card. Better detection can help reduce costs and fines, while also reducing those disruptive false positives.

  32. Michael

    The presentation described graph-based fraud approaches as potentially 60 to 80 percent more accurate in a fraud cycle. That figure is presented as a possible improvement, not a guarantee for every organization or every model.

  33. Maria

    And a graph doesn’t have to replace existing systems. An organization may already have machine-learning code written in Python or notebooks, SQL or NoSQL databases, and business rules expressed as Boolean logic. The idea is to connect those capabilities with a graph model rather than throw everything away.

  34. Michael

    That’s especially important when data is spread across many systems. Fraud investigators may need to connect dozens of sources—or, in some organizations, hundreds—and find a meaningful pattern across them. The challenge can feel like finding a needle in a haystack, and sometimes first figuring out which haystack contains the needle.

  35. Maria

    Let’s look at the data model itself. In the example, an account is a node, and connections between accounts, phone numbers, devices, and payments are represented as relationships. Information can be stored on nodes or on relationships, depending on what it represents and how it will be queried.

  36. Michael

    For example, a phone number might connect to an account, a device, and a payment. That payment might connect to another account. Fraud may not appear in the first or second step; it may be hidden several steps deeper in the network. That’s one reason direct, single-record checks can miss sophisticated patterns.

  37. Maria

    In the presentation’s platform example, connected data is loaded into memory so that the system can explore the network quickly. The speaker described finding a potentially fraudulent transaction in milliseconds. The broader point is that pre-connected relationships can make it practical to analyze multiple hops quickly.

  38. Michael

    A business user can work with that capability through an alert or trigger rather than writing every algorithm from scratch. They can select data fields from upstream systems and combine rules and graph analysis to define what they want to flag.

  39. Maria

    The demonstration used a hypothetical scam scenario. The alert could look for transactions involving selected demographic or geographic conditions, connected communities identified with Louvain, and people on a blacklist. It could also look for looping transactions—for instance, money moving from one person to another and then back through the network.

  40. Michael

    A user can run the model, inspect the connections it found, and tune the logic. If the results aren’t accurate enough, they can add or adjust rules and run it again. The goal is not merely to flag one suspicious person, but to understand who else is connected and how.

  41. Maria

    In the example, the system surfaced a person named Fran who appeared in an alert and had several relevant connections: an open case, geography, and multiple transactions. Further exploration showed a larger network involving customers and employees, hidden accounts, a family member, and possible fake loans.

  42. Michael

    The suspected pattern was that employees were building fake loans with fake customers, connecting the money, and that Fran—who was on a blacklist—was at the center of the network. The graph view let investigators expand from an initial alert and see the larger pattern, rather than treating every account as an isolated record.

  43. Maria

    That kind of visual investigation can save time compared with building all the connections manually. The demonstration also showed that scores, transactions, and other information could be explored in dashboards, while more technical users could work directly with the data model and queries.

  44. Michael

    The platform example included a data-modeling and query environment called TigerGraph Studio. A technical user could define nodes such as people and addresses, write queries, and expose them through a REST endpoint. A business user could then consume those prepared queries in a simpler interface.

  45. Maria

    What about open-source graph platforms compared with enterprise software? Open source can be a useful way to experiment, learn, or demonstrate that graph technology might help. JanusGraph was one example discussed, with a community around it.

  46. Michael

    The trade-off is that an open-source graph engine may leave more operational work to the user. Depending on the tool and use case, you may need to build or manage algorithm execution, scaling, sharding, load balancing, cluster management, and read-and-write performance yourself. Enterprise offerings may include more of those capabilities and provide more guided tools.

  47. Maria

    There are many graph products, and they differ in their focus. Some are property graphs; others are triple stores or hybrids. So it’s important to compare the product to the task instead of assuming that every database described as a graph database is equally suited to every kind of analysis.

  48. Michael

    The discussion also mentioned Gremlin and TinkerPop in the open-source ecosystem. Gremlin is a programming language, rather than just a query language, so using it may mean learning another programming style. Some people value that flexibility; others may prefer a graph-oriented query language that feels more approachable.

  49. Maria

    A more sensitive question is whether it’s ethical to label individuals as more likely to commit fraud. The answer is that there are real concerns. Machine-learning systems can drift or have bias, and graph systems are not exempt from those risks.

  50. Michael

    One proposed way to make a risk decision more grounded is to base it on connected historical data and multiple pieces of evidence, rather than on a vague label about a person. For instance, an account’s risk could reflect several individual signals on nodes and relationships, such as an overdraft, a documented connection to a known fraudster, or unusual transaction activity.

  51. Maria

    But that doesn’t eliminate the need for care. The presentation emphasized that people remain in the loop: humans review outcomes and tell the system what was useful or interesting. A graph-based system is not a substitute for human judgment, and decisions still need attention to bias, errors, and how a conclusion was reached.

  52. Michael

    This is also a contrast with long chains of ‘if this, then that’ rules. Over time, those rules can become a fragile house of cards, where interactions produce outcomes no one intended. A graph can help expose how connected evidence contributes to a result, but it still needs to be monitored and corrected.

  53. Maria

    Another implementation question is duplicate records. Pre-connecting data doesn’t remove the need for ordinary data-loading discipline. Teams must decide whether an attribute belongs on a node or on a relationship, and they need to model it consistently so it isn’t duplicated unintentionally.

  54. Michael

    Take a phone number. Should it be an attribute of a person, or should it be represented on a connection between two people? The right choice depends on how the information is used. If many queries focus on the relationship, storing it there may make sense; if it’s a standard person attribute, the node may be the better place.

  55. Maria

    The presentation also described graph storage as potentially compact because a graph can focus on saving relationships rather than repeating full relational-table structures. It gave an example of a terabyte of connected data being compressed to roughly 500 gigabytes, while noting that actual results vary.

  56. Michael

    Graphs also have applications involving climate-related data and infrastructure. One example was predicting where an electrical grid might fail during severe weather by connecting weather events with grid components and historical failures.

  57. Maria

    That kind of analysis can support fault detection, forecasting, and root-cause investigation. Teams might combine readings from weather sensors, wind sensors, or strain measurements on infrastructure with the network of grid connections, then examine where a problem is most likely to occur.

  58. Michael

    The same general idea applies to transportation. Weather information can be connected with the locations of aircraft, pilots, or trucks to help assess rerouting. For an electrical grid, predictions can help decide where to position repair vehicles or spare parts.

  59. Maria

    The important point is not that graph replaces relational databases or time-series systems. Organizations often keep those systems and combine them with graph technology. Relational and NoSQL systems serve important purposes; graph can add capabilities for analyzing connected risk, prediction, planning, and root cause.

  60. Michael

    That multi-system approach is sometimes called polyglot or multi-data-source architecture. You can keep established systems and use graph for the questions it handles especially well, rather than trying to force every workload into one technology.

  61. Maria

    What about visualization tools like Tableau or Power BI? They’re useful for dashboards and familiar reporting, but the presentation drew a distinction: those tools are often strongest at viewing relatively flat data and historical summaries, while graph tools can explore the connected paths behind an outcome.

  62. Michael

    The proposed approach is to combine them. A graph visualization can be embedded in a reporting tool, or existing Tableau or Power BI dashboards can be shown alongside graph views. That lets organizations retain dashboards they’ve already invested in while adding a way to inspect relationships.

  63. Maria

    Graph queries can also be connected to other applications. In the TigerGraph example, a query written in GSQL could be exposed through a REST endpoint. That makes it possible to send results to a CRM or trigger a message, depending on how the organization builds its integration.

  64. Michael

    A graph view could also appear inside a CRM, for example, so a user can inspect a person’s connections or see supply-chain dependencies without leaving the familiar application. The graph system and the other data systems can work together.

  65. Maria

    For someone just starting out, graph experience isn’t necessarily a requirement for a role, but it can be an advantage. Learning graph theory, exploring graph databases, and trying a free tier or a certification can help you stand out in a field where many people are still new to graph.

  66. Michael

    There are learning resources available, including documentation, certification courses, demos, and analyst material. The webinar also mentioned a free TigerGraph Cloud tier and a free certification, with resources to be shared alongside the recording.

  67. Maria

    So let’s bring it all together. Graph databases model entities and their relationships directly, making them a natural fit when connections—not just individual records—are central to the question.

  68. Michael

    That can help with deeper analytics, machine learning, recommendations, customer views, supply chains, climate and infrastructure analysis, and especially fraud investigations where suspicious patterns may only appear several steps into a network.

  69. Maria

    The practical choice still depends on the use case, the type and scale of data, and the tools an organization already has. Graph doesn’t mean abandoning SQL, NoSQL, dashboards, or human review. It means adding a way to work directly with connected data.

  70. Michael

    And when a model flags something, the goal is to make the connections inspectable, keep people involved, and evaluate the evidence carefully. That combination—connected data, appropriate algorithms, and human oversight—is what makes graph analytics useful in real business settings.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent