Google AI introduces Symbol Tuning: A Simple Fine-Tuning Method that can improve in-Context Learning by Emphasizing Input–Label Mappings

Language models are tuned on input-label pairs presented in a context in which natural language labels are remapped to arbitrary symbols. For a given task, the model must depend on input-label mappings in context for reasoning and revealing the task. In a new research paper, the Google AI team introduces a simple finetuning procedure that significantly improves the language model’s ability to reason with and learn from input-label mappings for a given in context. They call it Symbol Tuning. The research team uses a mixture of 22 NLP datasets with various arbitrary symbols as labels and experiments using multiple Flan-PaL models.

The performance of baseline models on unseen in-context learning tasks can be improved using symbol tuning. These models are based on finetuned exemplars in which semantically unrelated labels replace natural language labels. Multiple in-context exemplars would be required to define the task, as the task is unclear by just looking at one single in-context exemplar. On average, symbol tuning yields +11.1% improved performance across eleven evaluation tasks for Flan-cont-PaLM-62B.

Symbol-tuned models only include natural language data rather than numerical and algorithmic data. This makes these models perform better at algorithmic reasoning tasks. To verify this, researchers experiment with a set of list functional tasks in which the model needs to identify a transformation function between input and output lists containing non-negative integers. They use simple Turing concepts where the model uses binary string reasoning to map an input to output. They find that symbol tuning results in an average performance improvement across all the tasks of 18.2% for Flan-PaLM-8B, 11.1% for Flan-PaLM-62B, 15.5% for Flan-cont-PaLM-62B, and 3.6% for Flan-PaLM-540B.

🚀 Build high-quality training datasets with Kili Technology and solve NLP machine learning challenges to develop powerful ML applications

Compared to instruction-tuned models, symbol-tuned models are much better at following flipped labels presented in context. The performance of instruction-tuned models is well below random guessing as they cannot flip predictions to follow flipped labels. On the other hand, symbol tunning forces models to consider the label presented in-context as an arbitrary symbol. This reduces the model’s usage of prior knowledge that contradicts the flipped labels. Researchers find that after symbol tuning, an average improvement across all datasets of 26.5% for Flan-PaLM-8B, 33.7% for Flan-PaLM-62B, and 34.0% for Flan-PaLM-540B.

Researchers say that symbol tuning doesn’t require many steps of finetuning for any model with small datasets. The observed performance remained relatively constant after a peak change in performance in the initial 1k to 2k steps. As the performance remains relatively constant, one can hypothesize that larger models require a more diverse or larger set of symbol-tuning data.

Researchers find that after the initial steps, the higher proportions of symbol-tuning data do not affect the model’s performance. As a result, the model succeeds in ICL settings. As long as non-trivial symbol-tuning data is used, the proportion of the data used is irrelevant. The team found a strong correlation between the higher mixture of symbol-tuning data, the more probable it is for the model to follow flipped labels. This improves the ability of the model to override prior knowledge with in-context exemplars. This method is only successful if the model generalizes its ability to new tasks from the diverse set of tasks when input into the model.


Check out the Paper and Google Article. Don’t forget to join our 26k+ ML SubRedditDiscord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more. If you have any questions regarding the above article or if we missed anything, feel free to email us at Asif@marktechpost.com

🚀 Check Out 800+ AI Tools in AI Tools Club


Arshad is an intern at MarktechPost. He is currently pursuing his Int. MSc Physics from the Indian Institute of Technology Kharagpur. Understanding things to the fundamental level leads to new discoveries which lead to advancement in technology. He is passionate about understanding the nature fundamentally with the help of tools like mathematical models, ML models and AI.


🔥 StoryBird.ai just dropped some amazing features. Generate an illustrated story from a prompt. Check it out here. (Sponsored)

Credit: Source link

Comments are closed.