Close Menu
Ztoog
    What's Hot
    Crypto

    Binance restarts services in India after seven-month regulatory halt

    Science

    A telescope happened to be pointing at the brightest supernova yet observed

    Gadgets

    From Supplier to Shelf: How Rovigos is Transforming Supply Chain Efficiency

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      Can work-life balance tracking improve well-being?

      Any wall can be turned into a camera to see around corners

      JD Vance and President Trump’s Sons Hype Bitcoin at Las Vegas Conference

      AI may already be shrinking entry-level jobs in tech, new research suggests

      Today’s NYT Strands Hints, Answer and Help for May 26 #449

    • Technology

      Elon Musk tries to stick to spaceships

      A Replit employee details a critical security flaw in web apps created using AI-powered app builder Lovable that exposes API keys and personal info of app users (Reed Albergotti/Semafor)

      Gemini in Google Drive can now help you skip watching that painfully long Zoom meeting

      Apple iPhone exports from China to the US fall 76% as India output surges

      Today’s NYT Wordle Hints, Answer and Help for May 26, #1437

    • Gadgets

      Future-proof your career by mastering AI skills for just $20

      8 Best Vegan Meal Delivery Services and Kits (2025), Tested and Reviewed

      Google Home is getting deeper Gemini integration and a new widget

      Google Announces AI Ultra Subscription Plan With Premium Features

      Google shows off Android XR-based glasses, announces Warby Parker team-up

    • Mobile

      Deals: the Galaxy S25 series comes with a free tablet, Google Pixels heavily discounted

      Microsoft is done being subtle – this new tool screams “upgrade now”

      Wallpaper Wednesday: Android wallpapers 2025-05-28

      Google can make smart glasses accessible with Warby Parker, Gentle Monster deals

      vivo T4 Ultra specs leak

    • Science

      Analysts Say Trump Trade Wars Would Harm the Entire US Energy Sector, From Oil to Solar

      Do we have free will? Quantum experiments may soon reveal the answer

      Was Planet Nine exiled from the solar system as a baby?

      How farmers can help rescue water-loving birds

      A trip to the farm where loofahs grow on vines

    • AI

      Rationale engineering generates a compact new tool for gene therapy | Ztoog

      The AI Hype Index: College students are hooked on ChatGPT

      Learning how to predict rare kinds of failures | Ztoog

      Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

      AI learns how vision and sound are connected, without human intervention | Ztoog

    • Crypto

      Bitcoin Maxi Isn’t Buying Hype Around New Crypto Holding Firms

      GameStop bought $500 million of bitcoin

      CoinW Teams Up with Superteam Europe to Conclude Solana Hackathon and Accelerate Web3 Innovation in Europe

      Ethereum Net Flows Turn Negative As Bulls Push For $3,500

      Bitcoin’s Power Compared To Nuclear Reactor By Brazilian Business Leader

    Ztoog
    Home » Symbol tuning improves in-context learning in language models – Google Research Blog
    AI

    Symbol tuning improves in-context learning in language models – Google Research Blog

    Facebook Twitter Pinterest WhatsApp
    Symbol tuning improves in-context learning in language models – Google Research Blog
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    Posted by Jerry Wei, Student Researcher, and Denny Zhou, Principal Scientist, Google Research

    A key characteristic of human intelligence is that people can be taught to carry out new duties by reasoning utilizing just a few examples. Scaling up language models has unlocked a spread of recent purposes and paradigms in machine learning, together with the flexibility to carry out difficult reasoning duties by way of in-context learning. Language models, nonetheless, are nonetheless delicate to the best way that prompts are given, indicating that they don’t seem to be reasoning in a strong method. For occasion, language models usually require heavy immediate engineering or phrasing duties as directions, and so they exhibit surprising behaviors similar to efficiency on duties being unaffected even when proven incorrect labels.

    In “Symbol tuning improves in-context learning in language models”, we suggest a easy fine-tuning process that we name image tuning, which may enhance in-context learning by emphasizing enter–label mappings. We experiment with image tuning throughout Flan-PaLM models and observe advantages throughout varied settings.

    • Symbol tuning boosts efficiency on unseen in-context learning duties and is way more sturdy to underspecified prompts, similar to these with out directions or with out pure language labels.
    • Symbol-tuned models are a lot stronger at algorithmic reasoning duties.
    • Finally, symbol-tuned models present giant enhancements in following flipped-labels introduced in-context, which means that they’re extra able to utilizing in-context info to override prior data.
    An overview of image tuning, the place models are fine-tuned on duties the place pure language labels are changed with arbitrary symbols. Symbol tuning depends on the instinct that when instruction and related labels aren’t accessible, models should use in-context examples to be taught the duty.

    Motivation

    Instruction tuning is a typical fine-tuning technique that has been proven to enhance efficiency and permit models to higher comply with in-context examples. One shortcoming, nonetheless, is that models aren’t compelled to be taught to make use of the examples as a result of the duty is redundantly outlined in the analysis instance by way of directions and pure language labels. For instance, on the left in the determine above, though the examples may help the mannequin perceive the duty (sentiment evaluation), they don’t seem to be strictly mandatory because the mannequin might ignore the examples and simply learn the instruction that signifies what the duty is.

    In image tuning, the mannequin is fine-tuned on examples the place the directions are eliminated and pure language labels are changed with semantically-unrelated labels (e.g., “Foo,” “Bar,” and many others.). In this setup, the duty is unclear with out wanting on the in-context examples. For instance, on the appropriate in the determine above, a number of in-context examples can be wanted to determine the duty. Because image tuning teaches the mannequin to cause over the in-context examples, symbol-tuned models ought to have higher efficiency on duties that require reasoning between in-context examples and their labels.

    Datasets and activity varieties used for image tuning.

    Symbol-tuning process

    We chosen 22 publicly-available pure language processing (NLP) datasets that we use for our symbol-tuning process. These duties have been extensively used in the previous, and we solely selected classification-type duties since our technique requires discrete labels. We then remap labels to a random label from a set of ~30K arbitrary labels chosen from certainly one of three classes: integers, character combos, and phrases.

    For our experiments, we image tune Flan-PaLM, the instruction-tuned variants of PaLM. We use three totally different sizes of Flan-PaLM models: Flan-PaLM-8B, Flan-PaLM-62B, and Flan-PaLM-540B. We additionally examined Flan-cont-PaLM-62B (Flan-PaLM-62B at 1.3T tokens as a substitute of 780B tokens), which we abbreviate as 62B-c.

    We use a set of ∼300K arbitrary symbols from three classes (integers, character combos, and phrases). ∼30K symbols are used throughout tuning and the remaining are held out for analysis.

    Experimental setup

    We need to consider a mannequin’s potential to carry out unseen duties, so we can not consider on duties used in image tuning (22 datasets) or used throughout instruction tuning (1.8K duties). Hence, we select 11 NLP datasets that weren’t used throughout fine-tuning.

    In-context learning

    In the symbol-tuning process, models should be taught to cause with in-context examples in order to efficiently carry out duties as a result of prompts are modified to make sure that duties can not merely be realized from related labels or directions. Symbol-tuned models ought to carry out higher in settings the place duties are unclear and require reasoning between in-context examples and their labels. To discover these settings, we outline 4 in-context learning settings that change the quantity of reasoning required between inputs and labels in order to be taught the duty (primarily based on the provision of directions/related labels)

    Depending on the provision of directions and related pure language labels, models might have to do various quantities of reasoning with in-context examples. When these options aren’t accessible, models should cause with the given in-context examples to efficiently carry out the duty.

    Symbol tuning improves efficiency throughout all settings for models 62B and bigger, with small enhancements in settings with related pure language labels (+0.8% to +4.2%) and substantial enhancements in settings with out related pure language labels (+5.5% to +15.5%). Strikingly, when related labels are unavailable, symbol-tuned Flan-PaLM-8B outperforms FlanPaLM-62B, and symbol-tuned Flan-PaLM-62B outperforms Flan-PaLM-540B. This efficiency distinction means that image tuning can enable a lot smaller models to carry out in addition to giant models on these duties (successfully saving ∼10X inference compute).

    Large-enough symbol-tuned models are higher at in-context learning than baselines, particularly in settings the place related labels aren’t accessible. Performance is proven as common mannequin accuracy (%) throughout eleven duties.

    Algorithmic reasoning

    We additionally experiment on algorithmic reasoning duties from BIG-Bench. There are two primary teams of duties: 1) List capabilities — determine a change perform (e.g., take away the final aspect in a listing) between enter and output lists containing non-negative integers; and a pair of) easy turing ideas — cause with binary strings to be taught the idea that maps an enter to an output (e.g., swapping 0s and 1s in a string).

    On the checklist perform and easy turing idea duties, image tuning outcomes in a median efficiency enchancment of 18.2% and 15.3%, respectively. Additionally, Flan-cont-PaLM-62B with image tuning outperforms Flan-PaLM-540B on the checklist perform duties on common, which is equal to a ∼10x discount in inference compute. These enhancements counsel that image tuning strengthens the mannequin’s potential to be taught in-context for unseen activity varieties, as image tuning didn’t embrace any algorithmic information.

    Symbol-tuned models obtain greater efficiency on checklist perform duties and easy turing idea duties. (A–E): classes of checklist capabilities duties. (F): easy turing ideas activity.

    Flipped labels

    In the flipped-label experiment, labels of in-context and analysis examples are flipped, which means that prior data and input-label mappings disagree (e.g., sentences containing optimistic sentiment labeled as “negative sentiment”), thereby permitting us to check whether or not models can override prior data. Previous work has proven that whereas pre-trained models (with out instruction tuning) can, to some extent, comply with flipped labels introduced in-context, instruction tuning degraded this potential.

    We see that there’s a related development throughout all mannequin sizes — symbol-tuned models are way more able to following flipped labels than instruction-tuned models. We discovered that after image tuning, Flan-PaLM-8B sees a median enchancment throughout all datasets of 26.5%, Flan-PaLM-62B sees an enchancment of 33.7%, and Flan-PaLM-540B sees an enchancment of 34.0%. Additionally, symbol-tuned models obtain related or higher than common efficiency as pre-training–solely models.

    Symbol-tuned models are significantly better at following flipped labels introduced in-context than instruction-tuned models are.

    Conclusion

    We introduced image tuning, a brand new technique of tuning models on duties the place pure language labels are remapped to arbitrary symbols. Symbol tuning relies off of the instinct that when models can not use directions or related labels to find out a introduced activity, it should achieve this by as a substitute learning from in-context examples. We tuned 4 language models utilizing our symbol-tuning process, using a tuning combination of twenty-two datasets and roughly 30K arbitrary symbols as labels.

    We first confirmed that image tuning improves efficiency on unseen in-context learning duties, particularly when prompts don’t include directions or related labels. We additionally discovered that symbol-tuned models had been significantly better at algorithmic reasoning duties, regardless of the shortage of numerical or algorithmic information in the symbol-tuning process. Finally, in an in-context learning setting the place inputs have flipped labels, image tuning (for some datasets) restores the flexibility to comply with flipped labels that was misplaced throughout instruction tuning.

    Future work

    Through image tuning, we goal to extend the diploma to which models can study and be taught from enter–label mappings throughout in-context learning. We hope that our outcomes encourage additional work in direction of bettering language models’ potential to cause over symbols introduced in-context.

    Acknowledgements

    The authors of this submit at the moment are a part of Google DeepMind. This work was carried out by Jerry Wei, Le Hou, Andrew Lampinen, Xiangning Chen, Da Huang, Yi Tay, Xinyun Chen, Yifeng Lu, Denny Zhou, Tengyu Ma, and Quoc V. Le. We wish to thank our colleagues at Google Research and Google DeepMind for his or her recommendation and useful discussions.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    AI

    Rationale engineering generates a compact new tool for gene therapy | Ztoog

    AI

    The AI Hype Index: College students are hooked on ChatGPT

    AI

    Learning how to predict rare kinds of failures | Ztoog

    AI

    Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

    AI

    AI learns how vision and sound are connected, without human intervention | Ztoog

    AI

    How AI is introducing errors into courtrooms

    AI

    With AI, researchers predict the location of virtually any protein within a human cell | Ztoog

    AI

    Google DeepMind’s new AI agent cracks real-world problems better than humans can

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    Gadgets

    The Best Period Underwear, Cups, Pads, and Products (2023)

    Whereas among the underwear on this record appears cute and passes as common underwear, these…

    AI

    Google Cloud Commits to Protect Customers for Generative AI Indemnification

    In a forward-looking transfer, Google Cloud has reaffirmed its dedication to its prospects’ pursuits, positioning…

    Science

    Parasitic worms are missing important gene

    Deep beneath our toes virtually wherever on the planet, there are parasitic spaghetti-like puppet masters…

    Mobile

    With today’s new beta release, iPhone users get closer to the important stable version of iOS 17.3

    Apple as we speak launched iOS 17.3 beta 3 to builders which implies that the…

    AI

    Meta’s new AI models can recognize and produce speech for more than 1,000 languages

    They skilled it on two new information units: one which incorporates audio recordings of the…

    Our Picks
    Gadgets

    How to Actually Clean Install Windows 11

    Crypto

    GMX Drops 24% in 1 Month, Whales Rapidly Selling: What’s Going On?

    Mobile

    How do you like the new look of the Pixel 9 series?

    Categories
    • AI (1,493)
    • Crypto (1,754)
    • Gadgets (1,805)
    • Mobile (1,851)
    • Science (1,866)
    • Technology (1,803)
    • The Future (1,649)
    Most Popular
    Crypto

    Bitcoin Liquidations Top $500 Million Amid $1 Billion Crypto Decimation

    Mobile

    All our favorite new Quest and PSVR 2 games from the UploadVR Showcase 2023

    AI

    This AI Paper Unveils an Enhanced CycleGAN Approach for Robust Person Re-identification Across Varied Camera Styles

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

    Type above and press Enter to search. Press Esc to cancel.