On the Influence of Masking Policies in Intermediate Pre-training
Current NLP models are predominantly trained through a two-stage "pre-train then fine-tune" pipeline. Prior work has shown that inserting an intermediate pre-training stage, using heuristic masking policies for masked language modeling (MLM), can significantly improve final performance. Ho...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | |
container_volume | |
creator | Ye, Qinyuan Li, Belinda Z Wang, Sinong Bolte, Benjamin Ma, Hao Yih, Wen-tau Ren, Xiang Khabsa, Madian |
description | Current NLP models are predominantly trained through a two-stage "pre-train
then fine-tune" pipeline. Prior work has shown that inserting an intermediate
pre-training stage, using heuristic masking policies for masked language
modeling (MLM), can significantly improve final performance. However, it is
still unclear (1) in what cases such intermediate pre-training is helpful, (2)
whether hand-crafted heuristic objectives are optimal for a given task, and (3)
whether a masking policy designed for one task is generalizable beyond that
task. In this paper, we perform a large-scale empirical study to investigate
the effect of various masking policies in intermediate pre-training with nine
selected tasks across three categories. Crucially, we introduce methods to
automate the discovery of optimal masking policies via direct supervision or
meta-learning. We conclude that the success of intermediate pre-training is
dependent on appropriate pre-train corpus, selection of output format (i.e.,
masked spans or full sentence), and clear understanding of the role that MLM
plays for the downstream task. In addition, we find our learned masking
policies outperform the heuristic of masking named entities on TriviaQA, and
policies learned from one task can positively transfer to other tasks in
certain cases, inviting future research in this direction. |
doi_str_mv | 10.48550/arxiv.2104.08840 |
format | Article |
fullrecord | <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2104_08840</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2104_08840</sourcerecordid><originalsourceid>FETCH-LOGICAL-a670-17f9ed010056108ce6776c2ba94814c73f82fc95e8ac62549ce15037894c3ff73</originalsourceid><addsrcrecordid>eNotz7tOAzEQhWE3FCjwAFTxC-wyXt_LKOISKSgp0q-GyRgsNg7yLgjenhCoTvPrSJ8QNwpaE6yFW6xf-bPtFJgWQjBwKRabIqdXlquShg8uxPKY5BOOb7m8yO1xyJR5lLmcgonrgfcZJ5bbys1UMZdTdSUuEg4jX__vTOzu73bLx2a9eVgtF-sGnYdG-RR5DwrAOgWB2HnvqHvGaIIy5HUKXaJoOSC5zppIrCxoH6IhnZLXMzH_uz0b-veaD1i_-19Lf7boH8eBQuY</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>On the Influence of Masking Policies in Intermediate Pre-training</title><source>arXiv.org</source><creator>Ye, Qinyuan ; Li, Belinda Z ; Wang, Sinong ; Bolte, Benjamin ; Ma, Hao ; Yih, Wen-tau ; Ren, Xiang ; Khabsa, Madian</creator><creatorcontrib>Ye, Qinyuan ; Li, Belinda Z ; Wang, Sinong ; Bolte, Benjamin ; Ma, Hao ; Yih, Wen-tau ; Ren, Xiang ; Khabsa, Madian</creatorcontrib><description>Current NLP models are predominantly trained through a two-stage "pre-train
then fine-tune" pipeline. Prior work has shown that inserting an intermediate
pre-training stage, using heuristic masking policies for masked language
modeling (MLM), can significantly improve final performance. However, it is
still unclear (1) in what cases such intermediate pre-training is helpful, (2)
whether hand-crafted heuristic objectives are optimal for a given task, and (3)
whether a masking policy designed for one task is generalizable beyond that
task. In this paper, we perform a large-scale empirical study to investigate
the effect of various masking policies in intermediate pre-training with nine
selected tasks across three categories. Crucially, we introduce methods to
automate the discovery of optimal masking policies via direct supervision or
meta-learning. We conclude that the success of intermediate pre-training is
dependent on appropriate pre-train corpus, selection of output format (i.e.,
masked spans or full sentence), and clear understanding of the role that MLM
plays for the downstream task. In addition, we find our learned masking
policies outperform the heuristic of masking named entities on TriviaQA, and
policies learned from one task can positively transfer to other tasks in
certain cases, inviting future research in this direction.</description><identifier>DOI: 10.48550/arxiv.2104.08840</identifier><language>eng</language><subject>Computer Science - Computation and Language ; Computer Science - Learning</subject><creationdate>2021-04</creationdate><rights>http://creativecommons.org/licenses/by-sa/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2104.08840$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2104.08840$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Ye, Qinyuan</creatorcontrib><creatorcontrib>Li, Belinda Z</creatorcontrib><creatorcontrib>Wang, Sinong</creatorcontrib><creatorcontrib>Bolte, Benjamin</creatorcontrib><creatorcontrib>Ma, Hao</creatorcontrib><creatorcontrib>Yih, Wen-tau</creatorcontrib><creatorcontrib>Ren, Xiang</creatorcontrib><creatorcontrib>Khabsa, Madian</creatorcontrib><title>On the Influence of Masking Policies in Intermediate Pre-training</title><description>Current NLP models are predominantly trained through a two-stage "pre-train
then fine-tune" pipeline. Prior work has shown that inserting an intermediate
pre-training stage, using heuristic masking policies for masked language
modeling (MLM), can significantly improve final performance. However, it is
still unclear (1) in what cases such intermediate pre-training is helpful, (2)
whether hand-crafted heuristic objectives are optimal for a given task, and (3)
whether a masking policy designed for one task is generalizable beyond that
task. In this paper, we perform a large-scale empirical study to investigate
the effect of various masking policies in intermediate pre-training with nine
selected tasks across three categories. Crucially, we introduce methods to
automate the discovery of optimal masking policies via direct supervision or
meta-learning. We conclude that the success of intermediate pre-training is
dependent on appropriate pre-train corpus, selection of output format (i.e.,
masked spans or full sentence), and clear understanding of the role that MLM
plays for the downstream task. In addition, we find our learned masking
policies outperform the heuristic of masking named entities on TriviaQA, and
policies learned from one task can positively transfer to other tasks in
certain cases, inviting future research in this direction.</description><subject>Computer Science - Computation and Language</subject><subject>Computer Science - Learning</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2021</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotz7tOAzEQhWE3FCjwAFTxC-wyXt_LKOISKSgp0q-GyRgsNg7yLgjenhCoTvPrSJ8QNwpaE6yFW6xf-bPtFJgWQjBwKRabIqdXlquShg8uxPKY5BOOb7m8yO1xyJR5lLmcgonrgfcZJ5bbys1UMZdTdSUuEg4jX__vTOzu73bLx2a9eVgtF-sGnYdG-RR5DwrAOgWB2HnvqHvGaIIy5HUKXaJoOSC5zppIrCxoH6IhnZLXMzH_uz0b-veaD1i_-19Lf7boH8eBQuY</recordid><startdate>20210418</startdate><enddate>20210418</enddate><creator>Ye, Qinyuan</creator><creator>Li, Belinda Z</creator><creator>Wang, Sinong</creator><creator>Bolte, Benjamin</creator><creator>Ma, Hao</creator><creator>Yih, Wen-tau</creator><creator>Ren, Xiang</creator><creator>Khabsa, Madian</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20210418</creationdate><title>On the Influence of Masking Policies in Intermediate Pre-training</title><author>Ye, Qinyuan ; Li, Belinda Z ; Wang, Sinong ; Bolte, Benjamin ; Ma, Hao ; Yih, Wen-tau ; Ren, Xiang ; Khabsa, Madian</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a670-17f9ed010056108ce6776c2ba94814c73f82fc95e8ac62549ce15037894c3ff73</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2021</creationdate><topic>Computer Science - Computation and Language</topic><topic>Computer Science - Learning</topic><toplevel>online_resources</toplevel><creatorcontrib>Ye, Qinyuan</creatorcontrib><creatorcontrib>Li, Belinda Z</creatorcontrib><creatorcontrib>Wang, Sinong</creatorcontrib><creatorcontrib>Bolte, Benjamin</creatorcontrib><creatorcontrib>Ma, Hao</creatorcontrib><creatorcontrib>Yih, Wen-tau</creatorcontrib><creatorcontrib>Ren, Xiang</creatorcontrib><creatorcontrib>Khabsa, Madian</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Ye, Qinyuan</au><au>Li, Belinda Z</au><au>Wang, Sinong</au><au>Bolte, Benjamin</au><au>Ma, Hao</au><au>Yih, Wen-tau</au><au>Ren, Xiang</au><au>Khabsa, Madian</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>On the Influence of Masking Policies in Intermediate Pre-training</atitle><date>2021-04-18</date><risdate>2021</risdate><abstract>Current NLP models are predominantly trained through a two-stage "pre-train
then fine-tune" pipeline. Prior work has shown that inserting an intermediate
pre-training stage, using heuristic masking policies for masked language
modeling (MLM), can significantly improve final performance. However, it is
still unclear (1) in what cases such intermediate pre-training is helpful, (2)
whether hand-crafted heuristic objectives are optimal for a given task, and (3)
whether a masking policy designed for one task is generalizable beyond that
task. In this paper, we perform a large-scale empirical study to investigate
the effect of various masking policies in intermediate pre-training with nine
selected tasks across three categories. Crucially, we introduce methods to
automate the discovery of optimal masking policies via direct supervision or
meta-learning. We conclude that the success of intermediate pre-training is
dependent on appropriate pre-train corpus, selection of output format (i.e.,
masked spans or full sentence), and clear understanding of the role that MLM
plays for the downstream task. In addition, we find our learned masking
policies outperform the heuristic of masking named entities on TriviaQA, and
policies learned from one task can positively transfer to other tasks in
certain cases, inviting future research in this direction.</abstract><doi>10.48550/arxiv.2104.08840</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | DOI: 10.48550/arxiv.2104.08840 |
ispartof | |
issn | |
language | eng |
recordid | cdi_arxiv_primary_2104_08840 |
source | arXiv.org |
subjects | Computer Science - Computation and Language Computer Science - Learning |
title | On the Influence of Masking Policies in Intermediate Pre-training |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-13T19%3A11%3A40IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=On%20the%20Influence%20of%20Masking%20Policies%20in%20Intermediate%20Pre-training&rft.au=Ye,%20Qinyuan&rft.date=2021-04-18&rft_id=info:doi/10.48550/arxiv.2104.08840&rft_dat=%3Carxiv_GOX%3E2104_08840%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |