Neural network trained using event occurrences

By incorporating time information into neural network training, particularly by utilizing the BERT model and timestamp data, the problem of insufficient utilization of time information in existing technologies has been solved, thereby enhancing information processing capabilities in the financial sector.

CN116090516BActive Publication Date: 2026-11-24NVIDIA CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211312390.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-11-04
Filing Date
2022-10-25
Publication Date
2026-11-24
Estimated Expiration
2042-10-25

AI Technical Summary

Technical Problem

Existing technologies fail to effectively utilize temporal information when training neural networks, resulting in poor performance of natural language processing applications in areas such as news retrieval, knowledge graph construction, and stock market prediction.

Method used

By training neural networks with time-based information, particularly by using financial news articles containing timestamps and historical stock market price data, combined with BERT model training, including masked language modeling and structure-level pre-training tasks, the neural networks are trained to identify and infer time-related information.

Benefits of technology

It improves the ability of neural networks to process time-sensitive information, enhancing the accuracy of financial sentiment analysis, financial question answering, financial machine reading comprehension, and market movement prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116090516B_ABST
    Figure CN116090516B_ABST
Patent Text Reader

Abstract

Disclosed are neural networks trained using event occurrences, specifically apparatuses, systems, and techniques for facilitating financial natural language processing (NLP) training and tasks such as sentiment analysis, machine reading comprehension, question answering, and causal reasoning. In at least one embodiment, training one or more neural networks includes a transformer-based bidirectional encoder representation (BERT) machine learning model and input data further including timestamps of financial news articles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] At least one embodiment relates to processing resources for training neural networks using time-based information. For example, at least one embodiment relates to a processor or computing system for training neural networks by including time-based financial data in training tasks as part of a machine learning technique using a transducer-based bidirectional encoder representation (BERT). Background Technology

[0002] Time often plays a crucial role in real-world events. Natural Language Processing (NLP) applications, such as news retrieval, knowledge graph (KG) construction, and stock market prediction, typically perform poorly when time is a significant factor. Current methods for training neural networks are limited to using time-based information. By incorporating time-based information, improvements can be made in training neural networks to enhance question answering, causal reasoning, and machine reading comprehension. Attached Figure Description

[0003] Figure 1 This is a block diagram illustrating an architecture for training a neural network with training data 104 including time, according to at least one embodiment;

[0004] Figure 2 This is a block diagram illustrating a training architecture for a machine learning model including a converter-based bidirectional encoder representation (BERT) according to at least one embodiment;

[0005] Figure 3 This is a block diagram of a Natural Language Processing (NLP) financial event extraction framework 300 according to at least one embodiment;

[0006] Figure 4 An event table extracted from a news article according to at least one embodiment is described;

[0007] Figure 5 This is a block diagram illustrating a training architecture including a converter-based bidirectional encoder representation (BERT) and a fine-tuning layer according to at least one embodiment;

[0008] Figure 6 A verifier architecture rewritten according to at least one embodiment is described;

[0009] Figure 7 A validator architecture based on a hierarchical attention network (HAN) according to at least one embodiment is described;

[0010] Figure 8 It is a flowchart depicting a method for outputting a financial time-sensitive knowledge graph according to at least one embodiment;

[0011] Figure 9 This is a flowchart depicting a method for implementing a financial inquiry service according to at least one embodiment;

[0012] Figure 10 An event table extracted from financial news articles according to at least one embodiment is described;

[0013] Figure 11A The inference and / or training logic according to at least one embodiment is illustrated;

[0014] Figure 11B The inference and / or training logic according to at least one embodiment is illustrated;

[0015] Figure 12 The training and deployment of a neural network according to at least one embodiment are illustrated;

[0016] Figure 13 An example data center system according to at least one embodiment is shown;

[0017] Figure 14A An example of an autonomous vehicle according to at least one embodiment is shown;

[0018] Figure 14B The illustration shows an embodiment according to at least one of the embodiments. Figure 14A Examples of camera positions and field of view for autonomous vehicles;

[0019] Figure 14C This is an illustration based on at least one embodiment. Figure 14A A block diagram of an example system architecture for an autonomous vehicle;

[0020] Figure 14D The illustration, according to at least one embodiment, is for one or more cloud-based servers and Figure 14A A diagram of a system for communication between autonomous vehicles;

[0021] Figure 15 This is a block diagram illustrating a computer system according to at least one embodiment;

[0022] Figure 16 This is a block diagram illustrating a computer system according to at least one embodiment;

[0023] Figure 17 A computer system according to at least one embodiment is shown;

[0024] Figure 18 A computer system according to at least one embodiment is shown;

[0025] Figure 19A A computer system according to at least one embodiment is shown;

[0026] Figure 19B A computer system according to at least one embodiment is shown;

[0027] Figure 19C A computer system according to at least one embodiment is shown;

[0028] Figure 19D A computer system according to at least one embodiment is shown;

[0029] Figure 19E and Figure 19F A shared programming model according to at least one embodiment is shown;

[0030] Figure 20 An exemplary integrated circuit and a related graphics processor according to at least one embodiment are shown;

[0031] Figure 21A and Figure 21B An exemplary integrated circuit and an associated graphics processor according to at least one embodiment are shown;

[0032] Figure 22A and Figure 22B Additional exemplary graphics processor logic according to at least one embodiment is shown;

[0033] Figure 23 A computer system according to at least one embodiment is shown;

[0034] Figure 24A A parallel processor according to at least one embodiment is shown;

[0035] Figure 24B A partitioning unit according to at least one embodiment is shown;

[0036] Figure 24C A processing cluster according to at least one embodiment is shown;

[0037] Figure 24D A graphics multiprocessor according to at least one embodiment is shown;

[0038] Figure 25 A multi-graphics processing unit (GPU) system according to at least one embodiment is illustrated;

[0039] Figure 26 A graphics processor according to at least one embodiment is shown;

[0040] Figure 27 It is a block diagram illustrating a processor microarchitecture for a processor according to at least one embodiment;

[0041] Figure 28 A deep learning application processor according to at least one embodiment is shown;

[0042] Figure 29 A block diagram of an example neuromorphic processor is shown according to at least one embodiment;

[0043] Figure 30 At least a portion of a graphics processor according to one or more embodiments is shown;

[0044] Figure 31 At least a portion of a graphics processor according to one or more embodiments is shown;

[0045] Figure 32 At least a portion of a graphics processor according to one or more embodiments is shown;

[0046] Figure 33 It is a block diagram of a graphics processing engine of a graphics processor according to at least one embodiment;

[0047] Figure 34 It is a block diagram of at least a portion of a graphics processor core according to at least one embodiment;

[0048] Figure 35A and Figure 35B The diagram illustrates thread execution logic according to at least one embodiment, which includes an array of processing elements of a graphics processor core.

[0049] Figure 36 A parallel processing unit (“PPU”) according to at least one embodiment is shown;

[0050] Figure 37 A general-purpose processing cluster (“GPC”) according to at least one embodiment is illustrated;

[0051] Figure 38 A memory partition unit of a parallel processing unit (“PPU”) according to at least one embodiment is shown;

[0052] Figure 39 A streaming multiprocessor according to at least one embodiment is illustrated;

[0053] Figure 40 This is an example data flow diagram of an advanced computing pipeline according to at least one embodiment;

[0054] Figure 41 This is a system diagram of an example system for training, adapting, instantiating, and deploying machine learning models in an advanced computing pipeline, according to at least one embodiment;

[0055] Figure 42 Example illustrations of an advanced computing pipeline for processing imaging data according to at least one embodiment;

[0056] Figure 43A Includes example data flow diagrams of virtual instruments supporting ultrasound equipment according to at least one embodiment;

[0057] Figure 43B Includes example data flow diagrams of virtual instruments supporting CT scanners according to at least one embodiment;

[0058] Figure 44A A data flow diagram illustrating the process for training a machine learning model according to at least one embodiment is shown; and

[0059] Figure 44B This is an example illustration of a client-server architecture that utilizes a pre-trained annotation model to enhance an annotation tool, according to at least one embodiment. Detailed Implementation

[0060] Whenever used in the text, unless explicitly stated otherwise, terms such as “module” and nominalized verbs (e.g., “controller”) refer to any combination of any type of logic (e.g., software, hardware, firmware) and / or circuitry configured to perform the functions described herein. “Software” can be embodied in software packages, code, instructions, instruction sets, or certain combinations thereof. “Hardware” as used anywhere herein can include, individually or in combination, one or more of, for example: hardwired circuitry, programmable circuitry, state machine circuitry, fixed-function circuitry, execution unit circuitry, and / or firmware having stored instructions executed by programmable circuitry. “Module” can be embodied collectively or individually as one or more circuits (e.g., integrated circuit (IC), system-on-a-chip (SoC), central processing unit (CPU), graphics processing unit (GPU)) forming part of a larger system.

[0061] Figure 1 This illustrates a method for training neural networks 102 108, 114 according to at least one embodiment to process text 112 (e.g., input data in text form, text data, text of news articles, text of financial news articles, text of economic statistics, text of company quarterly reports, transcripts of quarterly earnings calls, etc.). A block diagram of an architecture for reasoning about information about entities (e.g., objects, events, situations, concepts, people, places) using the text of entries, question text, and answer text. In at least one embodiment, training data 104 containing time (e.g., time-sensitive input information, any data including time aspects such as when an event occurred, timestamps of publications, questions requiring answers about time concepts) is used as input by a training framework 106 to use machine learning techniques (e.g., machine learning models, machine learning frameworks, transformer-based bidirectional encoder representation (BERT) (Google), GPT-x (OpenAI), generative pre-trained transformers (Microsoft)) or a time-sensitive BERT model (e.g., TimeBERT) (which combines at least...) Figure 2-10 (Further discussion) to train 102 one or more untrained neural networks 108. In at least one embodiment, the training data 104, which includes time, is a set of data (e.g., a training database for machine learning, the body of the text of financial news articles, the text of publications, historical stock price data) and optional labels or classifications to provide a set of examples on which one or more untrained neural networks 108 learn to perform functions (e.g., tasks) (such as predicting stock market prices).

[0062] In at least one embodiment, the time-inclusive training data 104 is a set of data, such as time-stamped publications and news articles, to be used to train one or more untrained neural networks 108 to operate upon. In at least one embodiment, the time-inclusive training data 104 includes a set of text (e.g., words, sentences, paragraphs) with labels or categories. In at least one embodiment, the time-inclusive training data 104 includes financial publications (e.g., time-stamped financial news articles). In at least one embodiment, the time-inclusive training data 104 including financial news articles further includes historical stock market prices with time information. In at least one embodiment, the time-inclusive training data 104 is one or more other types of data for which the training framework 106 trains 102 one or more untrained neural networks 108 to perform operations such as stock market prediction.

[0063] In at least one embodiment, the training framework 106 includes one or more processors, further including one or more circuits for training one or more untrained neural networks 108 to perform multiple different time-based tasks, wherein the training includes training tasks that are at least partially based on when one or more events occur and are correctly completed, wherein the training tasks are combined Figure 2Further discussion. In at least one embodiment, training one or more untrained neural networks 108 involves the correct execution of multiple different tasks, which depends at least in part on when one or more events occur.

[0064] In at least one embodiment, the training framework 106 is a set of software instructions that, when executed on one or more computing devices, manage the training 102 of one or more untrained neural networks 108 using time-inclusive training data 104 (such as the financial news articles described above). In at least one embodiment, one or more untrained neural networks 108 are trained by the training framework 106, which facilitates learning by the one or more untrained neural networks 108 based on the time-inclusive training data 104. In at least one embodiment, the training framework 106 uses TimeBERT to train one or more untrained neural networks.

[0065] In at least one embodiment, training framework 106 trains one or more untrained neural networks 108 without supervision. In at least one embodiment, training framework 106 trains one or more untrained neural networks 108 without supervision or using only training data 104 containing time. In at least one embodiment, training framework 106 trains one or more untrained neural networks 108 using any available supervision combined with training data 104 containing time.

[0066] In at least one embodiment, the training framework 106 uses temporally included training data 104 under supervised conditions, where the supervision is in the form of classification or labeling. In at least one embodiment, the training framework 106 uses the temporally included training data 104 to train one or more untrained neural networks 108 using any other form of supervision to facilitate training 102 on said one or more untrained neural networks 108. In at least one embodiment, the training framework 106 does not use supervision for some or all of the temporally included training data 104.

[0067] In at least one embodiment, one or more untrained neural networks 108 are trained by training framework 106 using supervision. In at least one embodiment, supervision includes various types of assistance to facilitate the training 102 of one or more untrained neural networks 108 by training framework 106, as described above. In at least one embodiment, supervision includes input information describing one or more aspects of time-containing training data 104, such as object or style, or classification of said time-containing training data 104, to assist training framework 106 in training one or more untrained neural networks 108. In at least one embodiment, supervision is strong, wherein the input information provides direct identification of time, date, location, type, topic, event, object, style, or other aspects of items (e.g., segments of text, spans of text) (such as sentences) in the time-containing training data 104. In at least one embodiment, supervision is weak, wherein the input information provides partial identification of time, date, location, type, topic, event, object, style, or other aspects of the input time-containing training data 104 items. In at least one embodiment, weak supervision includes input information such as classification, label, or tagging, wherein the classification, label, or tagging identifies 104 time-inclusive training data items that contain a specific event, subject, topic, one or more objects, or belong to a specific category.

[0068] In at least one embodiment, training framework 106 trains one or more neural networks 108 without supervision (e.g., unsupervised training of neural networks). In at least one embodiment, training framework 106 trains one or more neural networks 108 without supervision and uses only training data 104 containing time. In at least one embodiment, training one or more neural networks 108 without supervision includes training data 104 containing time without labels (e.g., scores, classifications). In at least one embodiment, unsupervised training includes using one or more circuits of one or more processors of one or more neural networks 108 to automatically find the structure in the training data 104 containing time by using a type of machine learning method, such as clustering (e.g., finding similar groups or classifications in the data), anomaly detection (e.g., defining canonicalities in the data and identifying data anomalies), association (e.g., finding relationships between variables or features in the data), autoencoder (e.g., encoding input data with a target value and attempting to regenerate the input data using backpropagation), or some combination thereof. In at least one embodiment, time-inclusive training data 104 is organized using one or more circuits of one or more processors of one or more neural networks 108. In at least one embodiment, training framework 106 trains one or more neural networks 108 using any available supervision combined with the time-inclusive training data 104.

[0069] In at least one embodiment, one or more untrained neural networks 108 are trained by a training framework 106 to perform operations such as financial sentiment analysis of news articles. In at least one embodiment, the one or more neural networks 108, 114 are each of any type of neural network. In at least one embodiment, each of the one or more neural networks 108, 114 includes a set of nodes, where each node computes a value based on one or more inputs using an activation function. In at least one embodiment, the one or more neural networks 108, 114 are embodied in software having instructions that, when executed, perform operations and have computational results for storing training data 104 items based on time. In at least one embodiment, each of the one or more neural networks 108, 114 is any type of neural network further described herein.

[0070] In at least one embodiment, one or more trained neural networks 114 use text 112 containing financial information (e.g., financial events, economic activity indicators, views on financial markets, stock prices) (e.g., text of financial news articles, text of company quarterly reports, etc.). The text 112 of the entry performs reasoning 110. In at least one embodiment, the text 112 includes time-based information (e.g., indications of when one or more previous events occurred, events or entities associated with a specific time period, timestamps of when a publication was published online). In at least one embodiment, the text 112 includes time-based questions (e.g., questions about when something happened, questions that require some time to answer). In at least one embodiment, one or more trained neural networks 114 reason from the text 112 to generate reasoning information 116 (e.g., identifying when previous events occurred, identifying entities involved in a financial event, predicting stock market prices). In at least one embodiment, one or more trained neural networks 114 reason about the information based at least in part on one or more indications of when one or more previous events occurred. In at least one embodiment, one or more trained neural networks 114 infer time-based information (e.g., time, date) from text 112 associated with time-based information. For example, if the text states "George Washington owned Mount Vernon," then one or more trained neural networks 114 can infer 1761–1799 (the years George Washington owned Mount Vernon) and the dates April 30, 1789–March 4, 1797 (the years George Washington was President of the United States). In at least one embodiment, the text 112 includes any type of data, and one or more trained neural networks 114 are trained 102 by training framework 106 to operate on this data.

[0071] In at least one embodiment, one or more trained neural networks 114 are one or more untrained neural networks 106, trained 102 by training framework 106 based on time-inclusive training data 104 to perform operations. In at least one embodiment, one or more trained neural networks 114 are one or more untrained neural networks 108, trained 102 by training framework 106 based on time-inclusive training data 104 without supervision. In at least one embodiment, one or more trained neural networks 114 are one or more untrained neural networks 108, trained 102 by training framework 106 under supervised conditions based on time-inclusive training data 104. In at least one embodiment, one or more trained neural networks 114 are any type of neural network further described herein.

[0072] In at least one embodiment, one or more trained neural networks 114 generate output data 116 based on text 112. In at least one embodiment, one or more trained neural networks 114 perform operations on text 112 that they have been trained 102 on by training framework 106 to generate output data 116. In at least one embodiment, output data 116 includes stock market price predictions 116.

[0073] Figure 2 This is a block diagram illustrating a training architecture 200 according to at least one embodiment, the training architecture including a transformer-based bidirectional encoder representation (BERT), referred to as TimeBERT. In at least one embodiment, as combined with Figure 1 Further discussed, training framework 106 includes training architecture 200. In at least one embodiment, training architecture 200 is used to train (e.g., pre-train, fine-tune) one or more neural networks for use by financial natural language processing (NLP) applications, such as financial sentiment analysis, financial question answering, financial machine reading comprehension, financial causal inference, and market movement prediction. In at least one embodiment, training architecture 200 includes one or more circuits for training one or more neural networks based at least in part on one or more indications of when one or more prior events occurred (e.g., the date of the event, the timestamp of a news article publication, the timestamp of a stock price). In at least one embodiment, training architecture 200 includes one or more neural networks implemented on hardware (e.g., computers, single-board computers, servers, desktop computers, laptop computers, thin clients, workstations, tablets, mobile devices) and software (e.g., operating systems, artificial intelligence (AI) software, deep learning software, inference software, cloud software, container software).

[0074] In at least one embodiment, one or more portions of the training architecture 200, including left segment 202, right segment 204, left marker 206, right marker 208, position embedding layer 210, segment embedding layer 212, pre-trained task embedding layer 214, converter encoder layer 216, word / phrase level task 218, structure level task, and semantic level task 222, are implemented via an execution unit (EU) comprising programmable logic or circuitry, such as one or more logic cores providing an array of programmable logic functions. In at least one embodiment, one or more portions of the training architecture 200, including left segment 202, right segment 204, left marker 206, right marker 208, position embedding layer 210, segment embedding layer 212, pre-trained task embedding layer 214, transformer encoder layer 216, word / phrase level task 218, structure level task 220, and semantic level task 222, are implemented via dedicated hardware (such as fixed-function circuitry (e.g., fixed-function integrated circuits (ICs), fixed-function logic which may include dedicated logic (e.g., circuitry)) and provide a set of fixed-function entry points that can be mapped to dedicated logic for a fixed purpose or function. While the description herein sets forth specific details regarding inference and training logic and / or architecture, the various types of processors and cores, various types of memory, technologies, and / or arrangements described herein are not limited to a particular architecture and / or computing system and can be implemented by any architecture and / or computing system for similar purposes. Furthermore, the description herein includes multiple embodiments that can be combined or arranged in any manner for their purposes.

[0075] In at least one embodiment, the training architecture 200 includes a left segment 202 and a right segment 204, where "left" and "right" are used for disambiguation purposes. In at least one embodiment, the left segment 202 includes a sequence of tags 206, while the right segment 204 includes another sequence of tags 208. In at least one embodiment, the training architecture 200 includes embeddings (e.g., numerical representations, typically in vector form, encoding information or meaning). In at least one embodiment, the training architecture 200 includes a position embedding 210 for each tag representing the position of a tag in the sequences of tags 206, 208 (e.g., a numerical representation of the position, a vector representation of the position). In at least one embodiment, the training architecture 200 includes a segment embedding 212 for each tag, representing the segment 202, 204 to which each tag belongs. In at least one embodiment, the training architecture 200 includes a pre-trained task embedding 214 representing learning information applied to each tag and designed for a specific training task. In at least one embodiment, the training architecture 200 includes a converter encoder layer 216. In at least one embodiment, the training architecture 200 includes layers (e.g., one or more neural networks).

[0076] In at least one embodiment, the training architecture 200 accepts different types of fragments (e.g., individual words, individual sentences, sets of sentences, partial paragraphs, entire paragraphs, descriptions of events, personal names, location names, dates, times) as input data. In at least one embodiment, the left fragment 202 comprises sentences, while the right fragment 204 comprises different sentences. In at least one embodiment, at least some left-side markers 206 represent words of sentences, while at least some right-side markers 208 represent words of different sentences. In at least one embodiment, the training architecture 200 includes only a single fragment (e.g., only one sentence) as input data. In at least one embodiment, the training architecture 200 includes numerical representations (e.g., tuples) of entire paragraphs of text as input data to train one or more neural networks. In at least one embodiment, the training architecture 200 uses representations of uncut paragraphs of text to train one or more neural networks.

[0077] In at least one embodiment, a token (e.g., a token embedding) is a numerical representation of a word or word fragment (e.g., a subword), which can be tokenized using tokenization techniques (e.g., segmenting text into smaller units and representing said smaller units, word-based tokenization, character-based tokenization, subword-based tokenization, byte-pair encoding). Tokenization techniques can include specialized tokens, including classification tokens, separation tokens, sentence end tokens, padding tokens, masking tokens, or some combination thereof. In at least one embodiment, left fragment 202 is separated from right fragment 204 by placing a separation token (e.g., a token labeled [SEP]) between the left token sequence 206 and the right token sequence 208. In at least one embodiment, classification tokens (e.g., tokens labeled [CLS]) classify all fragments 202, 204. In at least one embodiment of training architecture 200, the token embedding layer includes the token sequences 202, 204.

[0078] In at least one embodiment, each of the converter encoder layers 216 includes a multi-head self-attention sublayer (e.g., a layer that helps the encoder layer decide in parallel how to focus on other words), a position-by-position feedforward sublayer (e.g., a fully connected feedforward network applied individually and identically to each position), residual connections (e.g., shortcuts to skip or jump to certain layers), layer normalization (e.g., providing a uniform scale for numerical values), or some combination thereof.

[0079] In at least one embodiment, the labeled embedding layer, the positional embedding layer, the fragment embedding layer, the pre-trained task embedding layer, or some combination thereof includes the total number of embeddings of the input data used in the training architecture 200. In at least one embodiment, BERT includes a labeled embedding layer, a positional embedding layer, a fragment embedding layer, a pre-trained task embedding layer, or some combination thereof.

[0080] In at least one embodiment, the training architecture 200 includes a word-level pre-training task 218, a structure-level pre-training task 220, a semantic-level pre-training task 222, or some combination thereof. In at least one embodiment, the word-level pre-training task 218 includes a phrase-level pre-training task 218, which may be referred to as a training task.

[0081] In at least one embodiment, word-level pre-training task 218 includes a masked language model; for example, training architecture 200 includes one or more circuits for masking one or more indications of when a previous event occurred. In at least one embodiment, one or more circuits mask one or more previous events. In at least one embodiment, the masked language model includes a time masking task, a date masking task, a capitalized phrase masking task, or some combination thereof. In at least one embodiment, training architecture 200 includes one or more neural networks for performing BERT, and it further includes a masked language model in which one or more indications of when a previous event occurred are masked. In at least one embodiment, training architecture 200 includes one or more circuits that use one or more neural networks to: extract indications of when one or more previous events occurred from text; digitally represent the one or more indications with one or more tags; and replace one or more tokenized indications with one or more masking tags. In at least one embodiment, the training architecture 200 includes one or more circuits that use one or more neural networks to: tag indications of when one or more previous events occurred; tag one or more previous events; and replace the tag indications and tag events with masking tags.

[0082] In at least one embodiment, fragments 202, 204 containing time and date data are identified from text (e.g., time, date, one or more sentences, one or more paragraphs, a collection of news articles, the body of text) by one or more circuits of training architecture 200 using search patterns defined by regular expressions (e.g., regex). In at least one embodiment, data representing time or date (e.g., “6:00 AM”, “July 4th”, 1940–1945, time period, combination of time and date) is tokenized. In at least one embodiment, for a pre-training task using a masked language model, the extracted (e.g., identified) time and date data is masked with masking tags (e.g., tags labeled [MSK] or [MASK]). In at least one embodiment, events (e.g., the Great Recession, the signing of the United States Constitution) are extracted from the text by an event extraction algorithm. In at least one embodiment, one or more extracted events include portions of text containing said events (e.g., fragments of sentences, spans, sections, parts of paragraphs) (e.g., “called the Great Recession afterward”). In at least one embodiment, the extracted events are tokenized. In at least one embodiment, the extracted events are masked. In at least one embodiment, masking a marker means replacing the marker with a masked marker. In at least one embodiment, a masked language model is pre-trained into a neural network to infer (e.g., to make deterministic probability predictions) that the extracted events are related to specific time and date data. In at least one embodiment, the pre-trained neural network uses time-based information extracted from the text and performs inference; for example, in at least one embodiment, one or more neural networks infer, at least in part, that two events occur simultaneously based on time-based information extracted from the text.

[0083] In at least one embodiment, the training architecture 200 trains one or more untrained neural networks 108 (e.g., in combination). Figure 1(Further discussion) wherein the training is at least partially based on one or more uppercase phrases, one or more of which are masked, for training the one or more neural networks. In at least one embodiment, fragments containing uppercase phrases (e.g., New York, Japan, Einstein) are identified from text using search patterns defined by regular expressions (e.g., regex) 202, 204. In at least one embodiment, the uppercase phrases extracted from the text are tokenized. In at least one embodiment, the tokenized uppercase phrases are masked. In at least one embodiment, a masked language model pre-trains the neural network to infer the association of uppercase phrases (e.g., personal names, names of government agencies, city names) with events. In at least one embodiment, the pre-trained neural network infers parameters (e.g., topic, object, participant, individual, government agency, private agency, company) associated with events extracted from the text and used as input to the neural network. In at least one embodiment, the training architecture 200 can mask the extracted uppercase phrases as whole phrases (e.g., Albert Einstein, New York City, Wall Street). In at least one embodiment, masking the entire uppercase phrase can preserve the complete semantic context of the phrase during pre-training.

[0084] In at least one embodiment, the structure-level pre-training task 220 includes time-sensitive pre-training tasks such as next event prediction, time sequence prediction, and event distance prediction. In at least one embodiment, the corpus of text used to pre-train the neural network includes news articles that include (e.g., contain, embed, or encode) time information (e.g., date, time, time period). In at least one embodiment, the news articles include financial news and / or opinion articles (e.g., articles containing content related to the economy, finance, stock market, interest rates, GDP, unemployment rate). In at least one embodiment, the corpus of text used to pre-train the neural network includes text extracted from financial speech (e.g., audio recorded from television news programs, audio recorded from financial opinion video streams, audio recorded from quarterly earnings conference calls). In at least one embodiment, segments 202, 204 include sentences. In at least one embodiment, segments 202, 204 include paragraphs (e.g., sequences of sentences written by an author or spoken by a speaker). In at least one embodiment, events (e.g., historical events, matching stock market index threshold levels, public bankruptcy declarations, the passage of legislation for financial bailout programs) can be extracted from the paragraphs of text.

[0085] In at least one embodiment, the structure-level pre-training task 220 includes next event prediction, during which one or more neural networks receive extracted event pairs and are trained to infer whether the second event in a pair follows the first event chronologically. In at least one embodiment, the text from which the events are extracted may not be a concise description of the events. In at least one embodiment, the text from which the events are extracted may describe events that have not yet occurred. In at least one embodiment, the text from which the events are extracted may include incomplete sentences. In at least one embodiment, an extracted event pair is extracted from a single financial news article, for example, the financial news article may be reporting on a proposed $700 billion financial bailout plan, one extracted event in the extracted event pair may be extracted from the text saying, “Congress is considering a $700 billion financial bailout plan,” and the other extracted event in the extracted event pair may be extracted from the text saying, “The collapse of financial giants has triggered a recession,” wherein the two text fragments occur within a single paragraph of a financial news article. In at least one embodiment, the neural network is trained to infer the next event from multiple events extracted from the text. In at least one embodiment, the neural network is trained to sort events that lead to another event. Event extraction combined Figure 2 , Figure 3 and Figure 4 Further discussion.

[0086] In at least one embodiment, the training architecture 200 includes one or more circuits for using one or more neural networks to: extract two or more prior events from sentences contained in a paragraph or publication; infer the relationship (e.g., causal relationship, temporal relationship) between the two or more prior events based on their positions in the paragraph or publication; and output a predetermined number of random sequences of the two or more prior events as input for training the one or more neural networks. In at least one embodiment, one or more indications of when the two or more prior events occurred are at least partially based on their positions in the publication. In at least one embodiment, the structure-level pre-training task 220 includes event order prediction. In at least one embodiment, a sequence of M number of events is extracted from text (e.g., paragraph, article, transcript of speech), where M is a variable representing an integer. In at least one embodiment, the sequence of M number of events is randomly arranged to obtain combinations of M! number, where M! represents the factorial of M. In at least one embodiment, the sequence of M number of events is arranged to obtain all possible combinations. In at least one embodiment, the neural network is trained to infer the original sequence of events.

[0087] In at least one embodiment, the structure-level pre-training task 220 includes an event-distance prediction task. In at least one embodiment, the pre-training task 220 includes calculating the distance between two or more prior events extracted from one or more news articles, wherein the distance calculation is based at least in part on the timestamps of the news articles and whether the two or more prior events appear together in a news article. In at least one embodiment, two or more prior events are extracted from a news article, and one or more neural networks calculate the distance between the two or more prior events based at least in part on how closely the two or more prior events appear in the news article.

[0088] In at least one embodiment, events are extracted from a corpus (e.g., set, body) of text (e.g., financial news articles), and a neural network is trained to infer (e.g., predict) the distances (e.g., event distances) between events (e.g., a number representing the strength of relevance). In at least one embodiment, the neural network is trained to predict event distances in two or more ways (e.g., orientation, dimension), including the article-axis distance between two events and the time-axis distance between two events. In at least one embodiment, the neural network calculates the distance between two prior events based at least in part on the length of time (e.g., time period) between two indications of when the two prior events occurred. In at least one embodiment, the article-axis distance between two extracted events includes categories: (a) adjacent in a selection of published texts (e.g., articles, paragraphs, publications); (b) not yet adjacent in a selection of published texts; and (c) not present in a selection of published texts. In at least one embodiment, the timeline distance between two extracted events includes categories: (a) appearing in a selection of texts published within the same day; (b) appearing in a selection of texts published within the same week; (c) appearing in a selection of texts published within the same 30-day period; and (d) appearing in a selection of texts published more than 30 days apart. In at least one embodiment, the training architecture 200 includes one or more circuits using one or more neural networks for inferring the temporal order of when one or more prior events occurred. In at least one embodiment, the training architecture 200 includes one or more circuits using one or more neural networks for inferring the temporal order of when one or more prior events occurred, at least in part, based on the position of one or more prior events in news articles.

[0089] In at least one embodiment, the training architecture 200 includes one or more circuits using one or more neural networks for calculating one or more distances between two or more pairs of prior events, at least in part based on one or more indications of when the two prior events occurred. In at least one embodiment, the training architecture 200 includes one or more circuits for: extracting two or more prior events from a news article; calculating each possible combination of the two or more pairs of prior events; and calculating the article-axis distance between each pair of prior events. In at least one embodiment, the training architecture 200 calculates the article-axis distance between two events, at least in part based on whether the two or more prior events occur in different publications. In at least one embodiment, the training architecture 200 includes one or more circuits for calculating the article-axis distance between the extracted pairs of prior events, wherein the calculation is at least in part based on whether the pairs of prior events were extracted from two text fragments that: occur adjacent to each other; occur in the same news article but are not adjacent to each other; or occur in different news articles.

[0090] In at least one embodiment, the semantic-level pre-training task 222 includes market (e.g., stock market, bond market) movement prediction and information retrieval (IR) relevance. In at least one embodiment, the semantic-level pre-training task 222 uses two or more prior events comprising a first group and a second group as input, wherein each prior event in the first group occurs within a predetermined time period of at least one prior event in the second group. In at least one embodiment, one or more prior events are extracted from stock prices. In at least one embodiment, historical (e.g., already occurred) stock prices are extracted from text (e.g., a database of stock prices, stock prices reported on financial websites) and used as input data for training architecture 200. In at least one embodiment, historical stock prices include daily opening prices, daily closing prices, historical high prices, historical low prices, daily trading volumes, or some combination thereof. In at least one embodiment, events and / or opinions extracted from text (e.g., financial news articles, financial opinion articles, quarterly earnings reports) are sorted by timestamps (e.g., metadata about the time of text publication, the date and time of publication) (e.g., classification, embedding, encoding, chronological ordering). In at least one embodiment, the neural network infers the movement of stock prices. A neural network pre-trained for a market movement prediction task can receive extracted events as input data and infer (e.g., predict) the future movement of the market. In at least one embodiment, the neural network pre-trained for a market movement prediction task can receive extracted events as input data and infer the future movement of key indicators (e.g., levels, prices, numbers, percentages, directions such as up or down) of the economy (e.g., commodity prices, interest rates, unemployment rates, foreclosures, durable goods supply). In at least one embodiment, the neural network pre-trained for a market movement prediction task can receive extracted events as input data and infer whether a stock should be bought, sold, or held.

[0091] In at least one embodiment, the market movement prediction pre-training task includes calculating the daily returns of stocks. In at least one embodiment, the calculation of the daily returns of stocks is expressed as follows:

[0092]

[0093] Where s represents a stock, t represents a date, time, or a combination thereof, and t′ represents a previous date, time, or a combination thereof. In at least one embodiment, r(s,t) is marked "up" when r(s,t) is greater than a positive predefined threshold; r(s,t) is marked "down" when r(s,t) is less than a negative predefined threshold; and r(s,t) is marked "hold" (e.g., maintain) when r(s,t) is between the positive and negative predefined thresholds. In at least one embodiment, the neural network uses calculations of daily returns for the stock and extracted financial news events as input data to pre-train one or more neural networks. In at least one embodiment, the pre-trained neural network can infer from the extracted financial news events whether to output a recommendation to buy, sell, or hold the stock.

[0094] In at least one embodiment, the semantic-level pre-training task 222 includes an information retrieval (IR) relevance task. In at least one embodiment, training one or more neural networks includes: a database comprising click logs of question-document pairs requiring time or temporal concepts (e.g., each query-document pair includes a query containing a time concept in its topic); and dwell time for each question-document pair. In at least one embodiment, the training dataset includes search queries (e.g., questions written in natural language, natural language search terms) recorded from online search engines, a list of results including documents retrieved in response to these queries (e.g., websites, online published documents, online news articles, online wiki pages), and dwell time (e.g., the time a user stays on the obtained website before the search results are returned to the user). In at least one embodiment, the neural network can be pre-trained to infer the relevance of retrieved documents to search queries based on the user's dwell time on retrieved documents. In at least one embodiment, search queries that at least partially depend on some time indication, the respective retrieved documents, and the dwell time are extracted from the training dataset and used as input data for pre-training the neural network. In at least one embodiment, a neural network pre-trained using an IR relevance prediction task can infer from a search query whether a retrieved document is relevant to the query.

[0095] Figure 3 An NLP financial event extraction framework 300 according to at least one embodiment is described. In at least one embodiment, it is combined with... Figure 1The training framework 106 discussed further includes an NLP financial event extraction framework 300. In at least one embodiment, one or more prior events and indications of when said prior events occurred are extracted from one or more news articles, at least in part, based on the timestamps of the news articles. In at least one embodiment, the financial event extraction 300 includes an online financial news record (e.g., news articles) 302, a coreference resolution (e.g., a task of finding all expressions in text data that reference entities) module 304 (e.g., a neural network that infers all expressions of entities in the referenced text, NeuralCoref (Hugging Face)), a raw event extraction module (e.g., a neural network that extracts binary relations from sentences, Open Information Extraction (Open IE), ReVerb (University of Washington)), an entity-pronoun mapping module 306 (e.g., a neural network that performs named entity linking), a raw event extraction module 308 (e.g., a neural network that extracts events from text), an event-pronoun mapping module 310 (e.g., a neural network that infers relationships between entities and events), and an updated event 312 (e.g., tuples based on inferences made by one or more neural networks). In at least one embodiment, the financial event extraction framework 300 may be communicatively connected to a network 314 (e.g., the Internet) and online records 316 (e.g., online published financial news articles). The entries can be accessed by the financial event extraction network 300 via network 314 as input text. In at least one embodiment, the financial event extraction framework 300 uses a coreference resolution module for entity linking to rewrite events and ignores post-filtering (such as restricted dependencies) between parameters and predicates in tuples. In at least one embodiment, the financial event extraction framework 300 includes tuples that store a set of data items in variables (e.g., <parameters, predicates, parameters, timestamps of news articles>) or some combination thereof. In at least one embodiment, the coreference resolution module 304, the original event extraction module 308, the entity-pronoun mapping module 306, and the event-pronoun mapping module 310 are executed in parallel, and the updated event 312 includes events without coreference 312.

[0096] In at least one embodiment, the financial event extraction framework 300 can extract events containing text fragments from financial news or opinion articles. For example, the extracted events may include, Figure 4The text snippets listed in Table 402 include example extracted event 1, which states, “Monday, U.S. bonds, have been hit hard in recent days.” In at least one embodiment, one or more neural networks of TimeBERT can use events extracted by the event extraction framework 300 to learn a potential link between the extracted events and stock price movements. In at least one embodiment, the extracted events listed in Table 402 include events that one or more neural networks infer as objective evidence (events 1, 4-10, and 12-15) and events that are inferred as subjective opinions (events 2, 3, and 11). In at least one embodiment, one or more neural networks of training architecture 200 use the extracted events and the classification of said events as objective or subjective to infer a link between said events and stock market movements the following day.

[0097] Figure 5 This is a block diagram illustrating a training architecture 500, which includes a transformer-based bidirectional encoder representation (BERT) and a fine-tuning layer 522. In at least one embodiment, the training architecture 500 includes a left segment 502, a right segment 504, a left marker 506, a right marker 508, a position embedding layer 510, a segment embedding layer 512, a pre-trained task embedding layer 514, and a transfer encoder layer 516, as combined Figure 2 Further discussion is needed.

[0098] In at least one embodiment, training architecture 500 includes one or more neural networks trained by training architecture 200. In at least one embodiment, fine-tuning layer 522 includes one or more loss functions (e.g., cross-entropy loss function) and softmax functions (e.g., functions of output probability vectors or vectors representing probability distributions of potential outcomes). In at least one embodiment, fine-tuning layer 522 includes a linear layer (e.g., a neural network) that at least partially computes a linear function y = w * (x = [cls]) + b, where w represents weights, b represents biases, and input x represents classification. In at least one embodiment, fine-tuning layer 522 includes a logistic regression function (e.g., a softmax function) applied to the output y of the linear function. In at least one embodiment, fine-tuning layer 522 is configured to fine-tune one or more neural networks to perform financial sentiment analysis and includes a softmax function applied to the output y of the linear function, where y includes a set [0,1], and y is labeled as positive if y > 0.5, neutral if y = 0.5, and negative if y < 0.5. In at least one embodiment, the fine-tuning task for financial sentiment analysis of one or more neural networks includes a softmax function and a cross-entropy loss function (e.g., log loss). In at least one embodiment, the fine-tuning layer 522 includes a cross-entropy loss function. In at least one embodiment, the fine-tuning layer 522 includes multiple types of loss functions (e.g., linear regression, softmax, cross-entropy, mean squared error).

[0099] Figure 6 A question rewriting validator architecture 600 according to at least one embodiment is described. In at least one embodiment, the question rewriting validator 600 architecture includes one or more neural networks, inputs, and outputs such as a tokenized fragment layer 602, one or more adjustable contextual language model (CLM) layers 604, a tensor 606, a linear layer 608, a predicted answer span 610, a span loss 612, a binary classifier 614, a question answerability function 616, a classification loss 618, an answer text relevance loss 622, a predicted answer text 620, a question rewriting 624, a predicted question rewriting relevance loss 628, and fragment, question rewriting validation loss 630, or some combination thereof.

[0100] In at least one embodiment, the tokenized fragment 602 includes a tokenization question and a tokenized fragment (e.g., a text fragment from a paragraph, a sequence of text fragments), and combines them. Figure 2The tokenization is discussed further. In at least one embodiment, the tokenized fragment 602 includes a question replaced with one or more |q| tags and a fragment replaced with one or more |p| tags. In at least one embodiment, the tokenized fragment 602 includes the format "[CLS]question[SEP]fragment[SEP]", where [CLS] represents a classification tag that at least partially represents information of the tokenized fragment 602 of length |q|+|p|+3. In at least one embodiment, the question rewriting validator architecture 600 uses a question-answering dataset (e.g., SQuAD2.0 (Stanford University), NewsQA (Microsoft Research), TriviaQA (University of Washington)) to train one or more neural networks to perform a question-answering task. In at least one embodiment, the question rewriting validator architecture 600 performs the task of extracting answer spans from passages of text.

[0101] In at least one embodiment, the problem rewriting validator architecture 600 uses tokenized fragments 602 as input to one or more context-based language models 604 (e.g., BERT, A Lite BERT (ALBERT)), which are tuned (e.g., language model parameters can be adjusted), such as in combination with Figure 1 and Figure 2 Further discussion is needed.

[0102] In at least one embodiment, the context-based language model 604 uses a tokenized, positional, and fragment embedding network to embed tokenized fragments 602, such as Figure 2 Further discussion is needed.

[0103] In at least one embodiment, the context-based language model 604 includes a converter encoder layer whose output represents tensors 606 (e.g., scalar tensors, vector tensors, matrix tensors, second array tensors, variable tensors, constant tensors, placeholder tensors, H tensors) of questions and fragments. In at least one embodiment, the tokenized fragment 602 includes tokens, each token represented in tensor H by an h-dimensional (e.g., h = 4096) vector, wherein tensor H is input to a linear layer 608 that projects the h-dimensional vector onto a two-dimensional vector (e.g., an operation represented by the code "batch, |q|+|p|+3,2"), which represents the start and end positions (e.g., start score, end score) of each token of the tokenized fragment 602.

[0104] In at least one embodiment, the linear layer 608 (e.g., a single layer of linear neurons) comprises one or more neural networks, which are combined Figure 5 Further discussion. In at least one embodiment, the linear layer 608 performs the task of predicting the answer to the question.

[0105] In at least one embodiment, the predicted answer span 610 (e.g., indices indicating the start and end of the answer to a question found in a paragraph) is the output of an operation performed by the linear layer 608. In at least one embodiment, the predicted answer span 610 is the answer predicted by the linear layer 608 in response to an input question. In at least one embodiment, the predicted answer span 610 provides input to span loss calculation 612 and input to determining the predicted answer text 620.

[0106] In at least one embodiment, the question rewriting validator architecture 600 includes a span loss 612 (e.g., a score representing the amount of error in the predicted answer span 610). In at least one embodiment, the span loss 612 is denoted by l1. In at least one embodiment, the span loss 612 is computed using a type of cross-entropy loss function. In at least one embodiment, the span loss 612 is computed using one or more loss functions of one or more types.

[0107] In at least one embodiment, the question rewriting validator architecture 600 provides a tensor 606 as input to a binary classifier 614 (e.g., one or more neural networks trained to classify data into one of two classes). In at least one embodiment, the binary classifier 614 includes a linear layer that projects an h-dimensional vector into a two-dimensional vector to obtain a score for question answerability (e.g., calculating whether a question is answerable or unanswerable). In at least one embodiment, the binary classifier 614 is part of a dropout layer (e.g., a mathematical function that is dropped or omitted in the neural network).

[0108] In at least one embodiment, the question rewriting validator architecture 600 includes a classification loss 618 (e.g., a score representing the amount of error in the answerability of question 616). In at least one embodiment, the classification loss 618 is denoted by l2. In at least one embodiment, the classification loss 618 is computed using one type of cross-entropy loss function. In at least one embodiment, the classification loss 618 is computed using one or more loss functions of one or more types.

[0109] In at least one embodiment, the question rewriting validator architecture 600 includes question rewriting 624, which rewrites the answer text 620 at least in part from the input (e.g., injection). In at least one embodiment, question rewriting 624 is provided by an adjustable context-based language model 604.

[0110] In at least one embodiment, the answer text relevance loss 622 is calculated by one or more loss functions. In at least one embodiment, the answer text relevance loss 622 is calculated using a likelihood loss function. In at least one embodiment, the answer text relevance loss 622 is a score indicating how strongly the predicted answer text 620 is relevance to a text fragment (e.g., a phrase, an incomplete sentence, an incomplete question, a question, an answer, a sentence). In at least one embodiment, the answer text relevance loss 622 represents how well the predicted answer text 620 answers the question. In at least one embodiment, the answer text relevance loss 622 is represented by l3. In at least one embodiment, the answer text relevance loss 622 is a loss calculated at the phrase level (e.g., a score representing the strength of relevance between two text phrases).

[0111] In at least one embodiment, the predicted question rewrite relevance loss 628 is calculated by one or more loss functions. In at least one embodiment, the predicted question rewrite relevance loss 628 is calculated using a likelihood loss function. In at least one embodiment, the predicted question rewrite relevance loss 628 is a score of how strongly the question rewrite 624 is related to a text fragment (e.g., a phrase, an incomplete sentence, an incomplete question, a question, an answer, a sentence). In at least one embodiment, the predicted question rewrite relevance loss 628 is denoted by l4. In at least one embodiment, the predicted question rewrite relevance loss 628 is a loss calculated at the sentence level (e.g., a score representing the strength or relevance between two sentences of the text).

[0112] In at least one embodiment, the fragment and question rewriting validation loss 630 is calculated by one or more loss functions. In at least one embodiment, the fragment and question rewriting validation loss 630 is calculated using a likelihood loss function. In at least one embodiment, the fragment and question rewriting validation loss 630 is a score about how strongly the question rewriting 624 is relevant to the answer. In at least one embodiment, the fragment and question rewriting validation loss 630 is denoted by l5. In at least one embodiment, the fragment and question rewriting validation loss 630 is a loss calculated at the question-fragment level (e.g., a score representing the strength or relevance between the question rewriting and the answer).

[0113] In at least one embodiment, the problem rewriting validator architecture 600 is represented at least in part by the following code (e.g., instructions, formulas, equations):

[0114] H = CLM([CLS]Q[SEP]S[SEP]),

[0115]

[0116] l1 = Loss(H1, ref.span),

[0117]

[0118] l2=Loss(H2,ref.answerability)

[0119] In at least one embodiment, Q represents the question, S represents the segment, ref represents the reference (e.g., the question), and span represents the predicted answer. l1 and l2 represent the cross-entropy loss for span correctness and answerability. In at least one embodiment, the loss calculated by the likelihood loss function can be represented at least in part by the following code (e.g., instructions, formulas, equations):

[0120] span = argmax(H1),

[0121] ans.text = S[span],

[0122] H3 = CLM([CLS]ans.text),

[0123]

[0124] l3 = -log(m).

[0125] In at least one embodiment, the direct calculation of the similarity between the referenced predicted answers includes code (e.g., instructions, equations, formulas) as follows:

[0126] H′3 = CLM([CLS]ref.text),

[0127]

[0128] l′3=-cosine(m,mref).

[0129] In at least one embodiment, the language probabilities (e.g., predicted probabilities) related to the problem rewriting fragment are calculated at least in part by code such as instructions, equations, or formulas:

[0130] Q′=Injection(Q,ans.text),

[0131] H4 = CLM([CLS]Q′),

[0132]

[0133] l4 = -log(n).

[0134] In at least one embodiment, m and n are scores representing the probability that the predicted answer text is relevant to the fragment and the probability that the question rewritten text inferred by the CLM is relevant to the fragment. In at least one embodiment, cross-attention between the fragment and the question rewritten text can be performed at least in part using the following code:

[0135]

[0136]

[0137] l5 = Loss(H11, ref.span),

[0138] l = l1 + l2 + l3 + l′3 + l4 + l5.

[0139] In at least one embodiment, residual summation is used when calculating H′, wherein the span loss is recalculated on H′ after linear projection. In at least one embodiment, the final loss l is calculated by adding the loss l1 to l5.

[0140] Figure 7 A validator architecture 700 based on a hierarchical attention network (HAN) is described according to one embodiment. In at least one embodiment, such as in combination with... Figure 1 Further discussion reveals that the training framework 106 includes a HAN-based validator architecture 700. In at least one embodiment, the HAN-based validator architecture 700 includes tokenized sentences 702, one or more adjustable CLMs 704, tensors 706, 714, 720, 722, 726, tokenized fragments 708, a concatenation layer 710, a multi-head self-attention layer 712, a fragment encoding CLM 716, a concatenation and self-attention layer 724, a loss 728, or some combination thereof.

[0141] In at least one embodiment, the tokenized sentence 702 includes a tokenized question and sentence pairs, wherein tokenization will combine... Figure 2 Further discussion. In at least one embodiment, tokenized sentences 702 are extracted from fragments (e.g., chapters of text containing more than one sentence). In at least one embodiment, the HAN-based validator architecture 700 includes K fragments Seg1, Seg2, ..., Seg K In at least one embodiment, the tokenized sentence 702 comprises sentence-level pairs (e.g., sentence pairs) at least partially represented by the tokenized label “[CLS]Q[SEP]si[SEP]”, where Q represents the tokenization question, S... i Represents a set of tokenized sentences s1 to s2. N The tokenized sentences. In at least one embodiment, each tokenized sentence 702 includes a tokenized question and a tokenized sentence.

[0142] In at least one embodiment, the tokenized fragment 702 is used as input by an adjustable CLM 704, wherein the adjustable CLM is combined with Figure 6 Further discussion. In at least one embodiment, the output of the adjustable CLM 704 represents a tensor 706 for each tokenized fragment 708. In at least one embodiment, the tensor 706 output by the adjustable CLM 704 is determined by the variable H. 1 s1 H 1 s2 H 1 sN The variable CLM 704 represents the number of tensors, where N represents the number of tensors. In at least one embodiment, the adjustable CLM 704 includes any or a combination of machine learning models (including TimeBERT), which at least combine Figure 1-10 Further discussion.

[0143] In at least one embodiment, tensor 706 is concatenated by concatenation layer 710. In at least one embodiment, concatenation layer 710 uses one or more methods (e.g., concatenation, stacking, merging, interleaving) to combine tensors.

[0144] In at least one embodiment, the multi-head self-attention layer 712 includes multiple attention mechanisms (e.g., content-based, additive, positional basis, general, dot product, scaled dot product) operating in parallel to output one or more vectors representing how strongly one text segment is related to another text segment. In at least one embodiment, the multi-head self-attention layer 712 includes a gated recurrent unit (GRU) layer. In at least one embodiment, the multi-head self-attention layer 712 includes one or more multi-head self-attention mechanisms, one or more gated recurrent units, or combinations thereof. In at least one embodiment, the multi-head self-attention layer 712 performs cross-sentence relation extraction (e.g., capturing relationships between sentences in the text, rather than capturing relationships within a single sentence).

[0145] In at least one embodiment, the multi-head self-attention layer 712 outputs a tensor 714. In at least one embodiment, the tensor 714 output by the multi-head self-attention layer 712 is determined by the variable H. s 1 In at least one embodiment, tensor H is represented as follows. s 1 Information (e.g., features) representing the sentence pair on which the tokenized fragment 708 is based.

[0146] In at least one embodiment, the tokenized fragment 708 includes a tokenized question and a tokenized fragment (e.g., a section of text comprising one or more sentences). In at least one embodiment, the fragment can be represented by a token S (e.g., a substitution). In at least one embodiment, the tokenized fragment 708 is represented by the token label “[CLS]Q[SEP]S[SEP]”. In at least one embodiment, the tokenized fragment 708 represents a fragment including a question and input to an adjustable CLM 704 to output a tensor 720.

[0147] In at least one embodiment, the fragment encoding CLM 716 pairs fragments Seg1 to Seg2. K Encoding (e.g., embedding) is performed. In at least one embodiment, the fragment encoding CLM 716 outputs tensors 722b-K, where K represents the total number of tensors, which is equal to the total number of fragments. In at least one embodiment, the tensors 722b-K output by the fragment encoding CLM 716 are controlled by a variable H. 2 H 3 ...H K This indicates that K equals the total number of segments.

[0148] In at least one embodiment, tensor 720 is derived from variable H' 1 In at least one embodiment, tensor 720 represents information from tokenized segment 708 based at least in part on the question and the entire segment (e.g., a section of text containing one or more sentences). In at least one embodiment, tensor 714 (e.g., H...) s 1 ) and tensor 720 (e.g., H' 1 The tensor 722a is produced by adding together a HAN-based validator architecture 700 (e.g., element-wise addition of two equal-dimensional tensors to create a new tensor of the stated dimension). In at least one embodiment, tensor 722a is composed of variable H. 1 express.

[0149] In at least one embodiment, the concatenated and multi-head self-attention layer 724 concatenates tensor 722a with each tensor 722b-K. In at least one embodiment, the concatenated and multi-head self-attention layer 724 concatenates the concatenated tensors (e.g., with tensor H). 2 Serial tensor H 1 Multi-head self-attention is performed on the output tensor 726. In at least one embodiment, tensor 726 represents a paragraph (e.g., document) level tensor. In at least one embodiment, tensor 726 is represented by a variable H. In at least one embodiment, all tensors computed by the HAN-based validator architecture 700 (e.g., tensors 706, 714, 720, 722, 726) share equal dimensions (e.g., shape, size, batch dimension).

[0150] In at least one embodiment, a loss 728 (e.g., a score of the degree of relevance of a question to a paragraph or document) can be calculated by a HAN-based validator architecture 700 using one or more loss functions, such as in combination with... Figure 6 Further discussion is needed.

[0151] In at least one embodiment, the HAN-based verifier architecture 700 is represented at least in part by the following code (e.g., instructions, equations, formulas):

[0152]

[0153]

[0154] H′ k =CLM([CLS]Q[SEP]S k [SEP]),

[0155]

[0156] The code is applied to sentence-level and fragment-level operations on a fragment k containing several sentences.

[0157] In at least one embodiment, for paragraph-level operations in the HAN-based validator architecture 700, the code includes:

[0158] H = SelfAtten(concat(H) 1 ,...,H K )).

[0159] In at least one embodiment, the operations used to calculate l1 and l2 can be reused by using H as input.

[0160] In at least one embodiment, the training of one or more neural networks 108, 114 includes one or more language validators (e.g., machine learning models for validating machine understanding, machine learning models for rewriting questions in answer validation), such as in combination Figure 5 and Figure 6 Further discussion. In at least one embodiment, for machine reading comprehension with a span extraction style, these validators include a question rewriting validator (one such validator combines...). Figure 5 (to be discussed) and HAN-based multi-granularity validators (a combination of such validators) Figure 6(Discussion). In at least one embodiment, one or more language validators may be used individually or in combination. In at least one embodiment, the training of one or more neural networks 108, 114 may be at least partially based on rewriting chapter-question pairs (e.g., questions and associated answers found in a training database). In at least one embodiment, the question rewriting validator uses a large-scale question-answering training (e.g., development) dataset to extract and tokenize questions (e.g., questions, annotated question fragments) and text fragments (e.g., answers, annotated answers), which are then fed into one or more neural networks, such as tunable contextual language models (e.g., BERT, TimeBERT, ALBERT). In at least one embodiment, the question rewriting validator rewrites the question by replacing the question with its predicted answer (e.g., injecting the answer) to determine (e.g., calculating scores) the linguistic correctness and completeness of the rewritten question and predicted answer. In at least one embodiment, the question rewriting validator may be referred to as a position-sensitive question rewriting validator. In at least one embodiment, the question rewriting validator includes cross-attention between the rewritten question and the text fragment (e.g., a method of using an attention mask from one modality to highlight features extracted from another modality) to score candidate answers that contain location-sensitive context.

[0161] In at least one embodiment, one or more neural networks 108, 114 include a HAN-based multi-granularity validator that at least partially uses pairs of text fragments from text (e.g., chapters, paragraphs), which are input to one or more neural networks, such as an adjustable contextualized language model, whose output is concatenated with two or more tensors to be input to a self-attention model (e.g., a multi-head self-attention model, a gated recurrent unit (GRU) model), wherein the output of the self-attention model represents a single tensor representing a pair of text fragments. In at least one embodiment, one or more neural networks 108, 114 include a HAN-based multi-granularity validator that at least partially concatenates multiple tensors in multiple stages, each tensor representing a sentence or combination of sentences, to output a tensor representing the text at the paragraph level. In at least one embodiment, the tensor representing the text at the paragraph level can be used as input to one or more neural networks 108, 114 to at least partially train the one or more neural networks 108, 114 to reason about information for a specific task (e.g., answering financial questions, machine reading comprehension, causal reasoning, stock market prediction).

[0162] Figure 8A block diagram depicts a process 800 of one or more circuits of one or more processors using one or more neural networks to output a time-sensitive financial knowledge graph 818 (e.g., a representation of a network of financial entities and the relationships between them). In at least one embodiment, the time-sensitive financial knowledge graph 818 includes relationships between entities (e.g., companies, individuals, government agencies) and events (e.g., bull markets, stock market downturns, declining unemployment rates). In at least one embodiment, the financial knowledge graph 818 includes representations of entities (e.g., objects, events, situations, concepts). In at least one embodiment, process 800 includes one or more neural networks performing one or more steps, including: retrieving financial news 802 (e.g., financial news articles, financial opinion articles, historical stock market prices, quarterly reports, U.S. Securities and Exchange Commission data) retrieved from a network (e.g., the Internet); extracting categories 804 (e.g., categorizing sentences, topics, entities, themes, sentences, dependency structures) from the financial news; differentiating and unifying events 806; retrieving documents 808 (e.g., text files, PDF documents, transcripts, scanned documents); preprocessing the retrieved documents 810 (e.g., running optical character recognition (OCR)) to extract tuples 812 (e.g., multiple features representing a text fragment with a variable); extracting events 814 (e.g., entities, facts); indexing events and entities 816; and outputting a time-sensitive knowledge graph 818 or some combination thereof. In at least one embodiment, one or more steps of process 800 may be performed in parallel (e.g., concurrently).

[0163] In at least one embodiment, one or more steps of process 800 include the use of TimeBERT, such as in combination with Figure 1-10 Further discussion is needed. For example, in step 816, events and entities are indexed. In at least one embodiment, the financial news retrieved in step 802 and the documents retrieved in step 808 include metadata (e.g., publication timestamp data).

[0164] In at least one embodiment, one or more circuits of one or more processors retrieve financial news 802 from the Internet (e.g., downloading financial-related news articles from financial news media organizations). In at least one embodiment, retrieving financial news 802 includes retrieving news not directly related to financial topics (e.g., political news). In at least one embodiment, retrieving financial news 802 is performed by the raw event extraction module 308, and in conjunction with... Figure 3 Further discussion is needed.

[0165] In at least one embodiment, one or more neural networks perform the task of classification 804 of sentences (e.g., identifying sentences), topics (e.g., stock markets, bonds, government spending), and dependency structures (e.g., determining the relationships between words in the text and their related words). In at least one embodiment, classification 804 is performed by entity-pronoun mapping module 306, event-pronoun mapping module 310, or some combination thereof, such as further combined with Figure 3 The subject of discussion.

[0166] In at least one embodiment, one or more neural networks distinguish and unify events 806 (e.g., inferring which events or facts are relevant and which are not), which will combine Figure 2 Further discussion.

[0167] In at least one embodiment, one or more circuits retrieve file 808 (e.g., retrieve electronic documents containing financial news or events from a local area network). In at least one embodiment, the retrieved file 808 includes files of any file type containing text (e.g., scanned documents, PDF files, word processing files, document images, photographs of handwritten notes), which at least in combination with Figure 1-4 and Figure 6-7 Further discussion.

[0168] In at least one embodiment, one or more circuits perform preprocessing 810 on the files retrieved in step 808. In at least one embodiment, the preprocessing includes any method suitable for preparing the retrieved files for inference by one or more neural networks, including performing optical character recognition, converting all text data to lowercase, stemming words, removing low-information words (e.g., a, the, is, are), noise removal (e.g., removing symbols from the text), tokenization, embedding, labeling, classification, or some combination thereof, such as at least partially combined. Figure 2 and Figure 5-7 Further discussion is needed.

[0169] In at least one embodiment, one or more neural networks extract tuples 812 from the text, which will combine Figure 2 and Figure 3 Further discussion is needed. In at least one embodiment, the extracted tuples include a representation of time information (e.g., the date the event occurred, the timestamp of the document).

[0170] In at least one embodiment, one or more neural networks extract event 814 from the preprocessed text, which will combine Figure 3 and Figure 4Further discussion is required. In at least one embodiment, extracting event 814 includes extracting an entity. In at least one embodiment, extracting event 814 includes extracting time information (e.g., the date the event occurred, a document's timestamp).

[0171] In at least one embodiment, one or more circuits index events and entities 818 (e.g., mapping relationships between entities and events extracted from text). In at least one embodiment, indexing events and entities 816 includes indexing fact phrases (e.g., text snippets containing facts). In at least one embodiment, indexing events and entities 816 includes indexing time information associated with events and entities. In at least one embodiment, once events and entities are indexed, one or more circuits output a time-sensitive knowledge graph 818.

[0172] Figure 9 A question-answering (QA) method 900, at least in part executed by one or more circuits using one or more neural networks for a financial question-answering task, is described. In at least one embodiment, the QA method 900 is executed via inference 110, such as in combination with... Figure 1 Further discussion is needed. In at least one embodiment, QA method 900 includes the following steps: retrieving questions 902 (e.g., virtual assistants, chatbots) from users of a QA application, segmenting text 904 (e.g., words, sentences, paragraphs), tagging the positions of text segments 906, detecting entities 908, resolving dependencies 910, linking entities 912, determining candidate relationships 914, predicting answers 916, or some combination thereof. In at least one embodiment, a time-sensitive financial knowledge graph 818 may be used in one or more steps of method 900, for example, where step 912 links entities and step 914 determines candidate relationships.

[0173] In at least one embodiment, one or more circuits retrieve question 902 from a user of the question-and-answer application. In at least one embodiment, the retrieved question relates to financial topics (e.g., what caused the Great Recession? What are the business expenses in business travel?).

[0174] In at least one embodiment, after retrieving question 902 from a user, one or more circuits perform text segmentation 904 (e.g., dividing the text of the question into coherent segments representing the topic). In at least one embodiment, one or more circuits perform phonological (POS) tagging 906 (e.g., labeling each word in the sentence with the correct phonological attribute, such as noun, verb, adjective). In at least one embodiment, one or more circuits perform dependency resolution 910 (e.g., analyzing the grammatical structure of the question based on relationships between words). In at least one embodiment, one or more circuits detect entities 908. In at least one embodiment, entity detection 908 uses Named Entity Recognition (NER) tasks (e.g., entity chunking, entity extraction) to identify entities in the question.

[0175] In at least one embodiment, after entity 908 is detected, one or more circuits execute entity link 912, which will combine Figure 3 Further discussion. In at least one embodiment, one or more circuits perform entity linking 912 by using one or more neural networks of TimeBERT, which will combine at least Figure 1-5 Further discussion. In at least one embodiment, entity link 912 is at least partially based on binding. Figure 8 Further discussion on time-sensitive knowledge graphs.

[0176] In at least one embodiment, once one or more circuits have performed the steps of resolving dependencies 910 and linking entities 912, the circuits determine candidate relationships 914 (e.g., relationships between entities and events). In at least one embodiment, the determination of candidate relationships 914 is based at least in part on association. Figure 8 Further discussion on time-sensitive knowledge graphs.

[0177] In at least one embodiment, QA method 900 predicts the answer 916 to the question and sorts the predicted answers by time.

[0178] Figure 10 Table 1002 is depicted, which includes events extracted by the financial event extraction framework 300. In at least one embodiment, the events listed in Table 1002 are fragments of text from financial news or opinion articles. At least in combination Figure 2-4The event extraction process is further discussed. In at least one embodiment, Table 1002 includes classifications of extracted events related to financial sentiment analysis (e.g., inferring whether a stock should be bought, sold, or held, or inferring whether the economic market is falling, stable, or rising). In at least one embodiment, Table 1002 includes event classes labeled: D-, D, P, U, and U+, where D represents a decline, P represents stability, and U represents a rise. The D- class represents events with the most negative sentiment inferred by one or more neural networks, while U+ represents events with the most positive sentiment inferred by one or more neural networks. In at least one embodiment, Table 1002 includes weights assigned to each extracted event, representing a confidence score that an event has been correctly classified by one or more neural networks. In at least one embodiment, the weights are numbers between 0 and 1. In at least one embodiment, the weights are calculated via a self-attention layer (e.g., a self-attention mechanism, a bullish self-attention layer), such as in conjunction with... Figure 1 , Figure 2 and Figure 7 Further discussion. In at least one embodiment, weights in Table 1002 are listed in bold if they are significantly stronger (e.g., larger) than the remaining weights within a category. In at least one embodiment, the weights in Table 1002 are based at least in part on inference made by one or more neural networks trained by TimeBERT.

[0179] Reasoning and training logic

[0180] Figure 11A Inference and / or training logic 1115 for performing inference and / or training operations associated with one or more embodiments is shown. The following is in conjunction with... Figure 11A and / or Figure 11B Details are provided regarding the inference and / or training logic 1115. In at least one embodiment, the inference and / or training logic 1115 may include one or more circuits for training one or more neural networks based at least in part on one or more indications of when one or more prior events occurred.

[0181] In at least one embodiment, the inference and / or training logic 1115 may include, but is not limited to, code and / or data storage 1101 for storing forward and / or output weights and / or input / output data, and / or other parameters for configuring neurons or layers of a neural network trained and / or used for inference in one or more embodiments. In at least one embodiment, the training logic 1115 may include or be coupled to code and / or data storage 1101 for storing graph code or other software to control timing and / or sequence, wherein weight and / or other parameter information is loaded to configure logic including integer and / or floating-point units (collectively, arithmetic logic units (ALUs)). In at least one embodiment, code (such as graph code) loads weight or other parameter information into the processor ALU based on the architecture of the neural network to which the code corresponds. In at least one embodiment, the code and / or data storage 1101 stores weight parameters and / or input / output data of each layer of a neural network trained or used in one or more embodiments during forward propagation of input / output data and / or weight parameters using aspects of training and / or inference in one or more embodiments. In at least one embodiment, any portion of the code and / or data storage 1101 may be included within other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory.

[0182] In at least one embodiment, any portion of the code and / or data storage 1101 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, the code and / or data storage 1101 may be a cache memory, dynamic random access memory (“DRAM”), static random access memory (“SRAM”), non-volatile memory (e.g., flash memory), or other storage. In at least one embodiment, the choice of whether the code and / or data storage 1101 is internal or external to the processor, for example, or including DRAM, SRAM, flash memory, or some other storage type, may depend on the on-chip versus off-chip available storage, the latency requirements of the training and / or inference functions being performed, the batch size of the data used in the inference and / or training of the neural network, or some combination of these factors.

[0183] In at least one embodiment, the inference and / or training logic 1115 may include, but is not limited to, code and / or data storage 1105 for storing backpropagation and / or output weights and / or input / output data corresponding to neurons or layers of a neural network trained and / or used for inference in one or more aspects of the embodiments. In at least one embodiment, during training and / or inference using one or more aspects of the embodiments, the code and / or data storage 1105 stores weight parameters and / or input / output data for each layer of the neural network trained or used in one or more embodiments during backpropagation of input / output data and / or weight parameters. In at least one embodiment, the training logic 1115 may include or be coupled to code and / or data storage 1105 for storing graph code or other software to control timing and / or sequence, wherein weight and / or other parameter information is loaded to configure logic including integer and / or floating-point units (collectively, an arithmetic logic unit (ALU)).

[0184] In at least one embodiment, code (such as graph code) causes the architecture of the neural network corresponding to that code to load weights or other parameter information into the processor ALU. In at least one embodiment, any portion of the code and / or data storage 1105 may be included together with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory. In at least one embodiment, any portion of the code and / or data storage 1105 may be internal or external to one or more processors or other hardware logic devices or circuits. In at least one embodiment, the code and / or data storage 1105 may be cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other storage. In at least one embodiment, the choice of whether the code and / or data storage 1105 is internal or external to the processor, for example, including DRAM, SRAM, flash memory, or some other type of storage, may depend on the available on-chip versus off-chip storage, the latency requirements of the training and / or inference functions being performed, the batch size of the data used in the inference and / or training of the neural network, or some combination of these factors.

[0185] In at least one embodiment, code and / or data storage 1101 and code and / or data storage 1105 may be separate storage structures. In at least one embodiment, code and / or data storage 1101 and code and / or data storage 1105 may be the same storage structure. In at least one embodiment, code and / or data storage 1101 and code and / or data storage 1105 may be partially combined and partially separated. In at least one embodiment, any portion of code and / or data storage 1101 and code and / or data storage 1105 may be included together with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory.

[0186] In at least one embodiment, the inference and / or training logic 1115 may include, but is not limited to, one or more arithmetic logic units (“ALUs”) 1110 (including integer and / or floating-point units) for performing logical and / or mathematical operations at least in part based on or instructed by training and / or inference code (e.g., graph code), the results of which may produce activations (e.g., output values ​​from layers or neurons within a neural network) stored in activation storage 1120, which are functions of input / output and / or weight parameter data stored in code and / or data storage 1101 and / or code and / or data storage 1105. In at least one embodiment, activations stored in activation storage 1120 are generated based on linear algebra and / or matrix-based mathematics performed by ALU 1110 in response to execution instructions or other code, wherein weight values ​​stored in code and / or data storage 1105 and / or code and / or data storage 1101 are used as operands, and other values, such as bias values, gradient information, momentum values, or other parameters or hyperparameters, may be stored in code and / or data storage 1105 or code and / or data storage 1101 or other on-chip or off-chip storage.

[0187] In at least one embodiment, one or more processors or other hardware logic devices or circuits include one or more ALUs 1110, while in another embodiment, one or more ALUs 1110 may be external to the processor or other hardware logic device or the circuitry that uses them (e.g., a coprocessor). In at least one embodiment, ALUs 1110 may be included within an execution unit of a processor, or otherwise included in an ALU bank accessible by the execution unit of the processor, which may be within the same processor or distributed among different processors of different types (e.g., a central processing unit, a graphics processing unit, a fixed-function unit, etc.). In at least one embodiment, code and / or data storage 1101, code and / or data storage 1105, and activation storage 1120 may share a processor or other hardware logic device or circuitry, while in another embodiment, they may be in different processors or other hardware logic devices or circuitry, or in some combination of the same and different processors or other hardware logic devices or circuitry. In at least one embodiment, any portion of activation storage 1120 may be included together with other on-chip or off-chip data storage, including the processor's L1, L2, or L3 cache or system memory. Furthermore, inference and / or training code may be stored together with other code accessible to the processor or other hardware logic or circuitry, and may be retrieved and / or processed using the processor’s fetch, decode, schedule, execute, exit, and / or other logic circuitry.

[0188] In at least one embodiment, the active memory 1120 may be a cache memory, DRAM, SRAM, non-volatile memory (e.g., flash memory), or other memory. In at least one embodiment, the active memory 1120 may be entirely or partially located within or outside one or more processors or other logic circuits. In at least one embodiment, the choice of whether the active memory 1120 is internal to or external to the processor, for example, or including DRAM, SRAM, flash memory, or certain other memory types, may depend on the available on-chip versus off-chip memory, the latency requirements for performing training and / or inference functions, the batch size of the data used in inference and / or training the neural network, or some combination of these factors.

[0189] In at least one embodiment, Figure 11A The inference and / or training logic 1115 shown can be used in conjunction with an application-specific integrated circuit (“ASIC”), such as those from Google. Processing unit, from Graphcore TM The inference processing unit (IPU) or from Intel. (e.g., "Lake Crest") processor. In at least one embodiment, Figure 11AThe inference and / or training logic 1115 shown can be used in conjunction with central processing unit (“CPU”) hardware, graphics processing unit (“GPU”) hardware or other hardware (such as field programmable gate array (“FPGA”)).

[0190] Figure 11B An inference and / or training logic 1115 according to at least one embodiment is illustrated. In at least one embodiment, the inference and / or training logic 1115 may include one or more circuits for training one or more neural networks based at least in part on one or more indications of when one or more prior events occurred. In at least one embodiment, the inference and / or training logic 1115 may include, but is not limited to, hardware logic, wherein computational resources, along with weight values ​​or other information corresponding to one or more layers of neurons within the neural network, are dedicated or otherwise exclusively used. In at least one embodiment, Figure 11B The inference and / or training logic 1115 shown can be used in conjunction with an application-specific integrated circuit (ASIC), such as those from Google. Processing unit, from Graphcore TM The inference processing unit (IPU) or from Intel. (e.g., "Lake Crest") processor. In at least one embodiment, Figure 11B The inference and / or training logic 1115 shown can be used in conjunction with central processing unit (CPU) hardware, graphics processing unit (GPU) hardware, or other hardware (e.g., field-programmable gate array (FPGA)). In at least one embodiment, the inference and / or training logic 1115 includes, but is not limited to, code and / or data storage 1101 and code and / or data storage 1105, which can be used to store code (e.g., graph code), weight values, and / or other information, including bias values, gradient information, momentum values, and / or other parameter or hyperparameter information. Figure 11B In at least one embodiment shown, each of code and / or data storage 1101 and code and / or data storage 1105 is associated with dedicated computing resources (e.g., computing hardware 1102 and computing hardware 1106), respectively. In at least one embodiment, each of computing hardware 1102 and computing hardware 1106 includes one or more ALUs that perform mathematical functions (e.g., linear algebraic functions) on the information stored in code and / or data storage 1101 and code and / or data storage 1105, respectively, with the results stored in active memory 1120.

[0191] In at least one embodiment, each of the code and / or data storage 1101 and 1105 and the corresponding computing hardware 1102 and 1106 corresponds to a different layer of the neural network, such that an activation obtained from one storage / computation pair 1101 / 1102 of the code and / or data storage 1101 and computing hardware 1102 is provided as input to the next storage / computation pair 1105 / 1106 of the code and / or data storage 1105 and computing hardware 1106, in order to reflect the conceptual organization of the neural network. In at least one embodiment, each storage / computation pair 1101 / 1102 and 1105 / 1106 may correspond to more than one neural network layer. In at least one embodiment, additional storage / computation pairs (not shown) may be included in the inference and / or training logic 1115 following or paralleling the storage / computation pairs 1101 / 1102 and 1105 / 1106.

[0192] Neural network training and deployment

[0193] Figure 12 Training and deployment of a deep neural network according to at least one embodiment are illustrated. In at least one embodiment, a training framework 1204 trains an untrained neural network 1206 based at least in part on one or more indications of when one or more previous events occurred. In at least one embodiment, the untrained neural network 1206 is trained using a training dataset 1202. In at least one embodiment, the training framework 1204 is a PyTorch framework, while in other embodiments, the training framework 1204 is TensorFlow, Boost, Caffe, Microsoft Cognitive Toolkit / CNTK, MXNet, Chainer, Keras, Deeplearning4j, or other training frameworks. In at least one embodiment, the training framework 1204 trains the untrained neural network 1206 and enables it to be trained using the processing resources described herein to generate a trained neural network 1208. In at least one embodiment, the weights may be randomly selected or selected by pre-training using a deep belief network. In at least one embodiment, training may be performed in a supervised, partially supervised, or unsupervised manner.

[0194] In at least one embodiment, supervised learning is used to train an untrained neural network 1206, wherein the training dataset 1202 includes inputs paired with desired outputs for input, or wherein the training dataset 1202 includes inputs with known outputs and the outputs of the neural network 1206 are manually graded. In at least one embodiment, the untrained neural network 1206 is trained in a supervised manner and processes inputs from the training dataset 1202, comparing the resulting outputs with a set of expected or desired outputs. In at least one embodiment, the error is then backpropagated through the untrained neural network 1206. In at least one embodiment, a training framework 1204 adjusts the weights controlling the untrained neural network 1206. In at least one embodiment, the training framework 1204 includes tools for monitoring the degree to which the untrained neural network 1206 converges to a model (such as a trained neural network 1208) suitable for generating correct answers (such as result 1214) based on input data (such as a new dataset 1212). In at least one embodiment, the training framework 1204 repeatedly trains the untrained neural network 1206 while adjusting the weights to refine the output of the untrained neural network 1206 using a loss function and tuning algorithms such as stochastic gradient descent. In at least one embodiment, the training framework 1204 trains the untrained neural network 1206 until the untrained neural network 1206 reaches the desired accuracy. In at least one embodiment, the trained neural network 1208 can then be deployed to implement any number of machine learning operations.

[0195] In at least one embodiment, unsupervised learning is used to train an untrained neural network 1206, wherein the untrained neural network 1206 attempts to train itself using unlabeled data. In at least one embodiment, the unsupervised learning training dataset 1202 will include input data without any associated output data or "ground truth" data. In at least one embodiment, the untrained neural network 1206 can learn groupings within the training dataset 1202 and can determine how each input relates to the untrained dataset 1202. In at least one embodiment, unsupervised training can be used to generate a self-organizing graph in the trained neural network 1208, which is capable of performing operations useful for reducing the dimensionality of the new dataset 1212. In at least one embodiment, unsupervised training can also be used to perform anomaly detection, which allows the identification of data points in the new dataset 1212 that deviate from the normal patterns of the new dataset 1212.

[0196] In at least one embodiment, semi-supervised learning can be used, which is a technique in which a mixture of labeled and unlabeled data is included in the training dataset 1202. In at least one embodiment, the training framework 1204 can be used to perform incremental learning, such as through transfer learning techniques. In at least one embodiment, incremental learning enables the trained neural network 1208 to adapt to a new dataset 1212 without forgetting the knowledge injected into the trained neural network 1208 during initial training.

[0197] In at least one embodiment, the training framework 1204 is a framework that incorporates a software development kit such as the OpenVINO (Open Visual Inference and Neural Network Optimization) toolkit. In at least one embodiment, the OpenVINO toolkit is, for example, a toolkit developed by Intel Corporation of Santa Clara, California.

[0198] In at least one embodiment, OpenVINO is a toolkit for facilitating the development of applications (particularly neural network applications) for various tasks and operations, such as human visual simulation, speech recognition, natural language processing, recommender systems, and / or variations thereof. In at least one embodiment, OpenVINO supports neural networks, such as convolutional neural networks (CNNs), recurrent neural networks, and / or attention-based neural networks, and / or various other neural network models. In at least one embodiment, OpenVINO supports various software libraries, such as OpenCV, OpenCL, and / or variations thereof.

[0199] In at least one embodiment, OpenVINO supports neural network models for a variety of tasks and operations, such as classification, segmentation, object detection, face recognition, speech recognition, pose estimation (e.g., people and / or objects), monocular depth estimation, image inpainting, style transfer, action recognition, colorization, and / or variations thereof.

[0200] In at least one embodiment, OpenVINO includes one or more software tools and / or modules for model optimization, also referred to as a model optimizer. In at least one embodiment, the model optimizer is a command-line tool that facilitates the transition between training and deployment of a neural network model. In at least one embodiment, the model optimizer optimizes the neural network model for execution on various devices and / or processing units such as GPUs, CPUs, PPUs, GPGPUs, and / or variants thereof. In at least one embodiment, the model optimizer generates an internal representation of the model and optimizes the model to generate an intermediate representation. In at least one embodiment, the model optimizer reduces the number of layers in the model. In at least one embodiment, the model optimizer removes layers from the model used for training. In at least one embodiment, the model optimizer performs various neural network operations, such as modifying the model's input (e.g., adjusting the size of the model's input), modifying the size of the model's input (e.g., modifying the model's batch size), modifying the model's structure (e.g., modifying the model's layers), normalizing, standardizing, quantizing (e.g., converting the model's weights from a first representation such as floating-point to a second representation such as integer), and / or variants thereof.

[0201] In at least one embodiment, OpenVINO includes one or more software libraries for inference, also referred to as an inference engine. In at least one embodiment, the inference engine is a C++ library or any suitable programming language library. In at least one embodiment, the inference engine is used to infer input data. In at least one embodiment, the inference engine implements various classes to infer input data and generate one or more results. In at least one embodiment, the inference engine implements one or more API functions to process intermediate representations, set input and / or output formats, and / or execute models on one or more devices.

[0202] In at least one embodiment, OpenVINO provides various capabilities for heterogeneous execution of one or more neural network models. In at least one embodiment, heterogeneous execution or heterogeneous computing refers to one or more computational processes and / or systems utilizing one or more types of processors and / or cores. In at least one embodiment, OpenVINO provides various software functions to execute programs on one or more devices. In at least one embodiment, OpenVINO provides various software functions to execute programs and / or portions of programs on different devices. In at least one embodiment, OpenVINO provides various software functions, for example, to run a first code portion on a CPU and a second code portion on a GPU and / or FPGA. In at least one embodiment, OpenVINO provides various software functions to execute one or more layers of a neural network on one or more devices (e.g., executing a first set of layers on a first device (e.g., a GPU) and a second set of layers on a second device (e.g., a CPU)).

[0203] In at least one embodiment, OpenVINO includes various functionalities similar to those associated with CUDA programming models, such as various neural network model operations associated with frameworks such as TensorFlow, PyTorch, and / or their variants. In at least one embodiment, one or more CUDA programming model operations are performed using OpenVINO. In at least one embodiment, the various systems, methods, and / or techniques described herein are implemented using OpenVINO.

[0204] Data Center

[0205] Figure 13 An example data center 1300 that can be used with at least one embodiment is shown. In at least one embodiment, data center 1300 includes a data center infrastructure layer 1310, a framework layer 1320, a software layer 1330, and an application layer 1340. In at least one embodiment, grouped computing resources 1314 include inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks, at least in part based on one or more indications of when one or more prior events occurred.

[0206] In at least one embodiment, such as Figure 13As shown, the data center infrastructure layer 1310 may include a resource coordinator 1312, grouped computing resources 1314, and node computing resources (“nodes CR”) 1316(1)-1316(N), where “N” represents a positive integer (which may be an integer “N” different from the integers used in other diagrams). In at least one embodiment, nodes CR 1316(1)-1316(N) may include, but are not limited to, any number of central processing units (“CPUs”) or other processors (including accelerators, field-programmable gate arrays (FPGAs), graphics processors, etc.), memory storage devices 1318(1)-1318(N) (e.g., dynamic read-only memory, solid-state storage, or disk drives), network input / output (“NW I / O”) devices, network switches, virtual machines (“VMs”), power modules, and cooling modules, etc. In at least one embodiment, one or more nodes CR 1316(1)-1316(N) may be servers having one or more of the aforementioned computing resources.

[0207] In at least one embodiment, the grouped computing resources 1314 may include individual groups of node CRs housed within one or more racks (not shown), or a plurality of racks housed within data centers (also not shown) in various geographical locations. In at least one embodiment, the individual groups of node CRs within the grouped computing resources 1314 may include computing, networking, memory, or storage resources that can be configured or allocated to support groups of one or more workloads. In at least one embodiment, several node CRs, including CPUs or processors, may be grouped within one or more racks to provide computing resources to support one or more workloads. In at least one embodiment, one or more racks may also include any number of power modules, cooling modules, and network switches in any combination.

[0208] In at least one embodiment, resource coordinator 1312 may be configured or otherwise control one or more nodes CR1316(1)-1316(N) and / or grouped computing resources 1314. In at least one embodiment, resource coordinator 1312 may include a Software Design Infrastructure (“SDI”) management entity for data center 1300. In at least one embodiment, resource coordinator 1312 may include hardware, software, or some combination thereof.

[0209] In at least one embodiment, such as Figure 13As shown, framework layer 1320 includes job scheduler 1322, configuration manager 1324, resource manager 1326, and distributed file system 1328. In at least one embodiment, framework layer 1320 may include a framework of software 1332 supporting software layer 1330 and / or one or more applications 1342 supporting application layer 1340. In at least one embodiment, software 1332 or application 1342 may respectively include web-based service software or applications, such as service software or applications provided by Amazon Web Services, Google Cloud, and Microsoft Azure. In at least one embodiment, framework layer 1320 may be, but is not limited to, a type of free and open-source software web application framework, such as Apache Spark™ (hereinafter referred to as "Spark") which can utilize distributed file system 1328 for large-scale data processing (e.g., "big data"). In at least one embodiment, job scheduler 1322 may include Spark drivers for facilitating the scheduling of workloads supported by the various layers of data center 1300. In at least one embodiment, configuration manager 1324 may be able to configure different layers, such as software layer 1330 and framework layer 1320 including Spark and distributed file system 1328 for supporting large-scale data processing. In at least one embodiment, resource manager 1326 may be able to manage clustered or grouped computing resources mapped to or allocated to support distributed file system 1328 and job scheduler 1322. In at least one embodiment, clustered or grouped computing resources may include grouped computing resources 1314 at data center infrastructure layer 1310. In at least one embodiment, resource manager 1326 may coordinate with resource coordinator 1312 to manage these mapped or allocated computing resources.

[0210] In at least one embodiment, the software 1332 included in the software layer 1330 may include software used by at least portions of nodes CR1316(1)-1316(N), grouped computing resources 1314, and / or the distributed file system 1328 of the framework layer 1320. In at least one embodiment, one or more types of software may include, but are not limited to, Internet web page search software, email virus scanning software, database software, and streaming video content software.

[0211] In at least one embodiment, one or more applications 1342 included in application layer 1340 may include one or more types of applications used by at least portions of nodes CR1316(1)-1316(N), grouped computing resources 1314, and / or the distributed file system 1328 of framework layer 1320. In at least one embodiment, one or more types of applications may include, but are not limited to, any number of genomics applications, cognitive computing, applications, and machine learning applications, including training or inference software, machine learning framework software (e.g., PyTorch, TensorFlow, Caffe, etc.), or other machine learning applications used in conjunction with one or more embodiments.

[0212] In at least one embodiment, any of the configuration manager 1324, resource manager 1326, and resource coordinator 1312 can implement any number and type of self-modification actions based on any amount and type of data acquired in any technically feasible manner. In at least one embodiment, self-modification actions can mitigate potentially poor configuration decisions by data center operators of data center 1300 and can prevent underutilization and / or poor performance of the data center.

[0213] In at least one embodiment, data center 1300 may include tools, services, software, or other resources for training one or more machine learning models or using one or more machine learning models to predict or infer information according to one or more embodiments described herein. For example, in at least one embodiment, a machine learning model can be trained by calculating weight parameters based on a neural network architecture using the software and computing resources described above with respect to data center 1300. In at least one embodiment, information can be inferred or predicted using trained machine learning models corresponding to one or more neural networks using the resources described above with respect to data center 1300 by using weight parameters calculated through one or more training techniques described herein.

[0214] In at least one embodiment, the data center may use a CPU, application-specific integrated circuit (ASIC), GPU, FPGA, or other hardware to utilize the aforementioned resources to perform training and / or inference. Furthermore, one or more of the aforementioned software and / or hardware resources may be configured as a service to allow a user to train or perform information inference, such as image recognition, speech recognition, or other artificial intelligence services.

[0215] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11BDetails are provided regarding the inference and / or training logic 1115. In at least one embodiment, the inference and / or training logic 1115 can... Figure 13 It is used in systems for inference or prediction operations based at least in part on weight parameters calculated using the neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0216] In at least one embodiment, regarding Figure 13 At least one component shown or described is used to implement the combination Figure 1-10 The described techniques and / or functions. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements the following: Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets.

[0217] Autonomous vehicles

[0218] Figure 14AExamples of autonomous vehicles 1400 according to at least one embodiment are shown. In at least one embodiment, the autonomous vehicle 1400 (which may alternatively be referred to herein as "vehicle 1400") may be, but is not limited to, a passenger vehicle, such as a car, truck, bus, and / or another type of vehicle accommodating one or more passengers. In at least one embodiment, vehicle 1400 may be a semi-tractor-trailer truck for hauling goods. In at least one embodiment, vehicle 1400 may be an aircraft, robotic vehicle, or other type of vehicle.

[0219] Autonomous vehicles can be described according to the levels of automation defined by the National Highway Traffic Safety Administration (“NHTSA”) and the Society of Automotive Engineers (“SAE”) of the U.S. Department of Transportation in their “Taxonomy and Definitions for Terms Related to Driving Automation Systems for On-Road Motor Vehicles” (e.g., standard number J3016-201806, published June 15, 2018; standard number J3016-201609, published September 30, 2016; and previous and future versions of that standard). In at least one embodiment, vehicle 1400 may be able to have one or more functions according to levels 1 through 5 of autonomous driving. For example, in at least one embodiment, vehicle 1400 may be able to have conditional automation (level 3), high automation (level 4), and / or full automation (level 5), depending on the embodiment.

[0220] In at least one embodiment, vehicle 1400 may include, but is not limited to, components such as chassis, body, wheels (e.g., 2, 4, 6, 8, 18, etc.), tires, axles, and other vehicle components. In at least one embodiment, vehicle 1400 may include, but is not limited to, propulsion system 1450, such as an internal combustion engine, a hybrid powertrain, an all-electric motor, and / or another type of propulsion system. In at least one embodiment, propulsion system 1450 may be connected to the drivetrain of vehicle 1400, which may include, but is not limited to, a transmission, for enabling propulsion of vehicle 1400. In at least one embodiment, propulsion system 1450 may be controlled in response to receiving a signal from throttle / accelerator 1452.

[0221] In at least one embodiment, when the propulsion system 1450 is operating (e.g., when the vehicle 1400 is in motion), the steering system 1454 (which may include, but is not limited to, a steering wheel) is used to steer the vehicle 1400 (e.g., along a desired path or route). In at least one embodiment, the steering system 1454 may receive signals from the steering actuator 1456. In at least one embodiment, for fully automated (Level 5) functionality, the steering wheel may be optional. In at least one embodiment, the brake sensor system 1446 may be used to operate the vehicle brakes in response to signals received from the brake actuator 1448 and / or brake sensors.

[0222] In at least one embodiment, one or more controllers 1436 may include, but are not limited to, one or more systems-on-a-chip (“SoC”). Figure 14A (not shown) and / or a graphics processing unit (“GPU”) provides signals (e.g., representing commands) to one or more components and / or systems of vehicle 1400. For example, in at least one embodiment, one or more controllers 1436 may send signals to operate vehicle braking via brake actuator 1448, to operate steering system 1454 via one or more steering actuators 1456, and to operate propulsion system 1450 via one or more throttle / accelerators 1452. In at least one embodiment, one or more controllers 1436 may include one or more on-board (e.g., integrated) computing devices that process sensor signals and output operating commands (e.g., signals representing commands) to enable autonomous driving and / or assist a human driver in driving vehicle 1400. In at least one embodiment, one or more controllers 1436 may include a first controller for autonomous driving functions, a second controller for functional safety functions, a third controller for artificial intelligence functions (e.g., computer vision), a fourth controller for infotainment functions, a fifth controller for redundancy in emergency situations, and / or other controllers. In at least one embodiment, a single controller may handle two or more of the functions described above, and two or more controllers may handle a single function and / or any combination thereof.

[0223] In at least one embodiment, one or more controllers 1436 provide signals for controlling one or more components and / or systems of vehicle 1400 in response to sensor data received from one or more sensors (e.g., sensor inputs). In at least one embodiment, the sensor data can be received from, for example, but not limited to, the following sensors: one or more Global Navigation Satellite System (“GNSS”) sensors 1458 (e.g., one or more Global Positioning System sensors), one or more RADAR sensors 1460, one or more ultrasonic sensors 1462, one or more LIDAR sensors 1464, one or more inertial measurement unit (IMU) sensors 1466 (e.g., one or more accelerometers, one or more gyroscopes, one or more magnetic compasses, one or more magnetometers, etc.), one or more microphones 1496, one or more stereo cameras 1468, one or more wide-angle cameras 1470 (e.g., fisheye cameras), one or more infrared cameras 1472, one or more surround cameras 1474 (e.g., 360-degree cameras), remote cameras ( Figure 14A (not shown in the image), medium-range camera ( Figure 14A (not shown), one or more speed sensors 1444 (e.g., for measuring the speed of vehicle 1400), one or more vibration sensors 1442, one or more steering sensors 1440, one or more brake sensors (e.g., as part of brake sensor system 1446) and / or other sensor types.

[0224] In at least one embodiment, one or more controllers 1436 may receive input (e.g., represented by input data) from the dashboard 1432 of the vehicle 1400 and provide output (e.g., represented by output data, display data, etc.) via a human-machine interface (“HMI”) display 1434, a voice signaler, a speaker, and / or via other components of the vehicle 1400. In at least one embodiment, the output may include information such as vehicle speed, velocity, time, map data (e.g., high-definition map). Figure 14AThe HMI display 1434 may display information such as location data (e.g., the location of vehicle 1400, for example, on a map), direction, the location of other vehicles (e.g., occupying a grid), information about objects, and the state of objects perceived by one or more controllers 1436. For example, in at least one embodiment, the HMI display 1434 may display information about the presence of one or more objects (e.g., road signs, warning signs, traffic light changes, etc.) and / or information about driving maneuvers that have been, are being, or will be made (e.g., changing lanes now, reaching exit 34B within two miles, etc.). In at least one embodiment, the HMI display 1434 may display information based at least in part on reasoning performed by one or more neural networks, which are trained at least in part on one or more indications of when one or more prior events occurred.

[0225] In at least one embodiment, vehicle 1400 further includes a network interface 1424 that can communicate over one or more networks using one or more wireless antennas 1426 and / or one or more modems. For example, in at least one embodiment, network interface 1424 may be able to communicate over Long Term Evolution (“LTE”), Wideband Code Division Multiple Access (“WCDMA”), Universal Mobile Telecommunications System (“UMTS”), Global System for Mobile Communications (“GSM”), IMT-CDMA Multicarrier (“CDMA2300”) networks, etc. In at least one embodiment, one or more wireless antennas 1426 may also enable communication between objects in the environment (e.g., vehicles, mobile devices, etc.) using one or more local area networks (such as Bluetooth, Bluetooth Low Energy (LE), Z-Wave, ZigBee, etc.) and / or one or more low-power wide area networks (“LPWAN”) (such as LoRaWAN, SigFox, etc. protocols).

[0226] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details regarding the inference and / or training logic 1115 are provided. In at least one embodiment, the inference and / or training logic 1115 can... Figure 14A The system is used for inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases as described herein.

[0227] In at least one embodiment, regarding Figure 14A At least one component shown or described is used to implement the combination Figure 1-10The described technologies and / or functions. In at least one embodiment, the inference and / or training logic 1115 of the vehicle 1400 (regarding...) Figure 14C (As shown as part of one or more CPUs 1406 and one or more GPUs 1408) including and / or running about Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, vehicle 1400 includes a computer vision system comprising one or more processors for identifying one or more objects by performing one or more inference operations, at least in part, based on information used by one or more neural networks, at least in part based on information about... Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, vehicle 1400 includes one or more of a propulsion system, a steering control system, and a vehicle operator notification system for performing one or more actions (e.g., acceleration, braking, steering, alarm signals) based at least in part on one or more identified objects.

[0228] Figure 14B The illustration shows an embodiment according to at least one of the embodiments. Figure 14A Examples of camera positions and field of view for the autonomous vehicle 1400. In at least one embodiment, the vehicle 1400 also includes... Figure 14A Network interface 1424, which can be used Figure 14A The wireless antenna 1426 and / or modem communicate via one or more networks to retrieve information based at least in part on reasoning performed by one or more neural networks, which are trained at least in part on one or more indications of when a previous event occurred. In at least one embodiment, the camera and its respective field of view are an exemplary embodiment and are not intended to be limiting. For example, in at least one embodiment, additional and / or alternative cameras may be included and / or the cameras may be located at different locations on the vehicle 1400.

[0229] In at least one embodiment, the camera type used for the camera may include, but is not limited to, a digital camera suitable for use with components and / or systems of vehicle 1400. In at least one embodiment, one or more cameras may operate at Automotive Safety Integrity Level (“ASIL”) B and / or other ASILs. In at least one embodiment, the camera type may be capable of having any image capture rate, such as 60 frames per second (fps), 120 fps, 240 fps, etc., depending on the embodiment. In at least one embodiment, the camera may be capable of using a rolling shutter, a global shutter, other types of shutters, or combinations thereof. In at least one embodiment, the color filter array may include a red-to-clear-to-clear (“RCCC”) color filter array, a red-to-clear-to-blue (“RCCB”) color filter array, a red-blue-green (“RBGC”) color filter array, a Foveon X3 color filter array, a Bayer sensor (“RGGB”) color filter array, a monochrome sensor color filter array, and / or other types of color filter arrays. In at least one embodiment, a transparent pixel camera, such as a camera with an array of RCCC, RCCB and / or RBGC color filters, may be used to improve photosensitivity.

[0230] In at least one embodiment, one or more cameras may be used to perform advanced driver assistance system (“ADAS”) functions (e.g., as part of a redundancy or fail-safe design). For example, in at least one embodiment, a multi-function monocular camera may be installed to provide functions including lane departure warning, traffic sign assist, and intelligent headlight control. In at least one embodiment, one or more cameras (e.g., all cameras) may simultaneously record and provide image data (e.g., video).

[0231] In at least one embodiment, one or more cameras may be mounted in a mounting assembly, such as a custom-designed (3D-printed) assembly, to remove stray light and reflected light from within the vehicle 1400 (e.g., reflected light from the dashboard reflected in the windshield mirror), which may interfere with the camera's image data capture capabilities. Regarding the rearview mirror mounting assembly, in at least one embodiment, the rearview mirror assembly may be 3D-printed custom-made such that the camera mounting plate matches the shape of the rearview mirror. In at least one embodiment, one or more cameras may be integrated into the rearview mirror. In at least one embodiment, for side-view cameras, one or more cameras may also be integrated into four pillars at each corner of the cabin.

[0232] In at least one embodiment, a camera (e.g., a forward-facing camera) having a field of view including portions of the environment in front of the vehicle 1400 can be used for surround view to help identify the path and obstacles ahead, and to assist in providing information crucial for generating an occupancy grid and / or determining a preferred vehicle path, with the help of one or more controllers 1436 and / or control SoCs. In at least one embodiment, the forward-facing camera can be used to perform many ADAS functions similar to LIDAR, including but not limited to emergency braking, pedestrian detection, and collision avoidance. In at least one embodiment, the forward-facing camera can also be used for ADAS functions and systems, including but not limited to lane departure warning (“LDW”), adaptive cruise control (“ACC”), and / or other functions such as traffic sign recognition.

[0233] In at least one embodiment, a variety of cameras can be used in a forward-facing configuration, including, for example, a monocular camera platform including a CMOS (“complementary metal-oxide-semiconductor”) color imager. In at least one embodiment, a wide-angle camera 1470 can be used to sense objects entering the view from the periphery (e.g., pedestrians, intersection traffic, or bicycles). Although in Figure 14B Only one wide-angle camera 1470 is shown, but in other embodiments, the vehicle 1400 may have any number (including zero) of wide-angle cameras. In at least one embodiment, any number of remote cameras 1498 (e.g., a pair of telescopic stereo cameras) can be used for depth-based object detection, especially for objects for which a neural network has not yet been trained. In at least one embodiment, one or more remote cameras 1498 can also be used for object detection and classification, as well as basic object tracking.

[0234] In at least one embodiment, any number of stereo cameras 1468 may also be included in a forward configuration. In at least one embodiment, one or more stereo cameras 1468 may include an integrated control unit comprising a scalable processing unit that can provide programmable logic (“FPGA”) and a multi-core microprocessor with a controller area network (“CAN”) or Ethernet interface integrated on a single chip. In at least one embodiment, such a unit may be used to generate a 3D map of the environment of the vehicle 1400, including distance estimates for all points in the image. In at least one embodiment, one or more stereo cameras 1468 may include, but are not limited to, a compact stereo vision sensor that may include, but is not limited to, two camera lenses (one on the left and one on the right) and an image processing chip that can measure the distance from the vehicle 1400 to a target object and use the generated information (e.g., metadata) to activate autonomous emergency braking and lane departure warning functions. In at least one embodiment, other types of stereo cameras 1468 may be used in addition to or instead of those described herein.

[0235] In at least one embodiment, a camera (e.g., a side-view camera) having a field of view including portions of the environment on the sides of the vehicle 1400 can be used for surround view, providing information for creating and updating the occupied grid, and generating a side impact collision warning. For example, in at least one embodiment, a surround camera 1474 (e.g., such as...) Figure 14B The four surround cameras shown can be positioned on vehicle 1400. In at least one embodiment, one or more surround cameras 1474 can include, but are not limited to, any number and combination of wide-angle cameras, one or more fisheye cameras, one or more 360-degree cameras, and / or similar cameras. For example, in at least one embodiment, four fisheye cameras can be located at the front, rear, and sides of vehicle 1400. In at least one embodiment, vehicle 1400 can use three surround cameras 1474 (e.g., left, right, and rear) and can utilize one or more other cameras (e.g., forward-facing cameras) as a fourth surround-view camera.

[0236] In at least one embodiment, a camera (e.g., a rear-view camera) having a field of view including portions of the environment behind the vehicle 1400 can be used for parking assistance, surround view, rear collision warning, and creating and updating occupancy grids. In at least one embodiment, a wide variety of cameras can be used, including but not limited to cameras also suitable as one or more forward-facing cameras (e.g., long-range camera 1498 and / or one or more mid-range cameras 1476, one or more stereo cameras 1468, one or more infrared cameras 1472, etc.), as described herein.

[0237] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details regarding the inference and / or training logic 1115 are provided. In at least one embodiment, the inference and / or training logic 1115 can... Figure 14B It is used in systems for inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases as described herein.

[0238] In at least one embodiment, regarding Figure 14B At least one component shown or described is used to implement about Figure 1-10 The described technologies and / or functions. In at least one embodiment, the inference and / or training logic 1115 of the vehicle 1400 (shown with respect to Figure 14 as part of one or more CPUs 1406 and one or more GPUs 1408) includes and / or runs regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements the following: Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets.

[0239] Figure 14C It is shown that according to at least one embodiment Figure 14A A block diagram of an example system architecture for an autonomous vehicle 1400. In at least one embodiment, Figure 14CEach component, feature, and system of vehicle 1400 is shown as connected via bus 1402. In at least one embodiment, bus 1402 may include, but is not limited to, a CAN data interface (which may alternatively be referred to herein as a "CAN bus"). In at least one embodiment, CAN may be a network within vehicle 1400 used to assist in the control of various features and functions of vehicle 1400, such as brake actuation, acceleration, braking, steering, windshield wipers, etc. In at least one embodiment, bus 1402 may be configured to have dozens or even hundreds of nodes, each node having its own unique identifier (e.g., a CAN ID). In at least one embodiment, bus 1402 may be read to locate steering wheel angle, ground speed, engine rotation per minute ("RPM"), button positions, and / or other vehicle status indicators. In at least one embodiment, bus 1402 may be an ASIL B compliant CAN bus.

[0240] In at least one embodiment, FlexRay and / or Ethernet protocols may be used in addition to or instead of CAN. In at least one embodiment, any number of buses forming bus 1402 may be present, including but not limited to zero or more CAN buses, zero or more FlexRay buses, zero or more Ethernet buses, and / or zero or more other types of buses using different protocols. In at least one embodiment, two or more buses may be used to perform different functions and / or may be used for redundancy. For example, a first bus may be used for a collision avoidance function, and a second bus may be used for actuation control. In at least one embodiment, each bus in bus 1402 may communicate with any component of vehicle 1400, and two or more buses in bus 1402 may communicate with corresponding components. In at least one embodiment, each of any number of System-on-Chip (“SoC”) 1404 (e.g., SoC 1404(A) and SoC 1404(B)), each of one or more controllers 1436 and / or each computer within the vehicle can access the same input data (e.g., input from sensors of vehicle 1400) and can be connected to a common bus, such as a CAN bus.

[0241] In at least one embodiment, vehicle 1400 may include one or more controllers 1436, such as those described herein. Figure 14A As described above. In at least one embodiment, controller 1436 can be used for a wide variety of functions. In at least one embodiment, controller 1436 can be coupled to any of various other components and systems of vehicle 1400 and can be used to control vehicle 1400, artificial intelligence of vehicle 1400, infotainment and / or other functions of vehicle 1400.

[0242] In at least one embodiment, vehicle 1400 may include any number of SoCs 1404. In at least one embodiment, each of the SoCs 1404 may include, but is not limited to, a central processing unit (“one or more CPUs”) 1406, a graphics processing unit (“one or more GPUs”) 1408, one or more processors 1410, one or more caches 1412, one or more accelerators 1414, one or more data storage 1416, and / or other components and features not shown. In at least one embodiment, one or more SoCs 1404 may be used to control vehicle 1400 on a wide variety of platforms and systems. For example, in at least one embodiment, one or more SoCs 1404 may be combined with a high-definition (“HD”) map 1422 in a system (e.g., the system of vehicle 1400), the HD map 1422 being accessible from one or more servers via a network interface 1424. Figure 14C (Not shown in the image) Get map refresh and / or update.

[0243] In at least one embodiment, one or more CPUs 1406 may include CPU clusters or CPU complexes (which may alternatively be referred to herein as “CCPLEX”). In at least one embodiment, one or more CPUs 1406 may include multiple cores and / or a secondary (“L2”) cache. For example, in at least one embodiment, one or more CPUs 1406 may include eight cores in a coherent multiprocessor configuration. In at least one embodiment, one or more CPUs 1406 may include four dual-core clusters, each with a dedicated L2 cache (e.g., a 2-megabyte (MB) L2 cache). In at least one embodiment, one or more CPUs 1406 (e.g., CCPLEX) may be configured to support simultaneous cluster operation, which allows any combination of clusters of one or more CPUs 1406 to be active at any given time.

[0244] In at least one embodiment, one or more CPUs 1406 may implement power management functions, including but not limited to one or more of the following features: automatic clock gating of individual hardware blocks to conserve dynamic power when idle; clock gating of each core when the core is not actively executing instructions due to executing Wait for Interrupt (“WFI”) / Wait for Event (“WFE”) instructions; power gating of each core independently; clock gating of each core cluster independently when all cores are clock-gated or power-gated; and / or power gating of each core cluster independently when all cores are power-gated. In at least one embodiment, one or more CPUs 1406 may further implement an enhanced algorithm for managing power states, wherein allowed power states and expected wake-up times are specified, and the hardware / microcode determines the optimal power state to input for the core, cluster, and CCPLEX. In at least one embodiment, the processing core may support a simplified power state entry sequence in software, wherein the work is offloaded to the microcode.

[0245] In at least one embodiment, one or more GPUs 1408 may include integrated GPUs (which may alternatively be referred to herein as “iGPUs”). In at least one embodiment, one or more GPUs 1408 may be programmable and efficient for parallel workloads. In at least one embodiment, one or more GPUs 1408 may use an enhanced tensor instruction set. In at least one embodiment, one or more GPUs 1408 may include one or more streaming microprocessors, wherein each streaming microprocessor may include a Level 1 (“L1”) cache (e.g., an L1 cache with at least 96KB of storage capacity), and two or more streaming microprocessors may share an L2 cache (e.g., an L2 cache with 512KB of storage capacity). In at least one embodiment, one or more GPUs 1408 may include at least eight streaming microprocessors. In at least one embodiment, one or more GPUs 1408 may use one or more computation application programming interfaces (APIs). In at least one embodiment, one or more GPUs 1408 may use one or more parallel computing platforms and / or programming models (e.g., NVIDIA’s CUDA model).

[0246] In at least one embodiment, one or more GPU 1408s can be power-optimized for optimal performance in automotive and embedded use cases. For example, in at least one embodiment, one or more GPU 1408s can be fabricated on FinFET (“FinFET”) circuitry. In at least one embodiment, each streaming microprocessor can include multiple mixed-precision processing cores partitioned into multiple blocks. For example, but not limited to, 64 PF32 cores and 32 PF64 cores can be partitioned into four processing blocks. In at least one embodiment, each processing block can be allocated 16 FP32 cores, 8 FP64 cores, 16 INT32 cores, two mixed-precision NVIDIA Tensor cores for deep learning matrix arithmetic, a level-zero (“L0”) instruction cache, a thread bundle scheduler, a dispatch unit, and / or a 64KB register file. In at least one embodiment, the streaming microprocessor can include independent parallel integer and floating-point data paths for employing a mix of computation and addressing operations to provide efficient execution of workloads. In at least one embodiment, the streaming microprocessor can include independent thread scheduling capabilities to enable finer-grained synchronization and collaboration between parallel threads. In at least one embodiment, the streaming microprocessor may include a combined L1 data cache and shared memory unit to improve performance while simplifying programming.

[0247] In at least one embodiment, one or more GPUs 1408 may include high-bandwidth memory (“HBM”) and / or a 16GB HBM2 memory subsystem, used in some examples to provide a peak memory bandwidth of approximately 900GB / s. In at least one embodiment, in addition to or instead of HBM memory, synchronous graphics random access memory (“SGRAM”), such as fifth-generation graphics double data rate type synchronous random access memory (“GDDR5”), may also be used.

[0248] In at least one embodiment, one or more GPUs 1408 may include unified memory technology. In at least one embodiment, address translation service (“ATS”) support can be used to allow one or more GPUs 1408 to directly access the page tables of one or more CPUs 1406. In at least one embodiment, when the memory management unit (“MMU”) of one or more GPUs 1408 experiences a miss, an address translation request can be sent to one or more CPUs 1406. In response, in at least one embodiment, two CPUs of one or more CPUs 1406 can look up the virtual-physical mapping of the address in their page tables and send the translation back to one or more GPUs 1408. In at least one embodiment, unified memory technology can allow a single unified virtual address space to be used for the memory of both one or more CPUs 1406 and one or more GPUs 1408, thereby simplifying the programming of one or more GPUs 1408 and the porting of applications to one or more GPUs 1408.

[0249] In at least one embodiment, one or more GPUs 1408 may include any number of access counters that can track the frequency with which one or more GPUs 1408 access the memory of other processors. In at least one embodiment, one or more access counters can help ensure that memory pages are moved to the physical memory of the processor that accesses the pages most frequently, thereby improving the efficiency of sharing memory ranges among processors.

[0250] In at least one embodiment, one or more SoCs 1404 may include any number of caches 1412, including those described herein. For example, in at least one embodiment, one or more caches 1412 may include a Level 3 (“L3”) cache available for both one or more CPUs 1406 and one or more GPUs 1408 (e.g., connected to one or more CPUs 1406 and one or more GPUs 1408). In at least one embodiment, one or more caches 1412 may include a write-back cache that can track the state of each row, such as by using a cache coherence protocol (e.g., MEI, MESI, MSI, etc.). In at least one embodiment, although a smaller cache size may be used, depending on the embodiment, the L3 cache may include 4 MB of memory or more.

[0251] In at least one embodiment, one or more SoCs 1404 may include one or more accelerators 1414 (e.g., hardware accelerators, software accelerators, or combinations thereof). In at least one embodiment, one or more SoCs 1404 may include a hardware acceleration cluster, which may include optimized hardware accelerators and / or large on-chip memory. In at least one embodiment, large on-chip memory (e.g., 4MB of SRAM) enables the hardware acceleration cluster to accelerate neural networks and other computations. In at least one embodiment, the hardware acceleration cluster may be used to supplement one or more GPUs 1408 and offload some tasks from one or more GPUs 1408 (e.g., to free up more cycles of one or more GPUs 1408 to perform other tasks). In at least one embodiment, one or more accelerators 1414 may be used for a target workload (e.g., perceptual, convolutional neural network (“CNN”), recurrent neural network (“RNN”), etc.) that is sufficiently stable to withstand acceleration. In at least one embodiment, the CNN may include region-based or region convolutional neural networks (“RCNN”) and fast RCNN (e.g., for object detection) or other types of CNNs.

[0252] In at least one embodiment, one or more accelerators 1414 (e.g., a hardware acceleration cluster) may include one or more deep learning accelerators (“DLAs”). In at least one embodiment, one or more DLAs may include, but are not limited to, one or more tensor processing units (“TPUs”), which may be configured to provide an additional 10 trillion operations per second for deep learning applications and inference. In at least one embodiment, a TPU may be an accelerator configured and optimized for performing image processing functions (e.g., for CNNs, RCNNs, etc.). In at least one embodiment, one or more DLAs may be further optimized for specific sets of neural network types and floating-point operations and inference. In at least one embodiment, one or more DLAs are designed to provide higher performance per millimeter than typical general-purpose GPUs and typically significantly outperform CPUs. In at least one embodiment, one or more TPUs may perform several functions, including single-instance convolution functions supporting, for example, INT8, INT16, and FP16 data types for features and weights, as well as post-processor functions. In at least one embodiment, one or more DLAs can execute neural networks, particularly CNNs, rapidly and efficiently on processed or unprocessed data for any of the various functions, including, but not limited to: CNNs for object recognition and detection using data from camera sensors; CNNs for distance estimation using data from camera sensors; CNNs for emergency vehicle detection, recognition, and identification using data from microphones; CNNs for face recognition and vehicle owner recognition using data from camera sensors; and / or CNNs for protection and / or safety-related events.

[0253] In at least one embodiment, one or more DLAs can perform any function of one or more GPUs 1408, and by using inference accelerators, for example, the designer can target one or more DLAs or one or more GPUs 1408 for any function. For example, in at least one embodiment, the designer can concentrate the CNN processing and floating-point operations on one or more DLAs, leaving other functions to one or more GPUs 1408 and / or one or more accelerators 1414.

[0254] In at least one embodiment, one or more accelerators 1414 may include programmable vision accelerators (“PVAs”), which may alternatively be referred to herein as computer vision accelerators. In at least one embodiment, a PVA may be designed and configured to accelerate computer vision algorithms for advanced driver assistance systems (“ADAS”) 1438, autonomous driving, augmented reality (“AR”) applications, and / or virtual reality (“VR”) applications. In at least one embodiment, a PVA may provide a balance between performance and flexibility. For example, in at least one embodiment, each PVA may include, for example, but not limited to, any number of reduced instruction set computer (“RISC”) cores, direct memory access (“DMA”), and / or any number of vector processors.

[0255] In at least one embodiment, the RISC core can interact with an image sensor (e.g., the image sensor of any camera described herein), an image signal processor, etc. In at least one embodiment, each RISC core may include any amount of memory. In at least one embodiment, depending on the embodiment, the RISC core may use any of a variety of protocols. In at least one embodiment, the RISC core may execute a real-time operating system (“RTOS”). In at least one embodiment, the RISC core may be implemented using one or more integrated circuit devices, application-specific integrated circuits (“ASICs”), and / or memory devices. For example, in at least one embodiment, the RISC core may include an instruction cache and / or tightly coupled RAM.

[0256] In at least one embodiment, DMA enables components of the PVA to access system memory independently of one or more CPUs 1406. In at least one embodiment, DMA can support any number of features for providing optimization to the PVA, including but not limited to, support for multidimensional addressing and / or circular addressing. In at least one embodiment, DMA can support up to six or more addressing dimensions, which may include, but are not limited to, block width, block height, block depth, horizontal block step, vertical block step, and / or depth step.

[0257] In at least one embodiment, the vector processor may be a programmable processor designed to efficiently and flexibly perform programming for computer vision algorithms and provide signal processing capabilities. In at least one embodiment, the PVA may include a PVA core and two vector processing subsystem partitions. In at least one embodiment, the PVA core may include a processor subsystem, one or more DMA engines (e.g., two DMA engines), and / or other peripherals. In at least one embodiment, the vector processing subsystem may operate as the main processing engine of the PVA and may include a vector processing unit (“VPU”), an instruction cache, and / or a vector memory (e.g., “VMEM”). In at least one embodiment, the VPU core may include a digital signal processor, such as, for example, a Single Instruction Multiple Data (“SIMD”) or Very Long Instruction Word (“VLIW”) digital signal processor. In at least one embodiment, the combination of SIMD and VLIW can improve throughput and speed.

[0258] In at least one embodiment, each vector processor may include an instruction cache and may be coupled to dedicated memory. Therefore, in at least one embodiment, each vector processor may be configured to execute independently of other vector processors. In at least one embodiment, the vector processors included in a particular PVA may be configured to employ data parallelism. For example, in at least one embodiment, multiple vector processors included in a single PVA may execute general computer vision algorithms, but on different regions of an image. In at least one embodiment, vector processors included in a particular PVA may execute different computer vision algorithms simultaneously on a single image, or even execute different algorithms on a sequence of images or different portions of an image. In at least one embodiment, any number of PVAs may be included in the hardware acceleration cluster, and any number of vector processors may be included in each PVA. In at least one embodiment, the PVA may include additional error correction code (“ECC”) memory for enhancing overall system security.

[0259] In at least one embodiment, one or more accelerators 1414 may include an on-chip computer vision network and static random access memory (“SRAM”) for providing high-bandwidth, low-latency SRAM to one or more accelerators 1414. In at least one embodiment, the on-chip memory may include at least 4 MB of SRAM, comprising, for example, but not limited to, eight field-configurable memory blocks accessible to both the PVA and DLA. In at least one embodiment, each pair of memory blocks may include an advanced peripheral bus (“APB”) interface, configuration circuitry, a controller, and a multiplexer. In at least one embodiment, any type of memory may be used. In at least one embodiment, the PVA and DLA may access the memory via a backbone that provides high-speed access to the memory for the PVA and DLA. In at least one embodiment, the backbone may include an on-chip computer vision network that interconnects the PVA and DLA to the memory (e.g., using an APB).

[0260] In at least one embodiment, the on-chip computer vision network may include an interface that determines that both the PVA and DLA provide ready and valid signals before transmitting any control signals / addresses / data. In at least one embodiment, the interface may provide separate phases and separate channels for transmitting control signals / addresses / data, as well as bursty communication for continuous data transmission. In at least one embodiment, although other standards and protocols may be used, the interface may conform to the International Organization for Standardization (“ISO”) 26262 or the International Electrotechnical Commission (“IEC”) 61508 standard.

[0261] In at least one embodiment, one or more SoCs 1404 may include a real-time ray tracing hardware accelerator. In at least one embodiment, the real-time ray tracing hardware accelerator may be used to rapidly and efficiently determine the location and extent of an object (e.g., within a world model) to generate real-time visualization simulations for RADAR signal interpretation, for sound propagation synthesis and / or analysis, for simulation of SONAR systems, for general wave propagation simulation, for comparison with LIDAR data for localization and / or other functions, and / or for other purposes.

[0262] In at least one embodiment, one or more accelerators 1414 may have broad applications for autonomous driving. In at least one embodiment, PVAs may be used in critical processing stages in ADAS and autonomous vehicles. In at least one embodiment, the capabilities of PVAs with low power consumption and low latency are well-matched to algorithmic domains requiring predictable processing. In other words, PVAs perform well in semi-intensive or intensive conventional computations, even on small datasets that may require predictable runtimes with low latency and low power consumption. In at least one embodiment, such as in vehicle 1400, PVAs may be designed to run classical computer vision algorithms, as they can be efficient in object detection and integer mathematical operations.

[0263] For example, according to at least one embodiment of the technology, PVA is used to perform computer stereo vision. In at least one embodiment, a semi-global matching-based algorithm may be used in some examples, but this is not intended to be limiting. In at least one embodiment, applications for Level 3-5 autonomous driving use motion estimation / stereo matching (e.g., structure reconstruction from motion, pedestrian recognition, lane detection, etc.) during operation. In at least one embodiment, PVA can perform computer stereo vision functions on input from two monocular cameras.

[0264] In at least one embodiment, the PVA can be used to perform intensive optical flow. For example, in at least one embodiment, the PVA can process raw RADAR data (e.g., using 4D Fast Fourier Transform) to provide processed RADAR data. In at least one embodiment, for example, the PVA is used to perform time-of-flight depth processing by processing raw time-of-flight data to provide processed time-of-flight data.

[0265] In at least one embodiment, the DLA can be used to run any type of network to enhance control and driving safety, including, but not limited to, neural networks, whose output is a measurement of confidence for each object detection. In at least one embodiment, the confidence can be represented or interpreted as a probability, or as providing a relative “weight” for each detection relative to other detections. In at least one embodiment, the confidence measurement enables the system to make further decisions about which detections should be considered true positives rather than false positives. In at least one embodiment, the system can set a threshold for the confidence and only consider detections exceeding the threshold as true positives. In embodiments using an Automatic Emergency Braking (“AEB”) system, false positives would cause the vehicle to automatically perform emergency braking, which is obviously undesirable. In at least one embodiment, a highly confident detection can be considered a trigger for AEB. In at least one embodiment, the DLA can run a neural network for regressing the confidence values. In at least one embodiment, the neural network may take at least a subset of parameters as its input, such as bounding box size, ground plane estimate (e.g., from another subsystem), and outputs of one or more IMU sensors 1466 related to vehicle 1400 orientation, distance, and object 3D position estimates obtained from the neural network and / or other sensors (e.g., one or more LiDAR sensors 1464 or one or more RADAR sensors 1460).

[0266] In at least one embodiment, one or more SoCs 1404 may include one or more data stores 1416 (e.g., memory). In at least one embodiment, one or more data stores 1416 may be on-chip memory of one or more SoCs 1404, which may store neural networks to be executed on one or more GPUs 1408 and / or DLAs. In at least one embodiment, one or more data stores 1416 may have a sufficiently large capacity to store multiple instances of the neural network for redundancy and security. In at least one embodiment, one or more data stores 1416 may include one or more L2 or L3 caches.

[0267] In at least one embodiment, one or more SoCs 1404 may include any number of processors 1410 (e.g., embedded processors). In at least one embodiment, one or more processors 1410 may include a boot and power management processor, which may be a dedicated processor and subsystem for handling boot power and management functions and related security execution. In at least one embodiment, the boot and power management processor may be part of a boot sequence of one or more SoCs 1404 and may provide runtime power management services. In at least one embodiment, the boot power and management processor may provide clock and voltage programming, assist system low-power state transitions, thermal and temperature sensor management of one or more SoCs 1404s, and / or power state management of one or more SoCs 1404s. In at least one embodiment, each temperature sensor may be implemented with its output frequency proportional to temperature, and one or more SoCs 1404s may use the ring oscillator to detect the temperature of one or more CPUs 1406s, one or more GPUs 1408s, and / or one or more accelerators 1414s. In at least one embodiment, if it is determined that the temperature exceeds a threshold, the startup and power management processor may enter a temperature fault routine and place one or more SoCs 1404s into a lower power state and / or place the vehicle 1400 into a driver safe parking mode (e.g., bring the vehicle 1400 to a safe stop).

[0268] In at least one embodiment, one or more processors 1410 may further include a set of embedded processors that can be used as an audio processing engine, which may be an audio subsystem that provides full hardware support for multi-channel audio through multiple interfaces and a wide and flexible range of audio I / O interfaces. In at least one embodiment, the audio processing engine is a dedicated processor core with a digital signal processor with dedicated RAM.

[0269] In at least one embodiment, one or more processors 1410 may further include an always-on processor engine that can provide the necessary hardware features to support low-power sensor management and wake-up use cases. In at least one embodiment, the always-on processor engine may include, but is not limited to, a processor core, tightly coupled RAM, support for peripherals (e.g., timers and interrupt controllers), various I / O controller peripherals, and routing logic.

[0270] In at least one embodiment, one or more processors 1410 may include a video image synthesizer, which may be a processing block (e.g., implemented on a microprocessor) that implements video playback applications to generate final images for video post-processing functions required by the player window. In at least one embodiment, the video image synthesizer may perform lens distortion correction on one or more wide-angle cameras 1470, one or more surround cameras 1474, and / or one or more in-cabin monitoring camera sensors. In at least one embodiment, preferably, the in-cabin monitoring camera sensors are monitored by a neural network running on another instance of SoC 1404, the neural network being configured to recognize in-cabin events and respond accordingly. In at least one embodiment, the in-cabin system may perform, but is not limited to, lip reading to activate cellular service and make phone calls, instruct emails, change the vehicle's destination, activate or change the vehicle's infotainment system and settings, or provide voice-activated web browsing. In at least one embodiment, certain functions are available to the driver when the vehicle is operating in autonomous mode, and are otherwise disabled.

[0271] In at least one embodiment, the video image synthesizer may include enhanced temporal denoising for both spatial and temporal noise reduction. For example, in at least one embodiment, in the case of motion in the video, denoising appropriately weights spatial information to reduce the weight of information provided by adjacent frames. In at least one embodiment, in the case where the image or a portion of the image does not contain motion, temporal denoising performed by the video image synthesizer may use information from previous images to reduce noise in the current image.

[0272] In at least one embodiment, the video image compositor can also be configured to perform stereoscopic correction on the input stereoscopic shot frames. In at least one embodiment, when using an operating system desktop, the video image compositor can also be used for user interface compositing, and does not require one or more GPUs 1408 to continuously render new surfaces. In at least one embodiment, when one or more GPUs 1408 are powered and active for 3D rendering, the video image compositor can be used to offload one or more GPUs 1408 to improve performance and responsiveness.

[0273] In at least one embodiment, the video image compositor may also be configured to perform stereoscopic correction on the input stereo lens frames. In at least one embodiment, the video image compositor may be further used for user interface composition when the operating system desktop is in use, and one or more GPUs 1408 do not need to continuously render new surfaces. In at least one embodiment, when one or more GPUs 1408 are powered on and actively performing 3D rendering, the video image compositor may be used to offload one or more GPUs 1408 to improve performance and responsiveness.

[0274] In at least one embodiment, one or more SoCs of SoC 1404 may further include a Mobile Industrial Processor Interface (“MIPI”) camera serial interface, a high-speed interface, and / or a video input block that can be used for receiving video and input from a camera and associated pixel input functions. In at least one embodiment, one or more SoCs of SoC 1404 may further include an input / output controller that can be software controlled and can be used to receive I / O signals not assigned to a specific role.

[0275] In at least one embodiment, one or more SoCs of SoC 1404 may further include extensive peripheral interfaces for enabling communication with peripheral devices, audio encoders / decoders (“codecs”), power management and / or other devices. In at least one embodiment, one or more SoCs of SoC 1404 may be used to process data from (e.g., connected via gigabit multimedia serial links and Ethernet channels) cameras, sensors (e.g., one or more LiDAR sensors 1464, one or more RADAR sensors 1460, etc., which may be connected via Ethernet channels), data from bus 1402 (e.g., vehicle 1400 speed, steering wheel position, etc.), data from one or more GNSS sensors 1458 (e.g., connected via Ethernet bus or CAN bus), etc. In at least one embodiment, one or more SoCs of SoC 1404 may further include dedicated high-performance large-scale memory controllers, which may include their own DMA engines and may be used to free one or more CPUs 1406 from routine data management tasks.

[0276] In at least one embodiment, one or more SoCs 1404 can be an end-to-end platform with a flexible architecture spanning automation levels 3-5, providing a comprehensive functional safety architecture that leverages and effectively utilizes computer vision and ADAS technologies to achieve diversity and redundancy, and provides a platform for a flexible, reliable driving software stack and deep learning tools. In at least one embodiment, one or more SoCs 1404 can be faster, more reliable, and even more energy- and space-efficient than conventional systems. For example, in at least one embodiment, one or more accelerators 1414, when combined with one or more CPUs 1406, one or more GPUs 1408, and one or more data storage 1416, can provide a fast and efficient platform for Level 3-5 autonomous vehicles.

[0277] In at least one embodiment, the computer vision algorithm can be executed on a CPU, which can be configured using a high-level programming language (e.g., C) to execute various processing algorithms on a variety of visual data. However, in at least one embodiment, the CPU typically cannot meet the performance requirements of many computer vision applications, such as performance requirements related to execution time and power consumption. In at least one embodiment, many CPUs cannot execute complex object detection algorithms in real time, which are used in automotive ADAS applications and practical Level 3-5 autonomous vehicles.

[0278] The embodiments described herein allow for the simultaneous and / or sequential execution of multiple neural networks and allow for the combination of results to achieve Level 3-5 autonomous driving capabilities. For example, in at least one embodiment, a CNN executed on a DLA or discrete GPU (e.g., one or more GPUs 1420) may include text and word recognition, thereby allowing the reading and understanding of traffic signs, including signs for which the neural network has not yet been specifically trained. In at least one embodiment, one or more GPUs 1420 include inference and / or training logic 1115, which further includes one or more circuitry for training one or more neural networks, at least in part, based on one or more indications of when one or more prior events occurred; for example, this allows for the prediction of faster navigation routes in response to changes in weather conditions. In at least one embodiment, the DLA may also include a neural network capable of recognizing, interpreting, and providing a semantic understanding of signs, and passing this semantic understanding to a path planning module running on a CPU complex.

[0279] In at least one embodiment, multiple neural networks can run simultaneously for Level 3, 4, or 5 driving. For example, in at least one embodiment, a warning sign stating "Caution: flashing lights indicate icy conditions," along with the lights, can be interpreted independently or jointly by several neural networks. In at least one embodiment, the warning sign itself can be recognized as a traffic sign by a first deployed neural network (e.g., a trained neural network), and the text "flashing lights indicate icy conditions" can be interpreted by a second deployed neural network, which informs the vehicle's path planning software (preferably executing on a CPU complex) that icy conditions exist when flashing lights are detected. In at least one embodiment, flashing lights can be identified by operating a third deployed neural network across multiple frames, informing the vehicle's path planning software of the presence (or absence) of flashing lights. In at least one embodiment, all three neural networks can run simultaneously, for example within the DLA and / or on one or more GPUs 1408.

[0280] In at least one embodiment, the CNN for face recognition and vehicle owner identification can use data from camera sensors to identify the presence of an authorized driver and / or the owner of vehicle 1400. In at least one embodiment, a normally open sensor processing engine can be used to unlock the vehicle when the owner approaches the driver's door and turns on the lights, and in a safe mode, it can be used to disable the vehicle when the owner leaves it. In this way, one or more SoCs 1404 provide protection against theft and / or carjacking.

[0281] In at least one embodiment, the CNN for emergency vehicle detection and identification can use data from microphone 1496 to detect and identify emergency vehicle sirens. In at least one embodiment, one or more SoCs 1404 use the CNN to classify environmental and urban sounds, as well as visual data. In at least one embodiment, the CNN running on DLA is trained to identify the relative approach speed of emergency vehicles (e.g., by using the Doppler effect). In at least one embodiment, the CNN can also be trained to identify emergency vehicles specific to the local area in which the vehicle is operating, such as those identified by one or more GNSS sensors 1458. In at least one embodiment, when operating in Europe, the CNN will seek to detect European sirens, while in North America, the CNN will seek to identify only North American sirens. In at least one embodiment, once an emergency vehicle is detected, a control program can be used, with the assistance of one or more ultrasonic sensors 1462, to execute emergency vehicle safety routines, such as slowing the vehicle, pulling the vehicle to the side of the road, stopping, and / or idling the vehicle until the emergency vehicle passes.

[0282] In at least one embodiment, vehicle 1400 may include one or more CPUs 1418 (e.g., one or more discrete CPUs or one or more dCPUs) that may be coupled to one or more SoCs 1404 via a high-speed interconnect (e.g., PCIe). In at least one embodiment, one or more CPUs 1418 may include, for example, an x86 processor. One or more CPUs 1418 may be used to perform any of a variety of functions, such as arbitrating potentially inconsistent results between ADAS sensors and one or more SoCs 1404, and / or monitoring the status and health of one or more controllers 1436 and / or the on-chip infotainment system (“infotainment SoC”) 1430.

[0283] In at least one embodiment, vehicle 1400 may include one or more GPUs 1420 (e.g., one or more discrete GPUs or one or more dGPUs) coupled to one or more SoCs 1404 via high-speed interconnects (e.g., NVIDIA's NVLINK channels). In at least one embodiment, one or more GPUs 1420 may provide additional artificial intelligence capabilities, such as by executing redundant and / or different neural networks, and may be used to train and / or update neural networks based at least in part on inputs from sensors of vehicle 1400 (e.g., sensor data).

[0284] In at least one embodiment, vehicle 1400 may further include a network interface 1424, which may include, but is not limited to, one or more wireless antennas 1426 (e.g., one or more wireless antennas for different communication protocols, such as cellular antennas, Bluetooth antennas, etc.). In at least one embodiment, network interface 1424 may be used to enable wireless connectivity to Internet cloud services (e.g., with servers and / or other network devices), with other vehicles, and / or with computing devices (e.g., passenger client devices). In at least one embodiment, for communication with other vehicles, a direct link and / or an indirect link (e.g., via a network and the Internet) may be established between vehicle 1400 and another vehicle. In at least one embodiment, a vehicle-to-vehicle communication link may be used to provide a direct link. In at least one embodiment, the vehicle-to-vehicle communication link may provide vehicle 1400 with information about vehicles near vehicle 1400 (e.g., vehicles in front, to the side, and / or behind vehicle 1400). In at least one embodiment, the foregoing functionality may be part of a cooperative adaptive cruise control function of vehicle 1400.

[0285] In at least one embodiment, network interface 1424 may include a System-on-Chip (SoC) that provides modulation and demodulation functions and enables one or more controllers 1436 to communicate over a wireless network. In at least one embodiment, network interface 1424 may include a radio frequency (RF) front-end for up-conversion from baseband to RF and down-conversion from RF to baseband. In at least one embodiment, frequency conversion may be performed in any technically feasible manner. For example, frequency conversion may be performed using known processes and / or using a superheterodyne process. In at least one embodiment, the RF front-end functionality may be provided by a separate chip. In at least one embodiment, the network interface may include wireless functions for communication over LTE, WCDMA, UMTS, GSM, CDMA2300, Bluetooth, Bluetooth LE, Wi-Fi, Z-Wave, ZigBee, LoRaWAN, and / or other wireless protocols.

[0286] In at least one embodiment, the vehicle 1400 may further include one or more data storage units 1428, which may include, but are not limited to, off-chip (e.g., one or more off-chip SoC 1404) storage. In at least one embodiment, the one or more data storage units 1428 may include, but are not limited to, one or more storage elements, including RAM, SRAM, dynamic random access memory (“DRAM”), video random access memory (“VRAM”), flash memory, hard disk, and / or other components and / or devices capable of storing at least one bit of data.

[0287] In at least one embodiment, the vehicle 1400 may further include one or more GNSS sensors 1458 (e.g., GPS and / or auxiliary GPS sensors) to assist in map creation, perception, occupancy grid generation, and / or route planning functions. In at least one embodiment, any number of GNSS sensors 1458 may be used, including, for example, but not limited to, GPS sensors using a USB connector with an Ethernet-to-serial interface (e.g., RS-232) bridge.

[0288] In at least one embodiment, vehicle 1400 may further include one or more RADAR sensors 1460. In at least one embodiment, one or more RADAR sensors 1460 may be used by vehicle 1400 for remote vehicle detection, even in dark and / or inclement weather conditions. In at least one embodiment, the RADAR functional safety level may be ASIL B. In at least one embodiment, one or more RADAR sensors 1460 may use a CAN bus and / or bus 1402 (e.g., for transmitting data generated by one or more RADAR sensors 1460) for control and access to object tracking data, and in some examples may access an Ethernet channel to access raw data. In at least one embodiment, a wide variety of RADAR sensor types may be used. For example, but not limited to, one or more RADAR sensors 1460 may be suitable for front, rear, and side RADAR use. In at least one embodiment, one or more of the RADAR sensors 1460 are pulse Doppler RADAR sensors.

[0289] In at least one embodiment, one or more RADAR sensors 1460 may include different configurations, such as long-range with a narrow field of view, short-range with a wide field of view, short-range side coverage, etc. In at least one embodiment, the long-range RADAR can be used for adaptive cruise control functions. In at least one embodiment, the long-range RADAR system can provide a wide field of view achieved through two or more independent scans (e.g., within a 250m range). In at least one embodiment, one or more RADAR sensors 1460 can help distinguish between static and moving objects and can be used by the ADAS system 1438 for emergency braking assistance and forward collision warning. In at least one embodiment, one or more sensors 1460 included in the long-range RADAR system may include, but are not limited to, a monostatic multimodal RADAR with multiple (e.g., six or more) fixed RADAR antennas and high-speed CAN and FlexRay interfaces. In at least one embodiment, employing six antennas, the four central antennas can create a focused beammap designed to record the surrounding environment of the vehicle 1400 at a high speed while minimizing traffic interference from adjacent lanes. In at least one embodiment, the other two antennas can expand the field of view, thereby enabling them to quickly detect vehicles entering or leaving the lane of vehicle 1400.

[0290] In at least one embodiment, as an example, a mid-range RADAR system may include a range of up to 160m (front) or 80m (rear) and a field of view of up to 42 degrees (front) or 150 degrees (rear). In at least one embodiment, a short-range RADAR system may include, but is not limited to, any number of RADAR sensors 1460 designed to be mounted at both ends of the rear bumper. When mounted at both ends of the rear bumper, in at least one embodiment, the RADAR sensor system may generate two beams that continuously monitor the rearward direction of the vehicle and nearby blind spots. In at least one embodiment, the short-range RADAR system may be used in ADAS system 1438 for blind spot detection and / or lane change assistance.

[0291] In at least one embodiment, the vehicle 1400 may further include one or more ultrasonic sensors 1462. In at least one embodiment, one or more ultrasonic sensors 1462, which may be positioned at the front, rear, and / or sides of the vehicle 1400, may be used for parking assistance and / or creating and updating occupancy grids. In at least one embodiment, a wide variety of ultrasonic sensors 1462 may be used, and different ultrasonic sensors 1462 may be used for different detection ranges (e.g., 2.5m, 4m). In at least one embodiment, the ultrasonic sensors 1462 may operate at the ASIL B functional safety level.

[0292] In at least one embodiment, vehicle 1400 may include one or more LiDAR sensors 1464. In at least one embodiment, one or more LiDAR sensors 1464 may be used for object and pedestrian detection, emergency braking, collision avoidance, and / or other functions. In at least one embodiment, one or more LiDAR sensors 1464 may operate at functional safety level ASIL B. In at least one embodiment, vehicle 1400 may include multiple (e.g., two, four, six, etc.) LiDAR sensors 1464 that can use Ethernet channels (e.g., to provide data to a Gigabit Ethernet switch).

[0293] In at least one embodiment, one or more LiDAR sensors 1464 may be able to provide a list of objects and their distances for a 360-degree field of view. In at least one embodiment, one or more commercially available LiDAR sensors 1464 may, for example, have an advertising range of approximately 100m, an accuracy of 2cm-3cm, and support a 100Mbps Ethernet connection. In at least one embodiment, one or more non-protruding LiDAR sensors may be used. In such embodiments, one or more LiDAR sensors 1464 may include small devices that can be embedded in the front, rear, side, and / or corner locations of vehicle 1400. In at least one embodiment, one or more LiDAR sensors 1464, in such embodiments, may provide up to 120 degrees of horizontal field of view and 35 degrees of vertical field of view, even for objects with low reflectivity, and have a range of 200m. In at least one embodiment, one or more forward-mounted LiDAR sensors 1464 may be configured for a horizontal field of view between 45 degrees and 135 degrees.

[0294] In at least one embodiment, LIDAR technology (such as 3D flash LIDAR) may also be used. In at least one embodiment, 3D flash LIDAR uses a laser flash as a transmission source to illuminate the area around vehicle 1400 up to approximately 200m. In at least one embodiment, the flash LIDAR unit includes, but is not limited to, a receiver that records the propagation time of the laser pulse and the reflected light on each pixel, which in turn corresponds to the range from vehicle 1400 to the object. In at least one embodiment, flash LIDAR can allow the generation of highly accurate and distortion-free images of the surrounding environment using each laser flash. In at least one embodiment, four flash LIDAR sensors may be deployed, one on each side of vehicle 1400. In at least one embodiment, the 3D flash LIDAR system includes, but is not limited to, a solid-state 3D staring array LIDAR camera with no moving parts other than a fan (e.g., a non-scanning LIDAR device). In at least one embodiment, the flash LIDAR device can use a 5-nanosecond Class I (eye-safe) laser pulse per frame and can capture reflected laser light as a 3D ranging point cloud and co-registered intensity data.

[0295] In at least one embodiment, vehicle 1400 may further include one or more IMU sensors 1466. In at least one embodiment, one or more IMU sensors 1466 may be located at the center of the rear axle of vehicle 1400. In at least one embodiment, one or more IMU sensors 1466 may include, for example, but not limited to, one or more accelerometers, one or more magnetometers, one or more gyroscopes, one or more magnetic compasses, and / or other sensor types. In at least one embodiment, for example in a six-axis application, one or more IMU sensors 1466 may include, but are not limited to, accelerometers and gyroscopes. In at least one embodiment, for example in a nine-axis application, one or more IMU sensors 1466 may include, but are not limited to, accelerometers, gyroscopes, and magnetometers.

[0296] In at least one embodiment, one or more IMU sensors 1466 can be implemented as a miniature, high-performance GPS-assisted inertial navigation system (“GPS / INS”) combining a microelectromechanical system (“MEMS”) inertial sensor, a high-sensitivity GPS receiver, and an advanced Kalman filtering algorithm to provide estimates of position, velocity, and attitude. In at least one embodiment, one or more IMU sensors 1466 enable vehicle 1400 to estimate its heading by directly observing and correlating velocity changes from GPS to one or more IMU sensors 1466, without requiring input from a magnetic sensor. In at least one embodiment, one or more IMU sensors 1466 and one or more GNSS sensors 1458 can be combined in a single integrated unit.

[0297] In at least one embodiment, vehicle 1400 may include one or more microphones 1496 placed inside and / or around vehicle 1400. In at least one embodiment, one or more microphones 1496 may be used for emergency vehicle detection and identification.

[0298] In at least one embodiment, vehicle 1400 may further include any number of camera types, including one or more stereo cameras 1468, one or more wide-angle cameras 1470, one or more infrared cameras 1472, one or more surround cameras 1474, one or more long-range cameras 1498, one or more mid-range cameras 1476, and / or other camera types. In at least one embodiment, the cameras can be used to capture image data around the entire perimeter of vehicle 1400. In at least one embodiment, the type of camera used depends on vehicle 1400. In at least one embodiment, any combination of camera types can be used to provide the necessary coverage around vehicle 1400. In at least one embodiment, the number of cameras deployed may vary depending on the embodiment. For example, in at least one embodiment, vehicle 1400 may include six cameras, seven cameras, ten cameras, twelve cameras, or other numbers of cameras. In at least one embodiment, the cameras may support, by way of example but not limited to, gigabit multimedia serial link (“GMSL”) and / or gigabit Ethernet communication. In at least one embodiment, references previously made herein... Figure 14A and Figure 14B Each camera is described in more detail.

[0299] In at least one embodiment, the vehicle 1400 may further include one or more vibration sensors 1442. In at least one embodiment, the one or more vibration sensors 1442 may measure vibrations of components of the vehicle 1400 (e.g., axles). For example, in at least one embodiment, changes in vibration may indicate changes in road surface conditions. In at least one embodiment, when two or more vibration sensors 1442 are used, differences between vibrations may be used to determine road surface friction or slippage (e.g., when there is a vibration difference between a power drive axle and a free-rotating axle).

[0300] In at least one embodiment, vehicle 1400 may include ADAS system 1438. In at least one embodiment, ADAS system 1438 may include, but is not limited to, SoC in some examples. In at least one embodiment, ADAS system 1438 may include, but is not limited to, any number and any combination of autonomous / adaptive / automatic cruise control (“ACC”) system, cooperative adaptive cruise control (“CACC”) system, forward collision warning (“FCW”) system, automatic emergency braking (“AEB”) system, lane departure warning (“LDW”) system, lane keeping assist (“LKA”) system, blind spot warning (“BSW”) system, rear cross traffic warning (“RCTW”) system, collision warning (“CW”) system, lane centering (“LC”) system and / or other systems, features and / or functions.

[0301] In at least one embodiment, the ACC system may use one or more RADAR sensors 1460, one or more LIDAR sensors 1464, and / or any number of cameras. In at least one embodiment, the ACC system may include a longitudinal ACC system and / or a lateral ACC system. In at least one embodiment, the longitudinal ACC system monitors and controls the distance to another vehicle immediately in front of vehicle 1400 and automatically adjusts the speed of vehicle 1400 to maintain a safe distance from the vehicle ahead. In at least one embodiment, the lateral ACC system performs distance holding and suggests that vehicle 1400 change lanes if necessary. In at least one embodiment, lateral ACC is associated with other ADAS applications, such as LC and CW.

[0302] In at least one embodiment, the CACC system uses information from other vehicles, which may be received indirectly from other vehicles via a wireless link or through a network connection (e.g., via the Internet) via network interface 1424 and / or one or more wireless antennas 1426. In at least one embodiment, the direct link may be provided by a vehicle-to-vehicle (“V2V”) communication link, while the indirect link may be provided by an infrastructure-to-vehicle (“I2V”) communication link. Typically, V2V communication provides information about the vehicle immediately ahead (e.g., a vehicle immediately in front of vehicle 1400 and in the same lane as it), while I2V communication provides information about traffic further ahead. In at least one embodiment, the CACC system may include one or both of the I2V and V2V information sources. In at least one embodiment, given information about the vehicles ahead of vehicle 1400, the CACC system can be more reliable and has the potential to improve traffic flow smoothness and reduce road congestion.

[0303] In at least one embodiment, the FCW system is designed to warn the driver of danger so that the driver can take corrective action. In at least one embodiment, the FCW system uses a forward-facing camera and / or one or more RADAR sensors 1460, coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which are electrically coupled to provide driver feedback, such as a display, speaker, and / or vibration components. In at least one embodiment, the FCW system can provide warnings, such as in the form of audible, visual, haptic, and / or rapid braking pulses.

[0304] In at least one embodiment, the AEB system detects an impending forward collision with another vehicle or other object and can automatically apply braking if the driver does not take corrective action within a specified time or distance parameter. In at least one embodiment, the AEB system may use one or more forward-facing cameras and / or one or more RADAR sensors 1460 coupled to a dedicated processor, DSP, FPGA, and / or ASIC. In at least one embodiment, when the AEB system detects a hazard, it typically first warns the driver to take corrective action to avoid a collision, and if the driver does not take corrective action, the AEB system may automatically apply braking to attempt to prevent or at least mitigate the effects of the predicted collision. In at least one embodiment, the AEB system may include techniques such as dynamic brake support and / or collision proximity braking.

[0305] In at least one embodiment, when vehicle 1400 crosses lane markings, the LDW system provides visual, auditory, and / or tactile warnings, such as steering wheel or seat vibrations, to alert the driver. In at least one embodiment, the LDW system is not activated when the driver indicates intentional lane departure, such as by activating a turn signal. In at least one embodiment, the LDW system may use a front-facing camera coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which is electrically coupled to provide driver feedback such as a display, speaker, and / or vibration components. In at least one embodiment, the LKA system is a variant of the LDW system. In at least one embodiment, if vehicle 1400 begins to leave its lane, the LKA system provides steering input or braking to correct vehicle 1400.

[0306] In at least one embodiment, the BSW system detects and warns the driver that the vehicle is in the blind spot of the car. In at least one embodiment, the BSW system can provide visual, auditory, and / or tactile alerts to indicate that merging or changing lanes is unsafe. In at least one embodiment, the BSW system can provide additional warnings when the driver uses turn signals. In at least one embodiment, the BSW system can use one or more rear-facing cameras and / or one or more RADAR sensors 1460 coupled to a dedicated processor, DSP, FPGA, and / or ASIC, electrically coupled to driver feedback such as a display, speaker, and / or vibration components.

[0307] In at least one embodiment, the RCTW system can provide visual, auditory, and / or tactile notifications when the vehicle 1400 detects an object outside the range of the rear camera while reversing. In at least one embodiment, the RCTW system includes an AEB system to ensure that vehicle braking is applied to avoid a collision. In at least one embodiment, the RCTW system may use one or more rear-facing RADAR sensors 1460 coupled to a dedicated processor, DSP, FPGA, and / or ASIC, which are electrically coupled to provide driver feedback such as displays, speakers, and / or vibration components.

[0308] In at least one embodiment, conventional ADAS systems may be prone to generating false alarms, which can be annoying and distracting to the driver, but are generally not catastrophic because conventional ADAS systems alert the driver and allow the driver to determine whether a safe situation truly exists and take appropriate action. In at least one embodiment, in the event of conflicting results, vehicle 1400 decides for itself whether to follow the result of the main computer or auxiliary computer (e.g., the first or second controller in controller 1436). For example, in at least one embodiment, ADAS system 1438 may be a backup and / or auxiliary computer for providing perception information to a backup computer rationality module. In at least one embodiment, a backup computer rationality monitor may run redundant software on hardware components to detect faults in perception and dynamic driving tasks. In at least one embodiment, output from ADAS system 1438 may be provided to a supervisory MCU. In at least one embodiment, if output from the main computer and output from the auxiliary computer conflict, the supervisory MCU determines how to reconcile the conflict to ensure safe operation.

[0309] In at least one embodiment, the master computer may be configured to provide a confidence score to the supervisory MCU, indicating the master computer's confidence in the selected result. In at least one embodiment, if the confidence score exceeds a threshold, the supervisory MCU may follow the master computer's instructions regardless of whether the auxiliary computer provides conflicting or inconsistent results. In at least one embodiment, if the confidence score does not meet the threshold, and if the master computer and the auxiliary computer indicate different results (e.g., conflict), the supervisory MCU may arbitrate between the computers to determine the appropriate result.

[0310] In at least one embodiment, the supervisory MCU may be configured to run a neural network trained and configured to determine, at least in part, the conditions under which the auxiliary computer provides a false alarm based on outputs from a host computer and an auxiliary computer. In at least one embodiment, one or more neural networks in the supervisory MCU may learn when the outputs of the auxiliary computer can be trusted and when they cannot. For example, in at least one embodiment, when the auxiliary computer is a RADAR-based FCW system, one or more neural networks in the supervisory MCU may learn when the FCW system is recognizing a metallic object that is not actually dangerous, such as a drain grille or manhole cover that would trigger an alarm. In at least one embodiment, when the auxiliary computer is a camera-based LDW system, the neural network in the supervisory MCU may learn to override LDW when a cyclist or pedestrian is present and lane departure is actually the safest operation. In at least one embodiment, the supervisory MCU may include at least one of a DLA or GPU suitable for running one or more neural networks with associated memory. In at least one embodiment, the supervisory MCU may include and / or be included as a component of one or more SoC 1404s.

[0311] In at least one embodiment, the ADAS system 1438 may include an auxiliary computer that performs ADAS functions using conventional computer vision rules. In at least one embodiment, the auxiliary computer may use classic computer vision rules (if-then), and the presence of one or more neural networks in the supervisory MCU can improve reliability, security, and performance. For example, in at least one embodiment, diverse implementations and intentional non-identity make the entire system more fault-tolerant, especially for failures caused by software (or software-hardware interface) functionality. For example, in at least one embodiment, if a software vulnerability or bug exists in the software running on the host computer, and the not-quite-same software code running on the auxiliary computer provides consistent overall results, the supervisory MCU can have greater confidence that the overall results are correct, and that the vulnerability in the software or hardware on the host computer will not lead to a major error.

[0312] In at least one embodiment, the output of the ADAS system 1438 may be fed into the perception block and / or the dynamic driving task block of the main computer. For example, in at least one embodiment, if the ADAS system 1438 indicates a forward collision warning due to an object directly ahead, the perception block may use the information when the object is identified. In at least one embodiment, as described herein, the assistance computer may have its own neural network, which is trained to reduce the risk of false alarms.

[0313] In at least one embodiment, vehicle 1400 may further include an infotainment SoC 1430 (e.g., an in-vehicle infotainment system (IVI)). Although shown and described as an SoC, in at least one embodiment, the infotainment system SoC 1430 may not be an SoC and may include, but is not limited to, two or more discrete components. In at least one embodiment, the infotainment SoC 1430 may include, but is not limited to, a combination of hardware and software that can be used to provide audio (e.g., music, personal digital assistant, navigation instructions, news, radio, etc.), video (e.g., television, movies, streaming media, etc.), telephone (e.g., hands-free calling), network connectivity (e.g., LTE, WiFi, etc.) and / or information services (e.g., navigation system, rear parking assist, radio data system, vehicle-related information such as fuel level, total coverage distance, brake fuel level, fuel level, door opening / closing, air filter information, etc.) to vehicle 1400. For example, the infotainment SoC 1430 may include a radio, disk player, navigation system, video player, USB and Bluetooth connectivity, in-vehicle computer, in-vehicle entertainment system, WiFi, steering wheel audio controls, hands-free voice control, head-up display (“HUD”), HMI display 1434, telematics device, control panel (e.g., for controlling and / or interacting with various components, features and / or systems) and / or other components. In at least one embodiment, the infotainment SoC 1430 may further be used to provide information (e.g., visual and / or auditory information) to one or more users of the vehicle 1400, such as information from ADAS system 1438, autonomous driving information (such as planned vehicle maneuvers), trajectory, surrounding environment information (e.g., intersection information, vehicle information, road information, etc.) and / or other information.

[0314] In at least one embodiment, the infotainment SoC 1430 may include any number and type of GPU functionality. In at least one embodiment, the infotainment SoC 1430 may communicate with other devices, systems, and / or components of the vehicle 1400 via bus 1402. In at least one embodiment, the infotainment SoC 1430 may be coupled to a supervisory MCU, enabling the GPU of the infotainment system to perform some autonomous driving functions in the event of a failure of one or more main controllers 1436 (e.g., the main computer and / or backup computer of the vehicle 1400). In at least one embodiment, the infotainment SoC 1430 may place the vehicle 1400 into a driver-to-safe parking mode, as described herein.

[0315] In at least one embodiment, vehicle 1400 may further include instrument panel 1432 (e.g., digital instrument panel, electronic instrument panel, digital instrument cluster, etc.). In at least one embodiment, instrument panel 1432 may include, but is not limited to, controllers and / or supercomputers (e.g., discrete controllers or supercomputers). In at least one embodiment, instrument panel 1432 may include, but is not limited to, any number and combination of instruments, such as speedometer, fuel level, oil pressure, tachometer, odometer, turn indicator, shift position indicator, one or more seatbelt warning lights, one or more parking brake warning lights, one or more engine malfunction lights, auxiliary restraint system (e.g., airbag) information, lighting controls, safety system controls, navigation information, etc. In some examples, information may be displayed and / or shared between infotainment SoC 1430 and instrument panel 1432. In at least one embodiment, instrument panel 1432 may be included as part of infotainment SoC 1430, or vice versa.

[0316] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details are provided regarding the inference and / or training logic 1115. In at least one embodiment, the inference and / or training logic 1115 can... Figure 14C The system is used to perform inference or prediction operations based at least in part on weight parameters calculated using the neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0317] In at least one embodiment, regarding Figure 14C At least one component shown or described is used to implement the combination Figure 1-10 The described techniques and / or functions. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets.

[0318] Figure 14D It is based on at least one embodiment in one or more cloud-based servers and Figure 14AA diagram of a system for communication between autonomous vehicles 1400. In at least one embodiment, the system may include, but is not limited to, one or more servers 1478, one or more networks 1490, and any number and type of vehicles, including vehicle 1400. In at least one embodiment, one or more servers 1478 may include, but is not limited to, multiple GPUs 1484(A)-1484(H) (collectively referred to herein as GPU 1484), PCIe switches 1482(A)-1482(D) (collectively referred to herein as PCIe switch 1482), and / or CPUs 1480(A)-1480(B) (collectively referred to herein as CPU 1480). In at least one embodiment, GPU 1484, CPU 1480, and PCIe switch 1482 may be interconnected with high-speed interconnects, such as, for example, but not limited to, NVLink interface 1488 and / or PCIe connection 1486 developed by NVIDIA. In at least one embodiment, the GPU 1484 is connected via NVLink and / or NVSwitch SoC, and the GPU 1484 and PCIe switch 1482 are connected via PCIe interconnect. Although eight GPUs 1484, two CPUs 1480, and four PCIe switches 1482 are shown, this is not intended to be limiting. In at least one embodiment, each of one or more servers 1478 may include, but is not limited to, any number of GPUs 1484, CPUs 1480, and / or PCIe switches 1482 in any combination. For example, in at least one embodiment, one or more servers 1478 may each include eight, sixteen, thirty-two, and / or more GPUs 1484. In at least one embodiment, the GPU 1484 further includes inference and / or training logic 1115, which further includes one or more circuitry for training one or more neural networks, at least in part, based on one or more indications of when one or more prior events occurred.

[0319] In at least one embodiment, one or more servers 1478 may receive image data representing an image from a vehicle via one or more networks 1490, the image showing unexpected or changed road conditions, such as recently commenced roadworks. In at least one embodiment, one or more servers 1478 may send updated neural network 1492 and / or map information 1494 to the vehicle via one or more networks 1490, including but not limited to information about traffic and road conditions. In at least one embodiment, updates to map information 1494 may include, but are not limited to, updates to HD map 1422, such as information about construction sites, potholes, sidewalks, floods, and / or other obstacles. In at least one embodiment, neural network 1492 and / or map information 1494 may be generated from new training and / or experience represented by data received from any number of vehicles in the environment, and / or at least based on training performed at a data center (e.g., using one or more servers 1478 and / or other servers).

[0320] In at least one embodiment, one or more servers 1478 may be used to train a machine learning model (e.g., a neural network) at least in part based on training data. In at least one embodiment, the training data may be generated by the vehicle, and / or may be generated in a simulation (e.g., using a game engine). In at least one embodiment, any amount of training data is labeled (e.g., where the associated neural network benefits from supervised learning) and / or undergoes other preprocessing. In at least one embodiment, no amount of training data is labeled and / or preprocessed (e.g., where the associated neural network does not require supervised learning). In at least one embodiment, once the machine learning model is trained, the machine learning model may be used by the vehicle (e.g., sent to the vehicle via one or more networks 1490, and / or the machine learning model may be used by one or more servers 1478 to remotely monitor the vehicle).

[0321] In at least one embodiment, one or more servers 1478 may receive data from the vehicle and apply the data to a state-of-the-art real-time neural network for real-time intelligent inference. In at least one embodiment, one or more servers 1478 may include a deep learning supercomputer and / or a dedicated AI computer powered by one or more GPUs 1484, such as the DGX and DGX Station machines developed by NVIDIA. However, in at least one embodiment, one or more servers 1478 may include a deep learning infrastructure in a data center using CPU power.

[0322] In at least one embodiment, the deep learning infrastructure of one or more servers 1478 may be capable of fast, real-time inference and may use this capability to assess and verify the health of the processors, software, and / or associated hardware in vehicle 1400. For example, in at least one embodiment, the deep learning infrastructure may receive periodic updates from vehicle 1400, such as image sequences and / or objects located by vehicle 1400 in the image sequences (e.g., via computer vision and / or other machine learning object classification techniques). In at least one embodiment, the deep learning infrastructure may run its own neural network to identify objects and compare them with objects identified by vehicle 1400, and if the results do not match and the deep learning infrastructure determines that the AI ​​in vehicle 1400 is malfunctioning, one or more servers 1478 may signal to vehicle 1400, instructing vehicle 1400's fail-safe computer to take control, notify passengers, and complete a safe stopping operation.

[0323] In at least one embodiment, one or more servers 1478 may include one or more GPUs 1484 and one or more programmable inference accelerators (e.g., NVIDIA's TensorRT 3 devices). In at least one embodiment, the combination of GPU-driven servers and inference acceleration enables real-time response. In at least one embodiment, servers driven by CPUs, FPGAs, and other processors may be used for inference, such as in situations where performance is less critical. In at least one embodiment, one or more hardware structures 1115 are used to execute one or more embodiments. This document incorporates... Figure 11A and / or Figure 11B Provide details about hardware architecture 1115.

[0324] Computer System

[0325] Figure 15This is a block diagram illustrating an exemplary computer system according to at least one embodiment. The exemplary computer system may be a system of interconnected devices and components, a system-on-a-chip (SoC), or some combination thereof formed with a processor, which may include an execution unit for executing instructions. In at least one embodiment, according to this disclosure, such as in the embodiments described herein, computer system 1500 may include, but is not limited to, components such as processor 1502 for employing execution units (including logic) to execute algorithms for process data. In at least one embodiment, processor 1502 includes inference and / or training logic 1115, which further includes one or more circuitry for training one or more neural networks, at least in part, based on one or more indications of when one or more prior events occurred. In at least one embodiment, computer system 1500 may include a processor, such as those available from Intel Corporation of Santa Clara, California. Processor family, Xeon™ XScale™ and / or StrongARM™ CoreTM or The Nervana™ microprocessor can also be used, although other systems (including PCs, engineering workstations, set-top boxes, etc.) with other microprocessors can also be used. In at least one embodiment, the computer system 1500 can execute a version of the Windows operating system available from Microsoft Corporation of Redmond, Washington, although other operating systems (such as UNIX and Linux), embedded software, and / or graphical user interfaces can also be used.

[0326] The embodiments can be used in other devices, such as handheld devices and embedded applications. Some examples of handheld devices include cellular phones, Internet Protocol (IP) devices, digital cameras, personal digital assistants (“PDAs”), and handheld PCs. In at least one embodiment, the embedded application may include a microcontroller, a digital signal processor (“DSP”), a system-on-a-chip (SoC), a network computer (“NetPC”), a set-top box, a network hub, a wide area network (“WAN”) switch, or any other system capable of executing one or more instructions according to at least one embodiment.

[0327] In at least one embodiment, the computer system 1500 may include, but is not limited to, a processor 1502, which may include, but is not limited to, one or more execution units 1508 for performing machine learning model training and / or inference according to the techniques described herein. In at least one embodiment, the computer system 1500 is a single-processor desktop or server system, but in another embodiment, the computer system 1500 may be a multiprocessor system. In at least one embodiment, the processor 1502 may include, but is not limited to, for example, a Complex Instruction Set Computer (“CISC”) microprocessor, a Reduced Instruction Set Computing (“RISC”) microprocessor, a Very Long Instruction Word (“VLIW”) microprocessor, a processor implementing instruction set combination, or any other processor device, such as a digital signal processor. In at least one embodiment, the processor 1502 may be coupled to a processor bus 1510, which can transmit data signals between the processor 1502 and other components in the computer system 1500.

[0328] In at least one embodiment, processor 1502 may include, but is not limited to, a Level 1 (“L1”) internal cache memory (“cache”) 1504. In at least one embodiment, processor 1502 may have a single internal cache or multiple levels of internal caches. In at least one embodiment, the cache memory may reside external to processor 1502. Depending on specific implementation and requirements, other embodiments may also include a combination of internal and external caches. In at least one embodiment, register file 1506 may store different types of data in various registers, including but not limited to integer registers, floating-point registers, status registers, and instruction pointer registers.

[0329] In at least one embodiment, an execution unit 1508, including but not limited to logic for performing integer and floating-point operations, is also located in the processor 1502. In at least one embodiment, the processor 1502 may also include a microcode (“ucode”) read-only memory (“ROM”) storing microcode for certain macro instructions. In at least one embodiment, the execution unit 1508 may include logic for processing a packaged instruction set 1509. In at least one embodiment, by including the packaged instruction set 1509 in the instruction set of the general-purpose processor and the associated circuitry to be executed, operations used by numerous multimedia applications can be performed using packaged data in the processor 1502. In at least one embodiment, numerous multimedia applications can be accelerated and executed more efficiently by performing operations on packaged data using the full width of the processor's data bus, eliminating the need to transfer smaller data units on the processor's data bus to perform one or more operations on one data element at a time.

[0330] In at least one embodiment, execution unit 1508 may also be used in a microcontroller, embedded processor, graphics device, DSP, and other types of logic circuitry. In at least one embodiment, computer system 1500 may include, but is not limited to, memory 1520. In at least one embodiment, memory 1520 may be a dynamic random access memory (“DRAM”) device, a static random access memory (“SRAM”) device, a flash memory device, or other memory device. In at least one embodiment, memory 1520 may store one or more instructions 1519 and / or data 1521 represented by data signals executable by processor 1502.

[0331] In at least one embodiment, the system logic chip may be coupled to processor bus 1510 and memory 1520. In at least one embodiment, the system logic chip may include, but is not limited to, a memory controller hub (“MCH”) 1516, and processor 1502 may communicate with MCH 1516 via processor bus 1510. In at least one embodiment, MCH 1516 may provide a high-bandwidth memory path 1518 to memory 1520 for instruction and data storage, as well as for storage of graphics commands, data, and textures. In at least one embodiment, MCH 1516 may direct data signals between processor 1502, memory 1520, and other components in computer system 1500, and bridge data signals between processor bus 1510, memory 1520, and system I / O interface 1522. In at least one embodiment, the system logic chip may provide a graphics port for coupling to a graphics controller. In at least one embodiment, MCH 1516 may be coupled to memory 1520 via high-bandwidth memory path 1518, and graphics / video card 1512 may be coupled to MCH 1516 via Accelerated Graphics Port (“AGP”) interconnect 1514.

[0332] In at least one embodiment, the computer system 1500 may use the system I / O interface 1522 as a proprietary hub interface bus to couple the MCH 1516 to the I / O controller hub (“ICH”) 1530. In at least one embodiment, the ICH 1530 may provide direct connectivity to certain I / O devices via a local I / O bus. In at least one embodiment, the local I / O bus may include, but is not limited to, a high-speed I / O bus for connecting peripheral devices to the memory 1520, chipset, and processor 1502. Examples may include, but are not limited to, an audio controller 1529, a firmware hub (“flash BIOS”) 1528, a wireless transceiver 1526, a data storage 1524, a conventional I / O controller 1523 including a user input and keyboard interface 1525, a serial expansion port 1527 (such as a Universal Serial Bus (“USB”) port), and a network controller 1534. In at least one embodiment, the data storage 1524 may include a hard disk drive, a floppy disk drive, a CD-ROM device, a flash memory device, or other mass storage device.

[0333] In at least one embodiment, Figure 15 A system including interconnected hardware devices or "chips" is shown, while in other embodiments, Figure 15 An exemplary SoC can be shown. In at least one embodiment, Figure 15 The devices shown can be interconnected using proprietary interconnects, standardized interconnects (e.g., PCIe), or some combination thereof. In at least one embodiment, one or more components of the computer system 1500 are interconnected using a Computational Fast Link (CXL) interconnect.

[0334] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details are provided regarding the inference and / or training logic 1115. In at least one embodiment, the inference and / or training logic 1115 can... Figure 15 Used in systems for inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases as described herein.

[0335] In at least one embodiment, regarding Figure 15 At least one component shown or described is used to implement the combination Figure 1-10 The described techniques and / or functions. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, Figure 15 The processor 1502 and / or other components of the computer system 1500 are used to achieve the combination Figure 1-10 The described technologies and / or functions.

[0336] Figure 16 This is a block diagram illustrating an electronic device 1600 utilizing a processor 1610 according to at least one embodiment. In at least one embodiment, the processor 1610 includes inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks based at least in part on one or more indications of when one or more prior events occurred. In at least one embodiment, the electronic device 1600 may be, for example, but not limited to, a laptop computer, tower server, rack server, blade server, laptop computer, desktop computer, tablet computer, mobile device, telephone, embedded computer, or any other suitable electronic device.

[0337] In at least one embodiment, the electronic device 1600 may, but is not limited to, a processor 1610 communicatively coupled to any suitable number or type of components, peripherals, modules, or devices. In at least one embodiment, the processor 1610 uses a bus or interface coupling, such as an I2C bus, a system management bus (“SMBus”), a low pin count (LPC) bus, a serial peripheral interface (“SPI”), a high-definition audio (“HDA”) bus, a serial advanced technology accessory (“SATA”) bus, a universal serial bus (“USB”) (versions 1, 2, 3, etc.), or a universal asynchronous receiver / transmitter (“UART”) bus. In at least one embodiment, Figure 16 The system shown includes interconnected hardware devices or "chips," while in other embodiments, Figure 16 An exemplary SoC can be shown. In at least one embodiment, Figure 16 The devices shown can be interconnected using proprietary interconnects, standardized interconnects (e.g., PCIe), or some combination thereof. In at least one embodiment, Figure 16 One or more components are interconnected using Computational Fast Link (CXL) interconnects.

[0338] In at least one embodiment, Figure 16 It may include a display 1624, a touch screen 1625, a touchpad 1630, a near field communication unit (“NFC”) 1645, a sensor hub 1640, a thermal sensor 1646, a fast chipset (“EC”) 1635, a trusted platform module (“TPM”) 1638, a BIOS / firmware / flash (“BIOS, FW Flash”) 1622, a DSP 1660, a drive 1620 (such as a solid-state drive (“SSD”) or a hard disk drive (“HDD”)), a wireless local area network unit (“WLAN”) 1650, a Bluetooth unit 1652, a wireless wide area network unit (“WWAN”) 1656, a global positioning system (GPS) unit 1655, a camera (“USB 3.0 camera”) 1654 (such as a USB 3.0 camera) and / or a low-power double data rate (“LPDDR”) memory unit (“LPDDR3”) 1615 implemented in, for example, the LPDDR3 standard. These components can each be implemented in any suitable way.

[0339] In at least one embodiment, other components may be communicatively coupled to processor 1610 via the components described herein. In at least one embodiment, accelerometer 1641, ambient light sensor (“ALS”) 1642, compass 1643, and gyroscope 1644 may be communicatively coupled to sensor hub 1640. In at least one embodiment, thermal sensor 1639, fan 1637, keyboard 1636, and touchpad 1630 may be communicatively coupled to EC 1635. In at least one embodiment, speaker 1663, earphone 1664, and microphone (“mic”) 1665 may be communicatively coupled to audio unit (“audio codec and Class D amplifier”) 1662, which in turn may be communicatively coupled to DSP 1660. In at least one embodiment, audio unit 1662 may include, for example, but not limited to, audio encoder / decoder (“codec”) and Class D amplifier. In at least one embodiment, SIM card (“SIM”) 1657 may be communicatively coupled to WWAN unit 1656. In at least one embodiment, components such as WLAN unit 1650, Bluetooth unit 1652, and WWAN unit 1656 may be implemented as next-generation form factors (“NGFF”).

[0340] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details are provided regarding the inference and / or training logic 1115. In at least one embodiment, the inference and / or training logic 1115 can... Figure 16 Used in systems for inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases as described herein.

[0341] In at least one embodiment, regarding Figure 16 At least one component shown or described is used to implement the combination Figure 1-10 The described techniques and / or functions. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, Figure 16 System 1600 and / or processor 1610 are used to implement the combination Figure 1-10 The described technologies and / or functions.

[0342] Figure 17 A computer system 1700 according to at least one embodiment is shown. In at least one embodiment, the computer system 1700 is configured to implement various processes and methods described throughout this disclosure.

[0343] In at least one embodiment, the computer system 1700 includes, but is not limited to, at least one central processing unit (“CPU”) 1702 connected to a communication bus 1710 implemented using any suitable protocol, such as PCI (“Peripheral Component Interconnect”), Peripheral Component Interconnect Fast (“PCI-Express”), AGP (“Accelerated Graphics Port”), HyperTransport, or any other bus or point-to-point communication protocol. In at least one embodiment, the computer system 1700 includes, but is not limited to, main memory 1704 and control logic (e.g., implemented in hardware, software, or a combination thereof), and data is stored in the main memory 1704, which may take the form of random access memory (“RAM”). In at least one embodiment, a network interface subsystem (“network interface”) 1722 provides an interface to other computing devices and networks for receiving data from and sending data to other systems using the computer system 1700. In at least one embodiment, the CPU 1702 includes inference and / or training logic 1115, which further includes one or more circuitry for training one or more neural networks, at least in part, based on one or more indications of when one or more prior events occurred.

[0344] In at least one embodiment, the computer system 1700 includes, but is not limited to, an input device 1708, a parallel processing system 1712, and a display device 1706, which may be implemented using conventional cathode ray tube (“CRT”), liquid crystal display (“LCD”), light-emitting diode (“LED”) display, plasma display, or other suitable display technologies. In at least one embodiment, user input is received from the input device 1708 (such as a keyboard, mouse, touchpad, microphone, etc.). In at least one embodiment, each module described herein may reside on a single semiconductor platform to form the processing system.

[0345] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details are provided regarding the inference and / or training logic 1115. In at least one embodiment, the inference and / or training logic 1115 can... Figure 17 The system is used to perform inference or prediction operations based at least in part on weight parameters calculated using the neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0346] In at least one embodiment, regarding Figure 17 At least one component shown or described is used to implement the combination Figure 1-10 The described techniques and / or functions. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, computer system 1700 and / or Figure 17 At least one PPU 1714 was used to achieve the bonding. Figure 1-10 The described technologies and / or functions.

[0347] Figure 18 A computer system 1800 according to at least one embodiment is illustrated. In at least one embodiment, the computer system 1800 includes, but is not limited to, a computer 1810 and a USB flash drive 1820. In at least one embodiment, the computer 1810 may include, but is not limited to, any number and type of processors (not shown) and memory (not shown). In at least one embodiment, the computer 1810 includes, but is not limited to, a server, a cloud instance, a laptop computer, and a desktop computer.

[0348] In at least one embodiment, the USB flash drive 1820 includes, but is not limited to, a processing unit 1830, a USB interface 1840, and USB interface logic 1850. In at least one embodiment, the processing unit 1830 can be any instruction execution system, apparatus, or device capable of executing instructions. In at least one embodiment, the processing unit 1830 can include, but is not limited to, any number and type of processing cores (not shown). In at least one embodiment, the processing unit 1830 includes inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks, at least in part, based on one or more indications of when one or more prior events occurred. In at least one embodiment, the processing unit 1830 includes an application-specific integrated circuit (“ASIC”) optimized to perform any number and type of operations associated with machine learning. For example, in at least one embodiment, the processing unit 1830 is a tensor processing unit (“TPC”) optimized to perform machine learning inference operations. In at least one embodiment, the processing unit 1830 is a vision processing unit (“VPU”) optimized to perform machine vision and machine learning inference operations.

[0349] In at least one embodiment, the USB interface 1840 can be any type of USB connector or USB receptacle. For example, in at least one embodiment, the USB interface 1840 is a USB 3.0 Type-C receptacle for data and power. In at least one embodiment, the USB interface 1840 is a USB 3.0 Type-A connector. In at least one embodiment, the USB interface logic 1850 may include any amount and type of logic enabling the processing unit 1830 to interface with a device (e.g., computer 1810) via the USB connector 1840.

[0350] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details are provided regarding the inference and / or training logic 1115. In at least one embodiment, the inference and / or training logic 1115 can... Figure 18 The system is used to perform inference or prediction operations based at least in part on weight parameters calculated using the neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0351] In at least one embodiment, regarding Figure 18 At least one component shown or described is used to implement the combination Figure 1-10 The described techniques and / or functions. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, Figure 18 The processing unit 1830 is used to implement the combination Figure 1-10 The described technologies and / or functions.

[0352] Figure 19A An exemplary architecture is illustrated in which multiple GPUs 1910(1)-1910(N) are communicatively coupled to multiple multi-core processors 1905(1)-1905(M) via high-speed links 1940(1)-1940(N) (e.g., bus, point-to-point interconnect, etc.). In at least one embodiment, the multi-core processor 1905(1) includes inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks based at least in part on one or more indications of when one or more prior events occurred. In at least one embodiment, the high-speed links 1940(1)-1940(N) support communication throughput of 4GB / s, 30GB / s, 80GB / s, or higher. In at least one embodiment, various interconnect protocols may be used, including but not limited to PCIe 4.0 or 5.0 and NVLink 2.0. In the various figures, “N” and “M” represent positive integers, the values ​​of which may vary from figure to figure.

[0353] Furthermore, in at least one embodiment, two or more GPUs 1910 are interconnected via high-speed links 1929(1)-1929(2), which can be implemented using a protocol / link similar to or different from that used for high-speed links 1940(1)-1940(N). Similarly, two or more multi-core processors 1905 can be connected via high-speed link 1928, which can be a symmetric multiprocessor (SMP) bus operating at speeds of 20GB / s, 30GB / s, 120GB / s, or higher. Alternatively, similar protocols / links (e.g., via a common interconnect structure) can be used. Figure 19A This shows all communication between the various system components.

[0354] In at least one embodiment, each multi-core processor 1905 is communicatively coupled to processor memory 1901(1)-1901(M) via memory interconnects 1926(1)-1926(M), and each GPU 1910(1)-1910(N) is communicatively coupled to GPU memory 1920(1)-1920(N) via GPU memory interconnects 1950(1)-1950(N). In at least one embodiment, memory interconnects 1926 and 1950 may utilize similar or different memory access technologies. By way of example and not limitation, processor memory 1901(1)-1901(M) and GPU memory 1920 may be volatile memory, such as dynamic random access memory (DRAM) (including stacked DRAM), graphics DDR SDRAM (GDDR) (e.g., GDDR5, GDDR6), or high bandwidth memory (HBM), and / or may be non-volatile memory, such as 3D XPoint or Nano-RAM. In at least one embodiment, some portions of the processor memory 1901 may be volatile memory, while other portions may be non-volatile memory (e.g., using a two-level memory (2LM) hierarchy).

[0355] As described herein, although the individual multi-core processors 1905 and GPUs 1910 can be physically coupled to specific memories 1901 and 1920 respectively, and / or can implement a unified memory architecture, in which the virtual system address space (also known as the “effective address” space) is distributed among the individual physical memories. For example, processor memories 1901(1)–1901(M) can each include 64 GB of system memory address space, and GPU memories 1920(1)–1920(N) can each include 32 GB of system memory address space, resulting in a total of 256 GB of addressable memory when M = 2 and N = 4. Other values ​​for N and M are possible.

[0356] Figure 19BAdditional details are shown regarding the interconnection between a multi-core processor 1907 and a graphics acceleration module 1946 according to an exemplary embodiment. In at least one embodiment, the multi-core processor 1907 includes inference and / or training logic 1115, which further includes one or more circuitry for training one or more neural networks, at least in part based on one or more indications of when one or more prior events occurred. In at least one embodiment, the graphics acceleration module 1946 includes inference and / or training logic 1115, which further includes one or more circuitry for training one or more neural networks, at least in part based on one or more indications of when one or more prior events occurred. In at least one embodiment, the graphics acceleration module 1946 may include one or more GPU chips integrated on a line card coupled to the processor 1907 via a high-speed link 1940 (e.g., PCIe bus, NVLink, etc.). In at least one embodiment, the graphics acceleration module 1946 may alternatively be integrated on a package or chip having the processor 1907.

[0357] In at least one embodiment, the processor 1907 includes a plurality of cores 1960A-1960D, each core having a translation back cover buffer (“TLB”) 1961A-1961D and one or more caches 1962A-1962D. In at least one embodiment, the cores 1960A-1960D may include various other components, not shown, for executing instructions and processing data. In at least one embodiment, the caches 1962A-1962D may include Level 1 (L1) and Level 2 (L2) caches. Furthermore, one or more shared caches 1956 may be included in the caches 1962A-1962D and shared by the respective groups of cores 1960A-1960D. For example, one embodiment of the processor 1907 includes 24 cores, each core having its own L1 cache, 12 shared L2 caches, and 12 shared L3 caches. In this embodiment, two adjacent cores share one or more L2 and L3 caches. In at least one embodiment, the processor 1907 and the graphics acceleration module 1946 are connected to a system memory 1914, which may include... Figure 19A The processor memory in the memory is 1901(1)-1901(M).

[0358] In at least one embodiment, consistency of data and instructions stored in various caches 1962A-1962D, 1956, and system memory 1914 is maintained via inter-core communication on the coherence bus 1964. For example, in at least one embodiment, each cache may have associated cache coherence logic / circuit to communicate via the coherence bus 1964 in response to a detected read or write to a particular cache line. In at least one embodiment, a cache snooping protocol is implemented via the coherence bus 1964 to monitor cache accesses.

[0359] In at least one embodiment, proxy circuitry 1925 communicatively couples graphics acceleration module 1946 to coherence bus 1964, thereby allowing graphics acceleration module 1946 to participate in cache coherence protocols as a peer of cores 1960A-1960D. Specifically, in at least one embodiment, interface 1935 provides connectivity to proxy circuitry 1925 via high-speed link 1940, and interface 1937 connects graphics acceleration module 1946 to high-speed link 1940.

[0360] In at least one embodiment, the accelerator integrated circuit 1936 provides cache management, memory access, context management, and interrupt management services for a plurality of graphics processing engines 1931(1)-1931(N) of the graphics acceleration module 1946. In at least one embodiment, the graphics processing engines 1931(1)-1931(N) may each include a separate graphics processing unit (GPU). In at least one embodiment, the graphics processing engines 1931(1)-1931(N) may alternatively include different types of graphics processing engines within the GPU, such as graphics execution units, media processing engines (e.g., video encoders / decoders), samplers, and blit (block transport) engines. In at least one embodiment, the graphics acceleration module 1946 may be a GPU having a plurality of graphics processing engines 1931(1)-1931(N), or the graphics processing engines 1931(1)-1931(N) may be individual GPUs integrated on a general-purpose package, line card, or chip.

[0361] In at least one embodiment, the accelerator integrated circuit 1936 includes a memory management unit (MMU) 1939 for performing various memory management functions, such as virtual-to-physical memory translation (also known as effective-to-real memory translation), and a memory access protocol for accessing system memory 1914. In at least one embodiment, the MMU 1939 may also include a translation back buffer (“TLB”) (not shown) for caching virtual / effective-to-physical / real address translations. In at least one embodiment, cache 1938 may store commands and data for efficient access by graphics processing engines 1931(1)-1931(N). In at least one embodiment, a fetch unit 1944 may be used to keep data stored in cache 1938 and graphics memory 1933(1)-1933(M) consistent with core caches 1962A-1962D, 1956 and system memory 1914. As previously stated, this could mean that cache 1938 and memory 1933(1)-1933(M) are implemented via proxy circuit 1925 (e.g., sending updates related to the modification / access of cache lines on processor caches 1962A-1962D, 1956 to cache 1938 and receiving updates from cache 1938).

[0362] In at least one embodiment, a set of registers 1945 stores context data of threads executed by graphics processing engines 1931(1)-1931(N), and context management circuitry 1948 manages the thread context. For example, context management circuitry 1948 can perform save and restore operations to save and restore the context of individual threads during context switching (e.g., saving the first thread and storing the second thread so that the second thread can be executed by the graphics processing engine). For example, during context switching, context management circuitry 1948 can store the current register value in a designated area of ​​memory (e.g., identified by a context pointer). The register value can then be restored upon returning to the context. In at least one embodiment, interrupt management circuitry 1947 receives and processes interrupts received from system devices.

[0363] In at least one embodiment, MMU 1939 translates virtual / effective addresses from graphics processing engine 1931 into real / physical addresses in system memory 1914. In at least one embodiment, accelerator integrated circuit 1936 supports multiple (e.g., 4, 8, 16) graphics accelerator modules 1946 and / or other accelerator devices. In at least one embodiment, graphics accelerator module 1946 may be dedicated to a single application executing on processor 1907, or may be shared among multiple applications. In at least one embodiment, a virtualized graphics execution environment is presented, wherein resources of graphics processing engines 1931(1)-1931(N) are shared with multiple applications or virtual machines (VMs). In at least one embodiment, resources may be subdivided into “slices” based on processing requirements and priorities associated with VMs and / or applications, which are allocated to different VMs and / or applications.

[0364] In at least one embodiment, the accelerator integrated circuit 1936 acts as a bridge to the system of the graphics acceleration module 1946 and provides address translation and system memory caching services. Additionally, in at least one embodiment, the accelerator integrated circuit 1936 can provide virtualization facilities for the host processor to manage the virtualization, interrupt, and memory management of the graphics processing engines 1931(1)-1931(N).

[0365] In at least one embodiment, since the hardware resources of the graphics processing engines 1931(1)-1931(N) are explicitly mapped to the real address space seen by the host processor 1907, any host processor can directly address these resources using valid address values. In at least one embodiment, a function of the accelerator integrated circuit 1936 is the physical separation of the graphics processing engines 1931(1)-1931(N), making them appear as independent units to the system.

[0366] In at least one embodiment, one or more graphics memories 1933(1)-1933(M) are coupled to each graphics processing engine 1931(1)-1931(N), where N = M. In at least one embodiment, graphics memories 1933(1)-1933(M) store instructions and data being processed by each graphics processing engine 1931(1)-1931(N). In at least one embodiment, graphics memories 1933(1)-1933(M) may be volatile memories, such as DRAM (including stacked DRAM), GDDR memories (e.g., GDDR5, GDDR6), or HBM, and / or may be non-volatile memories, such as 3D XPoint or Nano-RAM.

[0367] In at least one embodiment, to reduce data traffic on the high-speed link 1940, a biasing technique can be used to ensure that the data stored in the graphics memory 1933(1)-1933(M) is the data most frequently used by the graphics processing engine 1931(1)-1931(N), and preferably data that the cores 1960A-1960D do not use (or at least not frequently use). Similarly, in at least one embodiment, the biasing mechanism attempts to keep data needed by the cores (and preferably not needed by the graphics processing engine 1931(1)-1931(N)) in the caches 1962A-1962D, 1956 and system memory 1914.

[0368] Figure 19C Another exemplary embodiment is shown, in which the accelerator integrated circuit 1936 is integrated within the processor 1907. In this embodiment, the graphics processing engines 1931(1)-1931(N) communicate directly with the accelerator integrated circuit 1936 via a high-speed link 1940 through interfaces 1937 and 1935 (again, which can be any form of bus or interface protocol). In at least one embodiment, the accelerator integrated circuit 1936 can perform operations related to... Figure 19B The described operation is similar, but due to its close proximity to the coherence bus 1964 and caches 1962A-1962D, 1956, it may have higher throughput. In at least one embodiment, the accelerator integrated circuit supports different programming models, including a process-specific programming model (without graphics acceleration module virtualization) and a shared programming model (with virtualization), which may include a programming model controlled by the accelerator integrated circuit 1936 and a programming model controlled by the graphics acceleration module 1946. In at least one embodiment, the graphics acceleration module 1946 includes inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks, at least in part, based on one or more indications of when one or more previous events occurred.

[0369] In at least one embodiment, graphics processing engines 1931(1)-1931(N) are dedicated to a single application or process under a single operating system. In at least one embodiment, a single application can funnel requests from other applications to graphics processing engines 1931(1)-1931(N), thereby providing virtualization within a VM / partition.

[0370] In at least one embodiment, graphics processing engines 1931(1)-1931(N) can be shared by multiple VM / application partitions. In at least one embodiment, the shared model can use a hypervisor to virtualize graphics processing engines 1931(1)-1931(N) to allow access by each operating system. In at least one embodiment, for a single-partition system without a hypervisor, the operating system owns graphics processing engines 1931(1)-1931(N). In at least one embodiment, the operating system can virtualize graphics processing engines 1931(1)-1931(N) to provide access to each process or application.

[0371] In at least one embodiment, the graphics acceleration module 1946 or the individual graphics processing engine 1931(1)-1931(N) uses a process handle to select a process element. In at least one embodiment, the process element is stored in system memory 1914 and can be addressed using the effective address to real address translation techniques described herein. In at least one embodiment, the process handle may be an implementation-specific value provided to the host process when registering its context with the graphics processing engine 1931(1)-1931(N) (i.e., invoking system software to add the process element to the process element linked list). In at least one embodiment, the lower 16 bits of the process handle may be the offset of the process element in the process element linked list.

[0372] Figure 19D An exemplary accelerator integration slice 1990 is illustrated. In at least one embodiment, a "slice" includes a designated portion of the processing resources of an accelerator integrated circuit 1936. In at least one embodiment, the application is an effective address space 1982 in system memory 1914, which stores process element 1983. In at least one embodiment, process element 1983 is stored in response to a GPU call 1981 from an application 1980 executing on processor 1907. In at least one embodiment, process element 1983 contains the process state of the corresponding application 1980. In at least one embodiment, a job descriptor (WD) 1984 contained in process element 1983 may be a single job requested by the application, or it may contain a pointer to a job queue. In at least one embodiment, WD 1984 is a pointer to a job request queue in the effective address space 1982 of the application.

[0373] In at least one embodiment, the graphics acceleration module 1946 and / or the various graphics processing engines 1931(1)-1931(N) may be shared by all processes or subsets of processes in the system. In at least one embodiment, infrastructure may be included for setting process states and sending WD 1984 to the graphics acceleration module 1946 to begin operations in a virtualized environment.

[0374] In at least one embodiment, the process-specific programming model is implementation-specific. In at least one embodiment, in this model, a single process owns either the graphics acceleration module 1946 or an individual graphics processing engine 1931. In at least one embodiment, when the graphics acceleration module 1946 is owned by a single process, the hypervisor initializes the accelerator integrated circuit for the owned partition, and when the graphics acceleration module 1946 is assigned, the operating system initializes the accelerator integrated circuit 1936 for the owned process.

[0375] In at least one embodiment, during operation, the WD acquisition unit 1991 in the accelerator integration slice 1990 acquires the next WD 1984, which includes instructions for work to be performed by one or more graphics processing engines of the graphics acceleration module 1946. In at least one embodiment, data from the WD 1984 may be stored in register 1945 and used by the MMU 1939, interrupt management circuitry 1947, and / or context management circuitry 1948, as shown. For example, one embodiment of the MMU 1939 includes segment / page walk circuitry for accessing segment / page tables 1986 within the OS virtual address space 1985. In at least one embodiment, the interrupt management circuitry 1947 may process an interrupt event 1992 received from the graphics acceleration module 1946. In at least one embodiment, when performing graphics operations, a valid address 1993 generated by graphics processing engines 1931(1)-1931(N) is translated into a real address by the MMU 1939.

[0376] In at least one embodiment, register 1945 is copied for each graphics processing engine 1931(1)-1931(N) and / or graphics acceleration module 1946, and register 1945 may be initialized by a hypervisor or operating system. In at least one embodiment, each of these copied registers may be included in accelerator integration slice 1990. Exemplary registers that may be initialized by a hypervisor are shown in Table 1.

[0377] Table 1 – Registers for Supervisor Initialization

[0378]

[0379] Table 2 shows exemplary registers that can be initialized by the operating system.

[0380] Table 2 – Operating System Initialization Registers

[0381]

[0382] In at least one embodiment, each WD 1984 is specific to a particular graphics acceleration module 1946 and / or graphics processing engine 1931(1)-1931(N). In at least one embodiment, it contains all the information required for the graphics processing engine 1931(1)-1931(N) to complete its work, or it may be a pointer to a memory location where the application has set up a command queue for the work to be completed.

[0383] Figure 19E Additional details of an exemplary embodiment of the shared model are shown. This embodiment includes a hypervisor real address space 1998, in which a list of process elements 1999 is stored. In at least one embodiment, the hypervisor real address space 1998 can be accessed via a hypervisor 1996, which virtualizes the graphics acceleration module engine for operating system 1995.

[0384] In at least one embodiment, the shared programming model allows all processes or subsets of processes from all partitions or subsets of partitions in the system to use the graphics acceleration module 1946. In at least one embodiment, there are two programming models in which the graphics acceleration module 1946 is shared by multiple processes and partitions, namely time-slice sharing and graphics-oriented sharing.

[0385] In at least one embodiment, in this model, the hypervisor 1996 owns the graphics acceleration module 1946 and makes its functionality available to all operating systems 1995. In at least one embodiment, for the graphics acceleration module 1946 to support virtualization through the hypervisor 1996, the graphics acceleration module 1946 may comply with certain requirements, such as (1) the job requests of the application must be autonomous (i.e., no state needs to be maintained between jobs), or the graphics acceleration module 1946 must provide a context saving and restoration mechanism, (2) the graphics acceleration module 1946 guarantees that the job requests of the application are completed within a specified amount of time, including any conversion errors, or the graphics acceleration module 1946 provides the ability to preempt job processing, and (3) when operating in a directed shared programming model, the fairness of the graphics acceleration module 1946 among processes must be ensured.

[0386] In at least one embodiment, application 1980 needs to make an operating system 1995 system call using the graphics acceleration module type, working descriptor (WD), privilege mask register (AMR) value, and context save / restore region pointer (CSRP). In at least one embodiment, the graphics acceleration module type describes the target acceleration function for the system call. In at least one embodiment, the graphics acceleration module type can be a system-specific value. In at least one embodiment, the WD is specifically formatted for graphics acceleration module 1946 and can take the form of graphics acceleration module 1946 commands, valid address pointers to user-defined structures, valid address pointers to command queues, or any other data structure describing the work to be performed by graphics acceleration module 1946.

[0387] In at least one embodiment, the AMR value is the AMR state for the current process. In at least one embodiment, the value passed to the operating system is similar to that of the application that sets the AMR. In at least one embodiment, if the implementation of the accelerator integrated circuit 1936 (not shown) and the graphics acceleration module 1946 does not support the User Rights Mask Overwrite Register (UAMOR), the operating system may apply the current UAMOR value to the AMR value before passing the AMR in the hypervisor call. In at least one embodiment, the hypervisor 1996 may selectively apply the current Rights Mask Overwrite Register (AMOR) value before placing the AMR into the process element 1983. In at least one embodiment, CSRP is one of the registers 1945 that contains the effective address of a region in the effective address space 1982 of the application for the graphics acceleration module 1946 to save and restore the context state. In at least one embodiment, this pointer is optional if it is not necessary to save state between jobs or when a job is preempted. In at least one embodiment, the context save / restore region may be fixed system memory.

[0388] Upon receiving a system call, operating system 1995 can verify that application 1980 has been registered and granted permission to use graphics acceleration module 1946. Then, in at least one embodiment, operating system 1995 uses the information shown in Table 3 to invoke hypervisor 1996.

[0389]

[0390] In at least one embodiment, upon receiving a hypervisor call, hypervisor 1996 verifies that operating system 1995 has been registered and granted permission to use graphics acceleration module 1946. Then, in at least one embodiment, hypervisor 1996 adds process element 1983 to a linked list of process elements of the corresponding graphics acceleration module 1946 type. In at least one embodiment, the process element may include the information shown in Table 4.

[0391] Table 4 – Process Element Information

[0392]

[0393] In at least one embodiment, the management program initializes multiple accelerator integration slice 1990 registers 1945.

[0394] like Figure 19F As shown, in at least one embodiment, a unified memory is used, which is addressable via a common virtual memory address space for accessing physical processor memories 1901(1)-1901(N) and GPU memories 1920(1)-1920(N). In this implementation, operations performed on GPUs 1910(1)-1910(N) utilize the same virtual / effective memory address space to access processor memories 1901(1)-1901(M) and vice versa, thereby simplifying programmability. In at least one embodiment, a first portion of the virtual / effective address space is allocated to processor memory 1901(1), a second portion to second processor memory 1901(N), a third portion to GPU memory 1920(1), and so on. In at least one embodiment, the entire virtual / effective memory space (sometimes referred to as the effective address space) is thus distributed across each of processor memories 1901 and GPU memories 1920, thereby allowing any processor or GPU to access that memory using a virtual address mapped to any physical memory.

[0395] In at least one embodiment, the bias / coherence management circuitry 1994A-1994E within one or more MMUs 1939A-1939E ensures cache coherence between the caches of one or more host processors (e.g., 1905) and the GPU 1910, and implements biasing techniques to indicate the physical memory in which certain types of data should be stored. In at least one embodiment, although in Figure 19F Several instances of bias / coherence management circuitry 1994A-1994E are shown, but bias / coherence circuitry can be implemented within the MMU of one or more host processors 1905 and / or within the accelerator integrated circuit 1936.

[0396] One embodiment allows GPU memory 1920 to be mapped as part of system memory and accessed using shared virtual memory (SVM) technology without suffering the performance drawbacks associated with system-wide cache coherence. In at least one embodiment, the ability of GPU memory 1920 to be accessed as system memory without the heavy overhead of cache coherence provides a favorable operating environment for GPU offloading. In at least one embodiment, this arrangement allows the host processor 1905 to software-set operands and access computation results without the overhead of conventional I / O DMA data copying. In at least one embodiment, such conventional copying includes driver calls, interrupts, and memory-mapped I / O (MMIO) accesses, all of which are less efficient than simple memory accesses. In at least one embodiment, the ability to access GPU memory 1920 without cache coherence overhead can be critical to the execution time of offloaded computations. In at least one embodiment, for example, in cases with high streaming write memory traffic, cache coherence overhead can significantly reduce the effective write bandwidth seen by GPU 1910. In at least one embodiment, the efficiency of operand setting, the efficiency of result access, and the efficiency of GPU computation can play a role in determining the effectiveness of GPU offloading.

[0397] In at least one embodiment, the selection of GPU bias and host processor bias is driven by a bias tracker data structure. In at least one embodiment, for example, a bias table can be used, which may be a page-granular structure (e.g., controlled at the memory page level) comprising 1 or 2 bits of memory pages attached per GPU. In at least one embodiment, with or without a bias cache (e.g., for caching frequently / recently used entries in the bias table) in GPU 1910, the bias table can be implemented over one or more stolen memory ranges of GPU memory 1920. Alternatively, in at least one embodiment, the entire bias table can be maintained within the GPU.

[0398] In at least one embodiment, prior to actual access to GPU memory, an access to the bias table entry associated with each access to GPU-attached memory 1920 is performed, resulting in the following operations: In at least one embodiment, a local request from GPU 1910 to find its page in the GPU bias is forwarded directly to the corresponding GPU memory 1920. In at least one embodiment, a local request from the GPU to find its page in the host bias is forwarded to processor 1905 (e.g., via the high-speed link described herein). In at least one embodiment, a request from processor 1905 to find the requested page in the host processor bias completes a request similar to a normal memory read. Alternatively, a request for a page pointing to the GPU bias can be forwarded to GPU 1910. In at least one embodiment, if the GPU is not currently using the page, the GPU can migrate the page to the host processor bias. In at least one embodiment, the page bias state can be changed by a software-based mechanism, a hardware-assisted software mechanism, or, in a limited set of cases, by a purely hardware-based mechanism.

[0399] In at least one embodiment, a mechanism for changing the bias state employs an API call (e.g., OpenCL), which in turn invokes the GPU's device driver, which in turn sends a message (or enqueues a command descriptor) to the GPU, instructing the GPU to change the bias state and, in some migration, performs a cache refresh operation on the host. In at least one embodiment, the cache refresh operation is used for migrating from the host processor 1905 bias to the GPU bias, but not for the reverse migration.

[0400] In at least one embodiment, cache coherence is maintained by temporarily rendering GPU bias pages that the host processor 1905 cannot cache. In at least one embodiment, to access these pages, the processor 1905 may request access from the GPU 1910, which may or may not immediately grant access. Therefore, in at least one embodiment, to reduce communication between the processor 1905 and the GPU 1910, it is beneficial to ensure that the GPU bias pages are pages needed by the GPU rather than those needed by the host processor 1905, and vice versa.

[0401] One or more hardware structures 1115 are used to execute one or more embodiments. This document may combine... Figure 11A and / or Figure 11B Provide details about one or more hardware structures 1115.

[0402] Figure 20Exemplary integrated circuits and associated graphics processors according to various embodiments described herein are illustrated, which can be manufactured using one or more IP cores. In addition to those illustrated, at least one embodiment may also include other logic and circuitry, including additional graphics processors / cores, peripheral interface controllers, or general-purpose processor cores.

[0403] Figure 20 This is a block diagram illustrating an exemplary system on a chip integrated circuit 2000 that can be fabricated using one or more IP cores according to at least one embodiment. In at least one embodiment, the integrated circuit 2000 includes one or more application processors 2005 (e.g., CPUs), at least one graphics processor 2010, and may additionally include an image processor 2015 and / or a video processor 2020, any of which may be a modular IP core. In at least one embodiment, one or more application processors 2005 include inference and / or training logic 1115, which further includes one or more circuitry for training one or more neural networks, at least in part, based on one or more indications of when one or more prior events occurred. In at least one embodiment, the integrated circuit 2000 includes peripheral or bus logic, which includes a USB controller 2025, a UART controller 2030, an SPI / SDIO controller 2035, and an I... 2 S / I 2 C controller 2040. In at least one embodiment, integrated circuit 2000 may include a display device 2045 coupled to one or more of a High Definition Multimedia Interface (HDMI) controller 2050 and a Mobile Industrial Processor Interface (MIPI) display interface 2055. In at least one embodiment, storage may be provided by a flash memory subsystem 2060, which includes flash memory and a flash memory controller. In at least one embodiment, a memory interface may be provided via memory controller 2065 for accessing SDRAM or SRAM memory devices. In at least one embodiment, some integrated circuits also include an embedded security engine 2070.

[0404] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details regarding the inference and / or training logic 1115 are provided. In at least one embodiment, the inference and / or training logic 1115 may be used in the integrated circuit 2000 to infer or predict operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0405] In at least one embodiment, regarding Figure 20At least one component shown or described is used to implement the combination Figure 1-10 The described techniques and / or functions. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, Figure 20 The integrated circuit 2000 was used to achieve the combination Figure 1-10 The described technologies and / or functions.

[0406] Figures 21A-21B Exemplary integrated circuits and associated graphics processors according to various embodiments described herein are illustrated, which may be fabricated using one or more IP cores. In addition to those illustrated, at least one embodiment may include other logic and circuitry, including additional graphics processors / cores, peripheral interface controllers, or general-purpose processor cores.

[0407] Figures 21A-21B This is a block diagram illustrating an exemplary graphics processor used within a SoC according to embodiments described herein. Figure 21A An exemplary graphics processor 2110 of a system-on-a-chip integrated circuit according to at least one embodiment is shown, which can be manufactured using one or more IP cores. Figure 21BAn additional exemplary graphics processor 2140 of a system-on-a-chip integrated circuit according to at least one embodiment is shown, which can be manufactured using one or more IP cores. In at least one embodiment, Figure 21A The graphics processor 2110 is a low-power graphics processor core. In at least one embodiment, Figure 21B The graphics processor 2140 is a higher-performance graphics processor core. In at least one embodiment, each graphics processor 2110, 2140 may be... Figure 20 A variant of the 2010 graphics processor.

[0408] In at least one embodiment, the graphics processor 2110 includes a vertex processor 2105 and one or more fragment processors 2115A-2115N (e.g., 2115A, 2115B, 2115C, 2115D to 2115N-1 and 2115N). In at least one embodiment, the vertex processor 2105 includes inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks based at least in part on one or more indications of when one or more prior events occurred. In at least one embodiment, the graphics processor 2110 can execute different shader programs via separate logic, such that the vertex processor 2105 is optimized to perform operations for a vertex shader program, while one or more fragment processors 2115A-2115N perform fragment (e.g., pixel) shading operations for a fragment or pixel shader program. In at least one embodiment, the vertex processor 2105 performs the vertex processing phase of the 3D graphics pipeline and generates primitive and vertex data. In at least one embodiment, one or more fragment processors 2115A-2115N use primitive and vertex data generated by vertex processor 2105 to produce framebuffers for display on a display device. In at least one embodiment, one or more fragment processors 2115A-2115N are optimized to execute fragment shader procedures as provided in the OpenGL API, which can be used to perform operations similar to those of pixel shader procedures provided in the Direct 3D API.

[0409] In at least one embodiment, the graphics processor 2110 additionally includes one or more memory management units (MMUs) 2120A-2120B, one or more caches 2125A-2125B, and one or more circuit interconnects 2130A-2130B. In at least one embodiment, the one or more MMUs 2120A-2120B provide virtual-to-physical address mapping for the graphics processor 2110 (including for the vertex processor 2105 and / or fragment processors 2115A-2115N), and may reference vertex or image / texture data stored in memory in addition to vertex or image / texture data stored in the one or more caches 2125A-2125B. In at least one embodiment, the one or more MMUs 2120A-2120B may be synchronized with other MMUs within the system, including with... Figure 20 One or more application processors 2005, graphics processors 2015, and / or video processors 2020 are associated with one or more MMUs, enabling each processor 2005-2020 to participate in a shared or unified virtual memory system. In at least one embodiment, one or more circuit interconnects 2130A-2130B enable the graphics processor 2110 to interface with other IP cores within the SoC via the SoC's internal bus or via a direct connection.

[0410] In at least one embodiment, the graphics processor 2140 includes, as shown below: Figure 21B The one or more shader cores 2155A-2155N shown (e.g., 2155A, 2155B, 2155C, 2155D, 2155E, 2155F to 2155N-1 and 2155N) provide a unified shader core architecture, wherein a single core or type or core can execute all types of programmable shader code, including shader program code for implementing vertex shaders, fragment shaders, and / or compute shaders. In at least one embodiment, one or more shader cores 2155A-2155N include inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks, at least in part, based on one or more indications of when one or more prior events occurred. In at least one embodiment, the number of shader cores may vary. In at least one embodiment, the graphics processor 2140 includes an inter-core task manager 2145 that acts as a thread dispatcher for dispatching execution threads to one or more shader cores 2155A-2155N and tile units 2158 to accelerate tile-based rendering operations, wherein rendering operations of the scene are subdivided in the image space, for example, to take advantage of local spatial consistency within the scene or to optimize the use of internal caches.

[0411] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details are provided regarding the inference and / or training logic 1115. In at least one embodiment, the inference and / or training logic 1115 can... Figure 21A and / or Figure 21B The integrated circuits are used to perform inference or prediction operations based at least in part on weight parameters calculated using neural network training operations, neural network functions and / or architectures, or neural network use cases as described herein.

[0412] In at least one embodiment, regarding Figure 21A and / or Figure 21B At least one component shown or described is used to implement about Figure 1-10 The described techniques and / or functions. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, Figure 21A Graphics processor 2110 and / or Figure 21B The graphics processor 2140 was used to implement the combination Figure 1-10 The described technologies and / or functions.

[0413] Figures 22A-22BAdditional exemplary graphics processor logic according to embodiments described herein is illustrated. In at least one embodiment, Figure 22A It shows that it can be included in Figure 20 The graphics core 2200 within the graphics processor 2010, and in at least one embodiment, may be as follows: Figure 21B The Unified Shader Core 2155A-2155N shown is an example. Figure 22B A highly parallel general-purpose graphics processing unit (“GPGPU”) 2230 suitable for deployment on a multi-chip module is shown in at least one embodiment.

[0414] In at least one embodiment, the graphics core 2200 includes a shared instruction cache 2202, texture units 2218, and cache / shared memory 2220, which are shared for execution resources within the graphics core 2200. In at least one embodiment, the graphics core 2200 includes inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks, at least in part, based on one or more indications of when one or more prior events occurred. In at least one embodiment, the graphics core 2200 may include multiple slices 2201A-2201N or partitions of each core, and the graphics processor may include multiple instances of the graphics core 2200. In at least one embodiment, slices 2201A-2201N may include supporting logic, including local instruction caches 2204A-2204N, thread schedulers 2206A-2206N, thread dispatchers 2208A-2208N, and a set of registers 2210A-2210N. In at least one embodiment, slices 2201A-2201N may include a set of additional functional units (AFU 2212A-2212N), floating-point units (FPU 2214A-2214N), integer arithmetic logic units (ALU 2216A-2216N), address calculation units (ACU 2213A-2213N), double-precision floating-point units (DPFPU 2215A-2215N), and matrix processing units (MPU 2217A-2217N).

[0415] In at least one embodiment, the FPU 2214A-2214N can perform single-precision (32-bit) and half-precision (16-bit) floating-point operations, while the DPFPU 2215A-2215N performs double-precision (64-bit) floating-point operations. In at least one embodiment, the ALU 2216A-2216N can perform variable-precision integer operations with 8-bit, 16-bit, and 32-bit precision, and can be configured for mixed-precision operations. In at least one embodiment, the MPU 2217A-2217N can also be configured for mixed-precision matrix operations, including half-precision floating-point operations and 8-bit integer operations. In at least one embodiment, the MPU 2217A-2217N can perform various matrix operations to accelerate machine learning application frameworks, including enabling support for accelerated generalized matrix-to-matrix multiplication (GEMM). In at least one embodiment, the AFU 2212A-2212N can perform additional logical operations not supported by the floating-point or integer units, including trigonometric function operations (e.g., sine, cosine, etc.).

[0416] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details regarding inference and / or training logic 1115 are provided. In at least one embodiment, inference and / or training logic 1115 may be used in graphics core 2200 for performing inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0417] In at least one embodiment, regarding Figure 22A At least one component shown or described is used to implement and Figure 1-10 The related technologies and / or functions described. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, Figure 22A The graphics core 2200 was used to achieve the combination Figure 1-10 The described technologies and / or functions.

[0418] Figure 22B A general-purpose processing unit (GPGPU) 2230 is illustrated in at least one embodiment, which can be configured to enable highly parallel computational operations to be performed by an array of graphics processing units. In at least one embodiment, the GPGPU 2230 can be directly linked to other instances of the GPGPU 2230 to create a multi-GPU cluster to improve the training speed for deep neural networks. In at least one embodiment, the GPGPU 2230 includes a host interface 2232 for establishing a connection with a host processor. In at least one embodiment, the host interface 2232 is a PCI Express interface. In at least one embodiment, the host interface 2232 can be a vendor-specific communication interface or communication structure. In at least one embodiment, the GPGPU 2230 receives commands from the host processor and uses a global scheduler 2234 to allocate execution threads associated with those commands to a group of compute clusters 2236A-2236H. In at least one embodiment, the compute clusters 2236A-2236H share a cache memory 2238. In at least one embodiment, cache memory 2238 may be used as a higher-level cache than cache memory within computing clusters 2236A-2236H. In at least one embodiment, computing clusters 2236A-2236H include inference and / or training logic 1115, which further includes one or more circuits for training one or more neural networks, at least in part based on one or more indications of when one or more prior events occurred.

[0419] In at least one embodiment, the GPGPU 2230 includes memories 2244A-2244B coupled to computing clusters 2236A-2236H via a set of memory controllers 2242A-2242B. In at least one embodiment, memories 2244A-2244B may include various types of memory devices, including dynamic random access memory (DRAM) or graphics random access memory, such as synchronous graphics random access memory (SGRAM), which includes graphics double data rate (GDDR) memory.

[0420] In at least one embodiment, each of the computing clusters 2236A-2236H includes a set of graphics cores, such as Figure 22A The graphics core 2200 may include various types of integer and floating-point logic units that can perform computational operations over a range of precision suitable for machine learning computations. For example, in at least one embodiment, at least a subset of the floating-point units in each computing cluster 2236A-2236H may be configured to perform 16-bit or 32-bit floating-point operations, while different subsets of the floating-point units may be configured to perform 64-bit floating-point operations.

[0421] In at least one embodiment, multiple instances of GPGPU 2230 can be configured to operate as a compute cluster. In at least one embodiment, the communication used for synchronization and data exchange by compute clusters 2236A-2236H varies between embodiments. In at least one embodiment, multiple instances of GPGPU 2230 communicate via host interface 2232. In at least one embodiment, GPGPU 2230 includes an I / O hub 2239 that couples GPGPU 2230 to GPU link 2240, which provides direct connectivity to other instances of GPGPU 2230. In at least one embodiment, GPU link 2240 is coupled to a dedicated GPU-to-GPU bridge that enables communication and synchronization between multiple instances of GPGPU 2230. In at least one embodiment, GPU link 2240 is coupled to a high-speed interconnect for sending and receiving data to and from other GPGPUs or parallel processors. In at least one embodiment, multiple instances of GPGPU 2230 reside in a separate data processing system and communicate via a network device accessible via host interface 2232. In at least one embodiment, in addition to or as an alternative to host interface 2232, GPU link 2240 may also be configured to implement a connection to the host processor.

[0422] In at least one embodiment, the GPGPU 2230 can be configured to train a neural network. In at least one embodiment, the GPGPU 2230 can be used within an inference platform. In at least one embodiment, when using the GPGPU 2230 for inference, the GPGPU 2230 may include fewer compute clusters 2236A-2236H compared to when using the GPGPU 2230 to train a neural network. In at least one embodiment, the memory technology associated with the memories 2244A-2244B can differ between inference and training configurations, wherein a higher bandwidth memory technology is dedicated to the training configuration. In at least one embodiment, the inference configuration of the GPGPU 2230 can support inference-specific instructions. For example, in at least one embodiment, the inference configuration can provide support for one or more 8-bit integer dot product instructions, which can be used during the inference operation of the deployed neural network.

[0423] Inference and / or training logic 1115 is used to perform inference and / or training operations associated with one or more embodiments. This document combines... Figure 11A and / or Figure 11B Details regarding inference and / or training logic 1115 are provided. In at least one embodiment, inference and / or training logic 1115 may be used in GPGPU 2230 for performing inference or prediction operations based at least in part on weight parameters computed using neural network training operations, neural network functions and / or architectures, or neural network use cases described herein.

[0424] In at least one embodiment, regarding Figure 22B At least one component shown or described is used to implement and Figure 1-10 The related technologies and / or functions described. In at least one embodiment, the inference and / or training logic 1115 includes and / or operates regarding... Figure 1 At least one aspect described (e.g., deep learning compiler 102, tensor shape solver 110, code generator 116). In at least one embodiment, inference and / or training logic 1115 implements and / or runs about Figure 3 At least one aspect described (e.g., AOT code generation 312, dynamic kernel boot 314, shape inference 302). In at least one embodiment, the inference and / or training logic 1115 implements regarding... Figure 6 Technology 600 and / or Figure 7 The technology 700 shows and / or describes at least one aspect. In at least one embodiment, inference and / or training logic 1115 uses information to train at least one untrained or partially trained neural network, the information being used by one or more neural networks based at least in part on information about Figure 1-10One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, the inference and / or training logic 1115 uses information to perform at least one inference operation, which information is based at least in part on information about one or more neural networks. Figure 1-10 One or more dynamically configurable dimensions of one or more datasets described by one or more graphs are inferred from these datasets. In at least one embodiment, using Figure 22B The GPGPU 2230 is used to achieve the combination Figure 1-10 The described technologies and / or functions.

[0425] Figure 23 This is a block diagram illustrating a computing system 2300 according to at least one embodiment. In at least one embodiment, the computing system 2300 includes a processing subsystem 2301 having one or more processors 2302 and a system memory 2304 communicating via an interconnect path that may include a memory hub 2305. In at least one embodiment, the one or more processors 2302 include inference and / or training logic 1115, which further includes one or more circuitry for training one or more neural networks based at least in part on one or more indications of when one or more prior events occurred. In at least one embodiment, the memory hub 2305 may be a separate component within a chipset assembly or may be integrated within one or more processors 2302. In at least one embodiment, the memory hub 2305 is coupled to an I / O subsystem 2311 via a communication link 2006. In at least one embodiment, the I / O subsystem 2311 includes an I / O hub 2307 that enables the computing system 2300 to receive input from one or more input devices 2308. In at least one embodiment, the I / O hub 2307 enables a display controller to provide output to one or more display devices 2310A, which may include one or more processors 2302. In at least one embodiment, the one or more display devices 2310A coupled to the I / O hub 2307 may include local, internal, or embedded display devices.

[0426] In at least one embodiment, the processing subsystem 2301 includes one or more parallel processors 2312 coupled to the memory hub 2305 via a bus or other communication link 2313. In at least one embodiment, the communication link 2313 may use one of any number of standards based on a communication link technology or protocol (such as, but not limited to, PCI Express), or may be a vendor-specific communication interface or communication architecture. In at least one embodiment, one or more parallel processors 2312 form a computationally concentrated parallel or vector processing system, which may include a large number of processing cores and / or processing clusters, such as integrated many-core (MIC) processors. In at least one embodiment, some or all of the parallel processors 2312 form a graphics processing subsystem that can output pixels to one or more display devices 2310A coupled via an I / O hub 2307. In at least one embodiment, one or more parallel processors 2312 may also include a display controller and a display interface (not shown) for implementing direct connection to one or more display devices 2310B.

[0427] In at least one embodiment, system storage unit 2314 may be connected to I / O hub 2307 to provide a storage mechanism for computing system 2300. In at least one embodiment, I / O switch 2316 may be used to provide an interface mechanism for enabling connectivity between I / O hub 2307 and other components, such as network adapter 2318 and / or wireless network adapter 2319 integrated into the platform, and various other devices that may be added via one or more additional devices 2320. In at least one embodiment, network adapter 2318 may be an Ethernet adapter or another wired network adapter. In at least one embodiment, wireless network adapter 2319 may include one or more of Wi-Fi, Bluetooth, near field communication (NFC), or other network devices including one or more wireless devices.

[0428] In at least one embodiment, the computing system 2300 may include other components, not explicitly shown, that may also be connected to the I / O hub 2307, including USB or other port connections, optical storage drives, video capture devices, etc. In at least one embodiment, the interconnect can be implemented using any suitable protocol, such as a PCI (Peripheral Component Interconnect) based protocol (e.g., PCI-Express) or other bus or point-to-point communication interface and / or protocol (e.g., NV-Link high-speed interconnect or interconnect protocols). Figure 23 The communication paths of each component.

[0429] In at least one embodiment, one or more parallel processors 2312 include circuitry optimized for graphics and ...

Claims

1. A processor, comprising: One or more circuits are used for: One or more neural networks are used to generate event predictions, which are generated at least in part based on: - An indication of when a previous event occurred, wherein the indication includes a first publication time of a first published text and a second publication time of a second published text, the first published text including content corresponding to a first event, and the second published text including content corresponding to a second event, the second event being different from the first event; and - Calculate the distance between a first event extracted from the first published text and a second event extracted from the second published text, the distance between the first event and the second event including an article-axis distance and a time-axis distance, the article-axis distance being calculated at least in part based on whether the first event and the second event appear in different published texts, the time-axis distance being calculated at least in part based on the duration between the first publication time of the first published text from which the first event is extracted and the second publication time of the second published text from which the second event is extracted, the second event being different from the first event; and Provides output data indicating the prediction of the event.

2. The processor of claim 1, wherein the one or more circuits are configured to extract the indication of when the previous event occurred from the text data to train the one or more neural networks to reason about information about the text data.

3. The processor of claim 1, wherein the one or more neural networks are used to reason about information based at least in part on the temporal order of two of the preceding events.

4. The processor of claim 1, wherein the one or more circuits are configured to train the one or more neural networks by pre-training the one or more neural networks to perform a plurality of different time-based tasks.

5. The processor of claim 1, wherein the one or more circuits use representations of unchopped text segments to train the one or more neural networks.

6. The processor of claim 1, wherein the indication is determined at least in part based on the position of two or more of the preceding events in the release.

7. A system comprising: One or more processors are used to generate event predictions using one or more neural networks, the event predictions being generated based at least in part on: An indication of when a previous event occurred, wherein the indication includes a first publication time of a first published text and a second publication time of a second published text, the first published text including content corresponding to a first event, and the second published text including content corresponding to a second event, the second event being different from the first event; and Calculate the distance between a first event extracted from the first published text and a second event extracted from the second published text, the distance between the first event and the second event including an article-axis distance and a time-axis distance, the article-axis distance being calculated at least in part based on whether the first event and the second event appear in different published texts, the time-axis distance being calculated at least in part based on the duration between the first publication time of the first published text from which the first event is extracted and the second publication time of the second published text from which the second event is extracted, the second event being different from the first event; and Provides output data indicating the prediction of the event.

8. The system of claim 7, wherein the one or more neural networks comprise a converter-based bidirectional encoder representation of the BERT learning model.

9. The system of claim 7, wherein the indication is determined at least in part based on the positions of two or more of the preceding events in the publication.

10. The system of claim 7, wherein the one or more processors are further configured to train the one or more neural networks to infer causal relationships between events.

11. The system of claim 7, wherein training the one or more neural networks is further based at least in part on pre-training using multiple different tasks, wherein the performance of the different tasks is determined based on when one or more events occur.

12. The system of claim 7, wherein the one or more processors train the one or more neural networks to calculate the distance between the two or more events based at least in part on whether the two or more events occur in different publications.

13. A method comprising: One or more neural networks are used to generate event predictions, which are generated at least in part based on: An indication of when a previous event occurred, wherein the indication includes a first publication time of a first published text and a second publication time of a second published text, the first published text including content corresponding to a first event, and the second published text including content corresponding to a second event, the second event being different from the first event; and Calculate the distance between a first event extracted from the first published text and a second event extracted from the second published text, the distance between the first event and the second event including an article-axis distance and a time-axis distance, the article-axis distance being calculated at least in part based on whether the first event and the second event appear in different published texts, the time-axis distance being calculated at least in part based on the duration between the first publication time of the first published text from which the first event is extracted and the second publication time of the second published text from which the second event is extracted, the second event being different from the first event; and Provides output data indicating the prediction of the event.

14. The method of claim 13, wherein the date of occurrence of at least one of the previous events is masked using the one or more neural networks.

15. The method of claim 13, further comprising: Train one or more neural networks to reason about causal relationships between events and entities.

16. The method of claim 13, further comprising: The one or more neural networks are trained to calculate the distance between previous events, at least in part, based on the position of one or more of the previous events in the publication.

17. The method of claim 13, wherein training the one or more neural networks is further based at least in part on the task of finding expressions involving entities in text data.

18. The method of claim 13, wherein the training of the one or more neural networks is further based at least in part on the dwell time of one or more question-document pairs from the logs.

19. The method of claim 13, wherein the training of the one or more neural networks is further based at least in part on the problem of rewriting chapter-question pairs.

20. A machine-readable medium having an instruction set stored thereon, the instruction set, if executed by one or more processors, causing the one or more processors to at least: One or more neural networks are made to generate event predictions, which are generated at least in part based on: Indication of when the previous event occurred, wherein, The indication includes a first publication time of a first published text and a second publication time of a second published text. The first published text includes content corresponding to a first event, and the second published text includes content corresponding to a second event, which is different from the first event. as well as Calculate the distance between a first event extracted from the first published text and a second event extracted from the second published text. The distance between the first event and the second event includes an article axis distance and a time axis distance. The article axis distance is calculated at least in part based on whether the first event and the second event appear in different published texts. The time axis distance is calculated at least in part based on the duration between the first publication time of the first published text from which the first event is extracted and the second publication time of the second published text from which the second event is extracted, wherein the second event is different from the first event. as well as Provides output data indicating the prediction of the event.

21. The machine-readable medium of claim 20, wherein the one or more neural networks are further trained at least in part by masking entities.

22. The machine-readable medium of claim 20, wherein the one or more neural networks are further trained at least in part based on masked uppercase phrases.

23. The machine-readable medium of claim 20, wherein the instruction set further comprises instructions that, if executed by the one or more processors, cause the one or more processors to: Train one or more neural networks to infer causal relationships between entities and events.

24. The machine-readable medium of claim 20, wherein the instruction set further comprises instructions that, if executed by the one or more processors, cause the one or more processors to: The distances between the at least two prior events are calculated, at least in part, based on the time length between the occurrence of at least two prior events.

25. The machine-readable medium of claim 20, wherein a first timestamp of the metadata associated with the first published text indicates a first publication time of the first published text, and a second timestamp of the metadata associated with the second published text indicates a second publication time of the second published text.

26. The machine-readable medium of claim 20, wherein the instruction set further comprises instructions that, if executed by the one or more processors, cause the one or more processors to: The market movement prediction task is used to train one or more neural networks.

27. The machine-readable medium of claim 20, wherein the instruction set further comprises instructions that, if executed by the one or more processors, cause the one or more processors to: Train one or more neural networks to predict stock prices.

Citation Information

Patent Citations

  • An intelligent stock prediction method based on a news text

    CN108985941A