-
公开(公告)号:US20240378870A1
公开(公告)日:2024-11-14
申请号:US18650174
申请日:2024-04-30
Applicant: NEC Laboratories America, Inc.
Inventor: Wei Cheng , Yanchi Liu , Haifeng Chen , Xianjun Yang
IPC: G06V10/778 , G06V10/82
Abstract: Systems and methods are provided for dynamic prompt tuning in image processing, including decomposing a received image into segments sized to balance detail retention and computational efficiency for processing by an embedding algorithm designed for token generation, generating tokenized image data by transforming each of the decomposed segments into a sequence of tokens using an embedding process that includes a convolutional neural network, and dynamically computing parameters for inserting prompts into the sequence of tokens, including a position and length of the prompts, utilizing a one-layer neural network combined with a continuous relaxation of a discrete distribution for optimizing categorical decision-making. Soft prompts are created based on the dynamically computed parameters and the soft prompts are integrated with the tokenized image data. The integrated image data and prompts are processed using a pretrained vision model with a frozen backbone to enhance image feature recognition.
-
公开(公告)号:US20240378380A1
公开(公告)日:2024-11-14
申请号:US18654795
申请日:2024-05-03
Applicant: NEC Laboratories America, Inc.
Inventor: Wei Cheng , Haifeng Chen , Xianjun Yang
Abstract: Systems and methods for detecting artificial intelligence (AI) generated text. A candidate text can be truncated to obtain a prefix text and a remainder text by employing a truncation module. Regenerated model texts can be regenerated by utilizing the prefix text by employing an AI text generation model. Detection results can be predicted by comparing n-gram similarities of the regenerated model texts and the remainder text. The candidate text can be distinguished as AI generated text by providing explanation texts based on the detection results.
-
公开(公告)号:US20240304329A1
公开(公告)日:2024-09-12
申请号:US18591838
申请日:2024-02-29
Applicant: NEC Laboratories America, Inc.
Inventor: Wei Cheng , Haifeng Chen , Xujiang Zhao , Xianjun Yang
Abstract: Methods and systems for prompt tuning include training a tuning function to set prompt position, prompt length, or prompt pool based on a language processing task. The tuning function is applied to an input query to generate a combined input, with prompt text having the prompt length, being selected according to the prompt pool, and being added to the input query at the prompt position. The combined input is applied to a language model.
-
公开(公告)号:US20240419801A1
公开(公告)日:2024-12-19
申请号:US18731845
申请日:2024-06-03
Applicant: NEC Laboratories America, Inc.
Inventor: Wei Cheng , Xianjun Yang , Haifeng Chen
Abstract: Systems and methods for detecting artificial intelligence (AI) generated computer code. Lines of code can be masked from a candidate code to obtain perturbed codes. Missing code can be generated from the perturbed codes by employing an AI code generator model to obtain machine-filled codes. Probabilities of the candidate code probability and the machine-filled codes as AI-generated can be predicted by employing a surrogate model. The candidate code can be distinguished as AI-generated by comparing the probabilities against a detection threshold to obtain detection results.
-
-
-