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

14795results about "Code compilation" patented technology

Semantic Interpreter for Natural Language Commanding in Applications Via Program Synthesis

A data processing system implements receiving a natural language query from a client device, the query including a textual description of one or more actions to be performed using an application on the client device, generating a prompt for a large language model (LLM) based on the natural language query; providing the prompt to the LLM to obtain program code, which when executed, causes the application to perform the one or more actions, the first program code being implemented in a domain specific language (DSL) designed to facilitate program synthesis via the LLM; analyzing a syntax of the first program code to identify syntax errors in the first program code; correcting the syntax errors in the program code to generate corrected program code; and causing the client device to execute the program code to perform the one or more actions in the application on the client device.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Dynamic input-sensitive validation of machine learning model outputs and methods and systems of the same

The systems and methods disclosed herein enable evaluation of machine learning model outputs within a virtual environment. The disclosed model validation platform enables testing of code generated for detection of malicious or anomalous outputs. For example, the model validation platform can construct a virtual machine isolated from the system and test model-generated code for validation of LLM-generated outputs. In some implementations, the model validation platform determines parameters of the virtual machine and / or associated validation test based on an evaluation of the machine learning model's output and / or the associated underlying prompt. For example, the parameters of the validation test depend on an evaluation of the user or the provided input (e.g., depending on the presence of sensitive data within the prompt). By doing so, the system enables dynamic evaluation of machine learning model outputs to improve the security and robustness of associated generated code.
Owner:CITIBANK N A

Software library usage optimization

An example operation may include one or more of training a generative artificial intelligence (GenAI) model based on execution of the GenAI model on software libraries and descriptions of intent of the software libraries, receiving a first set of software libraries and a second set of software libraries, identifying a first software library within the first set of software libraries that includes redundant functionality with a second software library within the second set of software libraries based on execution of a generative artificial intelligence (GenAI) model on the first and second sets of libraries, and displaying an identifier of the first and second software libraries via a user interface.
Owner:THE TORONTO DOMINION BANK

Cross-chip platform compiling tool chain method

The embodiment of the invention provides a cross-chip platform compiling tool chain method which comprises the following steps: scanning a target platform architecture specification file to extract instruction set features, constructing a platform difference matrix based on the instruction set features to record instruction formats and system call differences of different chip platforms, and normalizing a multi-language syntax tree into a unified intermediate representation; constructing a cross-platform compiler to convert the intermediate representation into a target code; designing a unified intermediate language based on a platform difference matrix to support multi-language compilation; creating an instruction mapper to convert the intermediate representation into a target platform instruction; identifying a target architecture type through a platform identification code; designing a test case to verify a compiling result, and deploying the optimized target program to a target platform; according to the method and the device, the expandability and the code quality of the compiling tool chain can be improved by constructing the unified intermediate presentation layer and the optimization framework, and more efficient cross-platform support is realized.
Owner:UNIVERSAL UBIQUITOUS TECH CO LTD

Unit test case generation system based on large language model

The invention provides a unit test case generation system based on a large language model, and the system comprises a function dependency analysis engine module which is used for preprocessing a target project, extracting a function dependency relationship, and generating an abstract syntax tree and a source code file; the large model module is used for automatically generating a test case through the code context information and the optimized cue word; and the verification and optimization module is used for verifying whether the test cases can be successfully executed or not by compiling and running the test cases, marking part of the test cases needing to be further processed, automatically analyzing error reasons, optimizing cue words and realizing automatic repair of the part of the test cases. According to the unit test case generation system based on the large language model, the function dependency analysis and the large language model are combined, the high-quality test case can be automatically generated, dependence on manpower or existing test cases is not needed, manual intervention is reduced, and the test efficiency and comprehensiveness are improved.
Owner:SHANGHAI ANBAN INFORMATION TECH CO LTD

Code review and optimization method driven by large language model

The invention provides a large language model-driven code review and optimization method, which belongs to the field of computer science, and comprises the following steps of: firstly, performing intensive training on a model through rich code samples and accurate manual annotation to ensure that the model has accurate code understanding and analysis capability; and then, performing deep analysis on an input source code by utilizing the trained large language model, and constructing an abstract syntax tree (AST) to capture deep semantic information of the code. And finally, the model automatically analyzes the codes, identifies potential defects, non-standard coding practices and optimization possibilities, and generates specific optimization suggestions, including code repair schemes and guidance following optimal practices, according to identification results, so that efficient support is provided for developers, and the quality of software products is ensured.
Owner:INSPUR QILU SOFTWARE IND

Converting quasi-affine expressions to matrix operations

A computer-implemented method includes generating, based on a representation of a tensor mapping between an input tensor and an output tensor, a list of mappings from elements of the input tensor to elements of the output tensor, and generating groups of mappings from the list of mappings, where each of the groups of mappings corresponds to a respective set of matrix multiplications, a matrix transpose, or both. The computer-implemented method also includes generating a respective expression for each of the groups of mappings and generating code for summing results of the respective expressions, where each respective expression includes the respective set of matrix multiplications, the matrix transpose, or both.
Owner:AMAZON TECH INC

Generating new software code from legacy software code using large language models

Computer-implemented systems and methods use a Large Language Model (LLM) for converting a legacy computer program in a first language to a human-language description of the legacy computer program, which description can be validated as being an accurate description of the legacy computer program. Once validated, the human-language description can be converted, again using an LLM, to a computer program in a target programming language. An LLM can also be used to generate test scripts for the new target-language program to test the performance of the target-language program in a production environment. An LLM can also be used to reconcile outputs from the legacy program to the new target program, such as on a function-by-function basis. If the differences between the outputs (if any) are sufficiently negligible, the legacy computer program can be decommissioned, and the new, target language program can be used in production.
Owner:MORGAN STANLEY SERVICES GROUP INC

Systems and methods for generating artificial intelligence models and / or rule engines without requiring training data that is specific to model components and objectives

Systems and methods for generating code for artificial intelligence models without requiring training data that is specific to model components and objectives. For example, the system may receive an original version of a rule engine. The system may input the original version, using a first input condition, into a regeneration model to generate a first regenerated version of the rule engine. The system may determine whether the first regenerated version includes a first hallucination based on comparing the first regenerated version to alternative versions of the rule engine, wherein each of the alternative versions were generated using a respective alternative input condition. The system may, in response to determining that the first regenerated version includes the first hallucination, determining whether the first hallucination comprises a positive mutation.
Owner:CITIBANK N A

Development environment integrated with a large language model

A system allows generation of information used by an integrated development environment using a machine learning-based language model, for example, a large language model. The integrated development environment is for developing applications, e.g., database applications. The system receives a natural language request for information related to development of the database application. The system determines contextual information describing a development task associated with the database application and generates a prompt for a machine learning based language model based on the natural language request and the contextual information and receives a response. The system extracts the information related to development of the database application from the response. In response to a natural request, the system may generate a database query, provide a resultset by executing the database query, automatically determine a type of chart and generate one or more charts for visually displaying the result.
Owner:COUCHBASE INC

Assessing SBOM accuracy and completeness

Methods and systems for assessing a software bill of materials (SBOM) include building a knowledge graph from repositories, using function fingerprints of software packages in the repositories. Dependencies of an application are identified using function fingerprints of the application and comparing to function fingerprints of the software packages. A quality score for an SBOM of the application is generated based on a comparison of the identified dependencies to claimed dependencies of the SBOM. An action is performed responsive to the quality score.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Dependency based application deployment

Methods, computer program products, and systems are presented. The method computer program products, and systems can include, for instance: examining image layers of a container image and generating, in dependence on the examining, layer dependency relationship data that specifies layer dependency relationships of the container image; storing in a container repository the layer dependency relationship data that specifies layer dependency relationships of the container image; in response to receipt of a download request that specifies a targeted layer of the container image, analyzing relationship data of the layer dependency relationship data; in dependence on the analyzing, identifying a subset of image layers of the container image preceding the targeted layer; and establishing a deployment container image in dependence on the identified subset of image layers.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Adaptive code annotation updating method and system, terminal and storage medium

The invention relates to the technical field of software development, and particularly provides a self-adaptive code annotation updating method and system, a terminal and a storage medium, and the method comprises the following steps: confirming that codes are updated, extracting an updated code set, and combining and constructing an abstract syntax tree for the codes; performing semantic analysis on the abstract syntax tree by using a deep learning model to generate a semantic vector, and constructing a program dependency graph based on the semantic vector; analyzing a dependency relationship among code elements in the program dependency graph by utilizing a graph neural network; and generating a code annotation based on the semantic vector and the dependency relationship between the code elements by using a natural language generation model. According to the method, the real-time performance and the accuracy of the code document are ensured, the readability and the maintainability of the code are greatly improved, and the maintenance cost is reduced.
Owner:浪潮智慧科技有限公司 +1

Visual intelligent programming method based on large language model

The invention discloses a visual intelligent programming method based on a large language model, and relates to the technical field of intelligent programming. During system operation, natural language description input by a user and related context information are collected through a user visual interface, and key parameters in the generation process are recorded at the same time; the method comprises the following steps: preprocessing a natural language description input by a user, carrying out semantic analysis on the input by the user by utilizing a large language model to extract key information and generate a preliminary code framework, calculating a comprehensive evaluation index Etotal, comparing the comprehensive evaluation index Etotal with a preset threshold A to obtain an evaluation scheme, the generated code and the evaluation scheme are presented to a user in a visual form, a feedback interface is provided, the user is allowed to score and comment the generated code and the evaluation scheme, the user can point out the advantages and disadvantages of the code and improvement suggestions, and iterative optimization is performed according to the feedback of the user and the quality of the generated code.
Owner:深圳科盾量子信息科技有限公司

Automated error troubleshooting via generative AI software development assistant

Techniques for leveraging a large language model (LLM) in software development are described. A description of an error message associated with a software system hosted by the multi-tenant provider network is received. An LLM is prompted with an analysis prompt to generate an analysis of the error message, the analysis prompt including the description of the error message, and the analysis of the error message is received from the LLM. The LLM is prompted with a suggested resolution prompt to generate a suggested resolution to a cause of the error message, the suggested resolution prompt including the description of the error message and the analysis of the error message, and the suggested resolution is received from the LLM. A change to resolve the cause of the error message is sent to an originator of the received description, the change based at least in part on the suggested resolution.
Owner:AMAZON TECH INC

Low-code rule engine method and platform supporting dynamic service adjustment

The invention provides a low-code rule engine method and platform supporting dynamic service adjustment, and relates to the technical field of data processing.The method comprises the steps that original rule data are obtained, and the original rule data are subjected to structured conversion and unified format specification; generating a visual rule component, presenting rule logic through a graphical interface, supporting business personnel to edit and modify without coding, and converting a modification result into component rule data; performing real-time analysis and verification on the component rule data to obtain operation rule data; performing version identification on the operation rule data, and storing the operation rule data in a rule warehouse; based on the current service context, matching an applicable version, automatically selecting the operation rule data, and loading the operation rule data to a rule execution engine for execution; the autonomy and accuracy of the low-code rule engine are improved.
Owner:HANGZHOU MAITA INFORMATION TECHNOLOGY CO LTD

Multi-variable optimization for routing requests to language models

Systems, methods, and devices that relate to routing requests to large language models (LLMs) are disclosed. In one example aspect, the system receives session-specific data elements in response to a request to generate an output using LLMs. The system determines a hierarchy of operational constraints including privacy protocols and performance requirements. Weights for a multi-variable optimization are dynamically updated using the session-specific data elements. The system executes the multi-variable optimization across candidate LLMs that satisfy privacy constraints and optimize performance constraints. Based on the optimization, at least one candidate LLM is selected and the request is routed to it. In response to performance feedback, the system automatically selects a different LLM to improve one constraint, resulting in degradation of another constraint.
Owner:CITIBANK N A

Preprocessing code using large language models for performance portability

ActiveUS20250094145A1Code compilation
A computer-implemented, machine learning method for preprocessing code for performance portability includes extracting performance critical code segments from an application and obtaining input data. Ground truth data is generated based on the input data and the application. Original code of the application is transpiled using a large language model (LLM) into a tensor computation language (TCL) candidate. Correctness of an implementation of the TCL candidate is verified using the ground truth data. The method has applications including, but not limited to, use cases in medicine / healthcare, and other artificial intelligence applications for preprocessing and optimizing code for performance portability.
Owner:NEC CORP

Code generation method, device and equipment based on multi-agent language system

The invention relates to a code generation method, device and equipment based on a multi-agent language system. The method comprises the following steps: acquiring a code generation task of a user; the code generation task comprises code task information and execution parameters of the code task information. And the code task information is disassembled and judged by a plan engineer according to the complexity of the code generation task and a semantic understanding result to generate a plurality of sub-code tasks. And after the sub-code task is converted into a Python code sequence through the code writing agent, a sub-code block of the Python code sequence is integrated into a standard operation function through the code integration agent. And traversing and executing each Python code sequence according to the standard operation function to generate a standard code. And after the standard code is corrected through the code testing agent, the corrected standard code is transmitted back to the user. By adopting the method, the code generation efficiency under the large language model can be improved, and the computing resource overhead is reduced.
Owner:NAT UNIV OF DEFENSE TECH

Control flow directed graph for use with program disassembler

Techniques and systems described herein relate to monitoring executions of computer instructions on computing devices based on learning and generating a control flow directed graph. The techniques and systems include determining a learned control flow directed graph for executable code of an application by observing executions of transitions during an observation period and determining destinations of indirect transfers based on the learned control flow directed graph. Next a disassembly of the executable code is determined based on the learned control flow directed graph, the destinations of the transfers, and the executable code.
Owner:CISCO TECHNOLOGY INC

High-performance code parallelization compiler with loop-level parallelization

PCT designated stage expiredWO2024223676A1Program controlComputer aided designComputer architectureLoop level parallelism
Proposed is a system for generic static multiple issue CPU design with static pipelining of auto-parallelized code, and method thereof. The multi-core and / or multiprocessor integrated circuit (2) has a plurality of processing units (21 ) and / or processing pipelines (53) simultaneously processing instructions on data by executing a parallelized processing machine code (32). The execution of the parallelized processing code (32) by the parallel processing multi-core and / or multi-processor integrated circuit (2) comprises the occurrence of latency times (26), where the latency times being given by idle time of a processing unit (21) between transmitting data back after having processed a specific block of instructions of the processing code (32) on the data by the processing unit (21) and receiving data necessary for execution of a consecutive block of instructions of the processing code (32) by said processing units (21). The parallel pipelines (53) comprise means for (i) forwarding by providing data forwarding from a MEM stage as EX / MEM register to EX stage as ID / EX-stage register; (ii) exchanging by providing result exchange between pipelines by making Ex-MEM-stage register results accessible to the EX stage of a parallel pipeline (53), and (iii) branch pipeline flushing by providing a control hazard by flushing only those pipelines (53) depending on one pipeline (53) by computing condition based on branch addresses.
Owner:MYNATIX AG

Systems and methods for reviewing code

Provided herein is a method for reviewing code. The method can comprise parsing the code to generate a structural representation of the code, wherein the structural representation comprises a graph representative of the code. The method can comprise processing the code and the structural representation to generate a context for the code based at least in part on the graph. The method can comprise processing the context and a set of prompts to generate a set of contextualized prompts, wherein at least two prompts in the set of prompts are specific for different categories of issues. The method can comprise prompting a first set of language models with the set of contextualized prompts to generate a set of issue reports. The method can comprise prompting a second set of language models to generate a set of validated issue reports comprising a set of non-hallucinated issue report.
Owner:BOOSTSECURITY IO INC

Automated Policy Compliance Using Large Language Models

A method includes generating a modeling language diagram that is indicative of a compiled version of program code. The modeling language diagram includes at least one node corresponding to at least one function in the program code. The method also includes identifying at least one function signature associated with anode state transition between nodes in the modeling language diagram. The method also includes identifying, using a large language model, a particular policy to attribute to the at least one function signature associated with the node state transition. The method further includes performing, using the large language model, a policy compliance operation that ensures a particular portion of the program code complies with the particular policy. The particular portion of the program code is associated with the node state transition. Performing the policy compliance operation includes generating a policy-compliant version of the particular portion of the program code.
Owner:GOOGLE LLC

Low-code development automatic generation method based on large language model

The invention discloses a low-code development automatic generation method based on a large language model, which comprises the following steps: collecting natural language description information input by a user, and preprocessing; inputting the standardized demand corpus set into a large language model, and executing semantic understanding and context modeling; matching the low-code component library based on the structured semantic representation to generate component assembly description information; generating and verifying an engineering skeleton according to the assembly description information, and outputting an executable low-code application initial version; running the executable low-code application initial version, and monitoring and analyzing execution difference to generate an increment adjustment instruction; and inputting the increment adjustment instruction into the large language model, performing reconstruction and adaptive optimization, and outputting an executable low-code application final version. According to the method, large language model semantic understanding and adaptive optimization technologies are fused, automatic generation and continuous optimization of low-code applications are realized, and the method has the advantages of intelligence, high precision and engineering reliability.
Owner:GUIZHOU DAIMA TECH CO LTD

Systems, methods, and apparatuses for heterogeneous computing

Embodiments of systems, methods, and apparatuses for heterogeneous computing are described. In some embodiments, a hardware heterogeneous scheduler dispatches instructions for execution on one or more plurality of heterogeneous processing elements, the instructions corresponding to a code fragment to be processed by the one or more of the plurality of heterogeneous processing elements, wherein the instructions are native instructions to at least one of the one or more of the plurality of heterogeneous processing elements.
Owner:INTEL PRODUCTS IP LLC

Apparatuses, computer-implemented methods, and computer program products for improved automation of software change management

Embodiments of the disclosure provide for improved automation of software change management. Such embodiments enable automatically managing and testing software modifications. Some embodiments receive a change request data object indicative of a software modification, generate a risk level of the software modification based on the change request data object, and generate a test scheduling data object based on the change request data object and the risk level, where the test scheduling data object is indicative of a testing operation for the software modification. Some embodiments initiate performance of the testing operation at a testing environment and receive, from the testing environment, test performance data. Some embodiments determine a test failure based on the test performance data and, in response to determining the test failure, generate a communication bridge between a subset of a plurality of computing devices based on the test failure and a development flow data object.
Owner:HONEYWELL INTERNATIONAL INC

Large model programming review system based on combination of knowledge graph and RAG

The invention discloses a large model programming review system based on combination of a knowledge graph and an RAG, and particularly relates to the field of data collection, comprising the following steps: step 1, dynamic data collection; 2, constructing a knowledge graph; step 3, combining RAG retrieval to enhance generation; step 4, introducing a feedback mechanism; and 5, code comment generation. According to the invention, through dynamic data collection and processing, accurate extraction of key information in a programming document is realized, the information is dynamically fused into the knowledge graph, and the system can carry out high-precision information extraction and semantic association analysis on programming knowledge by combining an adaptive deep learning model and a graph attention network, so that the programming knowledge is extracted more accurately. According to the method, a queried programming knowledge graph is constructed, an RAG technology is combined, and a dynamic-dynamic weight adjustment and incremental learning mechanism is introduced, so that related information can be efficiently retrieved from the knowledge graph, and detailed code comments are generated by utilizing a generation model.
Owner:ZHEJIANG UNIV

Software vulnerability detection method based on multi-modal feature adaptive fusion

The invention discloses a software vulnerability detection method based on multi-modal feature adaptive fusion. The method comprises the following steps: preprocessing a code sample; extracting multi-modal feature information from the sample, integrating front-end information of a compiler to enhance code sequence representation, and applying an enhanced graph representation learning method to improve code graph structure representation capability; a loss function in the samples is constructed, shared features and specific features of the two modes are fully mined, and a contrast learning loss function is adopted to enhance the distinction degree between the samples; modal sharing features are used as a bridge, specific features of all modals are fused in a self-adaptive mode, and efficient comprehensive code representation is generated; and inputting the code comprehensive representation into the classifier, and judging whether the code sample has vulnerabilities or not according to the prediction score. According to the method, a multi-modal vulnerability detection model is designed, so that the integrity of feature extraction and the accuracy of vulnerability detection are effectively improved.
Owner:JIANGXI NORMAL UNIV

System and method for transpilation of source code using machine learning

The disclosed system and method automate the transpilation of query source code to a distributed data processing system. The process involves instantiating transpiler libraries and source code, executing the source code, and transpiling the source code into a transpiled code using the transpiler libraries. A machine learning algorithm is utilized to control the operation of the transpilation process wherever different transpilation options are available as an automated mechanism for adapting transpilation based on tracked downstream operational characteristics. The system is configured for automatic source code generation in the target language as an output, which can then be deployed to a distributed data processing or query system. Variants are described using a combination of test and production environments for initial testing and tuning of the machine learning model architecture until a performance threshold is met. A same code segment may be transpiled periodically for continual automatic optimization.
Owner:HSBC GRP MANAGEMENT SERVICES LTD

Binary Code Similarity Detection System Based on Hard Sample-aware Momentum Contrastive Learning

The present disclosure provides a binary code similarity detection system based on hard sample-aware momentum contrastive learning, comprising: a preprocessing device for transforming the binary code into tokens for neural networks; a feature extracting device for using the tokens to generate final representation embeddings for the binary code; and a similarity detection device for using the representation embeddings to detect the binary code similarity.
Owner:SHANGHAI JIAOTONG UNIV