IP Library Granted Patent US 12,579,166
Granted Patent B1
US 12,579,166 · App. 19/376,656 · Granted Mar 17, 2026

Active-active mirrored artificial intelligence architecture

Inventors: Ganesh Prasad Bhat (West Orange, NJ); James Randolph Myers (Clearwater Beach, FL)
Assignee: Citibank, N.A.
G06F16/273G06F16/907
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,579,166
App. No.
19/376,656
Granted
Mar 17, 2026
Kind
B1
Abstract

Systems and methods for an active-active mirrored artificial intelligence architecture are disclosed. In some implementations, the system identifies, for an inference request from a user, at least two geographically separate compute clusters configured to handle the inference request, each compute cluster storing a version of an artificial intelligence model for processing the inference request. The system determines, from the inference request, a data consistency requirement mapping the inference request to one or more data consistency types. The system determines, for each compute cluster, a composite metric based on, among other things, a consistency freshness score of the compute cluster. The system routes the inference request to a selected compute cluster having a lowest composite metric subject to a constraint that the consistency freshness score for the compute cluster satisfies the data consistency requirement for the inference request. The system returns an inference response for the inference request to the user.

Claims (35)

1 . One or more non-transitory computer-readable storage media storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations that respond to an inference request, the operations comprising:

identifying, for an inference request from a user, at least two geographically separate compute clusters configured to handle the inference request, each compute cluster storing a version of an artificial intelligence model for processing the inference request;

determining, from the inference request, a data consistency requirement that maps the inference request to: (i) strong consistency, (ii) causal consistency, (iii) eventual consistency, and/or (iv) read-your-writes consistency;

determining, for each compute cluster, a composite metric based on a network latency to the compute cluster, a capacity of the compute cluster, and a consistency freshness score of the compute cluster;

routing the inference request to a selected compute cluster having a lowest composite metric subject to a constraint that the consistency freshness score for the compute cluster satisfies the data consistency requirement for the inference request; and

returning an inference response for the inference request to the user, wherein the inference response was generated by the selected compute cluster.

2 . The one or more non-transitory computer-readable storage media of claim 1 , wherein the consistency freshness score of the compute cluster for conversation state is computed as a vector clock divergence value, and wherein determining the composite metric for the compute cluster comprises penalizing the composite metric for the compute cluster proportional to the vector clock divergence value.

3 . The one or more non-transitory computer-readable storage media of claim 1 , wherein one or more analytics records generated by the inference request are tagged for asynchronous replication, and wherein determining the composite metric for the compute cluster excludes the consistency freshness score for analytics data, thereby favoring lower latency compute clusters.

4 . The one or more non-transitory computer-readable storage media of claim 1 , wherein a session affinity token accompanies the inference request, and wherein determining the composite metric comprises penalizing the composite metric for the compute cluster that does not hold a most recent user profile version linked to the session affinity token.

5 . The one or more non-transitory computer-readable storage media of claim 1 , wherein routing the inference request further comprises computing a layer-wise delta between an updated model checkpoint and its previously replicated state and transmitting only those model weights that differ.

6 . The one or more non-transitory computer-readable storage media of claim 5 , wherein the layer-wise delta is singular value decomposition (SVD)-compressed and INT8-quantized before transmission, thereby shortening replication time for subsequent requests.

7 . The one or more non-transitory computer-readable storage media of claim 1 , further storing instructions that replicate model weight and/or configuration update triggered while routing the inference request, the replication being enforced under (i) strong consistency for model weight data and (ii) eventual or causal consistency for non-critical analytics data generated by the inference request.

8 . The one or more non-transitory computer-readable storage media of claim 1 , further storing instructions that capture a conversation state of the inference request and replicate the conversation state to another compute cluster in parallel with the inference to enable a seamless mid-conversation failover.

9 . The one or more non-transitory computer-readable storage media of claim 1 , further storing instructions that, for requests originating from autonomous AI agents, map each agent to a backup compute cluster and pre-stage agent state so that the inference request can be re-issued from the backup compute cluster without data loss.

10 . The one or more non-transitory computer-readable storage media of claim 1 , wherein every model weight replicated during fulfillment of the inference request is cryptographically signed and appended to a distributed ledger, providing a tamper-evident audit trail for the inference request.

11 . A method for responding to an inference request, the method comprising:

identifying, for an inference request from a user, at least two geographically separate compute clusters configured to handle the inference request, each compute cluster storing a version of an artificial intelligence model for processing the inference request;

determining, from the inference request, a data consistency requirement that maps the inference request to one or more data consistency types;

determining, for each compute cluster, a composite metric based on a network latency to the compute cluster, a capacity of the compute cluster, and a consistency freshness score of the compute cluster;

routing the inference request to the compute cluster having a lowest composite metric subject to a constraint that the consistency freshness score for the compute cluster satisfies the data consistency requirement for the inference request; and

returning an inference response for the inference request to the user.

12 . The method of claim 11 , wherein the consistency freshness score of the compute cluster for conversation state is computed as a vector clock divergence value, and wherein determining the composite metric for the compute cluster comprises penalizing the composite metric for the compute cluster proportional to the vector clock divergence value.

13 . The method of claim 11 , wherein one or more analytics records generated by the inference request are tagged for asynchronous replication, and wherein determining the composite metric for the compute cluster excludes the consistency freshness score for analytics data, thereby favoring lower latency compute clusters.

14 . The method of claim 11 , wherein a session affinity token accompanies the inference request, and wherein determining the composite metric comprises penalizing the composite metric for the compute cluster that does not hold a most recent user profile version linked to the session affinity token.

15 . The method of claim 11 , wherein routing the inference request further comprises computing a layer-wise delta between an updated model checkpoint and its previously replicated state and transmitting only those model weights that differ.

16 . The method of claim 15 , wherein the layer-wise delta is singular value decomposition (SVD)-compressed and INT8-quantized before transmission, thereby shortening replication time for subsequent requests.

17 . The method of claim 11 , further comprising replicating model weight and/or configuration update triggered while routing the inference request, the replication being enforced under (i) strong consistency for model weight data and (ii) eventual or causal consistency for non-critical analytics data generated by the inference request.

18 . The method of claim 11 , further comprising capturing a conversation state of the inference request and replicating the conversation state to another compute cluster in parallel with the inference to enable a seamless mid-conversation failover.

19 . The method of claim 11 , further comprising, for requests originating from autonomous AI agents, mapping each agent to a backup compute cluster and pre-staging agent state so that the inference request can be re-issued from the backup compute cluster without data loss.

20 . A system comprising at least one processor and one or more non-transitory computer-readable media having instructions stored thereon that, when executed by the at least one processor, cause the at least one processor to perform operations comprising:

identifying, for an inference request from a user, at least two geographically separate compute clusters configured to handle the inference request;

determining, from the inference request, a data consistency requirement that maps the inference request to one or more data consistency types;

determining, for each compute cluster, a composite metric based on at least a consistency freshness score of the compute cluster;

routing the inference request to the compute cluster having a lowest composite metric subject to a constraint that the consistency freshness score for the compute cluster satisfies the data consistency requirement for the inference request; and

returning an inference response for the inference request to the user.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 3, 2025
From: BHAT, GANESH PRASAD; MYERS, JAMES RANDOLPH
To: CITIBANK, N.A.
Reel/Frame 072760/0199 →
References Cited (9)
US 11422731B1 · Potashnik · 2022 [cited by examiner]
US 12307299B1 · Elbadrashiny · 2025 [cited by examiner]
US 20170212948A1 · Wang · 2017 [cited by examiner]
US 20180356989A1 · Meister · 2018 [cited by examiner]
US 20200051550A1 · Baker · 2020 [cited by examiner]
US 20250307927A1 · Galvin · 2025 [cited by examiner]
Shaikat Biswas 2025. Artificial IntelligenceǎEnhanced Cybersecurity Frameworks for Real-Time Threat Detection in Cloud and Enterprise. ASRC Procedia: Global Perspectives in Science and Scholarship. 1, 01 (Apr. 2025), 73… [cited by examiner]
Govindarajulunaidu Sambath Narayanan, D.B. 2025. Enhancing Data Quality and Consistency in Large-Scale Analytical Systems through AI-Driven Engineering Workflows. International Journal of Emerging Trends in Computer Sci… [cited by examiner]
James Cipar, Greg Ganger, Kimberly Keeton, Charles B. Morrey, et al. 2012. LazyBase: trading freshness for performance in a scalable database. In Proceedings of the 7th ACM european conference on Computer Systems (EuroS… [cited by examiner]