IP Library › Granted Patent US 12,493,638
Granted Patent B2
US 12,493,638 · App. 19/040,471 · Granted Dec 9, 2025

Method and system for multi-level artificial intelligence supercomputer design

Inventors: Vijay Madisetti (Alpharetta, GA); Arshdeep Bahga (Chandigarh, IN)
Assignee: Vijay Madisetti
G06F16/3329G06F40/284
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,493,638
App. No.
19/040,471
Granted
Dec 9, 2025
Kind
B2
Abstract

A method for utilizing hierarchical tokens (h-tokens) in large language models (LLMs) including receiving and processing an input prompt to generate tokens, identifying functional components derived from a subset of tokens, associating or generating h-tokens for at least one of the functional components by compressing the subset of tokens into an h-token for each functional component, associating or generating implementation characteristics including a defined function, an identified event, and/or an implementation method for each h-token, performing a retrieval augmented generation (RAG) processing function on each h-token, and generating a response from an output of the RAG processing function.

Claims (85)

1 . A method for utilizing hierarchical tokens (h-tokens) in large language models (LLMs) comprising:

receiving an input prompt;

performing input processing on the input prompt comprising generating a plurality of tokens from the input prompt;

identifying one or more functional components from the input prompt, each functional component of the one or more functional components being derived from a subset of tokens of the plurality of tokens;

at least one of associating or generating one or more h-tokens for at least one functional component of the one or more functional components, comprising compressing the subset of tokens of the plurality of tokens from which a functional component of the one or more functional components was derived into an h-token of the one or more h-tokens, wherein each h-token of the one or more h-tokens is associated or generated for a respective functional component of the one or more functional components and preserves a semantic meaning of the subset of tokens of the plurality of tokens from which the respective functional component of the one or more functional components was derived;

at least one of associating or generating one or more implementation characteristics comprising at least one of a defined function, an identified event, and an implementation method for each h-token of the one or more h-tokens, each implementation characteristic to be comprised by the h-token of the one or more h-tokens for which it was generated or associated;

performing a retrieval augmented generation (RAG) processing function on each h-token of the one or more h-tokens responsive to the one or more implementation characteristics of the h-token; and

generating a response from an output of the RAG processing function.

2 . The method of claim 1 wherein the one or more implementation characteristics for each h-token comprises at least one of:

a defined function describing an operation to be performed;

an identified event describing an outcome of the defined function; and

an implementation method describing how to execute the defined function.

3 . The method of claim 1 wherein input processing further comprises identifying one or more domains indicated by the input prompt.

4 . The method of claim 3 further comprising performing a domain-specific analysis for each domain of the one or more domains.

5 . The method of claim 1 wherein identifying the one or more functional components comprises:

analyzing the input prompt to identify at least one main function; and

decomposing the at least one main function into one or more sub-functions;

wherein each sub-function of the one or more sub-functions defines a functional component of the one or more functional components.

6 . The method of claim 5 wherein identifying the one or more functional components further comprises:

performing a hierarchical mapping of each sub-function of the one or more sub-functions; and

performing a functional relationship analysis of the one or more sub-functions responsive to the hierarchical mapping.

7 . The method of claim 1 wherein at least one functional component of the one or more functional components is associated with a microservice implemented on a cloud-based container that is accessible via an application programming interface.

8 . The method of claim 1 wherein generating the one or more h-tokens comprises:

analyzing each functional component of the one or more functional components to identify a functional area of each functional component of the one or more functional components;

organizing the one or more h-tokens responsive to a hierarchy of the one or more functional components; and

mapping a relationship of the one or more h-tokens.

9 . The method of claim 8 wherein organizing the one or more h-tokens responsive to a hierarchy comprises:

creating a plurality of levels of abstraction, with higher levels representing broader functional concepts and lower levels representing specific implementations;

associating each h-token of the one or more h-tokens with a level of the plurality of levels of abstraction; and

organizing each h-token of the one or more h-tokens responsive to its associated level of abstraction.

10 . The method of claim 1 wherein performing the RAG processing function comprises:

identifying a context for each h-token of the one or more h-tokens;

selecting a processing modality for each h-token of the one or more h-tokens;

executing the selected processing modality for each h-token of the one or more h-tokens to generate one or more processed h-token outputs; and

generating one or more coherent outputs by combining each processed h-token output of the one or more processed h-token outputs with the context for the h-token from which the processed h-token output was produced;

wherein the output of the RAG processing function comprises the one or more coherent outputs.

11 . The method of claim 10 wherein generating a response from an output of the RAG processing function comprises:

assembling a response data content comprising the one or more coherent outputs;

forming a response from the response data content; and

performing a quality verification on the response.

12 . The method of claim 1 wherein a functional component of the one or more functional components is associated with at least one of a superchunk and a chunk.

13 . A system for utilizing hierarchical tokens (h-tokens) in large language models (LLMs) comprising:

a processor;

a communication device operable to communicate with a remote computerized device and operably coupled to the processor; and

a non-transitory computer-readable medium having stored thereon software that, when executed by the processor, is operable to:

receive an input prompt;

perform input processing on the input prompt comprising generating a plurality of tokens from the input prompt;

identify one or more functional components from the input prompt, each functional component of the one or more functional components being derived from a subset of tokens of the plurality of tokens;

at least one of associate or generate one or more h-tokens for at least one functional component of the one or more functional components, comprising compressing the subset of tokens of the plurality of tokens from which a functional component of the one or more functional components was wherein each h-token of the one or more h-tokens is associated or generated for a respective functional component of the one or more functional components and preserves a semantic meaning of the subset of tokens of the plurality of tokens from which the respective functional component of the one or more functional components was derived;

at least one of associate or generate one or more implementation characteristics comprising at least one of a defined function, an identified event, and an implementation method for each h-token of the one or more h-tokens, each implementation characteristic to be comprised by the h-token of the one or more h-tokens for which it was generated or associated;

perform a retrieval augmented generation (RAG) processing function on each h-token of the one or more h-tokens responsive to the one or more implementation characteristics of the h-token; and

generate a response from an output of the RAG processing function.

14 . The system of claim 13 wherein the one or more implementation characteristics for each h-token comprises at least one of:

a defined function describing an operation to be performed;

an identified event describing an outcome of the defined function; and

an implementation method describing how to execute the defined function.

15 . The system of claim 13 wherein input processing further comprises identifying one or more domains indicated by the input prompt.

16 . The system of claim 15 wherein the software is further configured to, when executed by the processor, perform a domain-specific analysis for each domain of the one or more domains.

17 . The system of claim 13 wherein the software is configured to, when executed by the processor, identify the one or more functional components by:

analyzing the input prompt to identify at least one main function; and

decomposing the at least one main function into one or more sub-functions;

wherein each sub-function of the one or more sub-functions defines a functional component of the one or more functional components.

18 . The system of claim 17 wherein the software is configured to, when executed by the processor, identify the one or more functional components by:

performing a hierarchical mapping of each sub-function of the one or more sub-functions; and

performing a functional relationship analysis of the one or more sub-functions responsive to the hierarchical mapping.

19 . The system of claim 13 wherein at least one functional component of the one or more functional components is associated with a microservice implemented on a cloud-based container that is accessible via an application programming interface.

20 . The system of claim 13 wherein the software is further configured to, when executed by the processor, generate the one or more h-tokens by:

analyzing each functional component of the one or more functional components to identify a functional area of each functional component of the one or more functional components;

organizing the one or more h-tokens responsive to a hierarchy of the one or more functional components; and

mapping a relationship of the one or more h-tokens.

21 . The system of claim 20 wherein the software is further configured to, when executed by the processor, organize the one or more h-tokens responsive to a hierarchy by:

creating a plurality of levels of abstraction, with higher levels representing broader functional concepts and lower levels representing specific implementations;

associating each h-token of the one or more h-tokens with a level of the plurality of levels of abstraction; and

organizing each h-token of the one or more h-tokens responsive to its associated level of abstraction.

22 . The system of claim 13 wherein the software is further configured to, when executed by the processor, perform the RAG processing function by:

identifying a context for each h-token of the one or more h-tokens;

selecting a processing modality for each h-token of the one or more h-tokens;

executing the selected processing modality for each h-token of the one or more h-tokens to generate one or more processed h-token outputs; and

generating one or more coherent outputs by combining each processed h-token output of the one or more processed h-token outputs with the context for the h-token from which the processed h-token output was produced;

wherein the output of the RAG processing function comprises the one or more coherent outputs.

23 . The system of claim 22 wherein the software is further configured to, when executed by the processor, generate a response from an output of the RAG processing function by:

assembling a response data content comprising the one or more coherent outputs;

forming a response from the response data content; and

performing a quality verification on the response.

24 . The system of claim 13 wherein a functional component of the one or more functional components is associated with at least one of a superchunk and a chunk.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 26, 2025
From: BAHGA, ARSHDEEP
To: MADISETTI, VIJAY
Reel/Frame 070331/0746 →
Continuity (15)
Continuation In Part 18921852 · Oct 21, 2024
Continuation In Part 18812707 · Aug 22, 2024
Continuation In Part 18470487 · Sep 20, 2023
Continuation 18348692 · Jul 7, 2023
Provisional Application 63742792 · Jan 7, 2025
Provisional Application 63693351 · Sep 11, 2024
Provisional Application 63647092 · May 14, 2024
Provisional Application 63607647 · Dec 8, 2023
Provisional Application 63607112 · Dec 7, 2023
Provisional Application 63535118 · Aug 29, 2023
Provisional Application 63534974 · Aug 28, 2023
Provisional Application 63529177 · Jul 27, 2023
Provisional Application 63469571 · May 30, 2023
Provisional Application 63463913 · May 4, 2023
Related Publication 20250173363A1 · May 29, 2025
References Cited (43)
US 5410475A · Lu · 1995 [cited by examiner]
US 8346791B1 · Shukla et al. · 2013 [cited by applicant]
US 8775436B1 · Zhou et al. · 2014 [cited by applicant]
US 11194868B1 · Paka et al. · 2021 [cited by applicant]
US 11928569B1 · Douthit · 2024 [cited by examiner]
US 11995411B1 · Qadrud-Din et al. · 2024 [cited by applicant]
US 12020140B1 · Mondlock · 2024 [cited by applicant]
US 12039263B1 · Mondlock et al. · 2024 [cited by applicant]
US 12242503B1 · Kelsey · 2025 [cited by examiner]
US 20070244937A1 · Flynn, Jr. et al. · 2007 [cited by applicant]
US 20080077569A1 · Lee et al. · 2008 [cited by applicant]
US 20080140616A1 · Encina et al. · 2008 [cited by applicant]
US 20090182741A1 · Chen et al. · 2009 [cited by applicant]
US 20090254512A1 · Broder et al. · 2009 [cited by applicant]
US 20090271700A1 · Chen · 2009 [cited by applicant]
US 20100138531A1 · Kashyap · 2010 [cited by applicant]
US 20110179075A1 · Kikuchi · 2011 [cited by applicant]
US 20120023073A1 · Dean · 2012 [cited by examiner]
US 20120290521A1 · Frank · 2012 [cited by examiner]
US 20140297845A1 · Tamura · 2014 [cited by applicant]
US 20180095845A1 · Sanakkayala et al. · 2018 [cited by applicant]
US 20190081959A1 · Yadav et al. · 2019 [cited by applicant]
US 20190130006A1 · Raviv et al. · 2019 [cited by applicant]
US 20190130902A1 · Itoh · 2019 [cited by examiner]
US 20190354630A1 · Guo et al. · 2019 [cited by applicant]
US 20210406735A1 · Nahamoo et al. · 2021 [cited by applicant]
US 20220124013A1 · Chitalia et al. · 2022 [cited by applicant]
US 20220156262A1 · Chen et al. · 2022 [cited by applicant]
US 20240289560A1 · Kelly et al. · 2024 [cited by applicant]
US 20240354130A1 · Cadoni et al. · 2024 [cited by applicant]
US 20240354490A1 · Chauvin et al. · 2024 [cited by applicant]
US 20240404687A1 · Bell · 2024 [cited by examiner]
US 20240412029A1 · Yang et al. · 2024 [cited by applicant]
US 20250005523A1 · Katta et al. · 2025 [cited by applicant]
US 20250036866A1 · Tunstall-Pedoe et al. · 2025 [cited by applicant]
US 20250036878A1 · Marwah et al. · 2025 [cited by applicant]
US 20250045256A1 · Gottlob et al. · 2025 [cited by applicant]
US 20250068665A1 · Chandel et al. · 2025 [cited by applicant]
Non Final Office Action received in related U.S. Appl. No. 19/051,820 issued Apr. 14, 2025; 16 pages. [cited by applicant]
Non Final Office Action received in related U.S. Appl. No. 19/056,496 issued Apr. 17, 2025; 11 pages. [cited by applicant]
Notice of Allowance received in related U.S. Appl. No. 18/812,707 issued on May 20, 2025; 26 pages. [cited by applicant]
Notice of Allowance received in related U.S. Appl. No. 19/051,820 issued May 7, 2025; 23 pages. [cited by applicant]
Notice of Allowance received in related U.S. Appl. No. 18/921,852 issued Jun. 20, 2025; 25 pages. [cited by applicant]