Leanpub Header

Skip to main content

Knowledge Graph Embeddings as Geometric Operators

This book is 100% completeLast updated on 2026-07-24

What if TransE, ComplEx, RotatE and the rest of the knowledge graph “model zoo” were different views of one geometric operator? Learn the mathematics, code and practical design principles behind structured memory for trustworthy AI.

Minimum price

$29.95

$49.95

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
About

About

About the Book

Knowledge graph embeddings are often presented as a crowded model zoo: TransE, DistMult, ComplEx, RotatE, QuatE, RESCAL, TuckER and many more, each with its own notation and intuition. Knowledge Graph Embeddings as Geometric Operators replaces that list with a unifying map. It shows that these models can be understood as configurations of a single relation operator built from rotation, stretch and translation. Under this operator view, symmetry, inversion, composition and cardinality become geometric properties that can be imposed, learned and measured.

Beginning with linear algebra and requiring no prior knowledge of geometric algebra, the book develops the mathematics step by step before connecting it to training, expressivity, diagnostics, calibration and computation. A capstone case study demonstrates two-graph geometric binding for anti-money-laundering detection, while the companion PyTorch library and chapter notebooks make the results reproducible and practical. Written for graduate-level data scientists and practitioners who want more than a recipe, the book serves as the mathematical prequel to the KnowlytiX AI Engineering Series—the foundation beneath trustworthy retrieval, structured memory, geometric ground truth and governed agentic AI.

Author

About the Author

Agus Sudjianto and Wing Yan Lau

Dr. Agus Sudjianto

Dr. Agus Sudjianto works on the connections between geometry, machine learning and model risk. His central idea is that learning is the discovery of geometry, and he pursues it in two ways: in research on interpretable machine learning and in the practical work of making high-stakes models safe to deploy in regulated industries. He advises several AI companies and a university in his field, and consults independently for banks, fintechs and digital-media firms.

This idea shapes how he approaches machine learning. For tabular models, he treats a kernel as a geometry that is learned rather than chosen. That view unifies gradient-boosted trees, Gaussian processes and in-context learning, and it is the subject of his book in preparation, The Learned Kernel. His open-access toolkit MoDeVa brings interpretable model development and validation into one workflow, covering diagnostics, explainability and reliability testing. For generative AI, he applies the same idea to agentic systems through the KnowlytiX framework. Its Geometric Memory System places facts on a learned manifold, so plausibility becomes distance, contradiction becomes measurable tension, reasoning-path consistency becomes a geometric defect and exact numbers are stored without loss. This lets a governed agent sit between symbolic rules and a language model, working as memory, control plane and verifier that can be inspected and audited, and it grounds an agentic harness for testing large language models.

His work builds on more than two decades in quantitative risk. Agus was Executive Vice President and Head of Corporate Model Risk at Wells Fargo, where he chaired the Model Governance Committee and led enterprise model risk management. Earlier he was Director of Analytics and Modeling and Chief Model Risk Officer at Lloyds Banking Group in the UK and Head of Quantitative Risk at Bank of America. His career began in engineering at Ford Motor Company. He holds a PhD in Engineering from Wayne State University and a Master’s in System Design & Management from MIT, holds several U.S. patents and co-authored Design and Modeling for Computer Experiments.

Wing Yan Lau

Wing Yan Lau is the Chief Technology Officer at KnowlytiX and works at the intersection of data systems, knowledge infrastructure and dependable AI. Her focus is the engineering required to turn mathematical ideas into systems that can operate against real enterprise information. In the context of this book, that means connecting knowledge graph embeddings and geometric operators to the practical machinery through which facts are ingested, structured, queried, verified and ultimately made useful to an AI agent.

Her work on the Geometric Memory System spans document ingestion, knowledge-store construction, query infrastructure, verification pathways and the interfaces that connect governed AI systems to enterprise data. She is also a co-author of KnowlytiX research on graph-verified evaluation and structured financial-document retrieval, including work represented in FinStructBench and the company’s broader knowledge and testing platform. That perspective shapes the book’s emphasis on more than mathematical representation alone: an operator must not only express the geometry of a relationship but also be trainable, testable and usable within a complete computational system.

Wing brings more than two decades of database and data-platform engineering experience to this work. She has contributed to core technologies at IBM, SAP and Workday, with responsibilities spanning query optimization, storage systems and execution infrastructure. This background informs how she approaches knowledge graphs: not as abstract collections of triples but as operational systems in which data representation, numerical exactness, retrieval behavior and execution performance must work together.

Her contribution is the implementation discipline that connects theory to practice. She focuses on how documents become structured knowledge, how facts and numeric values retain their fidelity, how graph-backed queries are executed reliably and how verification becomes part of the system rather than an instruction left to a language model. That systems perspective complements the geometric framework developed in this book and helps turn its central ideas into software that researchers and engineers can build, reproduce and run.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub