Secure data retrieval using isolated ontologies
Systems and methods for secure data-retrieval are disclosed herein. A system for secure data retrieval initializes a session between a user-specific model executing locally at a user device and an entity-specific model at an entity device. The user-specific model has access to a locally stored ontology comprising interaction data. The system can receive a request from the entity device, where resolving the request requires access to the interaction data from the ontology. The system inputs the request into the user-specific model to generate a query for obtaining interaction data from one or more classes of the ontology associated with the request. The system can generate a set of filtering operations, which can be applied to the interaction data to obtain filtered data. The system can use the filtered data to generate and transmit a response.
1 . A system for secure data-retrieval using isolated ontologies, the system comprising:
one or more processors; and
one or more non-transitory, computer-readable storage media storing instructions, which, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
initializing a communication session between a user-specific agentic model executing locally at a user device and an entity-specific agentic model at an entity device, wherein the user-specific agentic model has access to a user-specific ontology comprising interaction data between a corresponding user and one or more entities for which a user associated with the user device is a constituent;
obtaining, at the user device, one or more user inputs;
generating, using the one or more user inputs, at least one user-set filtering operation;
generating an on-chain program storing user-set filtering operations;
transmitting, to a node of a blockchain, the on-chain program for deployment;
receiving, at the user-specific agentic model via the communication session, a request from the entity device, wherein resolving the request requires access to the interaction data from the user-specific ontology;
inputting the request into the user-specific agentic model to generate (a) a query for obtaining interaction data from one or more classes of the user-specific ontology associated with the request and (b) one or more context-based filtering operations;
obtaining the interaction data from the user-specific ontology using the query;
generating a set of filtering operations, wherein the set of filtering operations comprises (i) user-set filtering operations for data transmission and (ii) the one or more context-based filtering operations;
applying the set of filtering operations to the interaction data to obtain filtered data and generating, using the user-specific agentic model, a response to the request with the filtered data; and
transmitting, via the communication session, the response.
2 . The system of claim 1 , wherein the instructions further cause the one or more processors to perform operations comprising:
receiving, via the communication session, interaction data relating to the user from an entity-specific ontology stored locally on the entity device; and
updating the user-specific ontology using the interaction data.
3 . The system of claim 1 , wherein model weights of the user-specific agentic model are encrypted using homomorphic encryption.
4 . The system of claim 1 , wherein the set of filtering operations comprises one or more of:
a temporal filter configured to remove data generated during a period of time;
a context-based filter configured to remove data not relevant to the request; or
a data resolution filter configured to mask sensitive metadata and generate generalized data.
5 . The system of claim 1 , wherein the instructions further cause the one or more processors to perform operations comprising obtaining the user-set filtering operations for data transmission by:
transmitting, to the node of the blockchain, a call to a function of the on-chain program storing user-set filtering operations; and
obtaining, from the node, one or more user-set filtering operations.
6 . The system of claim 1 , wherein the instructions further cause the one or more processors to perform operations comprising:
determining that the request cannot be resolved without requisite interaction data that is filtered out when applying the user-set filtering operations;
generating a notification with an actionable element for display at the user device, wherein the actionable element is configured to enable the requisite interaction data to be used in generating the response upon selection of the user;
obtaining an indication of user selection of the actionable element; and
appending the requisite interaction data to the filtered data.
7 . The system of claim 1 , wherein the instructions further cause the one or more processors to perform operations comprising: generating a sequence of the set of filtering operations based on a number of conditions of each filtering operation of the set of filtering operations.
8 . A method for secure data-retrieval using isolated ontologies, the method comprising:
initializing a communication session between a user-specific agentic model executing locally at a user device and an entity-specific agentic model at an entity device, wherein the user-specific agentic model has access to a user-specific ontology locally stored on the user device and comprising interaction data between a user at the user device and entity;
obtaining, at the user device, one or more user inputs;
generating, using the one or more user inputs, at least one user-set filtering operation;
generating an on-chain program storing user-set filtering operations;
transmitting, to a node of a blockchain, the on-chain program for deployment;
receiving, at the user-specific agentic model via the communication session, a request from the entity device, wherein resolving the request requires access to the interaction data from the user-specific ontology;
inputting the request into the user-specific agentic model to generate a query for obtaining interaction data from one or more classes of the user-specific ontology associated with the request;
obtaining the interaction data from the user-specific ontology using the query;
generating a set of filtering operations, wherein the set of filtering operations comprises user-set filtering operations for data transmission and one or more context-based filtering operations;
applying the set of filtering operations to the interaction data to obtain filtered data and generating, using the user-specific agentic model, a response to the request with the filtered data; and
transmitting, via the communication session, the response.
9 . The method of claim 8 , further comprising:
receiving, via the communication session, interaction data relating to the user from an entity-specific ontology stored locally on the entity device; and
updating the user-specific ontology using the interaction data.
10 . The method of claim 8 , wherein model weights of the user-specific agentic model are encrypted using homomorphic encryption.
11 . The method of claim 8 , wherein the set of filtering operations comprises one or more of:
a temporal filter configured to remove data generated during a period of time;
a context-based filter configured to remove data not relevant to the request; or
a data resolution filter configured to mask sensitive metadata and generate generalized data.
12 . The method of claim 8 , further comprising:
determining that the request cannot be resolved without requisite interaction data that is filtered out when applying the user-set filtering operations;
generating a notification with an actionable element for display at the user device, wherein the actionable element is configured to enable the requisite interaction data to be used upon selection of the user in generating the response;
obtaining an indication of user selection of the actionable element; and
appending the requisite interaction data to the filtered data.
13 . The method of claim 8 , further comprising: generating a sequence of the set of filtering operations based on a number of conditions of each filtering operation of the set of filtering operations.
14 . One or more non-transitory, computer-readable media comprising instructions recorded thereon that, when executed by one or more processors, cause operations for secure data-retrieval using isolated ontologies, comprising:
initializing a communication session between a user-specific agentic model executing locally at a user device and an entity-specific agentic model at an entity device, wherein the user-specific agentic model has access to a user-specific ontology comprising interaction data between a user of the user device and entity;
obtaining, at the user device, one or more user inputs;
generating, using the one or more user inputs, at least one user-set filtering operation;
generating an on-chain program storing user-set filtering operations;
transmitting, to a node of a blockchain, the on-chain program for deployment;
receiving, at the user-specific agentic model via the communication session, a request from the entity device, wherein resolving the request requires access to the interaction data from the user-specific ontology;
inputting the request into the user-specific agentic model to generate a query for obtaining interaction data from one or more classes of the user-specific ontology associated with the request;
obtaining the interaction data from the user-specific ontology using the query;
generating a set of filtering operations, wherein the set of filtering operations comprises user-set filtering operations for data transmission and one or more context-based filtering operations;
applying the set of filtering operations to the interaction data to obtain filtered data and generating, using the user-specific agentic model, a response to the request with the filtered data; and
transmitting, via the communication session, the response.
15 . The one or more non-transitory, computer-readable media of claim 14 , wherein the instructions further cause the one or more processors to perform:
receiving, via the communication session, interaction data relating to the user from an entity-specific ontology stored locally on the entity device; and
updating the user-specific ontology using the interaction data.
16 . The one or more non-transitory, computer-readable media of claim 14 , wherein model weights of the user-specific agentic model are encrypted using homomorphic encryption.
17 . The one or more non-transitory, computer-readable media of claim 14 , wherein the set of filtering operations comprises one or more of:
a temporal filter configured to remove data generated during a period of time;
a context-based filter configured to remove data not relevant to the request; or
a data resolution filter configured to mask sensitive metadata and generate generalized data.
18 . The one or more non-transitory, computer-readable media of claim 14 , wherein the instructions further cause the one or more processors to perform comprising obtaining the user-set filtering operations for data transmission by:
transmitting, to the node of the blockchain, a call to a function of the on-chain program storing user-set filtering operations; and
obtaining, from the node, one or more user-set filtering operations.
19 . The one or more non-transitory, computer-readable media of claim 14 , wherein the instructions further cause the one or more processors to perform:
determining that the request cannot be resolved without requisite interaction data that is filtered out when applying the user-set filtering operations;
generating a notification with an actionable element for display at the user device, wherein the actionable element is configured to enable the requisite interaction data to be used upon selection of the user in generating the response;
obtaining an indication of user selection of the actionable element; and
appending the requisite interaction data to the filtered data.
20 . The one or more non-transitory, computer-readable media of claim 14 , wherein the instructions further cause the one or more processors to perform: generating a sequence of the set of filtering operations based on a number of conditions of each filtering operation of the set of filtering operations.