Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

310 results about "Context learning" patented technology

Learning context is defined as the situation in which something is learned or understood, a situation that can impact how something is learned or what is taught. When you take advice from a friend but would not take the exact same advice if given by your mother, this is an example of a situation in which the learning context matters greatly.

Power distribution network fault processing equipment

The invention relates to power distribution network fault processing equipment applied to the technical field of power distribution, and aims to improve the fault prediction, diagnosis and processing capabilities of a power system. The equipment comprises a pre-training module, a neural network architecture module, a data acquisition layer, an edge calculation layer, a core processing layer, a context learning module, a reasoning processing module, an output and interaction layer and a continuous learning and improvement layer, and is characterized in that a large-scale pre-trained Transform model is utilized, and professional knowledge of a power system is combined; according to the method, deep understanding and analysis of a complex power grid state are realized, through multi-source data fusion, edge calculation and central cooperative processing, the equipment can monitor the power grid state in real time, accurately predict potential faults and provide intelligent diagnosis and repair suggestions, and model pre-training and optimization are performed by adopting self-supervised learning and federated learning technologies; using reinforcement learning to optimize a fault response strategy; the interpretability of the model is realized, and the decision transparency is improved.
Owner:STATE GRID SHANDONG ELECTRIC POWER CO PINGYI COUNTY POWER SUPPLY CO

In-context learning in large language models for computing data

According to examples, an apparatus may include a processor and a non-transitory computer-readable medium on which is stored machine readable instructions that may cause the processor to receive a prompt for a large language model (LLM). The received prompt may include a query to perform a task on computing data through in-context learning in the LLM. The LLM may be fine-tuned on the computing data. In response to the received prompt, the processor may cause the LLM to learn the task via the in-context learning in the LLM. The processor may cause the LLM to output a completion in response to the query for the task. The completion may be generated by performing the learned task on the computing data in the LLM.
Owner:MICRO FOCUS LLC

Civil administration service question and answer method based on large model and knowledge graph retrieval enhancement

The invention discloses a civil administration service question and answer method based on a large model and knowledge graph retrieval enhancement, and the method comprises the steps: S10, inputting a user question, and carrying out the question analysis and entity recognition; s20, the problem complexity is judged, if the problem is a single-hop problem, knowledge graph single-hop retrieval is carried out, and if the problem is a multi-hop problem, knowledge graph multi-hop retrieval is carried out; s30, performing semantic matching sorting to generate sub-answers; and S40, based on the sub-answers and the user question, performing synthesis to generate a final answer. According to the method, the structured knowledge of the knowledge graph and the natural language processing capability of the large language model are fused; a question decomposition module is used to enhance the interpretability of multi-hop information retrieval and answers; and using contextual learning (ICL) and thinking chain (CoT) prompts to generate an individually processed explicit inference chain to improve authenticity; the defects of traditional civil administration service questions and answers in the aspects of knowledge accuracy, reasoning ability and interpretability are overcome.
Owner:SHIJIAZHUANG TIEDAO UNIV

Enhancing large language models using in-context learning and online knowledge

One or more systems, devices, computer program products and / or computer-implemented methods of use provided herein relate to enhancing LLMs using in-context learning and online knowledge. The computer-implemented system can comprise a memory that can store computer executable components. The computer-implemented system can further comprise a processor that can execute the computer executable components stored in the memory, wherein the computer executable components can comprise a semantic retrieval component that can extract information from an online source, according to a query, to generate an in-context learning input utilized by an LLM for responding to the query.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Context learning-based database query generation method and system and storage medium

The invention discloses a context learning-based database query generation method and system and a storage medium, and the method comprises the steps: extracting keywords and phrases from a natural language query, retrieving values similar to the keywords in a database, and returning values most related to the keywords and corresponding columns thereof, retrieving description information related to the keywords and the phrases in a database directory; performing mode selection aiming at the most relevant value of each keyword and the corresponding column, namely screening out the column irrelevant to the natural language query, further selecting a table necessary for generating the SQL query, and finally reducing the mode to a minimum column set necessary for generating the SQL query; and correcting logic and grammar errors of the method model through the database mode, the natural language query, the generated candidate SQL query and the execution result thereof. According to the method, the efficient SQL query statement is generated by intelligently understanding the data context and the query requirement.
Owner:GUANGDONG POWER GRID CO LTD +1

Causal atlas formation model construction method based on adaptive context learning

PendingCN119293212AAutomatic and efficient extractionBuild automatically and efficientlySemantic analysisKnowledge representationLinguistic modelEvent graph
The invention belongs to the field of natural language processing, and particularly relates to a causal atlas formation model construction method based on adaptive context learning, a causal atlas formation model comprises a searcher and a large language model, and the construction method is divided into two stages of searcher pre-training and adaptive context learning fine tuning. A sample retriever based on self-supervised learning is constructed by utilizing contrast learning loss, and text vector representation is optimized; besides, cue words containing sample examples are designed, a self-adaptive context learning strategy is combined, and the large language model is finely adjusted, so that the large language model captures event causal relationship modes in similar samples, and the accuracy of implicit event causal relationship extraction is improved. According to the method, the affair logic knowledge in the text can be fully mined, and the extraction accuracy of the implicit causal event relationship is improved, so that a high-quality causal affair graph can be automatically and efficiently constructed, and the development of downstream tasks such as causal knowledge question answering and reasoning is promoted.
Owner:HUAZHONG UNIV OF SCI & TECH

Methods and systems for enhancing multimodal capabilities in large language models

Systems and methods are provided for enhancing the speech modality in a large language model (LLM) and for retaining in-context learning capabilities without overfitting to trained tasks. Systems obtain a first set of training data comprising tuples of a sample of speech combined with synthetically generated pairings of speech comprehension test questions and answers that correspond to the sample of speech and obtain a second set of training data comprising pairings of automatic speech recognition data. Systems generate and align a first set of encodings of the first set of training data and a second set of encodings of the second set of training data. Systems train the LLM on a greater amount of the first set of training data than the second set of training data and use the trained LLM to perform a natural language processing task.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Multi-modal large language model-based sports video commentary generation method and system

The invention discloses a sports video commentary generation method and system based on a multi-modal large language model, and the method comprises the steps: obtaining a multi-modal data set which comprises a sports video, and an audio and a commentary text corresponding to the sports video; constructing a multi-modal large language model, encoding the sports video, the audio and the explanation text so as to project corresponding video frames, audio waveforms and metadata to a shared embedding space, and determining a multi-modal embedding vector; a multi-modal clustering memory unit is set, multi-modal embedded vectors are grouped, and feature alignment between modals is optimized through comparative learning and information entropy regularization; based on a retrieval enhanced context learning mechanism, a historical instance is retrieved through sparse regularization distance measurement to serve as reference input of a current input multi-mode embedded vector; and jointly inputting the current multi-modal embedded vector and the reference input into the multi-modal large language model to obtain a sports video commentary. According to the method and the device, the problems of insufficient multi-modal information integration and insufficient context utilization are solved.
Owner:BEIJING QIJI TECHNOLOGY CO LTD

SQL (Structured Query Language) statement generation method and system based on long and short term memory of large language model

The invention provides an SQL statement generation method and system based on long and short term memory of a large language model, and relates to the field of man-machine interaction, the SQL statement generation method comprises the following steps: obtaining a preset large language model, and extracting mode design information of a target database of the large language model through a database administrator; analyzing and complementing the pattern design information, and generating long-term memory to introduce a large language model; extracting query elements through multiple rounds of conversations between a user and the model, and generating short-term memory to introduce a large language model; and obtaining an SQL generation task, and generating an SQL statement according to the large language model after the long-term memory and the short-term memory are introduced, so as to extract information from the target database. According to the method, the long and short term memory ability is introduced into the large language model, the flexible interaction ability of the large language model is fully utilized on the basis of a prompt word project of context learning, the user is gradually prompted and recommended to improve the query request, and the accuracy and availability of the generated SQL can be improved.
Owner:TOGEEK

End-cloud collaboration-based large model ecological online evolution learning method and application

The invention provides a large model ecological online evolution learning method based on end-cloud collaboration and an application thereof, and the method is applied to the field of e-commerce, so that efficient training and deployment of an e-commerce model are realized. According to the method, an end-cloud collaborative architecture is adopted, a cloud end deploys a large language model, an end side uses a small and medium-sized language model, and efficient training and reasoning of large model ecology are realized through collaborative work of the cloud end and the end side. In the training process, the cloud model serves as a teacher model, a pseudo tag is generated to supplement a data set, and optimization training of the end side model is guided. Meanwhile, a multi-model cooperation self-training mechanism is introduced, multiple models play different roles and mutually discuss, training labels are autonomously generated, and the end side model is further optimized. And meanwhile, user feedback information is brought into cue words of the cloud model for situational learning, so that the model performance is continuously optimized. The method is applied to an e-commerce scene, the e-commerce model ecology is successfully constructed and deployed, and intelligent development of the field is realized.
Owner:FUDAN UNIVERSITY

Text prediction model training method and device, and text prediction method and device

PCT designated stage expiredWO2024228666A1Semantic analysisMachine learningReduced modelAlgorithm
Disclosed in the embodiments of the present disclosure are a text prediction model training method and device, and a text prediction method and device. According to the present disclosure, a training sample set is used for training a large language model (LLM) to obtain a text prediction model. In this mode, labeled samples are substantively used for training the LLM, and in the updating process of a second key matrix and a second value matrix, a second key matrix and a second value matrix obtained by means of a previous round of iteration and a first key matrix and a first value matrix generated by a current input feature matrix are used, so that historical information and information of a current input text are both kept, and the LLM can fully understand and learn the labeled samples, thereby improving an LLM-based text prediction effect in an in-context learning scenario. In addition, the mode of forward optimizing a model greatly reduces model parameters needing to be updated, reduces costs of model training, and improves the efficiency.
Owner:ALIBABA INNOVATION PRIVATE LIMITED

System and Method of Programmer-Interpreter Approach for Large Language Model Post-Editing

A system and method of programmer-interpreter approach for large language model post-editing is described. A method includes receiving, by a generator in a text generation system, an input, translating, by the generator, the input into an initial output text using at least a set of examples retrieved by a function in the generator when performing in-context learning, iteratively refining, by a programmer and an interpreter in the text generation system, the initial output text or intermediate output text, wherein the programmer encodes domain task-specific knowledge and the interpreter facilitates domain generalization, iteratively improving a quality of the initial output text or the intermediate output text in low-resource cross-domain text generation tasks by exploiting encoding of domain task-specific knowledge by the interpreter and facilitation of domain generalization by the interpreter, and outputting, by the text generation system, output text based on the initial output text and the intermediate output text.
Owner:OPENSTREAM INC

Power equipment data intelligent interaction method, system, equipment and medium

A power equipment data intelligent interaction method, system, device and medium, comprising: retrieving database table information based on query information input by a user to obtain database table information; performing power equipment knowledge base retrieval based on the query information to obtain business knowledge calculation logic and a context learning example; creating prompts based on database table information, business knowledge calculation logic and context learning examples, and inputting the prompts into the large model to generate database statements; running the database statement and judging whether the statement succeeds or not, and if yes, outputting a query result; otherwise, error correction is carried out, and corrected database statements are obtained and run again; according to database table information retrieval, extraction of table field links, table main and foreign keys and table association relationships can be carried out on user query, the accuracy and performance of model generation database languages are improved, the data query threshold is lowered, and the data utilization efficiency is improved; the power equipment knowledge base can realize flexibility and expandability of business knowledge injection.
Owner:GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +3

Complex multi-field guided teaching question and answer generation method and device and storage medium

The invention relates to the technical field of large language models, in particular to a complex multi-field guided teaching question and answer generation method, device and equipment and a computer storage medium. According to the complex multi-field guided teaching question and answer generation method, aiming at the problem that the model is single in application field, the corresponding multi-round question and answer pair data set is processed by using a multi-field data source, and the model is finely adjusted based on the multi-round question and answer pair data set, so that the problem that the related field is single is solved, and the applicability and practicability of the teaching question and answer model are enhanced; aiming at the problem that the model lacks guiding ability, the input of the teaching question and answer model is further processed through thinking chain-based question extraction and disassembly and prompt engineering and context learning mechanism-based processing, so that the model question guiding ability is improved; in order to solve the problem that teaching effect evaluation indexes are single, the invention provides a new evaluation system, and a plurality of evaluation indexes can more comprehensively and accurately evaluate and optimize model teaching effects.
Owner:BEIJING UNIV OF POSTS & TELECOMM

Contrastive in-context learning for large language models

A contrastive in-context learning protocol for large language models. The protocol includes inputting positive and negative examples to a large language model. Additionally, the large language model may be instructed to analyze the reasons behind the positive examples being positive and the negative examples being negative. The large language model with such contrastive in-context learning can generate specific responses / answers based on user preferences, generally not possible using conventional models.
Owner:INTUIT INC

Uncertainty decomposition for in-context learning of large language models

Methods and systems for prompting a Large Language Model (LLM) with a set of text data outside pre-inference trained categories and a test prompt for an initial parameter which has a known ground truth, calculating an uncertainty of an LLM's output, selecting another LLM model parameter and calculating the total uncertainty of the LLM's output with the other LLM model parameter. The methods and systems further include prompting the LLM with another test prompt, with the initial LLM parameter and the other LLM parameter, and calculating the total uncertainty of the LLM's output for initial LLM model parameter and the other LLM model parameter, decomposing the total uncertainty of the LLM into Aleatoric Uncertainty (AU) and Epistemic Uncertainty (EU) components, and rating the total uncertainty of the LLM, using the decomposed total uncertainty as a metric.
Owner:NEC LABORATORIES AMERICA INC

Recommendation system deviation correction method fusing big language model world knowledge

The invention discloses a recommendation system deviation correction method fusing big language model world knowledge, which comprises the following steps: acquiring an open source data set of a recommendation system, and generating a training set; guiding a large language model to generate description information of an article and preference reasoning of a user through a training set in combination with a context learning technology; encoding the description information of the article and the preference reasoning of the user through a pre-trained text encoder to generate a first encoding vector, and encoding the IDs of the user and the article to generate a second encoding vector; inputting the first coding vector and the second coding vector into a multi-mode expert network module to obtain final representations of the user and the article; inputting the final representations of the user and the article into a prediction layer to obtain a prediction value, and optimizing a multi-modal expert network module through a cross entropy loss function; and performing recommendation system correction through the optimized multi-mode expert network module. The inherent deviation in the user behavior data is eliminated, the real preference of the user is captured, and recommendation system deviation correction is completed.
Owner:BEIJING UNIV OF POSTS & TELECOMM

Fusing in-context learning and fine-tuning for language model neural networks

PendingUS20250077895A1Neural learning methodsLinguistic modelConfiguration language
Methods, systems, and apparatuses, including computer programs encoded on computer storage media, for configuring a set of language model neural networks, e.g., a first large language model and a second smaller-sized language model, and performing a machine learning task on new inputs using the set of language model neural networks. Configuring the language model neural networks and performing a machine learning task can include leveraging the ability of a first large language model to follow prompt-engineered instructions and perform chain-of-thought reasoning, while also fine-tuning a second, smaller language model neural network to optimize the machine learning task performance.
Owner:GOOGLE LLC

Software testing method and system based on large model

The invention discloses a software testing method and system based on a large model, and relates to the technical field of software testing, and the method comprises the following steps: step 1: describing a code review rule, and expanding specifications required to be checked: firstly, listing the check specifications required to be satisfied by a code, and according to a thinking chain and a zero- / feed-shot example, establishing a list of the check specifications required to be satisfied by the code; the check rules in the list are described as reasoning instructions of the model according to the check key points and the check steps through combination of one or more technologies of context learning; 2, code slicing: performing structure analysis and dependency analysis on the tested software project: firstly, slicing the code according to a function by utilizing a code analysis tool; according to the software testing method and system based on the large model, convenient project management, user-defined configuration and high-automation-degree test execution can be implemented on a software evaluation task, and the evaluation efficiency is effectively improved.
Owner:BEIJING XUANYU INFORMATION TECH CO LTD

Contextual query generation

Contextual query generation techniques are described that enable generation of a contextual query for output to a question-answering (QA) model. A content processing system, for instance, configures a language model using in-context learning to generate queries based on semantic contexts of input documents, e.g., based on one or more linguistic cues from text of the input documents. The content processing system receives an input that includes a document having text and a reference query. The content processing system leverages the language model to generate a contextual query based on a semantic context of the text of the document and the reference query. The content processing system then outputs the contextual query and the document to a QA model. Using the QA model, the content processing system generates a response as an answer to the contextual query based on the contextual query and the document.
Owner:ADOBE INC

Nearest neighbor retrieval and fine-tuning for in-context learning model

An example operation may include one or more of storing a table comprising a plurality of columns corresponding to a plurality of attributes and a plurality of rows corresponding to a plurality of records, receiving a target record of a task of an artificial intelligence (AI) model, converting the plurality of records into a plurality of embeddings in multi-dimensional vector space, converting the target record into a target embedding in the multi-dimensional vector space, identifying a subset of records from among the plurality of records that are nearest to the target record in content based on distances between embeddings of the subset of records and the target embedding within the multi-dimensional vector space, and executing the AI model on the subset of records to generate a predicted output with respect to the task.
Owner:THE TORONTO DOMINION BANK

Image annotation method for spacecraft target type and attribute classification

The invention discloses an image annotation method, system and device for spacecraft target type and attribute classification and a medium, and belongs to the technical field of image recognition. The method comprises the following steps: constructing a multi-dimensional attribute model based on key elements of a spacecraft image; based on the multi-dimensional attribute model, constructing a reference prompt template, obtaining a preliminary output result through the reference prompt template, and carrying out optimization processing on the reference prompt template and the preliminary output result by adopting few-sample learning to obtain a first output result; performing output supervision on the thinking process of the first output result in combination with the thinking chain, and obtaining a second output result through an optimization prompt template; and according to the first output result, the second output result and the plurality of output results, generating an output result data set, and obtaining an image annotation result. According to the method, through a semi-supervised labeling method combining multi-attribute modeling and context learning, the accuracy and robustness of fine-grained labeling of the spacecraft image in a few-sample scene are improved by utilizing a generative large model.
Owner:NORTHWESTERN POLYTECHNICAL UNIV

Secure remote administration with real-time anomaly detection via ai

A method for reducing the risk of unexpected or unintended actions during a Remote Desktop Protocol (RDP) or SSH (Secure Shell) session by automatically detecting anomalies using vaulted credentials. The method includes initiating a RDP / SSH session on a server and taking screenshots of the session. The screenshots are sent to a system that uses a computer vision algorithm to transcribe the screen information into a text-based transcription of the session. The text-based transcription of the session recording is then provided to a pre-trained LLM which is prompted to look for anomalies using in-context learning. The detected anomalies are presented to a system administrator or sent as alerts to the system administrator.
Owner:DELINEA INC

Prompt strategy activation-based multi-language large model translation performance optimization method and system

The invention relates to a multi-language large model translation performance optimization method and system based on prompt strategy activation, and belongs to the field of natural language processing. In a low-resource language environment, the translation performance of a multi-language large model still has insufficiency. The understanding ability of a large model on low-resource language input semantics is limited, so that part of potential translation ability of the large model is not fully activated, in order to relieve the influence, prompts are screened from a high-quality corpus based on four prompt strategies, a context learning template is constructed to serve as large model user input, and therefore the user input of the large model is improved. Task guidance serves as system input, and finally performance optimization of a large model in a low-resource language translation task is achieved by dynamically adjusting a prompt strategy and model parameters. According to the method, the potential translation ability of a large model can be effectively activated, and the translation quality of the large model in a low-resource language environment is remarkably improved.
Owner:KUNMING UNIV OF SCI & TECH

Natural scene object detection method and system, and equipment storage medium

The invention discloses a natural scene object detection method and system, and a device storage medium, which are a visual language large model fine tuning training scheme used for object detection tasks in a natural scene, and utilize a context learning strategy and a fine tuning technology to ensure the accuracy of natural scene text detection and improve the detection efficiency. Higher training speed and less server resource consumption are shown; a visual feature and text feature interlacing technology is provided, a context learning strategy is combined, a language large model fully understands text information and visual information, effective interaction is carried out, the relation between texts and objects described in images is fully learned according to questions up and down and the model, and a more accurate prediction result is obtained; in addition, a supervised training mode is adopted for training, visual information and text information are effectively combined, and the accuracy of model prediction is improved.
Owner:UNIV OF SCI & TECH OF CHINA

Large language model dynamic routing method and device based on context learning model representation, and readable storage medium

The invention relates to a large language model dynamic routing method and device based on context learning model characterization and a readable storage medium. Query is embedded and mapped to a language model input space by using a projection model, semantic alignment is realized, a representative evaluation set covering multi-dimensional capability is automatically screened from a benchmark question bank, and the representative evaluation set is used for evaluating the multi-dimensional capability. Performance characteristics of the model on an evaluation set are efficiently obtained at a time, and high-quality context model capability representation is formed; then real-time query embedding and context model capability representation are combined, a lightweight routing language model is used for supervised learning, so that the fine-grained model distinguishing capability is achieved, an increment embedding updating mechanism is designed, and when a new model is accessed or an old model is upgraded, cold start can be rapidly completed only through a very small number of fixed questions, so that the efficiency is improved. The calculation and maintenance cost is greatly reduced, and the accuracy, real-time performance and flexible expansibility of model routing are effectively improved.
Owner:SHANGHAI ARTIFICIAL INTELLIGENCE INNOVATION CENT

Ultrasonic image few-sample target detection method and system based on Mangbar model

The invention discloses an ultrasonic image few-sample target detection method and system based on a Mangbar model, and the method comprises the following steps: extracting the image features of an ultrasonic image, and generating a suggestion box; performing position coding on the picture features, obtaining new picture features by using a global information enhancement module, and generating suggestion box features in combination with the generated suggestion box; obtaining new suggestion box features by using a category relationship learning module; generating a suggestion box classification score and a coordinate prediction value; parameter updating is carried out, and if the training round reaches the maximum number of iterations, the process is ended; otherwise, repeating the steps. A Mamba model is used for obtaining global information, and the Mamba model shows deeper semantic understanding and performance enhancement potential in context learning by means of the capabilities of context modeling and long-range dependency relationship capturing.
Owner:YUNNAN UNIV

Test question recommendation method based on large language model adaptive multi-level evaluation

A test question recommendation method based on large language model adaptive multi-level evaluation constructs a multi-level architecture including semantic consistency verification, fine-grained fact alignment and dynamic cognitive evaluation, and comprises the following steps: constructing an initialized data stream and executing dynamic random sampling; calculating discrete semantic entropy by using NLI bidirectional implication clustering so as to quantify and eliminate illusion content with high uncertainty; under the RAG framework, the test questions are deconstructed into atomic statements, and a fact deviation is corrected by calculating a retrieval relevance vector and a logical implication consistency score; analyzing and screening low-quality texts based on multidimensional language features of syntax and logic; vector fusion is carried out on the generated intention and the cognitive portrait of the student, and a dynamic evaluation index system adaptive to a specific teaching scene is constructed in real time by utilizing context learning. The problems of accuracy and adaptability of automatic question setting are effectively solved, and intelligent closed-loop control from test question generation to cognitive alignment is realized.
Owner:ZHEJIANG UNIV OF TECH