search
HomeTechnology peripheralsAIWhat is the development status of In-Context Learning, which was taken off by GPT? This review makes it clear

As the size of language models and corpora gradually expands, large language models (LLM) show more potential. Some recent studies have shown that LLM can use in-context learning (ICL) to perform a range of complex tasks, such as solving mathematical reasoning problems.

Ten researchers from Peking University, Shanghai AI Lab and University of California, Santa Barbara recently published a review paper on in-context learning, combing ICL research in detail current progress.

What is the development status of In-Context Learning, which was taken off by GPT? This review makes it clear

Paper address: ​https://arxiv.org/pdf/2301.00234v1.pdf​

The core idea of ​​in-context learning is analogy learning. The following figure describes how the language model uses ICL to make decisions.

What is the development status of In-Context Learning, which was taken off by GPT? This review makes it clear

First, ICL requires some examples to form a demonstration context, and these examples are usually written in natural language templates. ICL then associates the query question with the presentation context to form a prompt, and feeds it into a language model for prediction. Unlike the training phase of supervised learning, which requires updating model parameters using inverse gradients, ICL does not require parameter updates to allow the pre-trained language model to directly perform prediction tasks, and the model is expected to learn the hidden patterns in the demonstration examples and make decisions based on them. Correct prediction.

As a new paradigm, ICL has many attractive advantages. First, the demo examples are written in a natural language format, which provides an interpretable interface for relating to large language models. This paradigm makes it easier to incorporate human knowledge into language models by changing demonstration examples and templates (Liu et al., 2022; Lu et al., 2022; Wu et al., 2022; Wei et al., 2022c). easy. Second, in-context learning is similar to the decision-making process of human learning through analogy. Third, compared to supervised training, ICL is a training-free learning framework. This can not only greatly reduce the computational cost of adapting the model to new tasks, but also make Language Model as a Service (LMaaS, Sun et al., 2022) possible and easily applied to large-scale real-world tasks.

Despite the great promise of ICL, there are still many issues worth exploring, including its performance. For example, the original GPT-3 model has certain ICL capabilities, but some studies have found that this ability can be significantly improved through adaptation during pre-training. Furthermore, ICL's performance is sensitive to specific settings, including prompt templates, contextual sample selection, and sample ordering. In addition, although the working mechanism of ICL seems reasonable, it is still not clear enough, and there are not many studies that can preliminarily explain its working mechanism.

This review paper concludes that the powerful performance of ICL relies on two stages:

  • Cultivate large language model ICL capabilities The training phase;
  • The inference phase where large language models make predictions based on specific task demonstrations.

In the training phase, the language model is trained directly according to the language modeling goals, such as left-to-right generation. Although these models are not specifically optimized for in-context learning, ICL's capabilities are still surprising. Existing ICL research is basically based on well-trained language models.

In the inference stage, since the input and output labels are represented by interpretable natural language templates, ICL performance can be optimized from multiple perspectives. This review paper provides a detailed description and comparison, selects appropriate examples for demonstration, and designs specific scoring methods for different tasks.

The general content and structure of this review paper is shown in the figure below, including: formal definition of ICL (§3), warmup method (§4), prompt design strategy (§5 ) and the scoring function (§6).

What is the development status of In-Context Learning, which was taken off by GPT? This review makes it clear

Additionally, §7 provides insight into the current quest to uncover the workings behind ICLs. §8 further provides useful assessments and resources for ICL, and §9 introduces potential application scenarios that demonstrate the effectiveness of ICL. Finally, §10 summarizes the existing challenges and potential directions in the ICL field to provide a reference for further development of the field.

Interested readers can read the original text of the paper to learn more about the research details.

The above is the detailed content of What is the development status of In-Context Learning, which was taken off by GPT? This review makes it clear. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
Newest Annual Compilation Of The Best Prompt Engineering TechniquesNewest Annual Compilation Of The Best Prompt Engineering TechniquesApr 10, 2025 am 11:22 AM

For those of you who might be new to my column, I broadly explore the latest advances in AI across the board, including topics such as embodied AI, AI reasoning, high-tech breakthroughs in AI, prompt engineering, training of AI, fielding of AI, AI re

Europe's AI Continent Action Plan: Gigafactories, Data Labs, And Green AIEurope's AI Continent Action Plan: Gigafactories, Data Labs, And Green AIApr 10, 2025 am 11:21 AM

Europe's ambitious AI Continent Action Plan aims to establish the EU as a global leader in artificial intelligence. A key element is the creation of a network of AI gigafactories, each housing around 100,000 advanced AI chips – four times the capaci

Is Microsoft's Straightforward Agent Story Enough To Create More Fans?Is Microsoft's Straightforward Agent Story Enough To Create More Fans?Apr 10, 2025 am 11:20 AM

Microsoft's Unified Approach to AI Agent Applications: A Clear Win for Businesses Microsoft's recent announcement regarding new AI agent capabilities impressed with its clear and unified presentation. Unlike many tech announcements bogged down in te

Selling AI Strategy To Employees: Shopify CEO's ManifestoSelling AI Strategy To Employees: Shopify CEO's ManifestoApr 10, 2025 am 11:19 AM

Shopify CEO Tobi Lütke's recent memo boldly declares AI proficiency a fundamental expectation for every employee, marking a significant cultural shift within the company. This isn't a fleeting trend; it's a new operational paradigm integrated into p

IBM Launches Z17 Mainframe With Full AI IntegrationIBM Launches Z17 Mainframe With Full AI IntegrationApr 10, 2025 am 11:18 AM

IBM's z17 Mainframe: Integrating AI for Enhanced Business Operations Last month, at IBM's New York headquarters, I received a preview of the z17's capabilities. Building on the z16's success (launched in 2022 and demonstrating sustained revenue grow

5 ChatGPT Prompts To Stop Depending On Others And Trust Yourself Fully5 ChatGPT Prompts To Stop Depending On Others And Trust Yourself FullyApr 10, 2025 am 11:17 AM

Unlock unshakeable confidence and eliminate the need for external validation! These five ChatGPT prompts will guide you towards complete self-reliance and a transformative shift in self-perception. Simply copy, paste, and customize the bracketed in

AI Is Dangerously Similar To Your MindAI Is Dangerously Similar To Your MindApr 10, 2025 am 11:16 AM

A recent [study] by Anthropic, an artificial intelligence security and research company, begins to reveal the truth about these complex processes, showing a complexity that is disturbingly similar to our own cognitive domain. Natural intelligence and artificial intelligence may be more similar than we think. Snooping inside: Anthropic Interpretability Study The new findings from the research conducted by Anthropic represent significant advances in the field of mechanistic interpretability, which aims to reverse engineer internal computing of AI—not just observe what AI does, but understand how it does it at the artificial neuron level. Imagine trying to understand the brain by drawing which neurons fire when someone sees a specific object or thinks about a specific idea. A

Dragonwing Showcases Qualcomm's Edge MomentumDragonwing Showcases Qualcomm's Edge MomentumApr 10, 2025 am 11:14 AM

Qualcomm's Dragonwing: A Strategic Leap into Enterprise and Infrastructure Qualcomm is aggressively expanding its reach beyond mobile, targeting enterprise and infrastructure markets globally with its new Dragonwing brand. This isn't merely a rebran

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.