Counterfactual Sentence Generation with Plug-and-Play Perturbation

被引:1
|
作者
Madaan, Nishtha [1 ,2 ]
Saha, Diptikalyan [1 ]
Bedathur, Srikanta [2 ]
机构
[1] IBM Res, Bangalore, India
[2] Indian Inst Technol, Delhi, India
关键词
D O I
10.1109/SaTML54575.2023.00028
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Generating counterfactual test-cases is an important backbone for testing NLP models and making them as robust and reliable as traditional software. In generating the test-cases, a desired property is the ability to control the test-case generation in a flexible manner to test for a large variety of failure cases and to explain and repair them in a targeted manner. In this direction, significant progress has been made in the prior works by manually writing rules for generating controlled counterfactuals. However, this approach requires heavy manual supervision and lacks the flexibility to easily introduce new controls. Motivated by the impressive flexibility of the plug-and-play approach of PPLM, we propose bringing the framework of plug-and-play to counterfactual test case generation task. We introduce CASPer, a plug-and-play counterfactual generation framework to generate test cases that satisfy goal attributes on demand. Our plug-and-play model can steer the test case generation process given any attribute model without requiring attribute-specific training of the model. In experiments, we show that CASPer effectively generates counterfactual text that follow the steering provided by an attribute model while also being fluent, diverse and preserving the original content. We also show that the generated counterfactuals from CASPer can be used for augmenting the training data and thereby fixing and making the test model more robust.
引用
收藏
页码:306 / 315
页数:10
相关论文
共 50 条
  • [41] Plug-and-play comes to power modules
    不详
    [J]. MACHINE DESIGN, 1996, 68 (17) : 66 - 66
  • [42] Standards support for portability and plug-and-play
    Schumny, H
    [J]. COMPUTER STANDARDS & INTERFACES, 2000, 22 (05) : 293 - 295
  • [43] A plug-and-play approach for malaria vaccination
    Oakes, Robert S.
    Jewell, Christopher M.
    [J]. NATURE NANOTECHNOLOGY, 2018, 13 (12) : 1096 - 1097
  • [44] Plug-and-play modules for flexible radiosynthesis
    Herman, Henry
    Flores, Graciela
    Quinn, Kevin
    Eddings, Mark
    Olma, Sebastian
    Moore, Melissa D.
    Ding, Huijiang
    Bobinski, Krzysztof P.
    Wang, Mingwei
    Williams, Dirk
    Wiliams, Darin
    Shen, Clifton Kwang-Fu
    Phelps, Michael E.
    van Dam, R. Michael
    [J]. APPLIED RADIATION AND ISOTOPES, 2013, 78 : 113 - 124
  • [45] Plug-and-play fiber to waveguide connector
    Gordillo, Oscar A. Jimenez
    Chaitanya, Shriddha
    Chang, You-Chia
    Dave, Utsav D.
    Mohanty, Aseema
    Lipson, Michal
    [J]. OPTICS EXPRESS, 2019, 27 (15): : 20305 - 20310
  • [46] Plug-and-play bioinspired seed coatings
    Britt, David W.
    [J]. NATURE FOOD, 2021, 2 (07): : 456 - 457
  • [47] A PLUG-AND-PLAY DEEP IMAGE PRIOR
    Sun, Zhaodong
    Latorre, Fabian
    Sanchez, Thomas
    Cevher, Volkan
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP 2021), 2021, : 8103 - 8107
  • [48] Plug-and-play Irrigation Control at Scale
    Winkler, Daniel A.
    Carreira-Perpinan, Miguel A.
    Cerpa, Alberto E.
    [J]. 2018 17TH ACM/IEEE INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING IN SENSOR NETWORKS (IPSN), 2018, : 1 - 12
  • [49] Fault diagnosis in a plug-and-play context
    Allahham, Adib
    Ploix, Stephane
    Yassine, Abed Alrahim
    Giap, Quang Huy
    [J]. 2010 CONFERENCE ON CONTROL AND FAULT-TOLERANT SYSTEMS (SYSTOL'10), 2010, : 522 - 527
  • [50] Standard Metrics for a Plug-and-Play Tracker
    Antonisse, Jim
    Young, Darrell
    [J]. GROUND/AIR MULTISENSOR INTEROPERABILITY, INTEGRATION, AND NETWORKING FOR PERSISTENT ISR III, 2012, 8389