


What 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.
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.
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).
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Imagine an artificial intelligence model that not only has the ability to surpass traditional computing, but also achieves more efficient performance at a lower cost. This is not science fiction, DeepSeek-V2[1], the world’s most powerful open source MoE model is here. DeepSeek-V2 is a powerful mixture of experts (MoE) language model with the characteristics of economical training and efficient inference. It consists of 236B parameters, 21B of which are used to activate each marker. Compared with DeepSeek67B, DeepSeek-V2 has stronger performance, while saving 42.5% of training costs, reducing KV cache by 93.3%, and increasing the maximum generation throughput to 5.76 times. DeepSeek is a company exploring general artificial intelligence

AI is indeed changing mathematics. Recently, Tao Zhexuan, who has been paying close attention to this issue, forwarded the latest issue of "Bulletin of the American Mathematical Society" (Bulletin of the American Mathematical Society). Focusing on the topic "Will machines change mathematics?", many mathematicians expressed their opinions. The whole process was full of sparks, hardcore and exciting. The author has a strong lineup, including Fields Medal winner Akshay Venkatesh, Chinese mathematician Zheng Lejun, NYU computer scientist Ernest Davis and many other well-known scholars in the industry. The world of AI has changed dramatically. You know, many of these articles were submitted a year ago.

The performance of JAX, promoted by Google, has surpassed that of Pytorch and TensorFlow in recent benchmark tests, ranking first in 7 indicators. And the test was not done on the TPU with the best JAX performance. Although among developers, Pytorch is still more popular than Tensorflow. But in the future, perhaps more large models will be trained and run based on the JAX platform. Models Recently, the Keras team benchmarked three backends (TensorFlow, JAX, PyTorch) with the native PyTorch implementation and Keras2 with TensorFlow. First, they select a set of mainstream

Boston Dynamics Atlas officially enters the era of electric robots! Yesterday, the hydraulic Atlas just "tearfully" withdrew from the stage of history. Today, Boston Dynamics announced that the electric Atlas is on the job. It seems that in the field of commercial humanoid robots, Boston Dynamics is determined to compete with Tesla. After the new video was released, it had already been viewed by more than one million people in just ten hours. The old people leave and new roles appear. This is a historical necessity. There is no doubt that this year is the explosive year of humanoid robots. Netizens commented: The advancement of robots has made this year's opening ceremony look like a human, and the degree of freedom is far greater than that of humans. But is this really not a horror movie? At the beginning of the video, Atlas is lying calmly on the ground, seemingly on his back. What follows is jaw-dropping

Earlier this month, researchers from MIT and other institutions proposed a very promising alternative to MLP - KAN. KAN outperforms MLP in terms of accuracy and interpretability. And it can outperform MLP running with a larger number of parameters with a very small number of parameters. For example, the authors stated that they used KAN to reproduce DeepMind's results with a smaller network and a higher degree of automation. Specifically, DeepMind's MLP has about 300,000 parameters, while KAN only has about 200 parameters. KAN has a strong mathematical foundation like MLP. MLP is based on the universal approximation theorem, while KAN is based on the Kolmogorov-Arnold representation theorem. As shown in the figure below, KAN has

The latest video of Tesla's robot Optimus is released, and it can already work in the factory. At normal speed, it sorts batteries (Tesla's 4680 batteries) like this: The official also released what it looks like at 20x speed - on a small "workstation", picking and picking and picking: This time it is released One of the highlights of the video is that Optimus completes this work in the factory, completely autonomously, without human intervention throughout the process. And from the perspective of Optimus, it can also pick up and place the crooked battery, focusing on automatic error correction: Regarding Optimus's hand, NVIDIA scientist Jim Fan gave a high evaluation: Optimus's hand is the world's five-fingered robot. One of the most dexterous. Its hands are not only tactile

This paper explores the problem of accurately detecting objects from different viewing angles (such as perspective and bird's-eye view) in autonomous driving, especially how to effectively transform features from perspective (PV) to bird's-eye view (BEV) space. Transformation is implemented via the Visual Transformation (VT) module. Existing methods are broadly divided into two strategies: 2D to 3D and 3D to 2D conversion. 2D-to-3D methods improve dense 2D features by predicting depth probabilities, but the inherent uncertainty of depth predictions, especially in distant regions, may introduce inaccuracies. While 3D to 2D methods usually use 3D queries to sample 2D features and learn the attention weights of the correspondence between 3D and 2D features through a Transformer, which increases the computational and deployment time.

Project link written in front: https://nianticlabs.github.io/mickey/ Given two pictures, the camera pose between them can be estimated by establishing the correspondence between the pictures. Typically, these correspondences are 2D to 2D, and our estimated poses are scale-indeterminate. Some applications, such as instant augmented reality anytime, anywhere, require pose estimation of scale metrics, so they rely on external depth estimators to recover scale. This paper proposes MicKey, a keypoint matching process capable of predicting metric correspondences in 3D camera space. By learning 3D coordinate matching across images, we are able to infer metric relative
