KETG-paper-reading icon indicating copy to clipboard operation
KETG-paper-reading copied to clipboard

😎 基于知识的文本生成相关文章总结与个人笔记

Knowledge-enriched Text Generation paper reading

😎 Awesome list of papers about knowledge-enhanced Question generation with notes.

:white_check_mark: : already reading carefully

:fire:: high citation in recent years

:hammer_and_wrench:: available code

Content

[TOC]

:bookmark_tabs: Question Generation & Answering & Reasoning


:mountain_snow: Textual QG

一、利用答案和语言特征

  1. 两篇Ground Breaking Work

:white_check_mark: :fire: Neural question generation from text: A preliminary study, in EMNLP 2017. [pdf]

  • 在编码时额外考虑了答案位置与语法信息,取得了更好的性能。(现在来看非常basic重要的信息!)
    • word case 做训练时候的teacher forcing
    • answer position feature
    • lexical features
      • POS
      • NER
graph LR
en((encoder)) --bi-GRU--> fe((feature-Rich)) --> word-vecotr
fe --> lexcial-feature-embedding-vectors --> POS+NER
fe --> answer-position-embedding --> BIO-tagging

word-vecotr --> 双向的隐藏层
POS+NER --> 双向的隐藏层
BIO-tagging --> 双向的隐藏层

de((decoder)) --带注意力机制,使用加性注意力--> maxout-hidden+具体需要看reference论文
de --> GRU

de --> Copy-Mechanism,一样使用加性注意力 --> 计算出概率从source句子中直接copy单词

:white_check_mark: :fire: :hammer_and_wrench: Learning to Ask: Neural Question Generation for Reading Comprehension, in ACL 2017. [pdf] [official code (torch)]

  • 将端到端训练的神经网络应用于问题生成
  • 采用seq2seq+attention模型架构
  • 摆脱了转换规则与模版的局限,取得了相比于传统方法更好的性能
  • 加入了paragraph-level
graph LR
任务难点 --更加接近于人类--> 同义词替换+知识引入 --> 相关工作 --> 过去:rule-based 
相关工作 --> 其他数据映射自然语言

Seq2Seq --> en((encoder)) --bidirectional--> soft计算注意力分数 --> lstm((LSTM))  --> only-sentence
lstm --> sentence+paragraph --> truncate截断,当然更好的方法是切片

Seq2Seq --> de((decoder)) --word-level-prediction--> LSTM((LSTM)) --> 隐藏层初始化 --basic-model --> 句子encoder的最后隐藏层
LSTM --oours--> 句子+段落的encoder输出


  1. 答案编码

:white_check_mark: :fire: Improving Neural Question Generation using Answer Separation, in AAAI 2019. [pdf]

  • 很多基础操作
  • 在答案上做了简单高效的预处理
    • Mask 原文中的答案
    • 对答案中的关键信息做抽取,计算attention
  1. 语言特征强化

传统的有POS(词性标注)和NER(命名实体识别)。后续还有一些更加细微的处理

:fire: Learning to Generate Questions by Learning What not to Generate, in WWW 2019. [pdf]

  • clue 和 copy的机制
  • image-20220703112845472
  • image-20220703113749291
  • 文章贡献
    • 帮助模型决策什么时候生成,什么时候copy
    • 生成多个问题
  1. 疑问词类型(question type)

Question-type Driven Question Generation, in EMNLP 2019. [pdf]

  • 引入对疑问词的预测模块,并且加入对应的损失函数
  • image-20220703121312077
  • image-20220703121503229
  • image-20220703121520488
  • 损失函数引文image-20220703122045296

二、段落级别特征

  1. 强化段落级别文本的特征

:fire: :hammer_and_wrench: Paragraph-level Neural Question Generation with Maxout Pointer and Gated Self-attention Networks, in EMNLP 2018. [pdf] [torch]

  • 主要贡献都在模型上面,基于seq2seq设计:image-20220704150006013

    • gate self-attention: 个人觉得是一套很常用的框架,可以学习一下,也非常简单

    • Maxout ==Pointer== & Decoding 全新的处理 copy 机制 (有空可以自行去看看代码!)

      • 之前copy得分:$\operatorname{sc}^{\text {copy }}\left(y_{t}\right)=\left{\begin{array}{l}\sum_{k, \text { where } x_{k}=y_{t}} r_{t, k}, \quad y_{t} \in \chi \ -i n f, \text{otherwise}\end{array} \quad\right.$ , 问题在于若文章中某个单词重复出现多次,则对该单词copy也会多,影响语句通顺。

      • 为此改进为Maxout Pointer: $$ \operatorname{sc}^{\text {copy }}\left(y_{t}\right)= \begin{cases}\max {k, \text { where } x{k}=y_{t}} r_{t, k}, & y_{t} \in \chi \ -i n f, & \text { otherwise }\end{cases} $$

:fire: Natural Question Generation with Reinforcement Learning Based Graph-to-Sequence Model,in ICLR 2020. [pdf] [torch]

  • 将passage和answer的表示(包含bert向量,glove向量,词汇特征等)进行多次反复的交互进行编码(非常细节的deep alignment network)
  • 利用GNN来编码(使用了两种方式):
    • 对sentence做dependency parsing,然后相邻的句子链接得到passage的图
    • 通过self attention的方式得到passage 的图(权值矩阵)

:fire: Improving Question Generation With to the Point Context, in EMNLP 2019. [pdf]

  • 联合建模非结构化句子(原文)和结构化答案相关关系( answer-relevant relation 预先从句子中提取)以生成问题(抓取重点上下文)
  • 作者发现上下文中,距离ansewr比较远的词并不一定不重要,相对的跟answer紧贴的词也有很多无关的,为了捕捉这种关系,作者使用OpenIE这个工具抽取上下文中存在的关系三元组

三、多任务训练

Multi-Task Learning with Language Modeling for Question Generation, in EMNLP 2019. [pdf]

  • 把语言模型(预测前后词)和QG作为multi-task一起进行训练。
  • 两个任务是层级的关系,先进行语言模型的预测,然后将语言模型的hidden作为特征提供给后面seq2seq

:fire: Improving Question Generation with Sentence-level Semantic Matching and Answer Position Inferring, in AAAI 2019. [pdf]

  • 出发点是是解决生成错误的疑问词copy原文中无关词的问题

  • 作者认为生成错误词的原因是没有正确的利用answer position信息,copy无关词的原因是缺乏局部语义信息

  • 为了分别缓解这两个问题,作者也是设计了两个辅助任务:

    • 语义匹配分类:这个任务的设计出发点也是SQuAD的数据特点,对于一个passage存在多个answer-question训练数据,模型对这样的数据容易产生一些宽泛不具体的问题。所以作者把passage-question作为正样本,passage-random selected question, random selected passage-question作为负样本进行分类任务。

    img

    • answer-postion位置预测:了让模型更好的利用answer信息,设计了一个预测answer在上下文中start和end位置的模型(pointer network),其中基础的编码部分采用BiDAF的方式。
    • 然后QG和这两个辅助任务一起训练,效果可。

:hammer_and_wrench: Varifocal Question Generation for Fact-checking, in EMNLP 2022. [pdf] [torch]

使用QG辅助做Fact-checking任务(很有用的一个应用场景),也有对应的数据集

image-20221113161641588

:fire: :hammer_and_wrench: Generative Language Models for Paragraph-Level Question Generation, in EMNLP 2022 oral. [pdf] [demo]

大模型做QG的Benchmark

  • 非常solid的一项工作
  • 动机
    • 之前都是基于评价指标来进行计算的,如BLEU
    • 存在很多方面的约束,比如可回答性,输入不一样等
  • 贡献
    • 统一到一个benchmark当中
      • 特定领域的dataset
      • 多种语言(8种)
    • 在LM中进行微调,在上一点提到的数据中进行验证
    • 多方面验证
      • 自动评价指标
      • 人工评价指标

:hammer_and_wrench: Educational Question Generation of Children Storybooks via Question Type Distribution Learning and Event-Centric Summarization, in ACL 2022. [pdf] [torch]

  • 动机

    • 从童话故事当中生成hugh-cognitive-demand的问题很有意义
    • 过去都是low-dognitive-demand (LCD) 问题描述,比如说 他是谁?
    • 故事的事件之间是有联系的,需要问出action,causal relationship的问题
  • 方法

    image-20221114170953173

:hammer_and_wrench: CQG: A Simple and Effective Controlled Generation Framework for Multi-hop Question Generation, in ACL 2022. [pdf] [torch]

  • 动机

    • 过去的多挑QG方法无法保证问题的复杂程度(complexity)
    • 两大挑战
      • 建立不同文档信息的联系
      • complex chains of entities

    image-20221115112431373

  • 方法

    • 先试用GAT抽取多文档之间联系,Standford corenlp toolkit来建立实体图

      • 重点在于找到关键的实体,和gt进行loss的计算
    • 设计flag tag来约束chain of entities,保证问题生成的复杂程度(注意:并不是teacher forcig) $$ \operatorname{flag}i^t= \begin{cases}0 & x_i \text { is not a constrain } \ 1 & x_i \text { does not appear in } y{1: t} \ 2 & x_i \text { appear in } y_{1: t}\end{cases} $$

image-20221115112909494

  • 模型图

image-20221115155002446

:hammer_and_wrench: [Meta Learning] DSM: Question Generation over Knowledge Base via Modeling Diverse Subgraphs with Meta-learner, in EMNLP 2022. [pdf] [torch]

COLING 2022 也有一篇CQG使用Meta Learning做QG的,和这篇很像

  • 动机

    • 不同的问题实际上有不同的知识语义结构
    • 过去的模型往往都是使用一个方法来拟合这些不同语义的问题,但是这样子会导致模型训练困难(实际上还可以解决数据imbalance的问题,COLING2022 CQG中的动机就是这个)

    image-20230218215343124

  • 方法模型,类似MAML的元学习器MAML简单解析

image-20230218215656301

:hammer_and_wrench: Modeling What-to-ask and How-to-ask for Answer-unaware Conversational Question Generation, in ACL 2023. [pdf] [torch]

有点教育学 + AI的意思,但实际上还是比较简单的做法

  • 动机:What-to-ask and How-to-ask (教育学
  • 方法(RoBERTa${large}$ 作为QT classifier, 预训练好的T5${base}$作为主干网络参数)

image-20230510163004578

:hammer_and_wrench: Synthetic Question Value Estimation for Domain Adaptation of Question Answering, in ACL 2023. [pdf] [[torch](https://github. com/xiangyue9607/QVE)]

  • 动机
    • 目标领域的QA,需要生成目标领域的QG(设置有点复杂)

image-20230718215810631

  • 模型方法

image-20230718215838581

:hammer_and_wrench: Let the LLMs Talk: Simulating Human-to-Human Conversational QA via Zero-Shot LLM-to-LLM Interactions, in WSDM 2024. [pdf] [code]

  • 动机
    • 让ChatGPT模拟学生-老师,生成问题+回答
  • 方法

image-20231221115428861

image-20231221115449544

:hammer_and_wrench: Diversify Question Generation with Retrieval-Augmented Style Transfer, in EMNLP 2023. [pdf] [torch]

  • 动机
    • 人类问问题有多样性(论文称为style)

image-20240103210736117

  • 方法

image-20240103210805667

  • 评价指标

image-20240103210933242

:hammer_and_wrench: Diversity Enhanced Narrative Question Generation for StoryBooks, in EMNLP 2023. [pdf] [torch]

  • 动机:生成多个问题,多样性

image-20240103211414342

  • 迭代生成方法

image-20240103211614655

image-20240103211543238

:fire: Prompting Large Language Models with Chain-of-Thought for Few-Shot Knowledge Base Question Generation, in EMNLP 2023. [pdf]

  • 动机
    • 将逻辑表达式通过Zero-shot转化成问题
  • 模型

image-20240103212234147

:triangular_ruler: Three Questions Concerning the Use of Large Language Models to Facilitate Mathematics Learning, in EMNLP Findings (Short Paper). [pdf]

  • 动机:探究LLM在数学教学中的应用
    • 论文附录中有一些例子展示
  • 方法

image-20240128175343218

  • 补充:让LLM生成问题合适的Prompt

image-20240128175502198


:sunrise: Visual QG

:fire: Generating Natural Questions About an Image, in ACL 2022.

第一篇VQG的工作

  • 动机

    • 与caption相比,VQG更希望稳一些超出语言表达本身,具有逻辑推理,常识知识的一些问题

    image-20221111221831899

    image-20221111221858832

  • 方法

    • 很简单的方法,就是一些简单的baseline尝试

:hammer_and_wrench: [No Visual] Entity Guided Question Generation with Contextual Structure and Sequence Information Capturing, in AAAI 2021. [pdf] [torch]

  • Multi-feature Encoder: 使用了POS(词性标注)+ NER(关系抽取)

:white_check_mark: :hammer_and_wrench: Mixture Content Selection for Diverse Sequence Generation, in EMNLP 2019.[pdf] [torch]

:hammer_and_wrench: Radial Graph Convolutional Network for Visual Question Generation, in IEEE Transactions on Neural Networks and Learning Systems 2020. [pdf] [torch]

:sunflower: VQG

在2022年的今天,VQA任务不太可能从刷分的角度来入手了 [Blog链接]

  • VQA任务是什么

  • 介绍之前的模型和方法

  • 欢迎来到Transformer的时代

    • 2019:尝试多模态表征
    • 2020:拥抱多模态表征
    • 2021:统一构架的探索

machine reading comprehension (MRC)和question answering (QA)的关系其实是相对独立的。Pure VQA任务一般是没有引入额外的文本内容,只是单纯的有${图, 问句, 回答}$。而Multimodal MRC任务,实际上就只是引入了额外的context作为VQA任务的知识,并且更加注重于自然语言的理解。MRC的主要任务类型一共有四种,分别为:

  • 完形填空(Cloze Style)
  • 多项选择(Multiple Choice)
  • 片段抽取(Span Prediction)
  • 自由作答(Free-form Answer)

[非深度学习方法] Answer-Type Prediction for Visual Question Answering,in CVPR 2016. [pdf]

  • 预测问题类别(人为标定)的概率再回答问题
  • 利用贝叶斯算法对目标的空间关系进行建模,计算出每个答案的概率
  • 其有效性不如简单的基线模型;部分原因在于其依赖语义分割的结果

Differential Attention for Visual Question Answering, in CVPR 2018. [pdf]

  • 解决为了让模型更加关注到人类所关注的区域

image-20220910151132747

:hammer_and_wrench: Multiple Objects-Aware Visual Question Generation, in ACM MM 2021. [pdf]

  • 写作上写得很实在,很容易懂,有很多承上启下的句子。
  • 首次将对象融入到问题生成任务当中

image-20220629230122528

:hammer_and_wrench: Difficulty-Controllable Visual Question Generation, in APWeb-WAIM 2021. [pdf]

  • 难度可控的问题生成:采用了教育学领域收集好的问题难度标签(DIF), 详见链接

  • 在VQA2.0数据集的基础上构建了一个包含区分为容易和难的问题数据集

    • 引入两个VQA的模型来进行回答,都回答对的为容易,都回答错误就是难的
  • image-20220629231350190

    • 其中Difficulty Variable就是${0, 1}$

:hammer_and_wrench: Learning to Caption Images Through a Lifetime by Asking Questions, in ICCV 2019. [pdf] [torch]

  • 将Caption 和 VQG 一起来做,提升生成的性能

:hammer_and_wrench: Inferential Visual Question Generation, in MM 2022. [pdf] [dataset & code]

无需模型训练的,就是人为规定函数模版规则的方法生成的。

  • 动机
    • 过去VQG的方法生成问题不够challenge 或者依赖于人工标记
  • 过去的VQG
    • 只是简单的反转一下VQA
    • 数据集当中有很多long tail和语义联系太弱了
    • 生成问题太过普通,而且缺少关键信息
    • 与Caption不同的是,VQG需要生成具有挑战性的问题
  • 方法

image-20221015215029327

  • 例子
    • 增加可交互性

image-20221015215356890

截屏2022-10-15 21.54.35

:hammer_and_wrench: Multi-VQG: Generating Engaging Questions for Multiple Images, in EMNLP 2022. [pdf]] [dataset]

Baseline就是VL-T5,详见论文

  • 动机
    • 过去的VQG主要是针对一张图片进行提问的,往往回答的都是很简单的事实。而人类通常在构造问题之前会构造一个故事,类似于发推特
    • 过去的VQG减少了了参与者的回答意愿
    • 单个图片缺乏事件信息,缺乏对事件信息时序的理解
image-20230127235522552
  • dataset的特点
    • 故事背后包含故事信息
    • 五张图片 + 一个故事描述
    • 数据集标注方法
      • 写出top5对象和事件
      • 给出一个描述
      • 想想如果想将这五张图片发上去推特会问什么
  • 更多Cases

image-20230128205258419

:hammer_and_wrench: Why Did the Chicken Cross the Road? Rephrasing and Analyzing Ambiguous Questions in VQA, in ACL 2023. [pdf] [dataset&torch]

  • 动机
    • 标注一个新的VQA数据集(只有验证和测试时候的),因为这个工作是想用来评估当下VQG模型的性能
    • 缓解一下VQG任务当中一些很ambiguity的问题
      • 视觉信息没出现
      • 问法不明确
image-20230621151706413 image-20230621151725513
  • 方法模型
    • Baseline验证一下而已
    • 未来可以用来做VQG改写的任务

:fire: :hammer_and_wrench: Location-Aware Visual Question Generation with Lightweight Models, in EMNLP 2023. [pdf] [torch]

很搞的一个动机

  • 动机
    • 避免司机的疲劳驾驶,让移动设备根据当前驾驶环境给司机提问

image-20231105103551827

  • 数据集构建过程(利用GPT-4)

image-20231105103601176

:fire: Advancing Large Multi-modal Models with Explicit Chain-of-Reasoning and Visual Question Generation, 2024-01. [pdf]

  • 动机:使用Question增加VLM多模态COT的能力

image-20240126160216247

  • 构建指令 + 微调LLM

image-20240126160331924

  • 给ChatGPT的Prompt

image-20240126160432699

:hammer_and_wrench: ConVQG: Contrastive Visual Question Generation with Multimodal Guidance, in AAAI 2024. [pdf] [torch]

  • 动机(其实很一般的动机)
    • Generating focused questions using textual constraints while enforcing a high relevance to the image content

Modalities overview

  • 模型方法

Modalities overview

  • Poster

image-20240222103105946

:fire: :hammer_and_wrench: Chain-of-Exemplar: Enhancing Distractor Generation for Multimodal Educational Question Generation, in ACL 2024. [pdf] [[torch](https://github.com/ Luohh5/Chain-of-Exemplar)]

  • 动机
    • 针对ScienceQA的问题目,需要生成问题同时考虑干扰项的生成

image-20240824110002018

  • 方法
    • 找到类似的example例子 + 多任务学习

image-20240824110033092


:video_camera: Video QG

Video Question Generation via Semantic Rich Cross-Modal Self-Attention Networks Learning, in ICASSP 2020. [pdf]

  • 使用了**TVQA**数据集,is based on 6 popular TV shows and consists of 152,545 QA pairs from 21,793 clips.
  • 总体没什么创新的

Multi-Turn Video Question Generation via Reinforced Multi-Choice Attention Network, in T-CSVT 2021.[pdf]

  • Multi-Turn(M-VQG):结合多轮对话+视频信息
  • 优点: 利用动态场景信息,问题可回答性,对话记录信息抽取
  • 方法:baseline方法,强化学习(看不懂)

End-to-End Video Question-Answer Generation with Generator-Pretester Network, in T-CSVT 2021. [pdf]

  • 引入一问一答的形式,生成问题和答案,然后测试答案是否正确
  • 硬件平台:NVIDIA DGX-1(8 * V100)

:hammer_and_wrench: [2023.3未开源] Learning to Retrieve Videos by Asking Questions, in MM 2022. [pdf] [torch]

  • 动机

    • 缩小检索的范围,更加interactive

    image-20230317100606225

  • 和过去方法的不同

image-20230317100636723

  • 模型方法

image-20230317100707179

:city_sunset: VQA

:hammer_and_wrench: MuKEA: Multimodal Knowledge Extraction and Accumulation for Knowledge-based Visual Question Answering, in CVPR 2022. [pdf] [torch]

  • 动机

    • 过去基于知识的,都只是考虑了文本上的知识,缺乏对多模态知识的理解

    image-20220901165323764

  • 主要贡献

    • 端到端的多模态知识表示 $(Entity, relation, answer)$
    • pre-training and fine-tuning strategy to accumulate both out-domain and in-domain knowledge

image-20220901165520112

  • 细节

    • 三个损失函数的设计

      • Triplet TransE Loss: 保持embedding的结构(通过对比学习)

      $$ \mathcal{L}{\text {TransE }}=\sum{t^{+} \in \mathcal{A}^{+}} \sum_{t^{-} \in \mathcal{A}^{-}}\left[\gamma+\mathrm{d}\left(h+\boldsymbol{h}, \boldsymbol{t}^{+}\right)-\mathrm{d}\left(\boldsymbol{h}+\boldsymbol{r}, \boldsymbol{t}^{-}\right)\right]_{+} $$

      • Triplet Consistency Loss: 保证严格的拓扑关系

      $$ \mathcal{L}_{\mathrm{Tri}}=\operatorname{MSE}\left(h+r, t^{+}\right) $$

      • Semantic Consistency Loss: 保持在语义空间中的表达一致性

      $$ {P\left(t^{+}\right)=\operatorname{softmax}\left((T)^{T}(h+r)\right)} \{\mathcal{L}_{\mathrm{Sem}}=-\log \left(P\left(t^{+}\right)\right)} $$

    • 预训练和微调策略

      • 先在VQA 2.0数据集上进行预训练来收集视觉主导的知识
      • KB-VQA数据集上进行微调
    • 关于尾部Entity

      • 训练的时候直接做teacher-forcing
      • 推理的时候计算$\mathbf{h}{inf}+\mathbf{r}{inf}$ 与 look up table $\mathbf{T}$的最小距离

      $$ \boldsymbol{t}{\inf f}=\underset{\boldsymbol{t}i \in T}{\arg \min } \mathrm{d}\left(\boldsymbol{h}{\text {inf } f}+\boldsymbol{r}{\text {inf } f}, \boldsymbol{t}_{\mathrm{i}}\right) $$

image-20220901170039718

[VCR] Explicit Cross-Modal Representation Learning for Visual Commonsense Reasoning, in TMM 2022. [pdf

  • 动机:为了加强VCR任务的reasoning过程,不再那么隐式
  • 方法

image-20220923223408003

  • 例子

image-20220923223502035

:hammer_and_wrench: Knowledge-Grounded Self-Rationalization via Extractive and Natural Language Explanations, in ICML 2022. [pdf] [code (not released in 2022/11/20)]

注意这篇论文早于👇下面的两篇论文,所以结果上和下面两篇论文有明显的差距

  • 动机

    • 借助关键信息抽取还有解释生成的方法来预测答案会更好
  • 方法(这篇论文方法上文章没有做很详细的,描述,具体代码也没有公开,所以无法很详细的解析)

    image-20221120100005850

    • 抽取关键元素
      • 使用HardKuma吩咐的方法来学习latent selectors 选择合适的元素
    • 知识抽取
    • 知识选择(方法和第一点一致)
    • 生成解释+预测答案(生成解释预测答案)

    image-20221120100330138

:hammer_and_wrench: NLX-GPT: A Model for Natural Language Explanations in Vision and Vision-Language Tasks, in CVPR 2022. [pdf] [pdf]

  • 动机
    • 之前方法分为先生成A再生成E两步走, 缺乏对reasoning过程的考虑
    • 缺少一些对E和A相关性还有对bias程度估计的评价指标
    • 过去和文章方法上的对比

image-20221001182330655

  • 方法(及其简单)
    • GPT-2模型是在大规模的image-caption数据集中蒸馏出来的
    • Vision Encoder 使用了CLIP

image-20221001182426390

  • 新的自动化评价指标

    • 评估EA的相关性

    image-20221001182614962

    • 评估模型Bias程度

    image-20221001182654034

    红色为小于0的值,都置为0,然后计算distance的平均值,值越小,模型的Bias越小

:hammer_and_wrench: [Viisual Explanation] Chunk-aware Alignment and Lexical Constraint for VisualEntailment with Natural Language Explanations, in MM 2022. [pdf] [Talk] [torch]

  • 是上面一篇工作的进一步研究
  • 任务介绍
    • 给定一个图片文本对 ----> 关系(entailment或者答案)+ 解释

image-20220930221347803

  • 动机

    • 缺少对Chunk级别的高层语义信息的理解
    • 没有决策的过程,只是简单的融合特征
  • 方法(注意:使用了Oscar这个预训练模型)

    image-20220930221438196

:hammer_and_wrench: SwapMix: Diagnosing and Regularizing the Over-Reliance on Visual Context in Visual Question Answering, in CVPR 2022. [pdf] [torch]

  • 动机

    • 作者从一个新的角度来研究 VQA 模型的鲁棒性:visual context。并表示,这些模型过度依赖visual context,即图像中不相关的物体,来进行预测。

    img

  • 发现

    • 虽然之前的工作从语言上下文的角度研究了VQA鲁棒性,但在这项工作中,我们从另一个角度研究了VQA模型的鲁棒性:视觉上下文
    • 通过扰乱不相关的上下文,超过45%的预测的正确答案都会被改变。表明VQA模型高度依赖图像中的上下文,因此容易受到上下文干扰的影响。
    • 过度依赖上下文在很大程度上取决于视觉表征的质量
      • 个完美的视觉模型对上下文的依赖要小得多。我们通过使用groundtruth对象和属性编码替换视觉表征来实现这一点
  • 贡献

    • 是第一个从视觉上下文的角度研究VQA稳健性的人,通过简单的上下文扰动策略SwapMix,对两个有代表性的VQA模型的健壮性进行了基准测试,并发现它们过度依赖视觉上下文。
    • 发现一个完美的视觉模型对视觉上下文的依赖要小得多,为模型提供完美的视觉编码,并观察模型稳健性的改善。
    • 定义了两个指标上下文依赖性和有效准确性,并通过使用SwapMix作为数据增强技术显示了改进。
  • 方法

    image-20221103155743460

Weakly Supervised Relative Spatial Reasoning for Visual Question Answering, in ICCV 2021. [pdf]

博客链接

  • 动机

    • 视觉推理的一个关键方面是空间理解,它涉及到理解对象的相对位置,即隐式地学习场景的几何形状。
    • 过去的预训练大模型在推理时候,都无法理解2D图像当中的空间信息
    • 为此设计了两个目标作为空间推理(SR)的代理
      • 对象质心估计
      • 相对位置估计

    image-20221106145708208

  • 贡献

    • 提出两个子任务,理解2D图像当中的几何信息
    • 展现了强大的zero-shot能力,只需要10%的训练数据进行训练
    • OOD(Out of Distribution)的泛化能力也很强
  • 方法

    • 预处理工作

      • 抽取图像的深度(预训练好的AdaBins模型)

        • 质心表示$(x_c, y_c, z_c),$ $z_c代表深度$
        • 相对位置表示: 质心之间向量的减法,同时$dist(A,B)=−dist(B,A)$
      • 在上述两个任务中,预测都是实值向量。评估了这些任务的两个变体:

        • 一个回归任务,其中模型预测$\mathbb{R}^{3}_{[-1, 1]}$中的实值向量
        • bin分类,为此,我们将所有三个维度的实值范围划分为C个log-scale bins。第c个bin的bin宽由下式(使用超参数$\lambda=1.5$)给出:

        $$ b_c=\frac{1}{\lambda^{C-\left|c-\frac{C}{2}\right|+1}}-\frac{1}{\lambda^{C-\left|c-\frac{C}{2}\right|+2}} \forall c \in{0 . . C-1} $$

        • 对数尺度的bins对更近的距离有更高的分辨率(更多的bins),对更远的距离有更低的分辨率(更少的bins)
        • 最简单的bin分类形式是一个具有bin间隔的三类分类任务$[−1,0)、[0]、(0,1]$
    • 弱监督代理任务 $SR$

      • 质心预测: $\mathcal{L}{S R-r e g}=\mathcal{L}{M S E}\left(f_{r e g}(v), y_{r e g}\right)$
        • 将视觉信息压缩为$36 \times 3$来和gt(预处理得到的) 进行计算
      • 相对位置评估: $\mathcal{L}{S R \text {-bin }}=\mathcal{L}{C E}\left(f_{\text {bin }}(V), y_{b i n}\right)$
        • 训练一个两层前馈网络$f_bin$来预测每个维度上每个对象的$36\times C \times D$个$bin$类,其中$C$是类的数量,$D$为3
    • Patches视觉信息

      • 能更好利用空间信息(这里说的是平面空间信息,有位置编码)

      image-20221106152759382

:fire: :hammer_and_wrench: An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQA, in AAAI 2022. [pdf] [torch] [博客链接]

image-20221108163040036

  • 探索PLM对知识的理解能力做VQA,不需要根据知识库进行检索
  • few-shot的形式

:fire: CLIP Models are Few-shot Learners: Empirical Studies on VQA and Visual Entailment, in ACL 2022. [pdf]

实验性的文章

  • 动机

    • 为了验证CLIP做VQA任务还有Visual Entailment任务的zero-shot性能
    • 提出VQA中few-shot下的微调策略
  • 方法

    • Zero-shot VQA

    image-20221204155946020

    • Zero-shot Visual Entailment

    image-20221204160041611

    • Few-shot VQA
      • 分成question type $\times$ answer type 路(如果按照词汇表来分就太多了), $65 \times 3 = 195$ ways
      • 微调细节详见论文(微调CLIP模型的一部分参数)

:fire: :hammer_and_wrench: A-OKVQA: A Benchmark for Visual Question Answering using World Knowledge, in ECCV 2022. [home page]

OK-VQA的升级版本

  • 动机

    • 过往的数据集顶多就是检索数据库里面的知识,没有做到对图片常识的推理(更加丰富的知识)
    • 我们实际上需要,识别图片,理解问题,找到知识,推理出对应的答案
    • 过去的数据集
      • FVQA:缺乏推理的过程,而且和图片不怎么相关
      • KVQA:通常是实体的知识,在维基百科上面的知识,而且主要是问任务方面的,没有常识的知识
      • OK- VQA:有bias,知识太过简单(e.g., What is the capital of this country?), 而且缺乏推理
      • VCR:重点是电影场景中人的意图
  • 数据集知识类型

    image-20221110165948489

    • Commonsense - learn from social behavior, 有点推理的意思 (e.g., many donuts being made in a cart implies they are for sale rather than for personal consumption).
    • Visual - Knowledge of concepts represented visually, 和图片相关 (e.g., muted color pallets are associated with the 1950s).
    • Knowledge bases - 检索知识库的知识, Knowledge obtained from textbooks, Wikipedia and other textual sources (e.g., hot dogs were invented in Austria).
    • Physical - 日常生活的知识,Fact, Knowledge about the physics of the world (e.g., shaded areas have a lower temperature than other areas)

:hammer_and_wrench: [VCR] Heterogeneous Graph Learning for Visual Commonsense Reasoning, in NIPS 2019. [pdf] [torch]

  • 与传统的VQA不太一样,R: 解释(Reason)
    • 三个子任务分别是: $Q \rightarrow A$, $QA \rightarrow R$, $Q \rightarrow AR$
  • 方法:构建异构图

image-20220921151513456

image-20220921151544188

:hammer_and_wrench: [VCR] Connective Cognition Network for Directional Visual Commonsense Reasoning,in NIPS 2019. [pdf] [torch]

  • 与上一篇论文思想比较类似,参考神经科学当中将神经元整合起来的思想

  • 做法

image-20220921171105320

  • 模型相关细节

image-20220921171210400

  • 第一part中连接的构建

image-20220921171342266

:fire: [Knowledge-Based] KRISP: Integrating Implicit and Symbolic Knowledge for Open-Domain Knowledge-Based VQA, in CVPR 2021. [pdf] [博客链接]

  • 动机

    • 验证利用外部知识+隐式知识结合的做QA的能力

    • 隐式知识可以从基于大规模语料预训练的模型有效地学习。

    • 显示的知识可以从知识库中的明确的、符号化的知识中学习。

    • 将两种模型进行集成,即可同时结合隐式知识与显式知识进行推理。

      image-20221112091608964

  • 方法

    • 构建外部知识库,由于原来的知识太多了,根据规则对知识进行一定的筛选

      • DBPedia, ConceptNet , VisualGenome and hasPart KB ,进行节点过滤,只保留包含图像目标检测label的节点,最后的知识图包含8000节点和36000条边,采用RGCN作为卷积模型

        img

    • 模型设计(很简单)

    截屏2022-11-12 09.18.44

:hammer_and_wrench: :fire: [多模态版本COT] *Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering, in NIPS 2022. [pdf] [博客] [data&code]

手速实在太快了

  • 动机

    • AI做问题回答的时候应该具有类似人的思考方式,当下的大语言模型更多是黑盒
      • 链式思维方式
      • few-shot的迁移能力
  • 贡献

    • 提出一个多模态的包含多步解释的数据集(科学问题,21,208个例子)
    • COT的方式生成解释
    • 结合语言模型探索GPT+COT的上限

    image-20221122112213974

  • 数据集特点

image-20221122112301059

image-20221122112322813

  • 方法

    • 图像处理就简单的转成Caption,作为visual context

    • 使用COT改进UnifiedQA (微调)

      • 原来:->A
      • 改进后: -> ALE (Answer, Lecture, Explanation)
    • 使用GPT-3+COT

      • 设计Prompt(few-shot的方式)

      image-20221122112544202

  • 实验结果(具体结果可以看论文或者博客)

    • 解释生成的效果(是不是写错了???)

    image-20221122112645359

    • 模型上限探索+不同的ALE位置探索

    image-20221122112715645

:hammer_and_wrench: A Unified End-to-End Retriever-Reader Framework for Knowledge-based VQA, in MM 2022. [pdf] [torch]

这篇论文实验味道比较重,挺严谨的一个工作

  • 动机

    • 过去的VQA模型主要是集中在利用显示知识还有隐式知识上面
      • 过去的显示知识往往存在noisy,因为没有对应的标签来约束
      • 隐式知识又大部分是利用了预训练的语言模型,而没有人探究多模态预训练模型是否也有隐式知识
    • 模型上,传统的都是检索知识,再做predict answer。是两个单独的模块
      • 本文将两个模块联系起来,用一个统一的模块解决
  • 方法

image-20230128223057226

image-20230128223221039

  • 推理时候

    • 直接检索出来最好的那个知识,然后去回答即可
  • 结论

    • 预训练模型当中的隐式知识更加重要
    • 具体见论文的实验

:hammer_and_wrench: A Multi-Modal Context Reasoning Approach for Conditional Inference on Joint Textual and Visual Clues, in ACL 2023. [pdf] [torch]

  • 动机

    • 过去这个多模态推理的任务都是用VLM的方式,很少考虑到multimodal context推理的能力(缺少这种pre-context的机制来激活模型
    • PMR数据集中的例子

    image-20230510161851173

  • 贡献

    • 多模态的in-context能力
    • 激发P LM做多模态推理的能力
  • 方法

image-20230510162012719

:fire: :hammer_and_wrench: Combo of Thinking and Observing for Outside-Knowledge VQA, in ACL 2023. [pdf] [torch]

  • 动机
    • 过去的知识性VQA要么忽视了textual knowledge in natural-language space
    • 要么完全放弃了视觉信息
    • 这里希望两者结合起来,约束多模态空间into语言空间当中

image-20230516111041254

  • 过去工作的汇总

image-20230516111123423

  • 方法:超级无敌大杂烩

image-20230516111152375

:hammer_and_wrench: [I-T Retrieval] CLIP for All Things Zero-Shot Sketch-Based Image Retrieval, Fine-Grained or Not, in CVPR 2023. [pdf] [torch]

  • 动机
    • 第一次ZS的 Sketch-based 的图片检索
    • 方法上设计了一些独特的loss(很低资源的显卡都可以跑起来)

image-20230724101958886

  • 方法
    • 整体框架

image-20230724102027823

  • 领域迁移的loss

image-20230724102052645

:hammer_and_wrench: [T-I Retrieval] Pic2Word: Mapping Pictures to Words for Zero-shot Composed Image Retrieval, in CVPR 2023. [pdf] [torch]

  • 动机
    • Zero-shot的开放世界图文检索

image-20230724103100073

  • 方法

image-20230724103119337

:hammer_and_wrench: Symbolic Replay: Scene Graph as Prompt for Continual Learning on VQA Task, in AAAI 2023. [pdf] [Dataset&torch]

  • 动机
    • 和CVPR 2023的那一篇一样,都是VQA连续学习的
    • 做法上为了保证数据隐私,memory要用生成的内容
    • 提出benchmark主要分为场景图(6类场景) + 功能(6类功能)

image-20230725103249913

image-20230725103403996

  • 方法(个人还是觉得CVPR 2023的那个做法好一些)

image-20230725103420284

image-20230725103514264

  • 实验(不同的Task Order)

image-20230725103637538

:hammer_and_wrench: :fire: PROMPTCAP: Prompt-Guided Task-Aware Image Captioning, in ICCV 2023. [pdf] [torch]

这篇论文我关注很久了,估计是投CVPR没中,中了ICCV

  • 动机
    • 如何用ChatGPT辅助知识性视觉问答

image-20230829205901778

  • 训练方法

image-20230829210040620

  • Prompt的设计

image-20230829210305089

  • 模型推理过程

image-20230829210335689

  • 实验结果

image-20230829210409210

:hammer_and_wrench: SlideVQA: A Dataset for Document Visual Question Answering on Multiple Images, in AAAI 2023. [pdf] [[torch](https://github. com/nttmdlab-nlp/SlideVQA)]

  • 动机
    • PPT VQA数据集:很好的解决了为什要进行多图像的QA或者QG的动机
    • 过去的文档VQA往往也只是关注一张图片
    • 目前模型的结果和人类的结果相比相差还非常大
  • 数据集样例
    • 单跳,多跳,数据推到的问题

image-20230912151704417

  • 模型方法

image-20230912151818638

:hammer_and_wrench: :fire: Encyclopedic VQA: Visual questions about detailed properties of fine-grained categories, in ICCV 2023. [pdf] [dataset]

  • 动机:提出一个开放世界超级难的VQA数据集

image-20231018210801188

:hammer_and_wrench: :fire: Improving Zero-shot Visual Question Answering via Large Language Models with Reasoning Question Prompts, in MM 2023. [pdf] [torch]

  • 动机
    • LLM做VQA,提出应该把问题分开来

image-20231114211254215

  • 方法

image-20231114211314688

:hammer_and_wrench: Analyzing Modular Approaches for Visual Question Decomposition, in EMNLP 2023. [pdf] [torch]

  • 动机
    • 将问题分解来进行回答
  • 方法

image-20231206165629490

image-20231206165657448

:hammer_and_wrench: From Wrong To Right: A Recursive Approach Towards Vision-Language Explanation, in EMNLP 2023. [pdf] [torch]

  • 动机
    • VQA + 解释生成
  • 方法

image-20231206165845266

:hammer_and_wrench: :fire: Divide, Evaluate, and Refine: Evaluating and Improving Text-to-Image Alignment with Iterative VQA Feedback, in NeurIPS 2023. [project]

  • 动机

    • 利用VQA辅助Diffusion model生成更加准确的图像

    image-20231214113241182

  • 方法

image-20231214113315764

image-20231214113328747

:hammer_and_wrench: Emergent Communication in Interactive Sketch Question Answering, in NeurIPS 2023. [pdf] [torch]

  • 动机
    • 使用VQA来辅助绘画问答

image-20231214113521459

  • 方法

image-20231214113552861

  • 数据集构建

image-20231214113653300

TOA: Task-oriented Active VQA, in NeurIPS 2023. [pdf]

  • 动机
    • 和ViperGPT最大区别就是使用了多轮对话的形式

image-20231214154141900

:fire: :hammer_and_wrench: LoRA: A Logical Reasoning Augmented Dataset for Visual Question Answering, in NeurIPS 2023. [pdf] [torch]] [dataset]

  • 动机
    • 提出复杂逻辑的VQA数据集

image-20231214154556037

  • 数据集构建流程

image-20231214154720110

  • baseline表现实验

image-20231214154749755

:hammer_and_wrench: :fire: Exploring Question Decomposition for Zero-Shot VQA, in NeurIPS 2023. [project]

  • 动机
    • 分解问题,辅助VQA。但不是所有问题都需要分解
    • 小于13B的模型也可以分解问题,分解问题时候图像信息不一定很有用

image-20231215103107199

  • 方法与伪代码

image-20231215103153913

image-20231215103209636

:hammer_and_wrench: One Self-Configurable Model to Solve Many Abstract Visual Reasoning Problems, in AAAI 2024. [pdf] [torch]

  • 动机
    • 过去的方法对于不同的AVR数据集(类似于IQ测试)都要构建不同的方法
    • 作者统一使用一个模型来学习三种AVR数据集

image-20231225092112676

  • 模型概览与具体架构

image-20231225092142000

image-20231225092208254

:hammer_and_wrench: Image Content Generation with Causal Reasoning, in AAAI 2024. [pdf]] [torch]

  • 动机
    • 过去的图像生成模型没有考虑潜在的cause-and-effect的逻辑
    • 提出一个用生成图像来做VQA的数据集(考虑事件的因果性)

image-20231225102858672

  • 数据集格式(有标注好的causal chain的)

image-20231225103058420

  • 模型方法
    • Causal Chain变成二分类问题,默认B也可以直接影响D

image-20231225103121547

:fire: :hammer_and_wrench: Lecture Presentations Multimodal Dataset: Towards Understanding Multimodality in Educational Videos, in ICCV 2023. [pdf]] [torch&Dataset]

我认为这篇论文最大的问题就是Baseline对比的方法太过古老,在BLIP-2这种模型表现如何呢?数据集贡献确实大

  • 动机
    • 大规模的数据集,旨在作为测试视觉与语言模型在多模态理解教育视频方面能力的基准。该数据集包含了对齐的幻灯片和口头语言,涵盖了180多小时的视频和9000多张幻灯片,涉及来自不同学科(如计算机科学、牙科、生物学)的10名讲师。

image-20240104114314666

  • 标注过程

image-20240104114356044

  • Baseline模型方法(比较简单)

image-20240104114517146

:fire: :hammer_and_wrench: ECG-QA: A Comprehensive Question Answering Dataset Combined With Electrocardiogram, in NeurIPS 2023. [pdf] [dataset]

  • 动机
    • 提出心电图QA数据集
      • 基于一个医学的心理学数据集,通过一些过滤+模板的方式得到的,不是从头开始标注的。基于PTB-XL数据集
  • 数据集形式

image-20240104162238246

image-20240104162256447

  • 数据集构建过程

image-20240104162452985

Object Attribute Matters in Visual Question Answering, in AAAI 2024. [pdf]

个人觉得很无聊

  • 动机:关注Obj的属性(实际上就是为每个Obj生成Caption)
  • 方法

image-20240121094646477

:fire: KAM-CoT: Knowledge Augmented Multimodal Chain-of-Thoughts Reasoning, in AAAI 2024. [pdf]

  • 动机:用KG增强小模型也能做高难度的多模态COT问答
  • 方法

image-20240125184637286

:fire: :hammer_and_wrench: EQA-MX: Embodied Question Answering using Multimodal Expression, in ICLR 2024. [pdf]

  • 动机:做Embodied VQA任务

image-20240125194957651

  • 数据集展示

image-20240125195012951

  • 方法:使用了Vector Quantization(将连续表征离散化,更好与语言信息对齐)

image-20240125195127720

:hammer_and_wrench: :fire: Towards More Faithful Natural Language Explanation Using Multi-Level Contrastive Learning in VQA, in AAAI 2024. [pdf] [torch]

  • 动机:保证答案和解释的逻辑一致性(和我们TIP的论文出发点是一样的)

image-20240125200836531

  • 方法:对比学习

image-20240125200911090

  • 实验结果

image-20240125200937310

:fire: :hammer_and_wrench: Bidirectional Contrastive Split Learning for Visual Question Answering, in AAAI 2024. [pdf]

  • 动机
    • 去中心化VQA,保护数据隐私,可以对抗dual-key的后门攻击
  • 方法

image-20240126164624613

:hammer_and_wrench: :fire: UniChart: A Universal Vision-language Pretrained Model for Chart Comprehension and Reasoning, in EMNLP 2023. [pdf] [[torch](https://github.com/vis- nlp/UniChart)]

  • 动机
    • 过去ChatQA忽略了表格数据的结果
  • 方法:多目标预训练(GT使用GPT生成的

image-20240126173837920

:hammer_and_wrench: Can Pre-trained Vision and Language Models Answer Visual Information-Seeking Questions, in EMNLP 2023. [pdf] [torch]

  • 动机:需要信息检索才能做的VQA任务

image-20240128173244477

  • 方法

image-20240128173556620

:hammer_and_wrench: A Symbolic Character-Aware Model for Solving Geometry Problems, in MM 2023. [pdf] [torch]

详见论文

  • 动机
    • 抽取出符号特征
    • 但是我觉得这都是无力的挣扎,在ICLR 2024 MathVisa这些论文才用LLM是正道

image-20240128201303963

:hammer_and_wrench: VQAttack: Transferable Adversarial Attacks on Visual Question Answering via Pre-trained Models, in AAAI 2024. [pdf]

  • 动机:第一个探索VQA对抗攻击(具体动机见论文)

image-20240222101051229

  • 方法(具体见论文)

image-20240222101114880

:sunny: Textual-QA

:fire: :hammer_and_wrench: [Question Answering] Commonsense for Generative Multi-Hop Question Answering Tasks, in EMNLP 2018. [pdf] [tensorflow]

:hammer_and_wrench: [Dialogue System] Improving Knowledge-aware Dialogue Generation via Knowledge Base Question Answering, in AAAI 2020. [pdf] [torch]

[Question Answering] Using Local Knowledge Graph Construction to Scale Seq2Seq Models to Multi-Document Inputs, in EMNLP 2019. [pdf]

:fire: :hammer_and_wrench: **[Question Answering] ** Improving Multi-hop Question Answering over Knowledge Graphs usingKnowledge Base Embeddings, in ACL 2020. [pdf] [torch]

:hammer_and_wrench: Found a Reason for me? Weakly-supervised Grounded Visual Question Answering using Capsules, in CVPR 2021. [pdf] [[torch](https://github.com/aurooj/ WeakGroundedVQA_Capsules.git)]

  • 不用faster-rcnn
  • 训练输入是问题和答案,输出是预测答案对应的grouding area

KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Base, in ACL 2022. [pdf] [[project](https://github.com/shijx12/ KQAPro_Baselines)]

  • 更加复杂的数据量更大的引入知识的数据集
    • 并且给出了两种reasoning的过程
    • 可以做QA和语义解析服务
    • 利用更加复杂的模版和知识生成问题

image-20220912160811327

[自然语言推理] Generated Knowledge Prompting for Commonsense Reasoning, in ACL 2022. [pdf] [torch

这篇论文的思想和few-shot COT很像

  • 动机

    • 探索LM对知识的理解能力来回答逻辑推理的问题
    • 不再需要外部知识库进行检索,或者根据特定任务的监督信号进行知识的融合
  • 方法

    • 让LM在few-shot情况下来生成解释的prompt

      • 首先根据任务规定一下prompt模版,每个任务五个模板(few-shot)

      image-20221106225100256

      • 继续输入问题到那个占位符当中,LM自动生成知识,扔回去作为样本集合$K_q={k_1, k2, ..., k_M}$
    • 知识融合

      • 问题和每个样本集合中的知识$k$进行融合, concat操作

      $$ q_0=q, q_1=\left[k_1 | q\right], \ldots, q_M=\left[k_M | q\right] $$

    • 最后选择最合适的对,扔进去下一个LM进行推理,最后生成答案

:hammer_and_wrench: GeoMLAMA: Geo-Diverse Commonsense Probing on Multilingual Pre-Trained Language Models, in EMNLP Oral. [pdf] [benchmark]

Probe介绍博客

  • Probe探究了神经网络的内部机制如何对auxiliary linguistic tasks (or probe tasks, or ancillary tasks)进行分类

具体地,以BERT举例,对于一个在训练在主任务上的大型神经网络,Probe是一个插入在其中间层的浅层神经网络,通常是一个分类器层。Probe有助于探查不同层捕获的信息。使用辅助任务对Probe进行训练和验证以发现是否捕获了此类辅助信息。原文作者给了一个图片示例:

img

  • 动机:常识知识在不同的地理位置中,会有所不一样

image-20230203111838400

  • 数据集标注方法

image-20230203111924641

:hammer_and_wrench: :fire: Automatic Chain of Thought Prompting in Large Language Models, in ICLR 2023. [pdf] [torch] [rebuttal]

  • 动机
    • 过去COT主要是两种
      • 完全Zero-shot COT,就简单说一句“Let’s think step by step” 就让GPT-3直接生成
      • Manual COT 人为手动标定一些Q-C的demonstration 做 in-context learning
    • Zero-shot COT 性能不够好,Manual COT 需要手工标注,并且对demonstration的领域很敏感(以往都是根据特定领域进行标注)

image-20230210172030892

  • 作者希望这些demonstration直接让Zero-shot COT生成,但是实验过程中发现,demonstration对多样性的要求很高,所以考虑使用问题聚类的方式来先分类
    • 多样性高的demonstration才会效果好,详见论文。做了详细的实验和说明
    • 因为如果多样性不高,demonstration生成的chain的答案就是有错的,如果都是同一类的话,基本上就是demonstration答案全是错的,更别说后面生成目标问题的答案了

image-20230210172719091

  • 方法模型
    • ⚠️注意人工筛选是指用一些规则进行筛选,详见论文

image-20230210172754187

Iteratively Prompt Pre-trained Language Models for Chain of Thought, in EMNLP 2022. [pdf] [torch]

  • 动机

    • CoT的其中一种实现方式

    image-20230323172041557

  • 方法

image-20230323172136781

Inductive Relation Prediction with Logical Reasoning Using Contrastive Representations, in EMNLP 2022. [pdf

  • 动机

image-20230327110331795

  • 方法

image-20230327110354474

:hammer_and_wrench: Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Models, in ACL 2023. [pdf] [code]

  • 过去的COT存在的问题
    • calculation errors
    • missing-step error
    • semantic misunderstanding errors

image-20230510163540908

  • 我们的方法和过去对比

image-20230510163605207

:fire: Think Twice: Measuring the Effificiency of Eliminating Prediction Shortcuts of Question Answering Models, in ACL 2023. [pdf]

  • QA数据集中,LLM bias和debias方法的研究
  • debias的一些方法
    • Resampling
    • LearnedMixin
      • uses a biased model as a complement of the trained debiased model in a weighted composition.
    • Confifidence Regularization
      • aims to reduce the model’s confifidence, i.e. the predicted score over samples marked as biased.
      • 本文实验中:use BERT-BASE for both the teacher and bias model.

:fire: :hammer_and_wrench: IfQA: A Dataset for Open-domain Question Answering under Counterfactual Presuppositions, in EMNLP 2023 Outstanding Paper. [pdf] [Benchmark]

  • 动机
    • 当前缺乏大规模的反事实QA Benchmark
    • 标注了一个3800questions的数据集
  • 标注过程

image-20240103205007817

  • 结果
    • exist- ing open-domain QA methods, including supervised retrieve-then-read pipeline methods (F1 score 44.5), as well as recent few-shot ap- proaches such as chain-of-thought prompting with ChatGPT (F1 score 57.2)

:icecream: Vision-Language Text Generation

:book: Paraphrase

:hammer_and_wrench: [Sentence Discrimination] Learning Semantic Sentence Embeddings using Sequential Pair-wise Discriminator,in COLING 2018. [pdf] [torch]

:hammer_and_wrench: [Hierarchical Sketch&Paraphrase Generation] Hierarchical Sketch Induction for Paraphrase Generation, in ACL 2022.[pdf] [torch]


:framed_picture: Image Caption

:white_check_mark: :hammer_and_wrench: [Image Caption] Generating Diverse and Descriptive Image Captions Using Visual Paraphrases, in ICCV 2019. [pdf] [torch]

  • 该论文研究了目前图像的文本描述的多样性具体性缺乏的问题,提出了一种基于视觉复述的两阶段解码的模型。

    • 给定图像输入,该模型首先生成初步的句子,再将其改写为内容更加多样和丰富的描述。在MS COCO图像描述数据集上的实验显示,方法可以显著提升文本描述的多样性具体性

    • 重点探索visual paraphrases 角色 + scoring function

      • graph LR
        与人类相比 --文章中有example--> 缺少多样性和具体性 --> 两阶段视觉复述方法 --> MSCOCO数据集
        
    • 故事展开:

      • graph LR
        标准 -->流畅+相关+多样+具体 --多样性--> 形容词
        流畅+相关+多样+具体 --多样性--> 细节,with
        形容词 --> Pa((Paraphrase))
        细节,with --> Pa
        Pa --> visual-paraphrase
        visual-paraphrase --> sentence_pairs --> 两阶段编码
        
      • graph LR
        相关工作 --caption--> 多caption.vs.单caption --paraphrases--> 未处理特征和视觉信息 --两阶段编码--> 中间seq.vs.2captions 
        
    • 模型方法:

      • graph LR
        选择视觉复述caption对 --> 评分函数 --> 设计三个Attention操作,学习到多模态知识 --> 最后softmax输出
        
  • 更多细节可见我个人的slide

:white_check_mark: ::fire: :hammer_and_wrench: [Text Generation & Image Caption] Show, Control and Tell: A Framework for Generating Controllable and Grounded Captions, in CVPR 2019. [pdf] [torch]

  graph LR
  外部信号控制 --> 图像中的一组区域块 --> core((核心))
  core --> 改变chunk的顺序
  core --> 改变图像的区域
  model((模型)) --基于区域的特征与状态--> LSTM((LanguageModel,两层LSTM)) --第一层--> 计算attention --注意--> 所有区域的特征向量进行mean-pooling作为图像的总体特征I
  LSTM --第二层--> 预测下一个单词
  model --何时切换到下一个图像区域--> 块转移门 --计算gt--> 基于第一层LSTM的状态设立一个chunk-sentinel --> 类似计算ht对sc_t-rt的attention
  model --视觉词or文本次--> AdaptiveAttention --> 设置一个visual-sentinel --> 类似计算ht对sv_t-rt的attention --> attention的结果,可以计算出当前时刻模型正在关注的上下文特征ct
  model --无序集合排序--> 排序网络 --> R中包含N个区域集 --全连接层--> 每个区域集的特征映射为N维向量,然后拼接在一起 --Sinkhorn算子--> 软置换矩阵 
  每个区域集的特征映射为N维向量,然后拼接在一起 --> 最小化软置换与真实结果之间的均方误差
  每个区域集的特征映射为N维向量,然后拼接在一起 --测试匈牙利算法进行匹配--> 软置换矩阵转化为最终的置换,以此来对R进行排序

详细讲解

:hammer_and_wrench: Length-Controllable Image Captioning, in ECCV 2020 by Qi Wu and Mingkui Tan. [pdf] [torch]

  • 动机
    • 为了让句子更加粗略或者细节,提出长度可控的caption生成
    • 过去由于方法是自回归的,所以计算复杂度会随着句子长度上升而上升。(模型上的创新)

image-20220831210727673

之前的SOTA方法可能会遗漏一些关键的信息,如果我想要更加细节点的描述,他们无法生成。

  • 方法

    过去由于方法是自回归的,所以计算复杂度会随着句子长度上升而上升。在这里提出了 non-autoregressive的方法。

    • 获取句子长度信息(level -> $[L_{low}, L_{high}]$)做embedding

    • 提出Decode 阶段 (non-autoregressive) LaBERT

      • 使用位置信息来预测mask

      • 使用长度信息来预测unmask

      • 推理的时候鼓励生成更长的句子

        • exponentially decay: $p_i\left(s_i=[\mathrm{EOS}]\right) \leftarrow \gamma^{L_{\text {high }}-i} p_i\left(s_i=[\mathrm{EOS}]\right), \forall i \in\left[L_{\text {low }}, L_{\text {high }}\right]$

          image-20220831212334860

        • 每一步都会对最低置信度的单词进行mask

:hammer_and_wrench: Human-like Controllable Image Captioning with Verb-specific Semantic Roles, in CVPR 2021. [pdf] [torch]

  • 与上面两篇工作可控性的对比

image-20220831213129731

  • 动机

    • 事件兼容性,两个不兼容的事件不应该合在一起

    • 采样的兼容性,不合理的采样不应该出现在句子当中

    • 对于上面的case:

      verb=sit, Arg1="thing sitting", Arg2="sitting position" 
      verb=read, Arg0="reader", Arg1="thing read"
      
  • 方法上是先抽取出来约束的标签,再decoder

image-20220831213747447

:star: MAGIC: Multimodal relAtional Graph adversarIal inferenCe for Diverse and Unpaired Text-Based Image Captioning, in AAAI 2022. [pdf]

  • 动机
    • 为了caption的生成更加丰富多样,并且无需过多的标注数据
    • caption直接做到场景文本级别
  • 方法
    • Unpired Captioning的方法(其实就是GAN的思想)
    • 学到了模态内部,跨模态之间的关系
    • Unpaired 学习的范式,无需过多监督信号

image-20220904163643769

:hammer_and_wrench: :fire: Show, Edit and Tell: A Framework for Editing Image Captions, in CVPR 2020. [pdf] [torch]

  • 直接对生成的caption进行编辑修改

:hammer_and_wrench: Towards Accurate Text-based Image Captioning with Content Diversity Exploration, in CVPR 2021. [pdf] [torch]

  • 动机
    • Caption生成的多样性
    • 挑战
      • 不知道应该如何选择文本信息
      • 文本和图片之间的关系
      • 多样性caption的生成

image-20220831221056898

  • 模型方法

image-20220831221253743

Improving OCR-based Image Captioning by Incorporating Geometrical Relationship, in CVPR 2021. [pdf]

  • 动机
    • 无法建立OCR抽出来东西之间的关系
  • 方法
    • 通过高度,宽度、距离、IoU和方向构建相应的OCR

image-20220831223252058

:hammer_and_wrench: Towards Unique and Informative Captioning of Images, in ECCV 2020. [pdf] [torch]

  • 目前问题:

image-20220901103845451

  • 关键贡献,做了一个新的评价指标

:hammer_and_wrench: Comprehensive Image Captioning via Scene Graph Decomposition, in ECCV 2020. [pdf] [torch]

  • 场景图分解来实现多样性

image-20220901104357419

image-20220901104406842

:hammer_and_wrench: In Defense of Scene Graphs for Image Captioning, in ICCV 2021. [pdf] [[torch](https://github.com/ Kien085/SG2Caps)]

  • 动机
    • 弥补文本场景图还有视觉场景图直接的Gap
    • 以往的工作在训练captioner时,往往用TSG作为输入,测试时再换成VSG
    • VG数据集上学得的场景图中relationship多是has, on这类无意义的关系
    • VSG与TSG并不兼容 (两个场景图之间)

image-20220831224945278

  • 基本思想
    • close the semantic gap between the two scene graphs
    • 使用HOI信息增强VSG,并引入object location信息提升VSG的表达能力

image-20220831224458911

  • 具体方法

    • VSG构建
      • VG数据集训练一个VSG generator,同以往工作一样对MSCOCO中的图片生成VSG。与此同时,作者又在MSCOCO上训练了一个object detector,对图片检测出一系列的物体。
    • VSG编码
      • 随后使用HOI inference对与人相关的物体进行关系及属性的预测。最后取原始VSG与HOI (检测到的物体) graph的并集作为最终VSG。
      • 使用多个GCN对其进行编码,不同类型的节点使用不同的GCN参数。
    • decode阶段 (Up-down)
      • 仅仅使用scene graph,不使用任何视觉特征,SG2Caps模型便可以取得有竞争力的描述生成结果。
    • case展示

    image-20220831230157943

:hammer_and_wrench: Beyond a Pre-Trained Object Detector: Cross-Modal Textual and Visual Context for Image Captioning, in CVPR 2022. [pdf] [torch]

  • 关注到更多级别的信息

image-20220901105828069

  • 方法上主要加入了Crop

image-20220901105902348

:hammer_and_wrench: Comprehending and Ordering Semantics for Image Captioning, in CVPR. [pdf] [torch]

  • 语义的语言排序(不单单是对象)同样很重要

image-20220901111757395

  • 方法

image-20220901111817536

:hammer_and_wrench: DIFNet: Boosting Visual Information Flow for Image Captioning, in CVPR 2022. [[pdf](DIFNet: Boosting Visual Information Flow for Image Captioning)] [torch]

  • 考虑了信息流的信息

image-20220901111002940

image-20220901111014355

:hammer_and_wrench: Injecting Semantic Concepts into End-to-End Image Captioning, in CVPR 2022. [pdf] [torch]

  • 端到端的训练,detector-free 和加入语义concept
  • 过去的工作

image-20220901104826507

  • 加入Concept
    • 通过抽取caption中的动名词或者通过知识蒸馏得到一些concept作为伪标签做分类

image-20220901104847149

:hammer_and_wrench: Show, Deconfound and Tell: Image Captioning with Causal Inference, in CVPR 2022. [pdf] [[torch](https: //github.com/CUMTGG/CIIC)]

  • 解决数据集中大量出现了,模型short-cut path 的问题

image-20220901110327977

  • 主要为了解决两个Caption存在的问题

    • 识别对象错误(长头发的男人识别成了女人)
    • 描述得不够关键和详细
  • Encoder阶段(解决分类准确性的问题)

    • 基于Faster-RCNN得到无偏的物体分类

image-20220901110456322

image-20220915113730411

image-20220915113654808

  • decoder阶段考虑生成单词的bias

image-20220915114452498

image-20220915114520789

[因果关系 + 强化学习] Dependent Multi-Task Learning with Causal Intervention for Image Captioning, in IJCAI 2021. [pdf]

说实话这篇论文写作有点太复杂了,很难看懂

  • 解决caption生成反事实不够详细的问题

image-20220914112625963

  • 因果干预分析过程比较复杂,详见论文

image-20220914112637246

NOC-REK: Novel Object Captioning with Retrieved Vocabulary from External Knowledge, in CVPR 2022. [pdf]

  • 任务描述

    • 新物体描述(novel object captioning),即让模型描述出训练描述语料中没有出现过的物体
    • 如图,传统的caption训练如左下框所示,训练语料里没有ramp这个词,测试时自然也不会生成含有ramp的句子。

    img

    • 在实际场景中,模型往往会见到在训练数据中没见过的新物体,此时传统的方法不能做到对新物体生成描述,不符合我们对模型应用的期待。
  • 当前的方法

    • 采集更多的数据,让训练语料包含尽可能多的物体并重新训练。然而数据的采集和标注是麻烦且昂贵的,并且每次加入新物体,模型需都需要重新训练,很不优雅。
    • 如先对图片做物体检测,获得ROI和object tags,再结合其训练caption模型。(当前主流方法
    • 然而,所用物体检测模型的能力也是有限的,见到的新物体极有可能超出检测模型的能力范围
  • 动机

    • 人类认知物体有两种方式,一是靠外观的匹配,见过即认识;二是靠定义,哪怕没见过一个物体,凭借物体的定义,我们往往也能理解识别。
    • 本文设计了一个词语检索模块,将**==新物体定义作为外部知识==**引入caption模型,与caption模块一起端到端地训练。
  • 方法

    image-20221005102539630

    • 匹配loss的计算

      • 为了鼓励模型引入新的类,我们将padding(和Region feature数量一致)的空类的15%随机替换成从外部知识库中随机挑选的词作为GT

      • 计算$Hungarian$ loss (匈牙利损失) $$ \mathcal{L}{\mathrm{H}}(\mathcal{Y}, \mathcal{V})=\sum{i=1}^K-\log \operatorname{sim}\left(\mathbf{y}i, \hat{\mathbf{v}}{\hat{\sigma}(i)}\right) $$

Image Captioning with Novel Topics Guidance and Retrieval-based Topics Re-weighting, in TMM 2022. [pdf]

  • 利用主题(Topic)模型来做image caption

    • 探索图片对象和Topic之间的关系
  • 什么是主题 链接

    • 三个list:【鸡胸肉,蛋白粉,饮食控制】、【跑步机,椭圆机,龙门架】、【减肥,体重下降,精神状态】。那么,我们也能大概知道每个词背后的主题是什么了。
    • 我们可以将Topic Model 看待为一个Cluster问题。而我们要做的就是将一些特征明显的词抓取出来。
  • 方法

    截屏2022-10-08 19.14.43

    • Topic是通过NMF(NLTK中有)来从caption中提前获取的,数量为200。
    • RTR是推理时候才使用的,为了让主题和图像信息更加相关
    • ETP学习对象和主题之间的相似度
    • STP模块嵌入在每个LSTMCell上面,为了在对应的时间步选择合适的主题进行caption

[主题 + Image Caption] Show, Rethink, And Tell: Image Caption Generation With Hierarchical Topic Cues, in ICME 2021. [pdf]

  • 动机(caption本身就具备多个或者一个主题的特征)【目前觉得topic的作用就是生成更加多语义信息+生成更加精确】

    • 之前方法没有建立不同类型图片特征的联系,caption不够准确
    • decoder时候注意力机制对于每个单词只会操作一次
  • 方法

    • 根据Faster-RCNN特征构建出主题->关键词级别的特征(每个检测区域都会检索出对应的主题)
    • decoder时候加入对主题的attention操作(可以生成一些不常用的描述,如little boy中的little)

    截屏2022-10-17 16.08.26

:hammer_and_wrench: Explicit Image Caption Editing, in ECCV 2022. [pdf] [torch]

  • 任务:Image Caption编辑,修改得更加合理

    • 过去的方法都是隐式的修改,缺少可解释性,更像是re-writing的任务,句子的结构也容易被破坏

    image-20221012105504301

  • 数据集构建

    • Ref-Cap和GT-Cap都需要是人工标记的(以前的方法Ref-Cap是模型生成的)
    • COCO数据集
      • 每张图的5个cap都作为GT,然后根据通过图像和cap计算和其他(不是这张图)caption相似度计算,选择最相关的
    • e-SNLI-VE(Flicker30K)数据集
      • contradiction和entailment分别作为Ref和GT即可
  • 方法 (模型是基于BERT)

    • 引入编辑算子<ADD>, <DELETE>, <KEEP>

      image-20221012110107268

  • Case Study

image-20221012110327880

:hammer_and_wrench: Object-Centric Unsupervised Image Captioning, in ECCV 2022. [pdf] [torch]

  • 主要动机

    • 人工标注的image caption annotation太浪费时间了
  • 贡献

    • 无监督的Image Caption + 多语言
  • 如何无监督

    • 使用网络爬下来的语料库,还有数据集中固有的图像信息来做
    • BLEU4很低,只有6左右

    image-20221105204258603

:hammer_and_wrench: Human-Centric Image Captioning, in PR 2022. [pdf] [code & dataset]

  • 动机【动机不是很强,说得不够有道理】

    • 当前方法缺乏对人类行为动作的描述,只是简单的探索前景物体
    • 无视了这个关键物体的一些细节还有和其他物体之间的关系
  • 方法

    • 标注数据集,已公开

      • 人工标注了人的身体部位的boxes

        截屏2022-10-20 16.08.38

      • 背景物体和活动物体的特征区分是通过算和人之间的similarity来得到的

:hammer_and_wrench: Matching Visual Features to Hierarchical Semantic Topics for Image Paragraph Captioning, in IJCV 2022. [pdf] [torch]

引入Topic来做paragraph Caption的生成

  • 动机

    • 降低生成Caption的难度
    • 以往的Topic模型做Caption存在冗余信息
    • 只有单层Topic不够丰富
    • Caption的多样性,多层Topic的Keyword是用户想要强调的东西
  • 方法

    • 使用**end-to-end的方法**,即训练主题模型,又生成Caption,和以往的Two-stage不一样。
      • 以往都是单层的Topic模型
      • 两阶段方法,先用对象在预训练好的Topic模型里面检索出来Topic,缺乏对图像信息的考虑来丢弃Topic中的冗余信息。
    • 学习到了层次化的Topic表示
    • 可插拔的

    image-20221023213041474

  • Case Study

image-20221023213130865

:hammer_and_wrench: :fire: ClipCap: CLIP Prefix for Image Captioning, on arXiv (2021). [pdf] [torch]

模型非常简单,跑起来也很简单。一台1080 Ti 就可以训练了!

  • 动机

    • 过去decode句子的时候都是以前面生成的单词作为condition,同样的,我们可以使用图片信息来作为condition
    • 对于images & captions ${x^i, c^i}^N_{i=1}$

    $$ \max \theta \sum{i=1}^N \sum_{j=1}^{\ell} \log p_\theta\left(c_j^i \mid x^i, c_1^i, \ldots, c_{j-1}^i\right) $$

  • 模型架构

image-20221225095940586

Controllable Image Captioning via Prompting, in AAAI 2023. [pdf]

  • 动机

    • 通过学习不同的动态prompt,生成不同风格的图像字幕

    image-20230305214259376

  • 方法极其简单

    • 预训练+微调结构
    • 预训练都是BLIP的那一套

image-20230305214515377

:hammer_and_wrench: Learning Distinct and Representative Modes for Image Captioning, in NIPS 2022. [pdf] [torch]

  • 动机
    • Caption的可控性 + 多样性

image-20230319202536999

  • 方法

image-20230319202651561

Incorporating Unlikely Negative Cues for Distinctive Image Captioning, in IJCAI 2023. [pdf]

  • 动机
    • 不要生成那么generic(通用)的Caption
    • 使用unlikely Training的方法(就是避免让模型学习到负样本的行为)

image-20230829203433135

  • 模型方法

image-20230829203508036

:hammer_and_wrench: Transferable Decoding with Visual Entities for Zero-Shot Image Captioning, in ICCV 2023. [pdf]] [torch]

  • 动机
    • 减少没见过物体的对象幻觉现象和bias问题
      • OOD问题
    • 要让模型在in-domain和cross-domain都表现良好的性能
    • 只用纯文本来进行训练

image-20230829204925597

  • 模型方法(纯文本进行训练 + zero-shot inference)
    • 加一个CLIP entity clsssifier来识别实体

image-20230829205102812

  • 主要对比的是之前两篇同样是纯文本训练的Caption论文(EMNLP Findings 2022 和 ICLR 2022)

image-20230829205237122

:hammer_and_wrench: With a Little Help from your own Past: Prototypical Memory Networks for Image Captioning, in ICCV 2023. [pdf] [torch]

  • 动机
    • 过去的传统attention不会学习到别的样本当中的语义信息
    • 提出原型网络来做Image Caption

image-20230829215053304

  • 模型方法

image-20230829215139441

:hammer_and_wrench: [多模态机器翻译] CLIPTrans: Transferring Visual Knowledge with Pre-trained Models for Multimodal Machine Translation, in ICCV 2023. [pdf] [torch]

  • 动机
    • 多模态机器翻译推理的时候不需要使用到图片
    • 过去的方法在低资源的语言上表现不好(本身标注就少)
    • 究其原因可能是文本和图像的embedding没有很充分的对齐

image-20230905111542477

  • 模型方法
    • 两阶段训练迁移学习(caption -> 翻译

image-20230905111625639

  • 修改了Decoder

image-20230905111848743

:hammer_and_wrench: MultiCapCLIP: Auto-Encoding Prompts for Zero-Shot Multilingual Visual Captioning, in ACL 2023. [pdf] [torch]

  • 动机
    • 多语言的Image Caption
    • 多语言的Caption标注困难
  • 方法
    • 在训练的时候只是使用文本数据,推理才使用图像推理

image-20230907213754699

  • 例子展示

image-20230907215730610

:hammer_and_wrench: [视觉信息增强LM文本生成能力] Learning to Imagine: Visually-Augmented Natural Language Generation, in ACL 2023. [pdf] [torch]

⚠️事先声明:这篇论文实际上是做纯文本的,输入的是文本,输出的也是文本,只不过是想联想生成一些图片来增强模型文本生成的能力

  • 动机
    • 人类在写作的时候会联想一些画面来辅助写作,比如说滑雪,就会想到一些对应的场景
    • 利用图片增强LM文本生成的能力
  • 模型(Stable Diffusion来生成图片

image-20230918095120803

:hammer_and_wrench: [多模态摘要生成] CFSum: A Coarse-to-Fine Contribution Network for Multimodal Summarization, in ACL 2023. [pdf] [torch]

  • 动机
    • 过去的模型没有很好或者有选择性的利用图像信息
    • 无法关注到文本中的实体和图像之间的对应关系

image-20230918113933715

  • 模型方法

image-20230918114129452

:fire: :hammer_and_wrench: OxfordTVG-HIC: Can Machine Make Humorous Captions from Images?, in ICCV 2023. [pdf] [project]

  • 动机
    • 创建了一个幽默的Caption数据集
    • 发现是符合幽默的良性冲突理论的 [知乎]
    • 而且本文不是用传统的BLEU等指标进行测评的!(具体见论文)

image-20231013113213641

image-20231013113317492

  • 方法:增加选择的多样性,因为本来数据就是很多样的

image-20231013113230477

:hammer_and_wrench: ALIP: Adaptive Language-Image Pre-training with Synthetic Caption, in ICCV 2023. [pdf] [torch]

  • 动机
    • 过去的Caption在海量数据生成时候,会存在I-T noise的情况

image-20231021160149360

  • 方法:用OFA生成合理的Caption,控制weight设计loss来训练(具体见论文)

image-20231021160251481

:hammer_and_wrench: Noise-aware Learning from Web-crawled Image-Text Data for Image Captioning, in ICCV 2023. [pdf] [torch]

  • 动机
    • 过去网上的数据存在noise的问题,图文不匹配
    • 过去的方法需要filter再训练(类似BLIP),但是会让模型学不到丰富的知识

image-20231021160448062

  • 方法

image-20231021160523997

:fire: :hammer_and_wrench: Learning Descriptive Image Captioning via Semipermeable Maximum Likelihood Estimation, in NeurIPS 2023. [pdf] [torch]

  • 动机
    • 图像描述任务(为给定图像生成自然语言描述)长期以来受到「输出过于平凡」的问题的困扰,即模型倾向于为不同图像生成缺乏细节的相似描述。
    • 传统的最大似然估计(MLE)所提供的严格监督并不完全适合图像描述模型的优化。
      • 直观地将其优化过程解耦为使模型生成更丰富的“丰富性优化”和使模型生成更简洁的“简洁性优化”,并假设这两种优化的相互抗衡最终使得模型生成平凡描述
    • 提出了一个新的学习目标——半渗透最大似然估计(SMILE),它允许“丰富性优化”而阻止“简洁性优化”,从而鼓励模型生成更丰富、包含更多细节的描述。

img

img

  • 方法(在BLIP上加伤SMILE在Caption数据集上面做微调)

image-20231109162455341

:hammer_and_wrench: Exploring Diverse In-Context Configurations for Image Captioning, in NeurIPS 2023. [pdf] [torch]

探索In-context Learning如何做Image Caption,有点奇怪的论文🤔

  • 动机
    • 发现few-shot的样本,往往和caption的质量相关

image-20231112202436751

  • 探索了四种图像选择的策略

image-20231112202526320

:hammer_and_wrench: Dense and Aligned Captions (DAC) Promote Compositional Reasoning in VL Models, in NeurIPS 2023. [pdf]

看起来像是做Caption过滤的

  • 动机
    • 过去VLM生成Caption会有一些bias的问题
    • 主要归结于:数据集中Caption的质量 + Caption的密度(是否描述完整)。互联网数据的锅

image-20231114114703984

  • 方法

image-20231114114725730

:fire: :hammer_and_wrench: Caption Anything: Interactive Image Description with Diverse Multimodal Controls, 2023-05. [pdf] [torch]

  • 动机(分割+可控信号的caption)

image-20231116101406270

  • 方法(Training Free)

image-20231116101429416

image-20231116101440390

:fire: :hammer_and_wrench: Attractive Storyteller: Stylized Visual Storytelling with Unpaired Text, in ACL 2023. [pdf]] [torch]

  • 动机:生成有style的故事(很少有标注)

image-20231120213011448

  • 方法

image-20231120213035079

:hammer_and_wrench: :fire: Explore and Tell: Embodied Visual Captioning in 3D Environments, in ICCV 2023. [[project](https: //aim3-ruc.github.io/ExploreAndTell)]

  • 动机
    • 提出Embodied的Caption数据集

image-20231209203911629

image-20231209203940125

  • 方法:Baseline

image-20231209204004501

Cycle-Consistency Learning for Captioning and Grounding, in AAAI 2024. [pdf]

  • 动机
    • Caption和Grounding一起做,提高一致性

image-20240128205334224

  • 方法

image-20240128205351874

:sunglasses: Video Understanding

:video_camera: Features Learning

:white_check_mark: :fire: :hammer_and_wrench: [TSN] Temporal Segment Networks: Towards Good Practices for Deep Action Recognition, in ECCV 2016. [pdf] [torch]

  • 抽取所有帧是不现实的,TSN将其等间隔分为$K$个片段(i.e., $K=16$),在每个片段中谁寄抽取一帧作为输入

  • 提供了非常常用的数据争强方式和一些训练时候的trick(主要包括location jittering, horizontal flipping, corner cropping, and scale jittering)

  • 仍然利用双流的思路,让每个片段信息最后通过一个共识网络再Fusion

:white_check_mark: :fire: :hammer_and_wrench: [TRN] Temporal Relation Reasoning in Videos, in ECCV 2018. [pdf] [torch]

img

  • 融合尺度确定 (需要多少个视频帧来融合)【如图所示】有2,3,4这三种尺度
  • 每个尺度下需要多少组视频帧
  • 在应用多尺度TRN的时候,一般会额外增加一个全帧的尺度,即12帧特征全部concat到一起,以充分利用有效信息。
  • 平衡效果和计算速度,简单好用

:white_check_mark: :fire: :hammer_and_wrench: [TSM] TSM: Temporal Shift Module for Efficient Video Understanding, in ICCV 2019. [pdf] [torch]

  • 对某些通道shift,得到前一帧或者后一帧的特征

    image-20220709174802714

  • 由于shift是有损失的,为此设计残差来进行弥补(原来的与残差的对比)

image-20220709174842935

:white_check_mark: :fire: :hammer_and_wrench: [LRCN] Long-term Recurrent Convolutional Networks for Visual Recognition and Description, in CVPR 2015. [pdf] [torch]

  • CNN抽出来的帧特征再放进去LSTM得到每帧的时序特征

关于视频特征抽取,下面讲一下netvlad系列的结构,NextVlad就是专门针对视频帧融合来做的优化。

相关博客链接

:fire: :hammer_and_wrench: [NetVLAD] NetVLAD: CNN architecture for weakly supervised place recognition, in CVPR 2016. [pdf] [torch (simple)]

  • VLAD算法(实际上就是Kmeans): $$ V(j, k)=\sum_{i=1}^{N} a_{k}\left(x_{i}\right)\left(x_{i}(j)-c_{k}(j)\right), \quad k \in K, j \in D $$

  • 本文使用CNN模拟该VLAD算法的过程

    • 平滑化$\alpha$ 使其变成一个0-1分布的权重参数,使用$1 \times 1$卷积+softmax 进行该过程,平滑推导公式$\bar{a}{k}\left(\mathbf{x}{i}\right)=\frac{e^{-\alpha\left|\mathbf{x}{i}-\mathbf{c}{k}\right|^{2}}}{\sum_{k^{\prime}} e^{-\alpha\left|\mathbf{x}{i}-\mathbf{c}{k^{\prime}}\right|^{2}}}$

    image-20220712104829439

:fire: :hammer_and_wrench: [NextVLAD] NeXtVLAD: An Efficient Neural Network to Aggregate Frame-level Features for Large-scale Video Classification, in ECCV workshop 2018. [pdf] [tensorflow]

同时,还有关于多模态(视频-文本)Transformer模型的博客链接

:hammer_and_wrench: [PEFT&动作识别] AIM: Adapting Image Models for Efficient Video Action Recognition, in ICLR 2023. [pdf] [torch]

大模型时代下很好的尝试Parameter Effectient Fine-tuning

  • 动机

    • 到底可不可以直接冻住一个很好的Image Model,只是加一些很少量的可学习的参数做视频理解的任务呢?

    image-20230401174941604

  • 方法(很巧妙很简单)

image-20230401175010208

:hammer_and_wrench: Mitigating and Evaluating Static Bias of Action Representations in the Background and the Foreground, in ICCV 2023 Oral. [pdf] [torch]

  • 动机 & 贡献
    • 前景还有后景都有可能造成动作识别的bias
    • 前景:衣服颜色
    • 后景:背景,排球场
    • 提出benchmark来评估bias

image-20230902181442456

  • debias的方法(做数据增强)- 从bank中采样一帧来插值
    • bank里面都是要求某个action的概率要高,但是本身不包含动作信息的图像

image-20230902181709607


:timer_clock: Temporal Grounding

我们使用一个十分经典的任务(Temporal Grounding)来看看视频的特征是如何利用的

:fire::hammer_and_wrench: [Video-NLP] Learning 2D Temporal Adjacent Networks for Moment Localization with Natural Language, in AAAI 2020. [pdf] [torch]

extend version: MS-2D-TAN, in TPAMI 2021. [pdf] [torch]

  • 2D: start time & end time 构成的邻接矩阵

image-20220723153302775

  • 核心思想

    • 使用max pooling (本文使用) 或者 stack convolution的获取moment feature,如上图2D Temporal Feature Map Extraction所示
    • 由于这样子的计算开销太大了,使用特定的采样方式进行调整,详见论文!(距离近的采样多一点,远的采样少一点)
    • 多模态融合(Hadamard product

    $$ \mathbf{F}=\left|\left(\mathbf{w}^{S} \cdot \mathbf{f}^{S} \cdot \mathbb{1}^{T}\right) \odot\left(\mathbf{W}^{M} \cdot \mathbf{F}^{M}\right)\right|_{F} $$

    • 损失计算时候,对IoU进行一个scale变成监督信号

    $$ y_{i}= \begin{cases}0 & o_{i} \leq t_{\min } \ \frac{o_{i}-t_{\min }}{t_{\max }-t_{\min }} & t_{\min }<o_{i}<t_{\max } \ 1 & o_{i} \geq t_{\max }\end{cases} $$

    • BCE loss:

    $$ L o s s=\frac{1}{C} \sum_{i=1}^{C} y_{i} \log p_{i}+\left(1-y_{i}\right) \log \left(1-p_{i}\right) $$

:fire: :hammer_and_wrench: Negative Sample Matters: A Renaissance of Metric Learning for Temporal Grounding, in AAAI 2022. [pdf] [torch] [blog]

  • 主干网络是沿用TDN

  • 使用了metric learning的方法并且引入负样本来做Temporal Grounding的任务

    • 视频间的负样本(IoU来标定监督信号yi,与2D-TAN一样处理得来的,记得scale一下)
    • 文本中的负样本,从其他视频的文本语句当中选取出来
  • 贡献

    • 构造了新的监督信号:视频间的正负样本(IoU来采样), 句子和视频对应的正负样本(负样本句子从别的视频抽取过来)
    • 一个视频只需要建模一次,大大节省训练时间,以往的fusion方法都是要文本-视频帧对来建模
  • Trick

    • 为了编码公平,使用预训练好的DistilBERT来进行编码句子
  • 损失函数计算

    • 2D-TDN一样的BCE_loss
    • 类似于InfoNCE loss的设计对比损失

    $$ \begin{aligned} &p\left(i_{s} \mid v\right)=\frac{\exp \left(\left(\mathbf{f}{i}^{S T} \mathbf{f}^{V}-m\right) / \tau{v}\right)}{\exp \left(\left(\mathbf{f}{i}^{S T} \mathbf{f}^{V}-m\right) / \tau{v}\right)+\sum_{j \neq i}^{N_{s}} \exp \left(\mathbf{f}{j}^{S T} \mathbf{f}^{V} / \tau{v}\right)} \ &p\left(i_{v} \mid s\right)=\frac{\exp \left(\left(\mathbf{f}{i}^{V T} \mathbf{f}^{S}-m\right) / \tau{s}\right)}{\exp \left(\left(\mathbf{f}{i}^{V T} \mathbf{f}^{S}-m\right) / \tau{s}\right)+\sum_{j \neq i}^{N_{v}} \exp \left(\mathbf{f}{j}^{V T} \mathbf{f}^{S} / \tau{s}\right)} \ &L_{m m}=-\left(\sum_{i=1}^{N} \log p\left(i_{v} \mid s_{i}\right)+\sum_{i=1}^{N} \log p\left(i_{s} \mid v_{i}\right)\right) \end{aligned} $$

:fire: Event-Guided Procedure Planning from Instructional Videos with Text Supervision, in ICCV 2023. [pdf]

  • 动机
    • 过去的方法没有很好的考虑到事件信息
    • 实际上visual states和action text label之间是有gap的
      • 在某些label中出现的物品,在一开始和结束时候的state是没有出现的

image-20231120205912793

image-20231120205928481

  • 方法(增加多一个event-aware的loss)

image-20231120205959318


:man_student: Video Question Answer

:fire: :hammer_and_wrench: Invariant Grounding for Video Question Answering, in CVPR 2022 Best Paper Finalist. [pdf] [torch]

这篇文章感觉是一篇很标准的CVPR的中规中矩文章,写作用词上非常出色的

  • 先做了Grounding的检测,检测出问题相关帧(有因果关系Casual)还有无关帧(补偿帧Complement
  • 构建负样本到无关帧当中,使用memory bank来存储所有样本 (因此要注意存储的特征维度不能太大)

Video as Conditional Graph Hierarchy for Multi-Granular Question Answering,in AAAI 2022. [pdf] [torch]

  • 现有的方法对视频问题的回答缺乏可解释性
  • 构建了两种视角来看问题
    • bottom-up, 不同的视频特征决定了不同的属性level(实体,原子,动作,事件)
    • up-bottom,问题中的不同单词,关联了不同的level
  • 构建图神经网络来模拟这些level思考的过程

image-20220910231620242

:fire: :hammer_and_wrench: [交通事故QA数据集] SUTD-TraffificQA: A Question Answering Benchmark and an Effificient Network for Video Reasoning over Traffific Events, in CVPR 2021. [pdf] [project]

  • 对比起其他QA数据集
    • 需要模型有因果推理和认知发展(cognitive development)
  • 处理方法
    • 对粗细两种粒度进行识别和计算(不同的CNN网络),大大加快了模型的运算时间

image-20220912152326067

Cross-Modal Causal Relational Reasoning for Event-Level Visual Question Answering, in TPAMI 2022. [pdf]

这篇论文模型较为复杂,所以这里只讲诉其核心思想

  • 动机

    • 现有方法只关注了很简单的事件,比如说看电影,无法关注真正事件级的因果关系

      image-20220912224156198

    • 语言和图像当中的干扰因素(Confounder)

      • 过于关注一些显式的东西,忽略了一些很重要的东西

    image-20220912224356724

  • 方法

image-20220912224635966

  • 详细细节见论文!

:hammer_and_wrench: :fire: Discovering Spatio-Temporal Rationales for Video Question Answering, in ICCV 2023. [pdf] [torch]

  • 动机
    • 解决长视频和复杂视频的QA
    • 问题还有视频帧存在冗余信息

image-20230902182028333

  • 模型方法(自适应采样帧
    • 核心就是找到关键信息,不要冗余的信息

image-20230902182128865

:fire: Redundancy-aware Transformer for Video Question Answering, in MM 2023. [pdf]

和上一篇论文动机很类似的,都是同一个作者,CVPR 22最佳论文候选那个作者

  • 模型方法

image-20230902182900805

:fire: :hammer_and_wrench: Tem-adapter: Adapting Image-Text Pretraining for Video Question Answer, in ICCV 2023. [pdf] [torch]

  • 动机
    • 讲CLIP的图文预训练方法,适配到VideoQA领域
    • 直接适配存在两个天然的gap

![image-20230902182553786](/Users/gary/Library/Application Support/typora-user-images/image-20230902182553786.png)

  • 过去的方法

image-20230902182618433

  • 我们的方法

image-20230902182647169

:fire: :hammer_and_wrench: A-CQUIRED: A Dataset for Answering Counterfactual Questions In Real-Life Videos, in EMNLP 2023 [pdf] [[dataset&code](https: //github.com/PlusLabNLP/acquired)]

  • 动机
    • 提出一个更加多样化的VideoQA数据集,更多反事实问题

image-20231114205907629

  • 数据集介绍

image-20231114205924567

:fire: :hammer_and_wrench: Large Language Models are Temporal and Causal Reasoners for Video Question Answering, in EMNLP 2023. [pdf] [torch]

  • 动机
    • 大语言模型做VideoQA会存在过度依赖question信息的bias。不用视觉信息也可以回答正确
  • 方法

image-20231206173348335

:fire: :hammer_and_wrench: LLCP: Learning Latent Causal Processes for Reasoning-based Video Question Answer, in ICLR 2024. [pdf]

说实话我不是很能看懂,假设前提有点太强了

详见原文

  • 动机
    • 使用Self-supervised的方法训练VideoQA模型,只有视频没有文本的
    • 找到视频事件之间的因果变量来重构
      • 自我归因

image-20240126115900129

  • 因果分析

image-20240126115925961

  • 方法概览

image-20240126115959527


:writing_hand: Video Caption

[Video Caption] VX2TEXT: End-to-End Learning of Video-Based Text Generation From Multimodal Inputs, in CVPR 2021. [pdf]

:hammer_and_wrench: :fire: [Video Caption] Robust Change Captioning, in ICCV 2019. [pdf] [torch]

  • 输入为前后图像对,五种变化类型(color/material change,adding/dropping/moving an object)
  • 提出一个有视点变化的数据集CLEVR-Change(80K图片对),并在无视点变化的数据集Spot-the-Diff取得SOTA效果。
  • 模型:Dual 注意力, 分辨视点变化, 其实是通过输入两张差不多的图片,提前标定好数据集获得的,有点被坑的意思image-20220522213419579

:hammer_and_wrench: :fire: [Video Caption] Semantic Grouping Network for Video Captioning, in AAAI 2021. [pdf] [torch]

image-20220621204108736

:hammer_and_wrench: :fire: Hierarchical Context-aware Network for Dense Video Event Captioning, in ACL 2021. [pdf] [torch]

  • 局部信息+全局信息结合生成dense caption (输入包括videotranscript
  • 为此设计了两套Attention机制
    • falt attention + cross attention

image-20220820000708776

  • 设计了门机制来decode(之前的文本信息与未来的文本信息)
  graph LR
  SG(Semantic-Grouping) --去掉冗余phrase--> 相似度计算
  SG --attention机制 --> 对其phrase和frame --> 加入对比损失,计算没有包含negative的概率

对比损失$\mathcal{L}{c a}=\sum{(V, Y) \in \mathcal{D}} \sum_{t} \sum_{i}^{M_{t}}\left(-\log p_{c a}\left(s_{i, t}\right)\right)$, $p_{c a}\left(s_{i, t}\right)=\sum_{j=1}^{N} \alpha_{i, j, t}^{p o s}$ ($\alpha^{pos}$ 为正样本时候对齐注意力的权重)

:eyes: Anomaly Detection

:fire: :hammer_and_wrench: A New Comprehensive Benchmark for Semi-supervised Video Anomaly Detection and Anticipation, in CVPR 2023. [pdf] [torch]

  • 动机
    • 异常检测分类:弱监督异常检测(训练集里面有正负样本),半监督/one-class异常检测(训练集里面都是正常样本),无监督异常检测(训练集里面有正负样本,但是没有标注哪个正哪个负)
    • 异常是和场景相关的,足球场踢球是正常,在教室踢球就是异常了
    • 提出VAA任务,预测未来是否可能存在异常
    • 提出新的和场景信息相关的异常检测数据集

image-20240304104613975

image-20240304104634846

  • 方法

image-20240304104716852

:eye: Grounding

:fire: Learning to Prompt for Open-Vocabulary Object Detection with Vision-Language Model, in CVPR 2022. [pdf] [torch]

将CoOP(图像分类)论文思想放入OD当中

  • 动机

    • 人工设计Prompt较为麻烦
    • 前景和背景分离在OD中很重要
    • 前景的上下文分级也很重要(通过IOU来判定)
  • 模型方法(具体见论文)

    • IOU来分理处前景背景
    • 损失函数设计
      • 背景的损失和哪个class都不相似
    • 通过IOU来对前景分级处理
  • 连续型Prompt学习:

image-20230307224847531

  • 嵌入ViLD框架当中

image-20230307224949152

:fire: :hammer_and_wrench: Multi-Modal Classifiers for Open-Vocabulary Object Detection, in ICML 2023. [pdf] [code]

  • 动机
    • 视觉和文本段相互辅助开放词表的OD
    • 类似一个Empirical Study

image-20230616164215541

  • 视觉和文本端的处理

image-20230616164353443

:apple: Causality Learning

:fire: :star: Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyond, in TACL 2022. [pdf] [blog]

  • 关于NLP + Causality 的综述,写得非常详细非常好!!!

:hammer_and_wrench: CauAIN: Causal Aware Interaction Network for Emotion Recognition in Conversations, in IJCAI 2022. [pdf] [torch]

在对话当中找情感相关的因果线索

  • 动机:

    • 现有情感分析研究中,对情感的识别往往仅依据当前句子,而忽略了对话历史中存在的能够帮助识别当前情感的深层线索
      • 对话某一方自身的话语中,存在可退里情感的因果联系 (Intra-cause)
      • 对话双方的话语中,存在可以帮助推理对方情感的交互因果联系 (Inter-cause)
    • 目前还没有相关的标注有情感线索的数据集,因此论文提出了一种利用常识知识自主寻找线索的方法来确定线索所在句子

    img

  • 方法

    • 利用 ATOMIC 常识知识语料库,获得对话历史每句的 6 种因果线索

      • 3 种来自自身因果线索 (Intra-cause),xEffect,xReact,xWant
      • 3 种来自交互因果线索 (Inter-cause),oEffect,oReact,oWant

      image-20230104121326042

    • 利用因果线索,建模对话历史

      • RoBERTa + GRU 建模对话历史文本
      • 利用因果线索,获取对话历史每句与当前句情感的相关程度分数
      • 利用相关程度分数加权后的向量进行分类获取情感

      image-20230104121406446

:hammer_and_wrench: Knowledge-Bridged Causal Interaction Network for Causal Emotion Entailment, in AAAI 2023. [pdf] [torch]

这份工作和上面👆的IJCAI 2022:CauAIN: Causal Aware Interaction Network for Emotion Recognition in Conversations那个工作idea是一样的,只不过做了两个不同的任务而已

  • 主要动机都是找寻对话当中的因果线索

    • 引入常识知识来弥补gap

    image-20230130121710045

  • 方法模型

    • 数据来源 (AOTMIC-2020)

    image-20230130121639558

    • 模型

    image-20230130121841363

:fire: :hammer_and_wrench: Everything Has a Cause: Leveraging Causal Inference in Legal Text Analysis, in NAACL 2021. [pdf] [torch]

  • 动机
    • 将因果推理应用到非结构化的文本数据当中,帮助法律从业者决策
  • 方法
    • 概览:从事实描述文本中自动构建因果图,用因果推理来辅助法律决策的制定,本文中similar charge disambiguation任务上测试了该框架的效果。
      1. 用关键词抽取(用YAKE+IDF计算单词对罪名的重要性),来识别出事实描述中的key factors。
      2. 将相似的key factors聚类到组中,每个组视为一个独立节点。(图的节点的每个组和罪名)
      3. 用对未识别变量鲁棒(无监督抽取可能导致关键词不完全,因果发现时有未识别confounder)的causal discovery algorithm(Greedy Fast Causal Inference (GFCI))来构造因果图。(输出是Partial Ancestral Graph (PAG))(在附录中可以看到,这种算法能够识别出隐factor)(限制:1. 禁止罪名节点出边。2. 以案例(事件描述文本)的时间顺序来限制因果关系)(抽样因果图)
      4. 估算每条边的causal strength来减少不可靠边的影响。(保持Confounder不变)(方法:Average Treatment Effect (ATE))(估算ATE的方法:Propensity Score Matching (PSM) 在treated/untreated group之间构建相似样本对)
      5. 因果知识结合到NN中:①在NN attention weights上加入causal strength限制(加损失函数)。②在因果图上抽取出的因果链上使用RNN。

image-20230308160457133

  • 两种方式将因果推理和神经网络相结合

image-20230308160530921

:hammer_and_wrench: :fire: Deconfounded Video Moment Retrieval with Causal Intervention, in SIGIR 2021. [pdf] [torch]

  • 动机

    • 目前视频定位当中存在一些Bias
      • 数据集长尾分布
        • 某些Query动作出现频率太高了
      • Query和locations之间存在太强的依赖
        • open往往都是视频开头,close一般往往都是对应视频结束
  • 方法

    image-20230110165317100

    • 模型图

    image-20230110165441609

:fire: :hammer_and_wrench: Interventional Video Grounding with Dual Contrastive Learning, in CVPR 2021. [pdf] [torch] (2023年1月仍为开源)

  • 动机

    • 和上面SIGIR那一篇论文有点类似,但是通过loss来进行因果推断
    • 过去模型往往只理解实体,而没有关注到一些动作

    image-20230110165932709

  • 方法

    • 通过对比学习来进行更好交互

    image-20230110170055802

    • 因果推理模块(通过loss来调整)

      • 因果图

      image-20230110165959351

      • 通过抽取三元组近似$z$,具体见论文
      • loss计算

      image-20230110170418014

:fire: :hammer_and_wrench: Two Causal Principles for Improving Visual Dialog, in CVPR 2020. [pdf] [torch] [zhihu]

含老师团队第一篇因果推理方向的文章

一句话总结

  • 从因果图角度审视视觉对话任务,切断对话历史与答案的直接因果效应,添加混杂因子[用户偏好]构建描述真实世界的因果图。
  • 动机

    • VisDial本质上并非带有History的VQA。作者以因果推断的角度入手,引入两条因果原则,将所有的VisDial基线模型提升到了SOTA。
  • 两个原则

    • $P_1$: H对话历史记录,不应该直接影响A

      image-20221124113615064

    • $P_2$: 用户偏好会导致回答的不一样

      image-20221124113806608

      • 由于用户偏好不可观测,因此作者通过三种方式来近似采样

        image-20221124114039418

    • 构建两个原则的因果图

      image-20221124113458538

  • 具体后门调整及其概率运算公式,详见论文及其附录

image-20221124114137317

image-20221124114218219

:fire: :hammer_and_wrench: [因果关系] Visual Commonsense R-CNN, in CVPR 2020. [pdf] [torch] [blog]

出自MReal, 张含望老师团队的工作,非常Solid的一篇工作

  • 目标是训练基于Faster-RCNN训练一个更强的feature extractor可以捕获视觉上的常识信息。
  • 这篇论文实在太多细节和推理了,建议看我自己的GoodNote上的笔记
  • 动机

    • 现在的模型无法学习到视觉常识(Commonsense):人和椅子 -> 人可以坐在椅子上。但在NLP中,常识的信息已经放在特征里面了

      image-20220913155431514

    • 数据集的偏差会导致无法捕捉到常识信息

      • 真正的视觉关系无法描述(左图)
      • 给出的解释不够正确(右图)

    因果理论就是用来发现==现象背后的不变规律==的,是一种鲁棒的预测。这与常识本身不就很相似吗,我们人类也是从生活中不断总结积累这些不变的、鲁棒的经验或者因果规律,并把他们叫做常识。 比如,看见凳子知道可以坐,看见pizza知道可以吃。

Association 和 Intervention(分层)的计算 $$ \begin{gathered} P(Y \mid X)=\sum_z P(Y \mid X, z) P(z \mid X)=\frac{P(Y, X)}{P(X)} \ P(Y \mid d o(X))=\sum_z P(Y \mid X, z) P(z)=\sum_z \frac{P(Y, X, z) P(z)}{P(X, z)} \end{gathered} $$ 其中 $X, Y, z$分别代表了图片中的object label,同时这里我们用物体出现的频率来代替概率,比如 $P(Sink|Hair drier)$就是用“含有$Sink$和$Hair drier$两者的图片数”比上“只含有Hair drier的图片数”计算得到的。画出两者计算结果差异的对比图(只标明了20类):

img

  • 两个Case的分析

    • $Sink 和 drier$,想要探寻在已知吹风机的情况下,去预测水池的可能性大小 $P(Sink|drier)$
      • 场景因素考虑在内,对不同的场景进行分层(因为场景就是由object组成的),得到实际的因果效应,比单纯Association算的数值要低
    • 人和马桶,探寻“马桶”和“人”之间可能存在的因果效应
      • 数据集中人和马桶一起出现的样本其实不多(也不会有很多人在马桶旁边拍照)
      • 如果想要做出更robust的预测,我们就需要考虑混杂因子confounder, 比如瓶子、水池、杯子等等。按照confounder 行分层计算,最后再加权求和。
  • 方法(因果干预Intervention

    • 代理任务(无监督学习):给定RoI X的feature去预测RoI Y的类别

    • 包括很多潜在的混杂因子,如果直接预测周围物体Y就不可避免的会被上文提到的混杂因子confounder所影响。根据我们刚刚介绍的**“do算子”的理论,解决的办法也不难,只要能找到confounder然后对他们使用backdoor理论**进行控制即可。

    • 混杂因子是什么? 我们直接把整个数据集上的object RoI特征(Faster RCNN中来)在每个类别上取平均,当作这个类别的表示,进而构建出一个 类别数x1024 的confounder字典作为$Z$(比如MSCOCO有80类,就是 80x1024),它包含着所有可能的混杂因子。

    • 后门调整

      img

      • 我们把confounder dictionary $Z$中的物体$z_i$“borrow”到当前图片中,注意这里的物体$z_i$不需要是当前图片中存在的,所以是一种global层面的定义。
      • 然后把借来的$z_i$“put”到$X, Y$周围和$X, Y$对比,例如上图中的把 sink、handbag、chair等等移到 toilet 和 person 周围进行backdoor的计算。
    • 模型

      • 整个intervention整合成一路context predictor。
      • 同时为了不让网络忘掉识别RoI本身类别的能力,context predictor的基础上又保留了原先的自身类别预测self predictor

    img

    注意:VC R-CNN的实现和原先的Faster R-CNN相比,去除了RPN网络(Region Proposal Network),不再训练网络propose边界框,而是直接将数据集ground-truth的bounding box坐标输入到其中,直接提取region的特征。而在训练完成后的feature提取阶段,相对应的,只要给定图片和bounding box坐标,都可以获得对应的VC特征。就这样,我们利用bottomup特征已有的边界框坐标提取VC特征后,将其并在先前的bottomup特征上作为新的特征。我们在传统的 Vision&Language 三大任务上挑选了经典model和SOTA model进行了测试,发现在各个任务上都取得了明显的提升,尤其是在image captioning上的提升尤其大。同时为了验证性能的提升不是由于参数增多带来的,我们还在原有特征上并上了ablative的特征(单独object特征,用correlation计算的特征),具体可以参考论文的实验部分。

:hammer_and_wrench: [指代表达] Deconfounded Visual Grounding, in AAAI 2022. [pdf] [torch] (2023.1.17未开源)

  • 动机

    • visual grounding任务过去存在bias,比如说,羊往往都是出现在图片中间

    • 方法

      • 构建因果图

        image-20230117235128346

        • 通过后门路径可以观察,主要bias来源与R语言信息,因为其实视觉上的bias其他一些方向论文都有所解决了
      • 由于$G$不可观测,因此需要近似采样

        • 通过生成式模型采样,这里有很丰富的理论依据具体见论文。$\hat{G}=Enc(R), R'=Dec(\hat{G})$
        • 通过因果干预得到unbias的$R'$即可
        • 模型图

        image-20230117235726811

:fire: :hammer_and_wrench: Unbiased Scene Graph Generation from Biased Training, in CVPR 2020. [pdf] [torch] [zhihu]

  • 动机

    • 期望从有偏见的训练中(Biased Training)利用无偏预测获得无偏见的场景图(Unbiased Scene Graph)
    • 现有方法问题
      • human walk on/ sit on/ lay on beach等包含丰富信息的谓语简单“概括”为human on beach或将behind/ in front of“概括”为near
      • 无法很好应用到下游任务上面
  • 贡献

    • 设计了一个无偏预测的推理算法Causal TDE Inference(非训练方法,模型“不可见”,适用于任何SGG模型)
    • 设计了一个新的通用SGG框架**Scene-Graph-Benchmark.pytorch**,其使用maskrcnn-benchmark进行底层目标检测,集成了目前最全的SG metrics(包括Recall、Mean Recall、No Graph Constraint Recall、Zero Shot Recall等)。该框架提供重写的各种SGG baseline模型(如MOTIFS、VTranE、VCTree),有着当之无愧的State-of-The-Art SGCls和SGGen结果。

    img

  • 问题定义(有偏见的数据标注的原因

    • the long-tail theory:person carry bag确实比dog carry bag的数量多
    • **bounded rationality(有限理性):**在人类标注关系时,更倾向于标注简单的关系,即标注person beside table而不是person eating on table(关系不够准确层面
    • **language or reporting bias:**我们更喜欢说person on bike,而不是person ride on bike(只是简单描述了真实事件的一部分
  • 无偏的思想(content:内因,context:外因

    • 人类在有偏见的大自然中生长,在拥抱好的context的同时,避免不好的context,并与content一起做出无偏见的决定。

    • 其潜在的机制是基于因果关系的(causality-based):决策是通过追求由content引起的主要因果效应,而不是追求由context引起的副作用来做出的。然而,机器是基于可能性的(likelihood-based),会产生有偏结果。

    • 故论文认为,无偏预测的关键是教会机器如何区分主要作用(main effect)和副作用

      • content:object和subject的visual features
      • context:object-subject union regions的visual features以及object、subject的类别标签
    • 为了在无偏预测中追求主要作用,论文提出赋予机器反事实思维(counterfactual thinking): If i had not seen the content, would I still make the same prediction?

    • 反事实思维事实与反事实之间的比较,将会自然地消除context偏差的影响,因为context是两者之间唯一不变的东西

    • 如图,左侧图片是所谓的事实场景,也可以说是原始场景;右侧图片是反事实场景,就是**将原始场景中content(狗和冲浪板的视觉特征)去除,其他部分(如scene和object classes)保持不变,就像object的视觉特征从未出现过。**通过这两者的比较,我们可以专注于关系的主要视觉影响,同时也不丢失context。

      img

  • 方法

    • 有偏&无偏训练架构

    image-20221009153731849

    • 无偏见+反事实的因果图构建

    image-20221009153828669

TDE(Total Direct Effect)方法没有引入任何额外的参数,也可以说没有针对模型的有偏训练进行任何改动,其使用原始SGG模型进行了两次预测,将两次预测的结果进行差值运算,最终得到无偏见的预测。所以TDE方法是模型“不可见”的,广泛适用于各种SGG模型

:fire: :hammer_and_wrench: Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effect, in NIPS 2020. [pdf] [torch] [zhihu]

  • 动机

    • 提出了一种崭新的长尾问题的通用解决思路。而且实现非常简单,能够广泛适用于各种不同类型的任务
    • 过去解决长尾分布的方法存在的问题
      • 未卜先知】虽然利用数据集分布的re-samplingre-weighting训练方法可以一定程度上缓解长尾分布的问题。然而这种利用其实是违背现实学习场景的,他们都需要在训练/学习之前,了解“未来”将要看到的数据分布,这显然不符合人类的学习模式,也因此无法适用于各种动态的数据流。
      • 两阶段,不是end-to-end】目前长尾分类最优的Decoupling算法依赖于2-stage的分步训练,这显然不符合深度学习end-to-end的训练传统,而论文本身也没有提出让人信服的理由解释为什么特征提取backbone需要在长尾分布下学,而偏偏classifier又需要re-balancing的学。
      • 迁移能力不足】长尾分布下简单的图片分类问题和其他复杂问题(诸如物体检测和实例分割)研究的割裂,目前长尾分布下图片分类问题的算法日趋复杂,导致很难运用于本来框架就很繁琐的检测分割等任务。而我觉得长尾问题的本质都是相似的,真正的解决方案一定是简洁的,可以通用的。
    • 基于上面这些问题,也就最终诞生了我们的这篇工作。我们提出的De-confound-TDE的优势如下:
      1. 我们的训练过程完全不依赖于提前获取的数据分布,只需要在传统训练框架的基础上统计一个特征的移动平均向量,并且这个平均特征在训练中并不会参与梯度计算(只在测试时使用)。这也就解决了传统长尾分类方法依赖“提前获取未来数据分布”的问题。
      2. 尽管我们的测试过程和训练过程有所不同,但我们的模型是一次训练到位的,并不需要依赖繁琐的多步训练,这大大简化了拓展至其他任务时的修改成本。
      3. 并且,我们成功的将这个方法运用于图片分类(ImageNet-LT,Long-tailed CIFAR-10/-100)和物体检测/实例分割(LVIS dataset)等多个任务,均取得了最优的结果(截止至我们投稿也就是2020年5月)。这证明了我们的方法可以作为继re-balancing之后又一个在长尾数据下通用的Strong Single-Stage Baseline
  • 核心思想

    • 需要利用原始的长尾分布来学习特征提取的原因在于,大量的尾部类别其实不足以提供足够的样本来学习鲁棒的特征表达。人类描述罕见的物体时,往往是通过和已知常见类的比较,比如会说狮鹫是有着狮子的身体,鹰的翅膀和头的生物,而不必要单独拿一堆狮鹫的图片出来,让你死记硬背住狮鹫的长相

      img

    • 发现优化器的动量项时,这货不就是在训练数据时引入数据分布,从而产生shortcut的元凶么

    • 方法,详细的推到有点复杂,相近论文或者知乎

      img

    • 方法速成步骤

      • 基本只要改classifier,不需要任何额外的训练步骤或复杂的采样算法

    image-20230211224744104

:fire: :hammer_and_wrench: Interventional Few-Shot Learning, in NIPS 2020. [pdf] [torch] [blog]

博客讲得很全面,具体可以见博客对本文的讲解

  • 方法挺会玩的!
  • 动机

    • few-shot learning过去往往收到预训练知识confounder的影响

    image-20230206215108229

    • 过去few-shot learning 方法

    image-20230206215028756

  • 问题建模(探索Many-shot Learning 和 Few-shot在因果关系上的不一致地方)

    • 有点难解释具体见论文

image-20230206215234701

![image-20230206215302623](/Users/gary/Library/Application Support/typora-user-images/image-20230206215302623.png)

  • 问题核心

$$ P(Y \mid d o(X=\boldsymbol{x}))=\sum_d P(Y \mid X=\boldsymbol{x}, D=d, C=g(\mathbf{x}, d)) P(D=d) $$

  • 模型方法(真会玩!)

img

:fire: :hammer_and_wrench: Introspective Distillation for Robust Question Answering, in NIPS 2021. [pdf] [torch] [zhihu]

  • 动机
    • 希望模型可以同时在ID(in-domain)和OOD场景下获得良好的表现
    • 通过对专门捕捉ID和OOD偏置的两位老师模型进行知识融合(内省)并蒸馏出一个学生模型来完成这种平衡
  • 方法

image-20230211230411971

:fire: :hammer_and_wrench: Distilling Causal Effect of Data in Class-Incremental Learning, in CVPR 2021. [pdf] [torch]

  • [模型公式解释] [论文介绍]

  • 动机

    • 对撞节点的存在使得模型对新数据会产生灾难性遗忘

      • 当在一个数据集当中训练好的模型扔到一个新的数据当中微调时候会发生遗忘
    • 过去的方法当中

      image-20220918101920897

      img

      • data reply: 需要较大的存储空间;distillation: 不是端到端的表示学习。因此作者考虑吧是否存在一种端到端影响的蒸馏方法。
  • 思路

    1. 构建因果角度下的类别增量学习过程
    2. 分析灾难性遗忘发生的原因causal effect lost)
    3. 分析现有工作如何实现有效的抗遗忘。 在这些基础上,我们发现控制对撞节点是一种尚未利用、但非常有效的抗遗忘方法,在各种类别增量学习的设定上取得了稳定的提升。
    4. 同时解决了数据(新旧类别)采样分布不均匀导致的bias问题。
  • 文章细节详见开头的博客链接

:fire: :hammer_and_wrench: Causal Attention for Vision-Language Tasks, in CVPR 2021. [pdf] [torch] [Blog]

我的想法和博客最后说的类似,似乎本文推理推得不是特别彻底,但是仍然是一篇优秀的论文

  • 动机:解决当前VL模型当中训练数据集当中bias

    截屏2022-10-11 11.09.42

  • 思想

    • 构建因果图

    image-20221011111108239

    • 方法(前门调整机制Causal Attention,此处不做展开讨论,详见论文)

      截屏2022-10-11 11.12.27

      截屏2022-10-11 11.12.56

  • 结果case

    截屏2022-10-11 11.13.42

:fire: :hammer_and_wrench: Counterfactual Zero-Shot and Open-Set Visual Recognition, in CVPR 2021. [pdf] [torch] [zhihu]

  • 生成式的因果模型,博客很详细,详见知乎!

  • 方法

    • 样本特征和类别特征之间解耦

      img

    img

:fire: :hammer_and_wrench: Counterfactual VQA: A Cause-Effect Look at Language Bias, in CVPR 2021. [pdf] [torch]

  • 动机

    • 过去方法主要是消除VQA中语言先验信息的bias
      • 数据增广
      • 生成视觉或者文本的解释
      • 反事实样本生成
      • 集成方法
    • 语言当中的Bias有好有坏,我们做的应该分辨出好的bias和坏的bias
      • 坏的bias:香蕉🍌有可能是绿色的,但回答往往是黄色
      • 好的bias:问 What Color的时候,往往模型都会想到视觉词汇,缩减了答案的空间,避免生成很离谱的答案
  • 方法(基于ensemble的VQA模型做的一个推理框架,相当简单)

    image-20230205205153879

    ![image-20230205205846733](/Users/gary/Library/Application Support/typora-user-images/image-20230205205846733.png)

  • 因果推理角度解释(具体见论文)

image-20230205205700958

Learning Causal Effects on Hypergraphs, Best Paper of KDD 2022. [pdf]

  • 超图上进行因果影响分析,对比传统的以两两节点为图的更加有意义。
  • [博客链接] [方法细节]

Entropic Causal Inference: Graph Identifiability, in ICML 2022. [pdf]

新的因果推断架构,可以不借助intervention

理论性很强的一篇文章

  • 熵因果推断:

    • 通过寻找数据的信息-理论上最简单的结构解释,即最小熵模型,从观测数据中学习两个变量之间的因果图。

    • 在这个工作中,首先推广了松弛假设下的因果图可辨识性结果

    • 然后,我们展示了第一个可识别的结果,使用熵的方法学习超过两个节点的因果图

      • 该方法利用了一个属性,即一个源节点和它的后代节点之间的祖先关系可以用二元熵测试来确定。
      • 提供了一种基于此特性的普通图的有序剥离算法。我们还提出了一个启发式算法,小图显示了较强的经验性能。
      • 最后,在真实的数据集上测试的算法。

      img

:hammer_and_wrench: [2023.01未开源] Disentangle and Remerge: Interventional Knowledge Distillation for Few-Shot Object Detection from A Conditional Causal Perspective, in AAAI 2023. [pdf] [torch]

本文方法上和实验上还有很多亮点,这里主要就说因果推理

  • 动机
    • 知识蒸馏做Few-shot任务时候,往往大模型存在的知识很难迁移到下游任务当中
  • 因果图

image-20230129234912585

  • 模型

image-20230129235019260

Learning to Imagine: Integrating Counterfactual Thinking in Neural Discrete Reasoning, in ACL 2022. [pdf]

  • 动机

    • 当前神经离散推理在反事实推理上效果不佳
    • 借用因果推断的理论可以做反事实推理

    image-20230130170116064

  • 方法

    • 两步走
      • 识别事实
      • 通过离散的操作进行干预
    • 模型

    image-20230130170205387

:hammer_and_wrench: :star2: Causality Inspired Representation Learning for Domain Generalization, in CVPR 2022 Oral. [pdf] [torch]

傅立叶变换结合因果推理,超级solid的工作

  • 动机

    • 过去领域泛化的方法都是基于统计依赖,没有学习到真正的因果关系
    • 任务的数据表征往往可以分成causal factors $S$ and uncausal factors $U$
    • 因果推断应用进来的三个原则
      1. $S$ 和 $U$ 相互分离
      2. $s_1, s_2,...,s_n$之间相互独立
      3. $X \rightarrow Y$之间因果充分,因果的表征是充分的
  • 方法

    • 前提:傅立叶变换当中

      • 相位:高层的语义信息
      • 振幅:低层的统计信息

      image-20230222154015844

    • 核心思想与流程概览,具体见论文

      • 对振幅进行干预,使得干预前后的表征尽可能的相似
      • 表征当中每个维度的表征$s_i$尽可能不相近
      • 使用分类器和掩码器之间的对抗检测因果信息较少的维度,分别最大化较好维度的分类器和最小化较好维度的分类器

      image-20230222154338573

      • 总优化目标

      $$ \min {\hat{g}, \hat{h}{1}, \hat{h}{2}} \mathcal{L}{c l s}^{s u p}+\mathcal{L}{c l s}^{i n f}+\tau \mathcal{L}{F a c}, \quad \min {\hat{w}} \mathcal{L}{c l s}^{s u p}-\mathcal{L}_{c l s}^{i n f}, $$

:fire: [CLIP] EI-CLIP: Entity-aware Interventional Contrastive Learning for E-commerce Cross-modal Retrieval, in CVPR 2022. [pdf]

  • 动机

    • 在电商产品当中,language的semantic和general domain当中的不太一样
    • 比如:Golden Goose在电商产品中可能是一个品牌

    image-20230306100430190

    • 产品中不同的metadata对最后检索的结果贡献不一样

    image-20230306100443859

  • 方法

    • CLIP直接检索无法搞定那些电商领域的语义信息,所以do一下文本的embedding
    • 过去的confounder设计都是直接考虑了全部文本数据,这里使用metadata进行考虑,同时加权选出重要的confounder

image-20230306102010632

[领域泛化] GCISG: Guided Causal Invariant Learning for Improved Syn-to-real Generalization, in ECCV 2022. [pdf]

个人认为这篇论文写得有点夸张了,实际上就那么回事。

  • 动机

    • 和上面论文一样,需要解耦出任务无关的style特征任务相关的style特征
  • 因果发现

    • CNN网络对texture(纹理,如style)特征有偏见参考文献
    • 因果图

    image-20230227101118298

  • 方法(很简单)

image-20230227101000348

:hammer_and_wrench: Causality-aware Concept Extraction based on Knowledge-guided Prompting, in ACL 2023. [pdf] [torch]

方法极其简单

  • 动机

    • PLM在概念抽取当中往往会存在Bias(概念抽取就是把某个span抽取出来)

    image-20230505221541856

    image-20230505221654869

  • 因果分析

    • 由于语言模型里面的先验知识没办法观测,所以采用前门调整的机制(加多一个中介)

    image-20230505221755518

  • 方法(极其简单,加多一个分类出来的Topic)

    image-20230505221901782

:hammer_and_wrench: COLA: Contextualized Commonsense Causal Reasoning from the Causal Inference Perspective, in ACL 2023. [pdf] [[torch](https://github. com/HKUST- KnowComp/COLA)]

和2022年那篇ICML论文ROCK做的任务是一样的,就是纯文本当中的因果事件检测

  • 动机

    • 有上下文(Context)的因果发现,为此构建了一个数据集

    image-20230513220020021

  • 方法(理论依据详见论文)

image-20230513220210226

:fire: CFL: Causally Fair Language Models Through Token-level Attribute Controlled Generation, in ACL Finding 2023. [pdf]

有点晦涩写的,不是很看得懂

  • 动机
    • 使用因果图来解决LM有毒性的问题
    • 过去detoxification的方法会过分探索毒性与受保护的虚假关系
    • 过去方法总结:

image-20230607103152478

  • 思路

image-20230607103224807

  • 模型方法

    1. 三个toxicity attributes的检测:offense,abuse,hate
    2. 反事实生成 + 计算ATE(平均化当前词的TE)

    image-20230607103351552

    1. 构建SCM + 求 Loss

image-20230607103515590

  • 实验:微调GPT-2还有OPT

:fire: :hammer_and_wrench: Causal-Debias: Unifying Debiasing in Pretrained Language Models and Fine-tuning via Causal Invariant Learning, in ACL 2023. [pdf] [torch]

通过学习因果不变性,来缓解PLM在fine-tune时候的bias问题

  • 动机
    • 过去的方法虽然可以在Pre-trained就可以debias,但是bias的问题(刻板的联想,性别,racial等)会在fine-tune时候重现

image-20230727090904224

  • 方法

image-20230727091050764

$do(N=n)$求invariant loss $$ \min \mathcal{L}_{\text {invariant }}=\mathbb{E}_n(\mathcal{R})+\operatorname{Var}_n(\mathcal{R}) $$ image-20230727091347770

:fire: :hammer_and_wrench: Preserving Commonsense Knowledge from Pre-trained Language Models via Causal Inference, in ACL 2023 Oral. [pdf] [torch]

  • 动机
    • 预训练模型Fine-tune的时候容易存在灾难性遗忘
      • 文章中提到Fine-tune与灾难性遗忘在一起的时候,主要是为了解决target task
      • 而CL + 灾难性遗忘在一起的时候会考虑所有task
  • 因果分析

image-20230729104513604

  • 模型方法
    • 有点类似CL中Replay的方法,用KNN找最相邻的样本(但这个样本哪里来呢,感觉并不是预训练里面来的?)

image-20230729105649434

  • Fine-tune的目标函数

image-20230729105714303

[VQA] Reducing Vision-Answer Biases for Multiple-Choice VQA, in TIP 2023. [pdf]

  • 动机
    • 过去的VQA模型容易存在Bias,不看问题就来选
    • 原因是标注的长尾分布
    • 如何影响模型:通过多模态融合特征

image-20230824202610504

  • 方法(后门调整 + 多模态特征的反事实loss)

image-20230824202719842

Causal Intervention and Counterfactual Reasoning for Multi-modal Fake News Detection, in ACL 2023. [pdf]

  • 动机
    • 过去的方法从训练集中学习到的label-specific的特征,导致了bias
    • 因果推理 + 反事实 引入到多模态fake new检测中

image-20230902195944598

  • 因果图分析

image-20230902200058716

  • 模型方法(公式比较多,可以看一下原文)

image-20230902200152045

:hammer_and_wrench: :fire: A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Models, in ACL 2023. [pdf] [code]

非常Perfect的关于因果推理 + LLM + 数学推理的Empirical Study

  • 动机
    • 研究每个LLM在不同的数学问题输入干预下的敏感度和鲁棒性

image-20230905105852822

  • 因果推理框架,研究LLM

image-20230905105935990

  • 具体实验结果,可以看论文

:hammer_and_wrench: Random Boxes Are Open-world Object Detectors, in CVPR 2023. [pdf] [torch]

  • 动机
    • 过去的Open-world的OD方法太关注known的对象,而不关注unknown的对象
    • 提出random的box,有两个优点
      • 防止了训练被confounded(randomization和known的object分布相互独立)
      • 无偏的训练鼓励更多的proposal探索

image-20230920105054836

image-20230920105249978

  • 过去OWOD方法

image-20230920110822856

  • 因果分析(切断后门路径$R \leftarrow D \rightarrow Y$)

image-20230920105358323

  • 模型方法(具体见论文)

image-20230920110744901

:fire: :hammer_and_wrench: Mitigating Adversarial Vulnerability through Causal Parameter Estimation by Adversarial Double Machine Learning, in ICCV 2023. [pdf] [torch]

  • 动机
    • 过去的模型仍然会受到不可消除的对抗漏洞
    • 使用Double Machine Learning的方法来评估因果参数

image-20230930112534237

  • 因果建模(关键是那个$\theta$)

image-20230930121446835

  • 方法(具体见论文,数学推导有点复杂)

image-20230930121524762

:fire: Variational Causal Inference Network for Explanatory Visual Question Answering, in ICCV 2023. [pdf]

本文公式推导较为复杂,具体可以见论文

  • 动机
    • 保证生成的解释和Answer之间的一支新,并且可以动态捕获visual token和question token生成解释

image-20231003110257827

  • 因果分析

image-20231003110348348

  • 方法(具体见论文)
    • 核心:让测试和训练时候的分布不要偏移太厉害,用一个KL散度规范

image-20231003110505687

  • 损失函数(具体见论文)

image-20231003110557738

:fire: A Multi-modal Debiasing Model with Dynamical Constraint for Robust Visual Question Answering, in ACL Findings 2023. [pdf]

  • 动机:过去直接相减的debias方法,损害了ID的性能表现

image-20231015110456869

  • 方法(具体见论文,有点道理,又不是太合理)(个人觉得和Backdoor Debiasing的论文思路比较类似)

image-20231015110559283

image-20231015110629597

:fire: Neuro-Symbolic Procedural Planning with Commonsense Prompting, in ICLR 2023. [pdf]

  • Prompt + Causal的
  • 方法有点奇怪,我还没看懂

A Causal Inference Look at Unsupervised Video Anomaly Detection, in AAAI 2022. [pdf]

  • 动机
    • 无监督的视频AD有bias问题(伪标签带来的)
  • 分析

image-20231114205543073

:hammer_and_wrench: Deconfounded Multimodal Learning for Spatio-temporal Video Grounding, in MM 2023. [pdf] [torch]

  • 动机
    • 过去的Video Grounding在时空信息上存在bias问题
    • 而且这个confounder无法被关注

image-20231209201113834

  • 因果图

image-20231209201137365

  • 方法
    • confounder无法被观测,借助类比推理的思想来做,找一个相似的样本来引导

image-20231209201226288

:happy: Emotion

Understanding Chat Messages for Sticker Recommendation in Messaging Apps, in AAAI 2020. [pdf]

  • 贡献
    • 开发了一个表情包推荐的APP(根据对话来推荐)
    • 数据集和代码都没有开源
  • 方法(两阶段)

image-20230529102818500

:hammer_and_wrench: :fire: Learning to Respond with Stickers: A Framework of Unifying Multi-Modality in Multi-Turn Dialog, in WWW 2020. [pdf] [torch]

  • 贡献
    • 提出340K的多轮对话和表情包对数据集

image-20230529104712626

  • 方法(挺简单)

image-20230529104740082

SER30K: A Large-Scale Dataset for Sticker Emotion Recognition, in MM 2022 Oral. [pdf] [torch]

  • 贡献
    • 表情包情感分类数据集

image-20230529105113780

  • 表情包的特性和一些相关的应用

image-20230529105330713

  • 数据集特点(sticker emotion recognition)

    • 包括情感和对话的文本标注(但是这个文本其实只有一句话
    • 数据集统计

    image-20230529105634054

  • 方法(Baseline)

image-20230529105703308

  • Case Study

image-20230529105733843

:hammer_and_wrench: :fire: Selecting Stickers in Open-Domain Dialogue through Multitask Learning, in ACL Finding 2022. [pdf] [torch]

  • 表情包推荐例子

image-20230529154209146

  • 方法(多任务学习的方法)

image-20230529154301746

:old_key: Traditional NLP Task

:label: NER

Named Entity Recognition

当前竞赛NER任务的baseline:

:fire: Bidirectional LSTM-CRF Models for Sequence Tagging, in 2015. [pdf] [code

:hammer_and_wrench: :fire: Fast and Accurate Entity Recognition with Iterated Dilated Convolutions, in EMNLP 2017. [pdf] [tensorflow]

  • Iterated Dilated Convolutions 空洞卷积

image-20220825002628063

  • 核心思想

    • 传统卷积的问题:pooling层会损失信息,降低精度。那么不加pooling层会使感受野变小,学不到全局的特征。如果单纯的去掉pooling层、扩大卷积核的话,这样纯粹的扩大卷积核势必导致计算量的增大
    • CNN也可以解决长距离依赖问题

image-20220825004251541

  • 速度比以前的Bi-LSTM-CRF快了非常多,而且精度没有下滑

:hammer_and_wrench: :fire: BOND: BERT-Assisted Open-Domain Named Entity Recognition with Distant Supervision , in KDD 2020. [pdf] [torch]

  • 远距离监督的问题

    • 噪声,负样本不好生成
    • 完整性不足
    • trade-off 在标注准确度和覆盖范围之间
  • 想法

    • 第一阶段使用RoBERTa微调,适应NER任务

      • 使用Early stopping 方法防止数据过拟合还有对未知数据增强泛化能力
      • 首先通过POS识别潜在实体,然后通过语料库计算最小损失确定实体

      img

    • 第二阶段自我学习框架 (teacher-student模型2)

      • 应对嘈杂和不完整标注的挑战
      • teacher生成伪标签交给student去预测
      • 重新加权的高置信度软标签
      • ==第二阶段的核心就是增强数据的置信程度!==

img

两阶段的BOND框架

  • 在阶段I中,经过预训练的BERT用于早停的远距离NER任务
  • 在阶段II中,首先从阶段I中学习的模型初始化student模型和teacher模型。然后使用teacher模型生成的伪标签对student模型进行训练。同时,由早停的student迭代更新teacher模型。

:hammer_and_wrench: :fire: A Boundary-aware Neural Model for Nested Named Entity Recognition , in EMNLP 2019. [pdf] [torch]

  • 解决Nested NER的问题
  • 使用多任务学习方法
    • 预测边界
    • 预测实体分类

:hammer_and_wrench: :fire: Cross-Domain NER using Cross-Domain Language , in ACL 2020. [pdf] [torch]

  • 解决跨领域无监督的标注问题
  • 核心思想

img

最底下的一层是数据层,标准情况一下总共有四份语料,分别对应两个domain下的两个task(NER和语言建模)。其中Source Domain(即保证有标记数据用于NER的domain)对应之前提到的News Domain,因为论文中Source Domain使用的是新闻数据。另外如果是无监督抽取Target Domain数据则只有三份语料。

由底向上第二层是Word Embedding层,论文中的Word Embedding结合了词级别和字符级别的向量表示。即把词向量和一个词的字符序列形成的矩阵经过CNN处理后的向量concatenate起来

第三层是双向LSTM,用于序列处理第二层的数据,生成前后向hidden state。

第四层LM和CRF,即task model层。我们可以看到第四层有三个模块,两个是用于NER的CRF模型,分别对应Source Domain和Target Domain。另一个是基于第三层BiLSTM的语言模型,NSSoftmax是指这个语言模型利用Negative Sampling Softmax的方式进行训练

  • 最关键的地方就是Bi-LSTM的参数是生成的,不同domain的不同task需要的LSTM的参数和$I$有关

$$ \begin{equation} \theta_{\mathrm{LSTM}}^{d, t}=\mathbf{W} \otimes \mathbf{I}{d}^{D} \otimes \mathbf{I}{t}^{T}, \end{equation} $$

NER的未来

既然模型打不动了,然后我找了找 ACL2020做NER的论文,看看现在的NER还在做哪些事情,主要分几个方面

  1. 多特征:实体识别不是一个特别复杂的任务,不需要太深入的模型,那么就是加特征,特征越多效果越好,所以字特征、词特征、词性特征、句法特征、KG表征等等的就一个个加吧,甚至有些中文 NER 任务里还加入了拼音特征、笔画特征...... 心有多大,特征就有多多
  2. 多任务:很多时候做 NER 的目的并不仅是为了 NER,而是服务于一个更大的目标或系统,比如信息抽取、问答系统等等。如果把整个大任务做一个端到端的模型,就需要做成一个多任务模型,把 NER 作为其中一个子任务;另外,单纯的 NER 也可以做成多任务,比如实体类型过多时,仅用一个序列标注任务来同时抽取实体与判断实体类型,会有些力不从心,就可以拆成两个子任务来做
  3. 时令大杂烩:把当下比较流行的深度学习话题或方法跟 NER 结合一下,比如结合强化学习的 NER、结合 few-shot learning 的 NER、结合多模态信息的 NER、结合跨语种学习的 NER 等等的,具体就不提了 (Few-shot + Cross-domain是个不错的选项!)

作者:王岳王院长 链接:https://zhuanlan.zhihu.com/p/166496466 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


:older_man: Text Classification

:fire: :hammer_and_wrench: Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classifification, in ACL 2022. [pdf] [torch]] [知乎博客]

将外部知识融入当prompt-tuning当中做TC任务

  • 什么是 Prompt-tuning
    • 之前的Prompt-tuning方法可被用于文本分类任务,具体方式是通过构建标签词表,将分类问题转化为一个预测和标签相关词的问题。因此,这样的问题可以构建一个含有[MASK]的模板,然后让MLM(掩码语言模型)去预测[MASK]位置的单词。至此,分类任务被转化为了一个掩码语言建模问题。
    • 下面给出一个例子,当我们要对一个句子进行分类时,可以尝试构建下面的模板:A [MASK] question: x
    • 比如MLM预测出在[MASK]位置概率最高的词是science,那该句可以被分类为SCIENCE类别。
  • 动机
    • 过去prompy-tuning方法,MLM在[MASK]位置可以预测出的单词是很多的,然而类别数只有特定数量的,因此该问题很重要的一个部分是如何==构建一个单词表到类别标签的映射==。这个映射能让MLM在预测到类别标签的相关词时,就可以被分到指定类别去。
    • 这样的一个映射,过去通常是由人来手工编辑或使用梯度下降搜索。但显然这样会带来覆盖范围不全导致的高偏差和高方差知识库的组织结构,天然的带有范围关系,在知识库的图结构中,相关联的实体会有边相连,不相关的实体可能要经过很多跳才能找到关联,或无关联。因此如果能将外部的知识库信息融入,构建一个映射器(本文称语言表达器),就可以一定程度上避免手工构造和梯度下降带来的高偏差和高方差问题。
  • 方法

image-20221202123732640


:framed_picture: Topic

:fire: [层次化主题] Deep Latent Dirichlet Allocation with Topic-Layer-Adaptive Stochastic Gradient Riemannian MCMC, in ICML 2017. [pdf]

理论性非常强的论文

  • 详细的理论推导请见原文。
  • case展示

image-20221031220028391

:mailbox: Knowledge&LLM&VLM

:rocket: LLM

:fire: :hammer_and_wrench: Quark: Controllable Text Generation with Reinforced [Un]learning, in NIPS 2022. [pdf] [torch]

  • 动机
    • 整体思路和InstructGPT很类似,但是不再训练奖励模型,而是使用prompt来取代(评判生成的是否是好句子)
  • 与Instruct GPT 不同的地方
    1. 抛弃训练打分模型(reword model)这个步骤,觉得训练一个打分模型过于繁琐,增加训练成本
    2. 然而也要保证人工监督的信息(human feedback)传入生成模型中,论文提出使用一个==打分标记==(reward token)嵌入prompt中来控制生成,如此可以更为简洁地实现human feedback+reinforcement learning的训练技术策略。
  • 模型方法
    1. **Exploration,**同样基于一个大规模预训练模型(GPT)产生一批prompt生成结果,接着对其评价打分,并存储一个数据池中(data pool)
    2. **Quantization,**利用打分的结果,给数据池中中的数据进行排序,然后进行层级量化分类(如分好,中、差类似)
    3. **Learning,**将已经分层的样本,给一个打分标记(图中[R3])与prompt拼接在一起作为输入,对原始的预训练模型进行微调训练学习。

image-20230412090327306

:fire: :hammer_and_wrench: Large Language Models Are Human-Level Prompt Engineers, in ICLR 2023. [pdf] [torch] [zhihu]

  • 动机
    • 一句话来概括本文的思路: 利用训练数据构造demonstration,要求LLM在指定描述的情境下,产生对应的prompt集合,然后评估选择出最佳的instruction。
  • 具体思路
    1. 使用LLM作为推理模型,基于输入和输出的描述集合,产生指令候选集
    2. 对于候选集中的每个指令,计算输入和输出LLM下的得分。
    3. 使用迭代蒙特卡洛的搜索方式,通过提出语义相似的指令变体来改进最佳的指令候选,增加指令的多样性。

image-20230508105808096

:fire: [2023.5.6未开源] SCOTT: Self-Consistent Chain-of-Thought Distillation, in ACL 2023. [pdf]

  • 动机

    • 只有比较大的LLM才有COT的能力,而且大的LLM也会产生很多幻觉信息,导致蒸馏出来的小模型在COT能力上会很差

    image-20230506092740246

  • 方法【teacher:GPT-neox20B student:T5 3B】

    • 大模型中采用Contrastive Decoding编码的策略(意味着你必须获得词概率的分布,模型可以frozen掉)
    • 小模型当中利用大模型生成的数据进行训练(同时让teacher生成一些反事实的也一起丢进去fine-tuning)

    image-20230506093023819

    • 细节

      • teacher的contrastive decoing的策略

      image-20230506093124595

      • student的反事实推理能力(都是由teacher产生的,具体来说就是把teacher中输入的答案换成错误的答案或者空的字符就可以了)

      image-20230506093251574

:fire: Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizes

方法也太简单了,其实就是当前LLM的范式,用大语言模型生成的东西来蒸馏学习小模型

  • 方法

image-20230506095246261

:fire: Poisoning Language Models During Instruction Tuning, in ICML 2023. [pdf] [torch]

  • 动机

    • 在训练时候加入脏数据攻击语言模型

    image-20230508103121615

:fire: :hammer_and_wrench: Outline, Then Details: Syntactically Guided Coarse-To-Fine Code Generation, in ICML 2023. [pdf] [torch]

  • 动机

    • 过去的代码生成都是一次性的,效果并不好,应该COT那样子生成
    • 忽略了句法结构作为先验
  • 最大贡献

    • 提出基于句法树的Tokenizer(最重要的贡献)
  • 方法

    • Tokenizer

    image-20230508194557470

    $S3$和$S4$是重点,tokenizer的encode伪代码如下:

    image-20230508194659740

  • 模型(预训练+微调)

image-20230508194740606

:hammer_and_wrench: Distilling Script Knowledge from Large Language Models for Constrained Language Planning, in ACL 2023. [pdf] [torch]

  • 动机:有约束的plan生成,比如说给一个糖尿病人做蛋糕应该不要加糖

image-20230513212959042

  • 有约束数据集生成方式与我们的方法(先过度生成再过滤)

image-20230513213047184

:fire: :hammer_and_wrench: BadPrompt: Backdoor Attacks on Continuous Prompts, in NIPS 2022. [pdf] [torch]

  • 动机
    • 没有人研究过prompt-based model 的后门攻击
    • few-shot的场景往往缓解了攻击,会导致攻击不够有效。所以需要更高级的攻击策略
    • 目标希望ASR和CA都比较高

image-20230516212217595

  • 方法(具体见论文)

image-20230516212243228

:fire: :hammer_and_wrench: RL4F: Generating Natural Language Feedback with Reinforcement Learning for Repairing Model Outputs, in ACL 2023. [pdf] [torch]

太棒的工作了!

  • 动机
    • 过去反馈都是人来生成的,能不能用一个模型来生成,然后修改那种黑盒LLM

image-20230516215115928

  • 方法(太棒的方法了)【批评的模型就是一个T5-large (0.77M)】

image-20230516215150724

:fire: :hammer_and_wrench: Are You Copying My Model? Protecting the Copyright of Large Language Models for EaaS via Backdoor Watermark, in ACL 2023. [pdf]] [[torch](https: //github.com/yjw1029/EmbMarker)]

  • 动机
    • 利用后门来保护语言模型的版权

image-20230518162732603

  • 方法

image-20230518162756186

:hammer_and_wrench: :fire: Tree of Thoughts: Deliberate Problem Solving with Large Language Models, in 2023 05. [pdf] [torch]

image-20230531094920757

  • TOT解决问题例子

image-20230531094947180

![image-20230531095005174](/Users/gary/Library/Application Support/typora-user-images/image-20230531095005174.png)

image-20230531095334358

:hammer_and_wrench: Plug-and-Play Knowledge Injection for Pre-trained Language Models, in ACL 2023. [pdf] [[torch](https://github.com/ THUNLP/Knowledge-Plugin)]

  • 动机
    • 过去在LM中加入外部知识可以提高模型在下游任务的性能
    • 但是往往需要重新训练或者微调LM,显得很麻烦
    • 本文提出只训练一个Mapping的网络,将外部知识投射到下游任务的模型当中(本文探索了很多种LM的模型)
  • 模型方法

image-20230602105324893

:hammer_and_wrench: :fire: Mixture-of-Domain-Adapters: Decoupling and Injecting Domain Knowledge to Pre-trained Language Models’ Memories, in ACL 2023. [pdf] [[torch](https://github.com/ Amano-Aki/Mixture-of-Domain-Adapters)]

  • 动机
    • 希望用Adapter的方式将PLM在某些特定领域中小参数形式微调
  • 方法(两阶段)

image-20230611215226591

  • 实验
    • Baseline选取就是其他的微调方法,比如LoRa等方式(实验结果详见论文)

:fire: :hammer_and_wrench: Grounding Language Models to Images for Multimodal Inputs and Outputs, in ICML 2023. [pdf] [torch]

单卡A6000进行训练,很友好

  • 动机
    • 同时处理文本和图片的输入和输出(注意,这里的图片是检索出来的)

image-20230613094222645

  • 方法(两种很简单的与训练方法)
    • CLIP和LLM都是冻结参数的

image-20230613094249427

  • 例子展示
    • 推理时候如何进行的,具体要见论文代码

image-20230613094451233

:hammer_and_wrench: [COT] Element-aware Summarization with Large Language Models: Expert-aligned Evaluation and Chain-of-Thought Method, in ACL 2023. [pdf] [code]

相当于重构了现在的Summarization数据集

  • 动机
    • 过去的benchmark的参考summarization往往结果是嘈杂的,主要是在事实幻觉和信息冗余方面
    • 我们希望就主要关🧘元素来生成摘要

image-20230717204206612

  • 方法(给定几个参考问题进行提问)

image-20230717204227177

:fire: :hammer_and_wrench: Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe, in ACL 2023. [pdf] [torch]

  • 动机
    • 文本生成的隐私性,不要让语言模型泄漏一些隐私信息
    • 引入差分隐私的方法来Fine-tune GPT-2
  • 方法(具体我也不是很看得懂,可能要看代码才知道具体操作)

image-20230725170115857

image-20230725170734255

:fire: :hammer_and_wrench: Editing Large Language Models: Problems, Methods, and Opportunities, in 2023.05. [pdf] [torch]

  • 动机
    • LLM知识定向编辑的empirical study

image-20230902184416729

:fire: :hammer_and_wrench: LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Models, in ICCV 2023. [pdf] [torch]

  • 动机:LLM解决导航问题

image-20231013234300711

  • 模型方法

image-20231013234456103

:fire: :hammer_and_wrench: CoTDet: Affordance Knowledge Prompting for Task Driven Object Detection, in ICCV 2023. [pdf] [torch]

  • 动机
    • 解决Task-driven的OD任务,需要视觉知识作为桥梁,LLM单独很那做到

image-20231116103832300

  • 方法(挺好的方法)

image-20231116104002333

:hammer_and_wrench: :fire: K2: A Foundation Language Model for Geoscience Knowledge Understanding and Utilization, in WSDM 2024. [pdf] [dataset&code]

  • 动机
    • 在地理领域里面构建指令数据集微调LLM

image-20240125195524424

:hammer_and_wrench: :fire: Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learning, in EMNLP 2023 Best Paper. [pdf] [[torch](https://github.com/lancopku/ label-words-are-anchors)] [zhihu]

  • 动机
    • 利用信息流机制探索ICL
    • 要点1:本文对LLM的上下文学习ICL的作用机制提出了两个假设,并通过saliency score验证了这两个假设
    • 要点2:基于这两个假设,提出了1)提升ICL性能的方法;2)提升ICL的inference效率的方法;3)对于实际问题错误分析。
  • 分析

img

标签词作为锚的信息流$H_1$ :在LLM的浅层,标签词聚集示例具体内容的信息,为深层形成语义表示。 $H_2$:在LLM的深层,模型从聚集后的标签词位置中提取信息,形成最终预测。

image-20240126163228434

image-20240126163238316

  • 讨论

Q1: Analysis of different ICL formats on the final prediction like random labels, reversed labels (e.g.,True->False, False->True), and label agencies (replace labels with meaningless characters) may be helpful.

缺少对于不同的 ICL 格式对最终预测的影响的分析,如随机标签、反向标签(如真->假、假->真)和标签机构(用无意义字符替换标签),可能会有所帮助。

分析:粗略的看,本文的结论和之前的工作得到的结论“ICL中的标签正确性对于结果似乎影响不大”[1] 可能有矛盾之处。如果本文结论合理,在深层,ICL机制是进行对label words处的聚合,那在示例中标签是错误的时候,label words处聚合到的信息(或者说聚合到的文本到标签的映射关系信息)有可能是有误导性的,进而导致性能下降;但是[1]中实验表明“ICL中的标签正确性对于结果似乎影响不大”,似乎矛盾。

对此可能合理的解释是:深层聚合时,不止参考了label words处的聚合信息,还参考了待预测样本的本身信息;对于能力较强的LLM(如gpt-3.5),有一定排除前面聚合的误导信息的能力,而只参考前面的格式;对于能力较弱的(如本文用的gpt2-xl,gpt-j-6b),这种“排除误导信息”的能力较弱,因此会表现出“icl中给随机标签得到的结果和随即猜测差不多”(也就是作者在rebuttal回复的)。综上,本文所分析的icl机制也许还存在一些待补全的部分,即对于待预测样本本身文本信息的参考程度。

[1] EMNLP 2022. Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?

:hammer_and_wrench: :fire: Can Large Language Models Infer Causation from Correlation?, in ICLR 2024. [pdf]] [dataset] [torch]

  • 动机
    • 本文提出了第一个基准数据集,以测试大型语言模型(LLMs)的纯因果推断能力。具体而言,我们提出了一个新颖的任务 CORR2CAUSE,该任务需要从(一组)相关性语句中确定变量之间的因果关系。我们策划了一个大规模数据集,其中包含 40 万多个样本,同时评估了包括17种现有 LLM 的性能。

img

  • 数据集构建

img

  • Zero-shot性能

img

  • Fine-tune后

img

:fire: :hammer_and_wrench: Knowledge Rumination for Pre-trained Language Models, in EMNLP 2023. [pdf] [torch] [zhihu]

具体见论文,是知识编辑方面的工作

  • 动机
    • 知识反思

image-20240128172632436

  • 方法

image-20240128172657077

:fire: :hammer_and_wrench: When Do Program-of-Thought Works for Reasoning?, in AAAI 2024. [pdf] [torch]

  • 动机
    • 中等难度的代码有助于LLM做推理
      • 逻辑复杂度 + 结构复杂度

image-20240129101247023

  • 复杂度衡量
    • Node Count
    • Node types
    • Tree Depth
  • 方法

image-20240129101345846

:fire: :hammer_and_wrench: INSTRUCTSCORE: Explainable Text Generation Evaluation with Fine-grained Feedback, in EMNLP 2023. [pdf] [torch]

  • 动机
    • 过去文本生成metrics do not provide explicit explanation of their verdict(结论), nor associate the scores with defects in the generated text.
    • 通过文本生成Feedback的方式,来评估文本生成的效果
      • 类似于错误分析

image-20240217212852942

  • 方法

image-20240217213038282

  • 评估metrics的指标(相关系数)

image-20240217213116071

:fire: :hammer_and_wrench: GENOME: GenerativE Neuro-symbOlic visual reasoning by growing and reusing ModulEs, in ICLR 2024. [pdf] [project]

  • 动机
    • 对比ViperGPT只能利用现有的模块,GENOME可以自己生成模块来调用

image-20240217214425983

  • 方法

image-20240217214452720

:fire: :hammer_and_wrench: Learning From Mistakes Makses LLM Better Reasoner, in 2024-02. [pdf] [torch]

  • 动机:让LLM从错误中学习,可以更好的进行数学推理
    • 不仅能给出答案,还能学会如何避免犯错。这就像是给AI上了一堂生动的“错题集”课!

image-20240225202906277

  • 错误数据收集过程
    • 首先收集了AI在解题过程中的错误路径,然后用GPT-4这个“老师”来指出错误并给出正确答案。这个过程就像是AI在不断地自我纠错和学习。

image-20240225202958432

image-20240225203045897

  • 使用QLoRA微调LLM

image-20240225203112962

:fire: :hammer_and_wrench: Safe RLHF: Safe Reinforcement Learning from Human Feedback, in ICLR 2024. [pdf] [torch] [zhihu]

理论和代码可以见知乎博客,很详细

  • 动机
    • balance between the performance and safety of AI systems
  • 方法

image-20240304105055368

:fire: :hammer_and_wrench: Digital Socrates: Evaluating LLMs through Explanation Critiques, in ACL 2024. [[project](https://allenai.org/data/ digital-socrates)]

  • 动机
    • 和InstructScore 一样:LLM来做评估

image-20240604093918831

:fire: :hammer_and_wrench: Navigating Dataset Documentations in AI: A Large-Scale Analysis of Dataset Cards on Hugging Face, in ICLR 2024. [project]

  • 动机
    • 对当前Huggingface数据集卡片的分析,当前我们对当前数据集文档实践缺乏系统的实证理解。
    • 一些发现
      1. 数据卡片完成率显示出与数据集流行度相关的显着异质性:虽然下载量最高的 100 个数据集卡片中有 86.0% 填写了 Hugging Face 社区建议的所有部分,但只有 7.9% 没有下载的数据集卡片完成了所有这些部分。
      2. 对数据集卡中每个部分的精细检查表明,从业者似乎优先考虑数据集描述和数据集结构部分,对于下载最多的数据集,分别占卡总长度的 36.2% 和 33.6%。相比之下,“使用数据的注意事项”部分的内容比例最低,仅占文本的 2.1%。
      3. 通过分析每个部分中的小节并利用主题建模来识别关键主题,我们揭示了每个部分中讨论的内容,并强调了涵盖技术和社会影响的重要主题,以及使用数据的注意事项中的限制部分。
      4. 我们的研究结果还强调需要提高“使用”部分中数据集的可访问性和可重复性。
      5. 此外,我们的人工注释评估强调了综合数据集内容在塑造个人对数据集卡整体质量的看法方面的关键作用。
  • 一些分析

image-20240608211002430

:fire: :hammer_and_wrench: What's documented in AI? Systematic Analysis of 32K AI Model Cards, in Nature Machine Intelligence 2024. [pdf] [Code]

  • 动机
    • 和上面类似,模型卡片
    • 我们对 Hugging Face 上的 32,111 个 AI 模型文档进行了全面分析,通过大规模数据科学和语言分析,对围绕模型文档的社区规范和实践进行了系统评估。
    • 我们的研究结果表明,虽然大多数流行模型都有模型卡,但它们的细节往往有所不同。有关环境影响、限制和评估的部分通常不完整,而提供的培训细节则更加一致。我们还分析每个部分的内容来描述从业者的优先事项。

:hammer_and_wrench: :fire: ModelGPT: Unleashing LLM’s Capabilities for Tailored Model Generation, in 2024-02. [project]

  • 动机
    • 直接让GPT生成模型(包括参数的生成)的探索

image-20240628100441623

  • 方法,流程

image-20240628100531379

:hammer_and_wrench: :fire: What is the Best Way for ChatGPT to Translate Poetry?, in ACL 2024. [project]

  • 动机
    • 诗歌翻译(英文 -> 中文)
    • 现代诗歌有自己独特的个性,中文和英文有所不同,所以翻译难度不小
      • Consequently, when translating modern poetry, it is not necessary to adhere to the original poem’s rhythm (Duan, 2008). However, the poeticity must not be overlooked; the poetic essence of the source poem must be preserved throughout the translation process (Guo, 1957; Skerratt, 2013).
  • 方法:生成解释辅助

image-20240628102115092

  • 例子:详见论文

:fire: :hammer_and_wrench: INCHARACTER: Evaluating Personality Fidelity in Role-Playing Agents through Psychological Interviews, in ACL 2024. [project]

  • 动机
    • 使用心理学理论(人格评估)来评价大模型角色扮演的能力

image-20240715084213392

  • 方法

image-20240715084303797

:fire: :hammer_and_wrench: Generating Summaries with Controllable Readability Levels, in EMNLP 2023. [pdf] [[torch](https://github.com/amazon-science/ controllable-readability-summarization)]

  • 动机
    • 不同年龄段,应该有不同的阅读水平,所以LLM要针对不同的阅读水平生成Summary

image-20240824105207232

  • 模型方法
    • 指令微调
    • 强化学习,依据可读性指标(每个人群有自己的目标分数)
    • Lookahead的解码策略

image-20240824105251650

:fire: ​​ Dr.Academy: A Benchmark for Evaluating Questioning Capability in Education for Large Language Models, in ACL 2024. [pdf]

  • 动机
    • LLM作为教育专家生成多层次问题的能力(根据布鲁姆教育目标层级)
    • 提出Benchmark:人工+GPT测评的方式,不需要额外数据标注

image-20240824105709043

  • 多领域

image-20240824105752640

:hammer_and_wrench: OceanGPT: A Large Language Model for Ocean Science Tasks, in ACL 2024. [project]

  • 动机
    • 海洋领域的LLM
    • 标注一个该领域的指令数据集

image-20240903100922779

  • 训练流程

image-20240903101358529

  • 更多探索

image-20240903101418882

:fire: :hammer_and_wrench: Aligning Large Language Models with Human Preferences through Representation Engineering, in ACL 2024. [pdf] [torch]

  • 动机
    • 新的RL方法,学习人类的偏好,建模人类的偏好
    • RLHF训练时候不太稳定,并且不太容易实现

image-20240917115319322

  • 方法

image-20240917115350816

:fire: :hammer_and_wrench: LexEval: A Comprehensive Chinese Legal Benchmark for Evaluating Large Language Models, in NeurIPS 2024. [project]

  • 动机
    • 更加全面的法律评估数据集
        1. Ability Modeling: We propose a new taxonomy of legal cognitive abilities to organize different tasks. (多层次的评估)
        2. Scale: To our knowledge, LexEval is currently the largest Chinese legal evaluation dataset, comprising 23 tasks and 14,150 questions.
        3. Data: we utilize formatted existing datasets, exam datasets and newly annotated datasets by legal experts to comprehensively evaluate the various capabilities of LLMs.
  • 多层次的评估LLM能力

image-20241005112747041

:hammer: Code

:hammer_and_wrench: AST-Trans: Code Summarization with Efficient Tree-Structured Attention, in ICSE 2022. [pdf] [torch]

代码摘要的生成

  • 动机
    • 过去代码转成AST的方式,Tree太长了很难让模型学到节点之间的关系
    • 这里我们只关注关键的两种节点:祖先-后代节点兄弟节点

image-20230518112438244

  • 方法

    • 转换成矩阵有效的encoding

    image-20230518112515126

    • 后面还有一系列很细节的操作(不太清楚有没有道理)
  • 实验

    • 复杂度分析
    • 很细节的消融
    • 这会议居然写10页的论文,真多

:fire: :hammer_and_wrench: Multi-target Backdoor Attacks for Code Pre-trained Models, in ACL 2023. [pdf] [torch]

代码仓库很完善,但这篇论文写作一般般吧

  • 动机
    • 在预训练期间对代码模型注入后门
    • 针对两种任务:分类任务 + 生成任务
  • 方法

image-20230620211344890

  • 攻击流程与思路
    1. 设置Trigger Set
      1. 自然语言的Trigger
      2. 代码Trigger
        • 必须保留原始意思
        • 永真的assert语句或者永假的if语句
        • 保证不会被编译器忽略(如,if(sin(0.7)<1))
      3. Trigger Output (Target Label)
        1. 分类任务:特定标签就好
        2. 生成任务:增删改
    2. 预训练任务 (注入后门)
      1. Seq2Seq Learning
        1. 三分类(增删改)
        2. NL <---> Code
      2. Token表示学习,EOS做文章
    3. 模型部署
  • 模型预训练与数据集
    • CodeT5和PLBART
    • CodeSearchNet的数据集来攻击
  • 攻击下游任务(实验)
    • 代码understanding
    • 代码生成

:hammer_and_wrench: EGFE: End-to-end Grouping of Fragmented Elements in UI Designs with Multimodal Learning, in ICSE 2024. [pdf] [Dataset&Code]

但这个数据集好像只是组合元素,不是生成前端代码

  • 动机
    • UI 原型在写前端代码时候如何组合这些元素(element)
    • 过去的方法没办法处理好element overlap和Tiny 组件的检测
    • 提出数据集和一个简单的方法

image-20240124111333735

  • 方法:比较简单,就是判断元素是否merge

image-20240124111402155

  • Case展示

image-20240124111443122

:fire: Android in the Wild: A Large-Scale Dataset for Android Device Control, in NeurIPS 2023. [pdf] [[dataset](https://github.com/google-research/google-research/ tree/master/android_in_the_wild)]

  • 动机
    • 安卓设备控制的数据集(类似控制APP)

image-20240130112109072

:hammer_and_wrench: Pairwise GUI Dataset Construction Between Android Phones and Tablets, in NeurIPS 2023. [pdf] [dataset]

  • 动机:安卓GUI前端文件数据集(手机+平板)

image-20240130112348151

  • 例子展示

image-20240130112434990

:rainbow: VLM

多模态预训练

:fire: :hammer_and_wrench: [Cross-Modal&Contrastive Learning] UNIMO: Towards Unified-Modal Understanding and Generation via Cross-Modal Contrastive Learning, in ACL(long paper) 2021. [pdf] [project from Baidu]

:hammer_and_wrench: [MultiModal] UniT: Multimodal Multitask Learning with a Unified Transformer, ICCV 2021. [pdf] [project from Fair]

:fire: :hammer_and_wrench: Leveraging Visual Knowledge in Language Tasks: An Empirical Study on Intermediate Pre-training for Cross-modal Knowledge Transfer, in ACL 2022. [pdf] [torch (2022.12.01未开源)]

本文是一篇实验性的文章,实验的方法写得不错!

什么叫做:intermediate pre-training?

  • 在预训练好的模型上,补充一些数据集或者语料库继续预训练
  • 动机

    • 目前的大规模语言模型在理解日常物品属性方面的能力还很缺乏,因为它们的预训练语料中很少有这样的事实性知识,即所谓的reporting bias,下图即是一个例子:

    image-20221201194524047

  • 方法(以下两种方法来弥补PLM在这方面的缺陷)

    • text knowledge transfer: 即使用image caption进行知识迁移,设计了如下两个训练目标:

      • MLM:在image caption上进行MLM,相当于进行了domain adaptive的预训练,和Bert一样的设置
      • Text Contrastive Learning (TCL): 采用和SimCSE一样的方式,进行对比学习,batch中的其他样本都是负样本
    • cross-modal knowledge transfer: 即使用图片和文本以及V&L的训练来进行知识迁移,设计了如下几个训练目标:

      • Voken Classification: voken采用token层面的text2image检索来迁移视觉知识,它假设每一个token都有一个视觉域的voken与其对应,训练目标就是在所有预先设定好的voken中将正确的voken检索出来

      • Masked Language Modeling with Visual Clues: 给定图片作为线索,预测mask掉的token,比MLM多了图片作为输入,目标函数是一样的

      • Cross-Modal Contrastive Learning (CMCL): 和CLIP一样(不同在于这里把视觉网络给冻住),是跨模态的对比学习

        • 负样本构建方法(之一)(对抗性负样本)
          • 同时要计算生成负样本和原来句子的语义相似度,过滤掉一些生成的假负样本

        image-20221201195315054

        • 这些过滤的假负样本,也可以作为正样本使用,作为正样本!
      • Cross-Modal Knowledge Distillation (CMKD): 将在MSCOCO数据集上进行对比学习的多模态模型作为teacher model,将一个语言模型作为student,在纯文本语料Wiki103上进行知识蒸馏

    • 模型示意图

    image-20221201195203819

  • 结论

    • 简单在captions数据集上继续预训练可以取得知识迁移的效果
    • 跨模态的知识迁移在很小的训练样本情况下可以极大提高下游任务的性能
    • 对比学习的方法对视觉知识(对象属性等,如第一张图说的)的学习是最好的

:hammer_and_wrench: :fire:[Relation CLIP] RelCLIP: Adapting Language-Image Pretraining for Visual Relationship Detection via Relational Contrastive Learning, in EMNLP 2022. [pdf] [torch]

  • 动机

    • CLIP可以识别对象之间的relation
  • 方法(很简单)

Commonsense Knowledge 就是Conceptual Caption数据中来

image-20230321093338484

负样本收集:

image-20230321094303920

:star: [MM-KG + CLIP] Contrastive Language-Image Pre-Training with Knowledge Graphs, in NIPS 2022. [pdf] [rebuttal]

  • 动机

    • 以前的CLIP模型对自然语言当中复杂的语义特征,比如颜色和位置
    • 将知识加入到CLIP的预训练过程当中,以输入的形式加进去的

    image-20230213181225549

    • 预训练数据集来源具体见论文
    • 方法

    image-20230213181333946

:hammer_and_wrench: PuMer: Pruning and Merging Tokens for Efficient Vision Language Models, in ACL 2023. [pdf] [[torch](https://github.com/ csarron/PuMer)]

  • 动机
    • Image或者Text的Token可能有的是多余的,会带来额外的计算代价
    • 应该把Token剪枝或者合并起来,高效对其多模态信息
  • 方法(训练和推理框架一样)

image-20230602112025512

:fire: Learning to Estimate Shapley Values with Vision Transformers, in ICLR 2023. [pdf] [torch]

很棒的一篇Shapley Values 结合 ViT的论文

  • 动机
    • 验证random masking + 没有ground truth的loss也可以很好的训练出Explainer评估ViT中的Shapley Value
  • 方法

image-20230607002458191

:fire: Knowledge-Aware Prompt Tuning for Generalizable Vision-Language Models, in ICCV 2023. [pdf]

  • 动机

    • 传统的CLIP对于一些unseen class 泛化能力不是很好

    • CLIP + 外部知识 (个人觉得 CVPR的那几篇更好)

image-20230902183343344

  • 模型方法 (连续 + 离散的知识prompt)

image-20230902183402422

:hammer_and_wrench: [多语言CLIP] mCLIP: Multilingual CLIP via Cross-lingual Transfer, in ACL 2023. [pdf] [[torch](https://github.com/ huawei-noah/noah-research/NLP/mclip)]

  • 动机:多语言的CLIP模型
  • 方法
    1. 先训练好模型多语言的文本编码器
    2. 再将原来的CLIP进行三角蒸馏

image-20230907223536040

image-20230907223622103

:hammer_and_wrench: Rethinking Multimodal Entity and Relation Extraction from a Translation Point of View, in ACL 2023. [pdf] [torch]

  • 动机
    • 多模态信息对齐问题
    • 多模态信息对齐和跨语言散度很类似

![image-20230910094115148](/Users/gary/Library/Application Support/typora-user-images/image-20230910094115148.png)

  • 模型方法(使用了外部的LAION-400这种数据来预训练模型)
    • Back-Translation:Diffusion模型生成图片
    • 低资源学习 + High-Resource Divergence Estimation

image-20230910095421482

image-20230910095446366

  • Case Study

image-20230910095543108

:fire: :hammer_and_wrench: Preserving Modality Structure Improves Multi-Modal Learning, in ICCV 2023. [pdf] [[torch](https://github. com/Swetha5/Multi_Sinkhorn_Knopp)]

  • 动机
    • 过去的模型往往忽略了模态特定的表征
  • 方法
    • Multi-Assignment Sinkhorn-Knopp算法分配学习Anchor

image-20230910104252077

:hammer_and_wrench: [复杂的图像检索任务] A Neural Divide-and-Conquer Reasoning Framework for Image Retrieval from Linguistically Complex Text, in ACL 2023. [pdf] [torch]

  • 动机
    • 做复杂的这种检索要类似于人脑分支-组合的思想

image-20230918113349556

  • 模型方法(感觉那个神经符号推理很值得参考)

image-20230918113445960

  • 神经符号推理模块

image-20230918113517987

  • 实验结果(实际上所有模型目前结果都不太好)【IMAGECODE数据集(里面好像也有视频的)

image-20230918113620317

:hammer_and_wrench: :fire: Bayesian Prompt Learning for Image-Language Model Generalization, in ICCV 2023. [pdf] [[torch](https://github.com/saic-fi/Bayesian- Prompt-Learning)]

  • 动机
    • 过去的prompt tuning方法对于unseen的domain表现不行,泛化能力不够。(suffer from distribution shift)
    • Bayesian PT的方法可以prevents learn- ing spurious features, and exploits transferable invariant features
  • 方法

image-20231007094433389

  • 核心公式(需要先看变分推理网课)

image-20231013111140013

:fire: :hammer_and_wrench: A Unified Objective for Novel Class Discovery, in ICCV 2021 Oral. [pdf] [torch] [blog]

  • 动机
    • 过去的方法往往都是现在labeled数据集上面预训练好模型,再设计clustering function在unlabeled上做作
    • 本文设计unified的Objective(很巧妙,也很牛逼)
  • 方法

image-20231114201847341

:fire: :hammer_and_wrench: E2VPT: An Effective and Efficient Approach for Visual Prompt Tuning, in ICCV 2023. [pdf] [torch]

  • 动机
    • VPT改进版本:Prompt Tuning + Pruning的方法
  • 模型(具体见论文)

image-20231116102805839

:fire: SINC: Self-Supervised In-Context Learning for Vision-Language Tasks, in ICCV 2023. [pdf]

  • 动机
    • 探索VLM直接在预训练时候的in-context-learning能力
    • 过去ICL都是依赖于语言空间,会出现模版敏感 + 幻觉的问题
    • 而且LLM的训练代价很大

image-20231122153701843

  • 模型方法

image-20231122153917503

  • Prompt的设计

image-20231122154115854

:fire: :hammer_and_wrench: Make the U in UDA Matter: Invariant Consistency Learning for Unsupervised Domain Adaptation, in NeurIPS 2023. [pdf] [torch]

  • 动机
    • UDA往往会有domain-specific和domain-invariant之间的spurious correlation的问题
    • 过去方法将target domain看作是一个辅助的数据,没有很好的利用起来
  • 方法(和他们CVPR那篇视频异常检测的很像)

image-20231123152426035

  • 训练目标

image-20231123152448484

:hammer_and_wrench: ViStruct: Visual Structural Knowledge Extraction via Curriculum Guided Code-Vision Representation, in EMNLP 2023. [pdf] [[torch](https://github.com/ Yangyi-Chen/vi-struct)]

  • 动机
    • 通过程序性语言来描述visual knowledge

image-20231206170031564

  • 方法
    • 课程学习的顺序,做掩码预测

image-20231206170108343

image-20231206170125829

:hammer_and_wrench: :fire: DDCoT: Duty-Distinct Chain-of-Thought Prompting for Multimodal Reasoning in Language Models, in NeurIPS 2023. [project]

  • 动机
    • 生成正确的rationales做多模态推理很重要
    • 要减少LLM做多模态推理的幻觉

image-20231209213511601

  • 方法

image-20231209213539489

:fire: :hammer_and_wrench: See and Think: Embodied Agent in Virtual Environment, 2023-12. [project]

  • 动机
    • LLM来打游戏,三步走

image-20231214113014352

  • 方法(Benchmark + 微调 LLAMA)

image-20231214113103309

:hammer_and_wrench: [表情包] MEMECAP: A Dataset for Captioning and Interpreting Memes, in EMNLP 2023. [pdf] [torch]

  • 动机
    • 表情包隐喻(metaphor)caption的数据集
    • 当前VLM对这个理解还不是很好

image-20231214115301439

  • 数据集介绍

image-20231214115400967

  • 方法:Prompt模板 + few-shot

image-20231214115424085

  • 实验结果展示

image-20231214115454544

:fire: :hammer_and_wrench: CLOVA: A Closed-LOop Visual Assistant with Tool Usage and Update, in 2023-12. [pdf] [torch] [知乎]

  • 动机
    • 利用大型语言模型(LLMs)来整合现成工具(例如视觉模型和图像处理功能)是建立功能强大的视觉助手以解决多样化视觉任务的一个有前途的研究方向。然而,**现有方法很少探索学习能力,因为它们在部署后冻结所使用的工具,从而限制了在需要特定知识的新环境中的泛化能力。**在本文中,我们提出了 **CLOVA,一个Closed-LOop Visual Assistant ,以解决这一限制,该Assistant 在闭环框架中包括推理、反思和学习阶段。**在推理过程中,LLMs生成程序并执行相应的工具来完成给定任务。反思阶段引入了一种多模态的全局-局部反思方案,根据环境反馈分析是否以及哪种工具需要更新。最后,学习阶段以三种灵活的方式实时收集训练数据,并引入了一种新颖的提示调节方案来更新工具,使CLOVA能够在无需人为干预的情况下高效地学习新知识。实验结果表明,CLOVA在视觉问答和多图推理任务中超过了使用工具的方法5%,在知识标记任务中超过了10%,在图像编辑任务中超过了20%,突出了学习能力对于通用视觉助手的重要性。
    • 收集训练数据 + 更新Tool !!!
  • 介绍(详见知乎讲解)
    • CLOVA包括三个阶段:推理、反思和学习,如图所示。
      • 在推理阶段,CLOVA使用语言模型生成程序,并执行相应的工具来解决任务。
      • 反思阶段引入 了一种多模态全局-局部反思方案,使用语言模型生成 批评意见,识别需要更新的工具。
      • 在学习阶段,我们 采用三种方法来收集训练数据,并使用训练-验证提示 调整方案来更新工具

:hammer_and_wrench: :fire: [2024-01 刚放榜,未开源] ADAPTING TO DISTRIBUTION SHIFT BY VISUAL DOMAIN PROMPT GENERATION, in ICLR 2024. [pdf]

  • 动机
    • 领域泛化目标:Using a few unlabeled data to address distribution shifts.
    • 任务设计

image-20240124155446402

  • 模型方法

image-20240124155506087

:hammer_and_wrench: DOC2PPT: Automatic Presentation Slides Generation from Scientific Documents, in AAAI 2022. [pdf] [torch]

  • 动机:使用Paper制作汇报的PPT

image-20240125195731926

  • 数据集处理

image-20240125195829652

  • 方法

image-20240125195841925

:fire: :hammer_and_wrench: VLIS: Unimodal Language Models Guide Multimodal Language Generation, in EMNLP 2023. [pdf] [torch]

  • 动机

image-20240126170451347

  • 方法

image-20240126170505938

:fire: Multitask Multimodal Prompted Training for Interactive Embodied Task Completion, in EMNLP 2023. [pdf] [torch]

  • 动机
    • Embody AI + 完成指令 (第一人称)
  • 方法

image-20240126174556361

:fire: :hammer_and_wrench: :star2: Fine-tuning Multimodal LLMs to Follow Zero-shot Demonstrative Instructions, in ICLR 2024. [pdf] [torch]

  • 动机
    • 过去都是简单的图文匹配指令
    • 没有关注细节,或者更深层次关注补充的区域
    • 无法理解Demonstrative Instrction
      • 文本中间插入图片

image-20240126221719197

  • 方法

image-20240126221731263

image-20240126221906220

  • ⚠️ 重点:Instruction构建

image-20240126221806542

  • Benchmark评估(使用了模型评估方法)

image-20240126222315540

:fire: :hammer_and_wrench: UReader: Universal OCR-free Visually-situated Language Understanding with Multimodal Large Language Model, in EMNLP 2023. [pdf] [torch]] [zhihu]

依托达摩院mPLUG系列大模型的

  • 动机
    • 用自适应裁切输入图片来增大输入的分辨率;
      • 无需OCR
    • 所有任务统一用QA表示;

image-20240128164126990

  • 模型方法
    • 形状自适应裁剪

image-20240128164158095

image-20240128164212293

:fire: :hammer_and_wrench: mPLUG-PaperOwl: Scientific Diagram Analysis with the Multimodal Large Language Model, in 2023-11. [pdf] [[torch](https://github.com/X-PLUG/mPLUG-DocOwl/ tree/main/PaperOwl)]

  • 动机
    • 基于学术论文写作的多模态预训练模型
  • 数据集构建

image-20240128164646058

image-20240128164701984

:fire: :hammer_and_wrench: Too Large; Data Reduction for Vision-Language Pre-Training, in ICCV 2023. [pdf] [code]

  • 动机
    • 减少预训练数据的数量也可以达到类似的性能
  • 方法

image-20240128172017858

:hammer_and_wrench: :fire: MathVista Evaluating Math Reasoning in Visual Contexts, in ICLR 2024 Oral. [project]

  • 动机

    • 当下最牛逼的多模态MathQA Reasoning数据集
  • 表现

image-20240128204235282

  • 展示

image-20240128204259411

:fire: :hammer_and_wrench: BLIVA: A Simple Multimodal LLM for Better Handling of Text-Rich Visual, in AAAI 2024. [pdf] [torch]

  • 稍微改进了一下模型

image-20240128204813975

  • 模型
    • 在InstructBLIP上面改

image-20240128204846205

:fire: :hammer_and_wrench: [2024-01 未开源] Imagine That! Abstract-to-Intricate Text-to-Image Synthesis with Scene Graph Hallucination Diffusion, in NeurIPS 2023. [pdf] [torch]

  • 动机:场景图引导Diffusion生成图片

image-20240201105947567

  • 方法

image-20240201110003697

:fire: :hammer_and_wrench: Generating Explanations for Embodied Action Decision from Visual Observation, in MM 2023. [pdf]

  • 动机
    • Embody AI 解释生成的数据集
    • 辅助决策

image-20240128210938007

  • 数据集例子

:fire: :hammer_and_wrench: InstructDoc: A Dataset for Zero-Shot Generalization of Visual Document Understanding with Instructions, in AAAI 2024. [pdf] [[torch](https://github. com/nttmdlab-nlp/InstructDoc)]

  • 动机
    • 文档(单页多页)理解的大模型

image-20240201092056896

  • 预训练数据集

  • 方法

image-20240201092353891

:fire: :hammer_and_wrench: Improving CLIP Training with Language Rewrites, in NeurIPS 2023. [pdf] [torch]

用ChatGPT改写CLIP文本端的Prompt

image-20240201134019816

:fire: :hammer_and_wrench: Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation, in 2023-12. [pdf] [torch]

  • 动机

    • 过去的单目深度估计模型对不寻常或者zero-shot的泛化能力不太好
    • 能不能说利用Stable Diffusion预训练的知识来辅助理解visual world
  • 模型方法(单卡4090~2.5天就可以收敛)

image-20240205111214992

image-20240205111235642

:fire: :hammer_and_wrench: FROSTER: Frozen CLIP is A Strong Teacher for Open-Vocabulary Action Recognition, in ICLR 2024. [pdf]

  • 动机:如题所示
  • 方法:残差Distilling

image-20240206105832417

image-20240206105909123

:fire: :hammer_and_wrench: A Hard-to-Beat Baseline for Training-free CLIP-based Adaptation, in ICLR 2024. [pdf]

  • 动机
    • 完全不用训练任何参数:我们找到了一个简单但难以击败的免训练分类器。首先,所有现有的针对CLIP的高效微调方法(例如CoOp/APE/Tip-Adapter/CLIP-Adapter等)都冻结了CLIP模型的特征提取器。因此,我们并不是简单地验证CLIP强大的特征提取能力。
    • 我们将其适用性扩展到各种场景。我们的第二个贡献是,我们以最小的修改进一步将我们的方法扩展到其他领域,包括不平衡学习、从基础到新的泛化和无监督学习。
  • 方法

image-20240207103759301

  • 扩展场景

image-20240207103828989

image-20240207103841514

:fire: :hammer_and_wrench: Small Language Model Meets with Reinforced Vision Vocabulary, in 2024-02. [pdf] [torch]

  • 动机:1.8B的多模态小模型
    • 单卡1080Ti也能训练
  • 方法

image-20240217211328959

:fire: :hammer_and_wrench: MoE-LLaVA: Mixture of Experts for Large Vision-Language Models, in 2024-02. [pdf] [torch]

  • 动机
    • 使用混合专家的FFN,只是用3B的稀疏activated 参数
    • 性能和7B模型差不多

image-20240217211719436

  • 模型方法(3阶段训练)

image-20240217211758969

:fire: :hammer_and_wrench: Cheap and Quick: Efficient Vision-Language Instruction Tuning for Large Language Models, in NeurIPS 2023. [pdf] [project] [INT4量化训练博客]

  • 动机
    • 7B的多模态大模型训练(LaVIN-7B)大约需要8~9G的显存,13B的多模态大模型训练(LaVIN-13B)大约需要13~14G显存

image-20240217212328932

  • 技术方案结合了LaVIN和qlora,主要分为以下几点:

    • 参数高效的多模态适配 (大概减少了一大半显存)

    • 4bit量化训练 (大概减少了3~8G的固定显存)

    • 梯度累计+gradient checkpointing (大概减少了一半多的显存)

    • Paged Optimizer (作用不是很明显)

:fire: :hammer_and_wrench: RLHF-V: Towards Trustworthy MLLMs via Behavior Alignment from Fine-grained Correctional Human Feedback, in 2023-12. [pdf] [torch]

  • 动机
    • RLHF + 多模态大模型
    • 标注了一个RLHF的数据集
  • 方法

image-20240217214948401

:fire: :hammer_and_wrench: Diversifying Spatial-Temporal Perception for Video Domain Generalization, in NeurIPS 2023. [pdf] [torch]

image-20240225203757487

:fire: :hammer_and_wrench: VisionGraph: Leveraging Large Multimodal Models for Graph Theory Problems in Visual Context, in ICML 2024. [pdf] [code&dataset]

  • 动机
    • 测评VLM解决图论问题的能力
    • 挑战在于:understand the graphical structures accurately and perform multi-step reasoning on the visual graph
    • 当前VLM做得都一般

image-20240513164315622

  • 数据集的题目类型
    • 测评标准详见论文(看是否可以理解图了先

image-20240513164341279

  • 方法(代码辅助)

image-20240513164553186

  • Case Study

image-20240513164614649

:hammer_and_wrench: :fire: Cognitive Visual-Language Mapper: Advancing Multimodal Comprehension with Enhanced Visual Knowledge Alignment, in ACL 2024. [pdf] [torch(未开源)]

  • 动机
    • 第一个深入研究Knowledge和V-L进行深度对齐的
      • 过去只是简答的使用Q-Former

image-20240520152405632

  • 方法

image-20240520152509266

image-20240520152446532 

:fire: :hammer_and_wrench: SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agents, in ACL 2024. [project]

  • 动机
    • 过去的GUI Agent往往依赖HTML结构化的数据,本文不需要直接一张图就可以
    • 提出一个新的Benchmark和数据集

image-20240601205014423

  • 数据集

image-20240601205032080

:fire: :hammer_and_wrench: BloomVQA: Assessing Hierarchical Multi-modal Comprehension, in ACL 2024 Findings. [project]

  • 动机
    • 根据布鲁姆教育目标分类分层的绘本VQA数据集

image-20240601205237982

image-20240601205252058

:hammer_and_wrench: :fire: Multimodal Persona Based Generation of Comic Dialogs, in ACL 2023. [[project&Dataset](https://github.com/dair- iitd/MPdialog)]

  • 动机
    • 漫画中的对话生成

image-20240628101746156

:fire: :hammer_and_wrench: STICKERCONV: Generating Multimodal Empathetic Responses from Scratch, in ACL 2024. [project]

  • 动机
    • 在对话当中直接表情包生成
    • 提出全新Benchmark

image-20240601205802539

  • 数据收集

image-20240601205832017

  • 方法概览

image-20240601205854500

:fire: :hammer_and_wrench: Less is More: Mitigating Multimodal Hallucination from an EOS Decision Perspective, in ACL 2024. [pdf [torch]

  • 动机
    • 过于详细的训练数据阻碍了模型及时终止生成的能力,导致超出视觉感知限制的持续输出。容易出现幻觉
    • 模型具有一种固有的潜力,即基于其视觉感知做出适当的EOS决策,以避免过长的输出。

image-20240602093008446

  • 方法(有两种)
    • 简单修改训练时候的目标,具体见论文

:hammer_and_wrench: VISREAS: Complex Visual Reasoning with Unanswerable Questions, in ACL 2024. [pdf]

  • 动机
    • 构建视觉推理中不可回答的VQA数据集

image-20240604095052783

  • 方法

image-20240604095122643

:hammer_and_wrench: :fire: FLEUR: An Explainable Reference-Free Evaluation Metric for Image Captioning Using a Large Multimodal Model, in ACL 2024. [[project](https://github.com/ Yebin46/FLEUR)]

  • 动机:利用大模型做Caption评价指标
    • 提供解释
    • 考虑图像

image-20240628100730604

  • 方法(似乎是Training-free的)

image-20240628100805794

:hammer_and_wrench: Glyph-ByT5: A Customized Text Encoder for Accurate Visual Text Rendering, in ECCV 2024. [pdf]

  • 动机
    • 生成图像的同时生成艺术字体
    • 过去的文本编码器有局限性

image-20240708095130984

:fire: :hammer_and_wrench: FontStudio: Shape-Adaptive Diffusion Model for Coherent and Consistent Font Effect Generation, in ECCV 2024. [project]

  • 动机
    • 艺术字体的生成不再是传统的矩形画布

image-20240715083347191

  • 方法

image-20240715083412106

:fire: :hammer_and_wrench: ZipLoRA: Any Subject in Any Style by Effectively Merging LoRAs, in ECCV 2024. [project]

  • 动机
    • 利用LoRA分解Content和Style,生成符合Style的新的图像
    • 验证了一些LoRA在这方面的理论(具体见论文)

image-20240708095859603

  • 预先证明

image-20240708100020233

  • 方法

image-20240708100042105

:fire: :hammer_and_wrench: PointLLM: Empowering Large Language Models to Understand Point Clouds, in ECCV 2024. [project]

  • 动机
    • 3D多模态LLM模型
    • 收集数据集:a novel dataset comprising 660K simple and 70K complex point-text instruction pairs

image-20240708100151755

  • 方法:很常规的两阶段指令微调

image-20240708100250566

:fire: :hammer_and_wrench: DreamReward: Text-to-3D Generation with Human Preference, in ECCV 2024. [project]

  • 动机
    • 3D的生成没有和人类的偏好对齐
    • 设计了一个排序的数据集,RLHF
  • 方法

image-20240708100757215

:fire: :hammer_and_wrench: Mismatch Quest: Visual and Textual Feedback for Image-Text Misalignment, in ECCV 2024. [project]

  • 动机
    • 通过LLM来评估生成的图像哪里错误了
  • 例子

image-20240708101039616

:fire: :hammer_and_wrench: StoryImager: A Unified and Efficient Framework for Coherent Story Visualization and Completion, in ECCV 2024. [pdf]] [torch]

  • 动机
    • 任务介绍:根据故事线生成连续的多张图
    • 过去方法的不足之处

image-20240715083031355

  • 对比现有方法

image-20240715083058381

  • 我们的方法

![image-20240715083123149](/Users/gary/Library/Application Support/typora-user-images/image-20240715083123149.png)

:fire: :hammer_and_wrench: ConceptExpress: Harnessing Diffusion Models for Single-image Unsupervised Concept Extraction, in ECCV 2024. [project]

  • 动机
    • 使用Diffusion模型中的预训练参数,来找到视觉concept,并且生成这些Concept的图像(无监督形式)

image-20240715084531287

  • 方法

image-20240715084829962

:fire: :hammer_and_wrench: UNIMO-G: Unified Image Generation through Multimodal Conditional Diffusion, in ACL 2024. [project]

  • 动机
    • 一个模型实现多种condition做图像生成

image-20240801204902830

  • 模型
    • 两阶段训练(具体见论文)

image-20240801204955589

:fire: :hammer_and_wrench: Tuning Large Multimodal Models for Videos using Reinforcement Learning from AI Feedback, in ACL 2024. [pdf] [[torch](https://github.com/ yonseivnl/vlm-rlaif)]

  • 动机
    • 视频 + 多模态大模型的强化学习反馈
    • 反馈是由模型生成的
  • 方法

image-20240824110232714

:fire: :hammer_and_wrench: LLaVA-NeXT-Interleave: Tackling Multi-image, Video, and 3D in Large Multimodal Models, in 2024-07. [pdf]] [torch]

  • 动机
    • 将指令数据集扩展到多图像和3D

image-20240824113921576

:fire: :hammer_and_wrench: SQ-LLaVA: Self-Questioning for Large Vision-Language Assistant, in ECCV 2024. [pdf] [torch]

  • 动机

    • 过去微调多模态大模型都是使用Instruction Tuning的方式
      • 这种方式对于图像细节的理解不够,因为他们一般都是QA的形式
    • Q当中往往有更多的信息,让VLM应该也去学习自我提问,自我回答的能力,激发好奇心,了解图像细节
      • Training the LLM to ask questions and discover vision clues without collecting extra data from other sources
  • 模型方法

    • 基于ShareGPT4V和LLaVA的指令数据进行训练
    • 两个训练目标:自我提问,自我回答

image-20240824110907017

:fire: :hammer_and_wrench: LogoSticker: Inserting Logos into Diffusion Models for Customized Generation, in ECCV 2024. [project]

  • 动机

image-20240903095338602

  • 方法

image-20240903095407714

⚠️ :fire: :hammer_and_wrench: MiniCPM-V: A GPT-4V Level MLLM on Your Phone, in 2024-08. [project]

  • 动机
    • 8B的多模态模型
    • 主流的视觉slice方案
  • 示例

image-20240903095601164

  • 模型架构(具体见论文)

image-20240903095733094

:fire: :hammer_and_wrench: Deciphering Oracle Bone Language with Diffusion Models, in ACL 2024. [project]

  • 动机
    • 用Diffusion破译甲骨文

image-20240903095856093

  • 模型方法

image-20240903095929646

  • Zero-shot

image-20240903100025059

:hammer_and_wrench: M3CoT: A Novel Benchmark for Multi-Domain Multi-step Multi-modal Chain-of-Thought, in ACL 2024. [torch]

  • 动机
    • 真正的多模态COT,改进原始SciecneQA数据集

image-20240903100403789

  • 标注数据集流程

image-20240903100424528

:hammer_and_wrench: WebRPG: Automatic Web Rendering Parameters Generation for Visual Presentation, in ECCV 2024. [[project](https://github.com/AlibabaResearch/AdvancedLiterateMachinery/tree/main/ DocumentUnderstanding/WebRPG)]

  • 动机
    • 过去只考虑HTML的构造,没有考虑到渲染参数(CSS)

image-20240903101924761

  • 模型方法

image-20240903102129506

:fire: :hammer_and_wrench: LLaVA-OneVision: Easy Visual Task Transfer, in 2024-08. [project]

[LLaVA系列博客:多模态大模型: 盘点&Highlights part1.5——从LLaVA-NeXT到LLaVA-OneVision]

:fire: :hammer_and_wrench: MMMU-Pro: A More Robust Multi-discipline Multimodal Understanding Benchmark, in 2024-09.

  • 动机
    • MMMU的升级版本
      • 去掉不需要图片就能回答的问题(让几个大模型多次判断)
      • 选项从4个变成10个,更加有迷惑性
      • 问题直接嵌入到图片里面
  • 2024-09发布的GPT-o1模型远远超过之前的LLM,对比GPT-4o也至少超出了20个点

:fire: :hammer_and_wrench: VITRON: A Unified Pixel-level Vision LLM for Understanding, Generating, Segmenting, Editing, in NeurIPS 2024. [project]

  • 动机
    • 第一次提出MLLM解决pixel-level的视觉问题

image-20240928123645494

  • 任务之间互相协作模块

image-20240928123715662

:fire: :hammer_and_wrench: MatchTime: Towards Automatic Soccer Game Commentary Generation, in EMNLP 2024. [project]

  • 动机
    • 足球比赛解说的全新Benchmark
    • 本研究所涉及的SoccerNet-Caption数据集包含471场足球比赛重点事件的时间节点与解说词。大量视频与文本的精确对齐是多模态模型学习理解视频的基础,然而,该数据集内解说词的时间戳远远无法达到AI模型训练所需的精准水平

image-20240928123831855

  • 数据标注Pipeline
    • Stage 1: 基于LLM Agent的粗粒度预处理
      • **音频文本提取与翻译:**使用WhisperX[2]模型对比赛音频进行提取,得到带有秒级时间戳的音频文本 (Narration-text),并将其统一翻译为英文,其内部包含了当场解说嘉宾对于全场比赛的评述;
      • **事件描述总结:**使用 LLaMA-3 (8B) 模型,以10秒为单位对音频文本进行总结,提取语义信息更集中、句式更规整的事件描述 (Event-Description);‍‍
      • **粗粒度时间戳对齐:**继续使用 LLaMA-3 (8B) 模型,结合每条 SoccerNet-Caption 中的解说词及其时间戳附近的事件描述,进行初步判断,生成粗粒度对齐的时间戳 (Coarse-Aligned Timestamp)。
    • Stage 2: 基于对比学习的细粒度对齐
      • 我们基于对比学习 (Contrastive Learning) 结合视觉元素,利用手动标注的SN-Caption-test-align数据集进行时序对齐训练 (如图3b所示)。按照如下步骤进行细粒度对齐:
      • **图文特征编码:**使用冻结的CLIP(ViT B-32)编码器以及可训练的多层感知器 (MLP) 编码器对每个粗粒度对齐时间戳 (Coarse-Aligned Timestamp) 周围的视频图像及解说词文本进行特征编码。
      • ****特征相似度筛取:****计算解说文本特征与全部视频图像文本的相似度,选取相似度最高的一帧所在时间戳作为细粒度对齐时间戳 (Fine-grained Aligned Timestamp),收入MatchTime数据集中。

image-20240928124027251

  • 模型方法
    • 视觉编码器 (Visual Encoder): 用于对足球比赛视频片段进行特定帧率的图像采样和编码,提取视频的视觉特征;
    • **聚合模块 (Aggregator & MLP):**为图片特征序列加入时序信息后,在可学习序列(Learnable Queries)的作用下,依次经过多层自注意力、交叉注意力、前馈板块,得到与大语言模型前缀相同尺寸的张量;
    • 大语言模型解码器 (LLM Decoder):将上述步骤得到的前缀张量放入大语言模型进行自回归推理,得到最终的解说文本,此处所使用的是 LLaMA-3 (8B) 模型。

image-20240928124134666

:fire: :hammer_and_wrench: DeTikZify: Synthesizing Graphics Programs for Scientific Figures and Sketches with TikZ, in NeurIPS 2024. [project]

  • 动机
    • 手绘图 转化为 Latex代码的图
    • 收集了一个高质量的数据集
  • 模型方法
    • 先对其训练linear
    • 然后再下游任务训练LLaMA

image-20241005110646816

  • 奖励信号
    • 挺复杂的,就是保证编译正确

image-20241005110725943

image-20241005110747222

:fire: :hammer_and_wrench: Are We on the Right Way for Evaluating Large Vision-Language Models?, in NeurIPS 2024. [project]

  • 动机
    • 过去的多模态评估Benchmark存在以下两个问题

image-20241005111015738

  • 整合出来一个新的基准(1500个Sample)
    • 不包含Online的Test Set

image-20241005111201626

image-20241005111255544

:fire: :hammer_and_wrench: Visual SKETCHPAD: Sketching as a Visual Chain of Thought for Multimodal Language Models, in NeurIPS 2024. [project]

  • 动机
    • 人类解决一些问题时候会做辅助线来帮助解决(特别一些数学几何问题)

image-20241005111453391

  • 方法
    • 和之前ViperGPT一样,写好Prompt然后调用相关的视觉模块

image-20241005111538418

  • 其他Case展示

image-20241005112544639

:running: Continual Learning & Transfer Learning

:hamburger: :hammer_and_wrench: :fire: Learning to Prompt for Continual Learning, in CVPR 2022. [pdf] [code]

官方代码是tensorflow的,github上有pytorch的实现

  • 动机
    • 过去数据重放的方法有数据隐私还有大buffer的问题
    • 希望不需要那么大的buffer来存过去的数据,考虑使用Prompt Tuning的方法来做

image-20230910091659822

  • 方法
    • 就是用预抽取的表征选择对应的Prompt来Tuning

image-20230910091831179

:hammer_and_wrench: S-Prompts Learning with Pre-trained Transformers: An Occam’s Razor for Domain Incremental Learning, in NeurIPS 2022. [pdf] [torch]

  • 动机(S-PromptDualPrompt是同时期的东东,他们两个并没有直接标价哦,S-Prompt主要比较的是L2P)
    • 目标是做DIL,让每个domain的prompt都存在一个子空间中,彼此不互相影响

image-20230924102201828

  • 方法

image-20230924102352469

:fire: :hammer_and_wrench: DualPrompt: Complementary Prompting for Rehearsal-free Continual Learning, in ECCV 2022. [pdf] [code]

L2P的进阶工作,同组的工作

  • 动机
    • L2P只考了一种Prompt,没有考虑任务特定的和任务间相似的特征
    • 人类在连续学习时候往往会考虑这两方面的能力
      • Complementary Learning Systems (CLS) [引文1,引文2] (CLS) suggests that humans learn continually via the synergy between two learning systems: the hippocampus focuses on learning pattern-separated representation on specific experiences, and the neocortex focuses on learning more general and transferable representation from past experience sequences.
  • 模型方法
    • 学习两种Prompt

image-20230910092436783

:fire: :hammer_and_wrench: CODA-Prompt: COntinual Decomposed Attention-based Prompting for Rehearsal-Free Continual Learning, in CVPR 2023. [pdf]] [torch]

  • 动机
    • 过去的PT-CL方法牺牲了新的任务性能,而且,其实并不是所有的任务都需要同样重要的prompt,应该prompt之前先做一下attention(本文中attention也是可学习的)

image-20231018105108528

  • 方法

image-20231018105148711

image-20231018105215146

:hammer_and_wrench: :fire: [2023-10 未开源] ConStruct-VL: Data-Free Continual Structured VL Concepts Learning,in CVPR 2023. [pdf] [torch]

  • 动机
    • 过去的CL方法学概念还不是很行(Concept),所以本文提出Concept Learning的CL Benchmark

image-20231018105622946

  • 模型方法 (LoRA高效微调 + 生成数据重放伪标签)

image-20231018105644301

:fire: Introducing Language Guidance in Prompt-based Continual Learning, in ICCV 2023. [pdf]

可以和L2P以及DualPrompt无缝衔接起来

  • 动机
    • 使用自然语言来引导Prompt的选择
    • 所有任务的样本表征都可以映射到相同的语义空间当中
  • 方法

image-20230910093733775

:fire: :hammer_and_wrench: When Prompt-based Incremental Learning Does Not Meet Strong Pretraining, in ICCV 2023. [pdf] [torch]

  • 动机
    • 过去的Prompt-base(L2P,DualPrompt)方法无法很好弥补预训练和下游任务之间的gap

image-20230919164942525

  • 模型方法(具体见论文)

image-20230919165013021

:fire: :hammer_and_wrench: Continual Pre-training of Language Models, in ICLR 2023. [pdf] [torch]

  • 动机
    • PLM到新的domain之后,要保证知识迁移 + 无灾难性遗忘
    • 过去的方法在PLM domain迁移时候不是很适用
  • 方法(计算unit的importance)

image-20230930092000716

:fire: :hammer_and_wrench: :hushed: SLCA: Slow Learner with Classifier Alignment for Continual Learning on a Pre-trained Model, in ICCV 2023. [pdf] [torch]

  • 动机
    • CL的一大核心是lr

image-20230930095356560

  • 方法
    • lr小一点
    • 每个classier都进行alignment处理(具体见论文)

image-20230930095448740

:fire: :hammer_and_wrench: Preventing Zero-Shot Transfer Degradation in Continual Learning of Vision-Language Models, in ICCV 2023. [pdf] [torch] [知乎]

  • 动机
    • 过去CL方法不单单会忘记上一个任务,还会忘掉预训练的东西,导致很差的zero-shot迁移能力

image-20231018104708625

  • 方法

image-20231018104827078

:fire: :hammer_and_wrench: CTP: Towards Vision-Language Continual Pretraining via Compatible Momentum Contrast and Topology Preservation, in ICCV 2023. [pdf] [torch]

  • 动机
    • 多模态预训练很少被探索
    • 和传统的CIL不太一样
      • VLP可以利用嘈杂的网络数据,并且不需要手动标注固定的类别
      • 新的挑战:新旧知识如何保存,更新多模态的encoder
    • 提出新的多模态VLCP的Benchmark
  • 方法

image-20231110200626396

:hammer_and_wrench: :fire: Generating Instance-level Prompts for Rehearsal-free Continual Learning, in ICCV 2023. [pdf]] [torch]

  • 动机

    • prompt不再是从pool里面去选择,而是直接去生成
    • 这样在一些不依赖ViT预训练参数的任务上表现更好,一些比较独特的domain上的表现
  • 方法

image-20231113212002719

:fire: :hammer_and_wrench: Hierarchical Decomposition of Prompt-Based Continual Learning: Rethinking Obscured Sub-optimality, in NeurIPS 2023 Spotlight. [pdf] [torch]

  • 动机
    • 作者发现在自(无)监督的网络当中,MoCo等,传统的prompt的方法做CL效果不好
    • 提出全新的Unsupervised Learning + CL的范式
  • 方法(within-task prediction, task-identity inference, and task-adaptive prediction)

image-20231113212255755

:hammer_and_wrench: Towards Continual Adaptation in Industrial Anomaly Detection, in MM 2022. [pdf] [torch]

  • 动机
    • 第一个多工业异常检测(二分类) + CL的
    • 生成bridge了Unsupervised Learning + CL
      • 实际上是生成了负样本,没有什么特别的
  • 方法(存储每个domain的分布信息)

![image-20231113212623593](/Users/gary/Library/Application Support/typora-user-images/image-20231113212623593.png)

:fire: :hammer_and_wrench: Augmented Box Replay: Overcoming Foreground Shift for Incremental Object Detection, in ICCV 2023. [pdf]] [[torch](https://github.com/YuyangSunshine/ABR IOD.git)]

  • 动机
    • Replay的方法在ODCL中不见得有效
    • 原因是Foreground-shift

image-20231115205416533

  • 方法:Replay+增广

image-20231115205616322

:hammer_and_wrench: Towards Geospatial Foundation Models via Continual Pretraining, in ICCV 2023. [pdf] [torch]

AI4Science 潜力无限

  • 动机
    • 地理空间技术应用很广泛,目前的VLM还不具备这种能力
    • 通常的方法
      • 下游任务ft - 存在Domain Gap性能表现不好
      • 地理空间领域的pretrain - 消耗太多资源,$CO_2$的排放多
  • 方法:Continual Pretraining (知识蒸馏)

image-20231212144228034

:fire: :hammer_and_wrench: [2024-01未开源] ONLINE CONTINUAL LEARNING FOR INTERACTIVE INSTRUCTION FOLLOWING AGENTS, in ICLR 2024. [pdf]

  • 动机: Emboided AI + CL

image-20240121111724192

  • 方法:知识蒸馏
    • 对比方法甚至没有L2P这种方法

:hammer_and_wrench: Learning to Prompt Knowledge Transfer for Open-World Continual Learning, in AAAI 2024. [pdf] [torch]

  • 动机(具体见论文)
    • Open World + CL:OwCL aims at learning on the job in the open world with the goal of recognizing unknowns and incrementally learning them without catastrophic for- getting so that a model will become more and more knowl- edgeable for future learning.

image-20240124161012946

  • 方法

image-20240124160445601

:hammer_and_wrench: [2024-01 未开源] Adaptive Shortcut Debiasing for Online Continual Learning, in AAAI 2024. [pdf]

  • 动机
    • 在Online CL时候出现的两种forward和backward bias
      • Online:当前任务数据只能访问一次

image-20240125113114219

  • 理论支撑

image-20240125113203595

  • 方法

image-20240125113223916

image-20240125113312300

:hammer_and_wrench: :fire: [2024-01 未开源] CONTINUAL LEARNING IN THE PRESENCE OF SPURI- OUS CORRELATIONS: ANALYSES AND A SIMPLE BASE- LINE, in ICLR 2024. [pdf]

  • 动机
    • Bias 存在CL的Forward和Backward过程当中

image-20240125115348643

  • Bias衡量metrics

image-20240125115416123

:fire: :hammer_and_wrench: Embracing Language Inclusivity and Diversity in CLIP through Continual Language Learning, in AAAI 2024. [pdf] [torch]

  • 动机:语种Incremental + CLIP

  • 方法

image-20240201103115775

:fire: :hammer_and_wrench: CPPO: Continual Learning for Reinforcement Learning with Human Feedback, in ICLR 2024. [pdf]

  • 动机
    • LLM做RLHF时候feedback可能来自不同的Domain
    • 需要weighting strategy to decide which samples should be utilized for enhancing policy learning and which should be used for solidifying past experiences.
  • 方法:两个参数控制

image-20240208120343817

:fire: Prediction and Control in Continual Reinforcement Learning, in NeurIPS 2023. [pdf]

  • 动机:RCL和RL一样,可以分开成两个loss
    • 一个是transfer,另外一个是保留过去的记忆
  • Poster

image-20240217213334388

:fire: :hammer_and_wrench: COOM: A Game Benchmark for Continual Reinforcement Learning, in NeurIPS 2023. [pdf] [Dataset]

img

:fire: :hammer_and_wrench: PIVOT: Prompting for Video Continual Learning, in CVPR 2022. [pdf]

  • 动机
    • 使用预训练模型 + PT做Video的CL
  • 方法

image-20240225203620207

:hammer_and_wrench: Space-time Prompting for Video Class-incremental Learning, in ICCV 2023. [pdf

  • 动机

    • 第一个提出视频动作识别CL
    • 时间+空间可学习prompt
  • 方法

image-20240217213752070

⚠️ 下面我们介绍四篇Non-Transferable Learning的论文

:hammer_and_wrench: SAPT: A Shared Attention Framework for Parameter-Efficient Continual Learning of Large Language Models, in ACL 2024. [pdf]

  • 动机
    • LLM的连续学习问题:迁移 + 遗忘

image-20240602094328691

  • 方法

image-20240602094507513

:fire: :hammer_and_wrench: Prompt Gradient Projection for Continual Learning, in ICLR 2024 Spotlight. [pdf] [torch]

  • 动机

    • 通过正交prompt的梯度(直接修改Prompt)去做CL
    • 避免Prompt之间互相干扰
  • 方法

image-20240617095744444

:fire: :hammer_and_wrench: Non-Transferable Learning: A New Approach for Model Ownership Verification and Applicability Authorization, in ICLR 2022 Oral. [pdf] [torch] [zhihu]

  • 动机
    • 利用Domain Generalization / Adaptation的反概念 -- 通过限制神经网络的跨域泛化性能来保护模型的知识版权(Intellectual Property),使用的两个手段分别为模型归属验证(Ownership Verification)和应用授权(Applicability Authorization)。

image-20240304092624447

  • 相关工作说明
    • 当前保护神经网络的知识产权主要有两种手段
  1. 一种是ownership verification,其中最典型的代表技术就是模型水印(model watermarking),此类工作有很多,比如在神经网络的不重要的参数中嵌套水印,还有让神经网络学习专门的行为,以及从神经网络的训练过程中提取专属fingerprint。但这些工作都被测试出其嵌入的==水印很容易被去除==,经典的去除方法包括参数微调,模型重训练,水印重覆盖,以及模型剪枝。
  2. 另一种保护手段是usage authorization,属于这类的方法也有不少,比如通过一个预设的私钥来加密整个或部分的神经网络,只有被授权使用的用户才能得到该私钥,进而使用模型,私钥的生成有多种方式。但是这类方法有个严重的问题,就是==合法授权的用户可以分享自己的私钥给任何人,然后得到私钥的人就可以在没有授权的情况下使用模型==。我们注意到了这个问题,所以我们将usage的授权衍生至applicability的授权,因为我们希望将模型的使用授权给特定的数据,而不是特定的用户,这样前面所述的私钥分享导致的未授权使用问题会得到解决。(以前只有一把钥匙,现在有很多钥匙)

在此问题上,我们提出了non-transferable learning(NTL),一般意义上来讲,NTL是域泛化和域迁移的反方向研究,NTL的目标是把模型在域之间的泛化范围变得更加清晰。

  • 更具体来讲,我们考虑两个相似的数据域,源域(source)和目标域(target),NTL目的在于保证模型在源域性能不变的前提下尽可能降低模型在目标域上的表现。对于目标域可获取的情况(对应domain adaptation场景),我们提出了Target-Specified NTL,在这种情况下,我们可以实现对深度神经网络模型的ownership verification。根据我们的实验,基于Target-Specified NTL的verification不会受到参数微调,重训练,水印重覆盖,模型剪枝,以及水印去除SOTA工作的影响。对于目标域不可获取的情况(对应domain generalization),我们提出了Source-Only NTL,其可以实现神经网络的applicability authorization。根据实验,我们能验证使用Source-Only NTL训练出的模型只会在source domain上有较好的性能,在其他相似domain上性能都会有巨大的下降。我们使用的数据集为来自5个不同domain的digits:MNIST,USPS,SVHN,MNIST-M,SYN-D,以及CIFAR10和STL10,还有VisDA。

  • 方法:详见论文或者知乎博客

    • Target-Free其实就是生成一些Target Domain的数据来做训练
  • 应用

    • Ownership Verification.
      • NTL可以被轻松用来验证某个模型的ownership。具体而言,我们可以在source domain data上贴上一个特定的浅掩码来作为auxiliary domain data,然后使用NTL去训练模型。经过NTL的训练,我们的模型在有掩码的数据上会有非常差的表现,但是在无掩码的源域数据上性能仍十分优秀。与之相对比的是,使用其他方法或者其他掩码的NTL训练得到的模型在有无该掩码的数据上表现并无明显差异。这样我们就可以利用模型对于相同数据不同的行为表现来验证ownership。
    • Applicability Authorization
      • 对于该应用,我们希望NTL训练的模型只会在授权的源域上表现很好,在其他任何相似数据域上的表现都较差。我们使用与归属验证相似的掩码做为授权掩码,我们认定有授权掩码的源域数据为source domain,其他域(没有授权掩码的源域数据,有掩码的augmentation域数据,无掩码的augmentation域数据)做为auxiliary domain,然后进行NTL训练。经过训练后,模型只会在有掩码的源域数据上呈现优秀性能,在其他域上都会是较差的表现,这样,我们就实现了模型的应用授权。
  • 实验结果 (Target-free的实验结果详见论文也是一样的)

Target-Specified NTL(泛化能力下降,证明Applicability Authorization!):

img

基于Target-Specified NTL的ownership verification,以及对NTL使用SOTA的模型水印去除方法的效果(抵御水印去除算法):

image-20240304093021176

:fire: :hammer_and_wrench: Unsupervised Non-transferable Text Classification, in EMNLP 2022. [pdf] [[torch](https://github.com/ ChaosCodes/UNTL)]

  • 动机

image-20240304092010684

  • 方法:基于Maximum Mean Discrepancy(详见论文)

:fire: :hammer_and_wrench: Model Barrier: A Compact Un-Transferable Isolation Domain for Model Intellectual Property Protection, in CVPR 2023. [pdf]] [torch]

  • 动机
    • 本文本质上和ICLR2022年的没有太大区别
      • However, the authors only considered using limited samples to increase the mean distribution difference of features between domains and ignored outliers. The convergence region of NTL is not tight enough.
      • Moreover, the calculation of the maximum mean difference is class-independent, which reduces the model’s feature recognition ability in the authorized domain to a certain extent.

image-20240304103523021

  • 方法(分离Style和Content)

image-20240304103710025

:fire: Domain Specified Optimization for Deployment Authorization, in ICCV 2023. [pdf]

  • 动机
    • 只用关心相似的domain就可以了,不相似的domain本来就没有泛化能力
    • 不需要GAN生成target domain也可以了

image-20240601171708418

  • 具体方法见论文(太多公式)

:fire: :hammer_and_wrench: Improving Non-Transferable Representation Learning by Harnessing Content and Style, in ICLR 2024 spotlight. [pdf] [torch]

  • 动机
    • 因果推断解决虚假关联,style的强相关

image-20240304103948997

  • 方法

image-20240304104027251

  • 模型优化目标

image-20240304104110255

:fire: :hammer_and_wrench: MAP: MAsk-Pruning for Source-Free Model Intellectual Property Protection, in CVPR 2024. [pdf] [torch]

  • 动机
    • 过去的NTL并没有关注Pre-trained模型
    • 实际上pre-trained模型的source domain是没办法获取的,只有一个source上训练好的模型,本文研究在这个基础上如何实现IP保护。【生成Source就好了】
    • 提出了两个场景
      • Source-Free情况下,如何消除那些重叠的unauthorzed的domain
      • Data-Free,什么数据集都不能访问,就是减少泛化能力

image-20240601172832700

  • 思路:彩票假说
    • We argue that well-trained models contain parameters exclusively associated with specific dmains. Through deliberate pruning of these parameters, we effectively eliminate the generalization capability to these domains while minimizing the impact on other domains.
    • 我们freezes the source model and learns a target-specific binary mask to prevent unauthorized data usage while minimizing performance degradation on authorized data.
  • 方法
    • 只需要训练那个Binary Mask

image-20240601180756842

:fire: :hammer_and_wrench: SOPHON: Non-Fine-Tunable Learning to Restrain Task Transferability For Pre-trained Models, in ISSP 2024. [pdf] [torch]

  • 动机
    • 过去的NTL方法其实在Target上面训练一下,就可以打破之前的壁垒了,本文希望研究一种可以抵御Fine-tuning的方式
    • 同时本文也研究了图像生成的任务

image-20240601181156003

  • 方法

image-20240601181636637


:world_map: Knowledge

:fire: [多模态知识图谱综述] Multi-Modal Knowledge Graph Construction and Application: A Survey, in 2022. [pdf] [zhihu]

:hammer_and_wrench: End-to-end Knowledge Retrieval with Multi-modal Queries, in ACL 2023. [pdf] [dataset&torch]

  • 动机
    • 端到端的基于多模态的知识检索过去的工作探索不足
    • 过去往往就是先转成Caption再检索文本端知识,或者直接用图片检索知识

image-20230604092623360

  • 数据集
    • 基于WebQA提出新的知识检索数据集

image-20230604092703138

  • 方法(对比学习Loss)

image-20230604092722382

:hammer_and_wrench: :fire: Improving Empathetic Dialogue Generation by Dynamically Infusing Commonsense Knowledge, in ACL Findings 2023. [pdf] [torch]

  • 动机
    • 过去也将常识知识引入进同理心对话里面,但是知识可能会冗余,需要去选择知识。

image-20230612101031434

  • 模型方法

image-20230612101049910

  • 知识选择策略(迭代来每次排除掉最不相关的知识)

image-20230612101155806

:hammer_and_wrench: HAHE: Hierarchical Attention for Hyper-Relational Knowledge Graphs in Global and Local Level, in ACL 2023. [pdf] [torch]

超关系知识图谱的预训练表示学习

  • 什么是超关系知识图谱

image-20230918095649749

  • 表示学习(一样的,还是两个常规任务)
    • 实体抽取
    • 关系预测
  • 超图表示

image-20230918095825890

  • 模型方法

image-20230918095847947

image-20230918095920522

:hammer_and_wrench: KILM: Knowledge Injection into Encoder-Decoder Language Models, in ACL 2023. [pdf] [torch]

  • 动机
    • 知识注入PLM当中(这个idea很一般吧)
  • 模型方法

image-20230920094808476

:fire: :hammer_and_wrench: Generative Multi-Modal Knowledge Retrieval with Large Language Models, in AAAI 2024. [pdf] [torch]

  • 动机
    • 利用LLM做端到端的多模态知识检索
    • 不需要多个retriver了

image-20240129103257243

  • 方法
    • LLM 生成Knowledge Clue -> 检索知识库

image-20240129103355311

:fire: :hammer_and_wrench: Detoxifying Large Language Models via Knowledge Editing, in ACL 2024. [project]

  • 动机

    • 提出知识编辑的Benchmark
    • 提出一个baseline
      • 证明了SFT and DPO may merely suppress the activations of toxic parameters
      • 而baseline DINM mitigates the toxicity of the toxic parameters to a certain extent, making permanent adjust- ments.
  • Benchmark构建

image-20240604092846403

  • Baseline方法

image-20240604092905242

:ice_cream: Hallucination

:fire: :hammer_and_wrench: Evaluating Object Hallucination in Large Vision-Language Models, in EMNLP 2023. [pdf]] [torch] [blog].

对象幻觉的评估测评指标

  • 动机
    • 过去用Chair来评测,现在提出了一种基于轮询的物体探测评测方法 (Polling-based Object Probing Evaluation, POPE)
    • 实验结果表明 POPE 具有更好的稳定性,并且能够扩展到未标注数据集上
  • 方法

image-20231029180106082

  • 结果
    • InstructBLIP的效果比较好

![image-20231029180139292](/Users/gary/Library/Application Support/typora-user-images/image-20231029180139292.png)

  • 幻觉与VQA性能的关系

为了进一步研究幻觉问题和 LVLMs 性能之间的关系,我们在 A-OKVQA 和 GQA 上测试了部分 LVLMs 的性能。由于 LVLMs 的回答大都属于较长的开放式回答,我们难以继续使用传统的 VQA 评测方法。为此我们借助了 ChatGPT 来辅助测评,我们提供给 ChatGPT 的 prompt 如下:

You are an examiner who can judge whether a student’s answer matches the correct answers. Next, I will provide you with the correct answer and a student’s answer. Please judge whether the student’s answer matches the correct answers.

测评结果如下表所示。InstructBLIP 在幻觉和 VQA 任务中都取得了最好的表现,而 MiniGPT-4 和 LLaVA 在二者上的结果趋势并不一致。

认为这些差异和 LVLMs 的使用的指令形式有关,例如 MiniGPT-4 的指令是较简单的图像描述任务,而 LLaVA 的指令包含更多较复杂的对话或推理任务,使其更擅长处理 VQA 任务。总之,上述结果说明在评估现有 LVLMs 的性能时,幻觉和 VQA 性能都需要被考虑。

图片

:hammer_and_wrench: :fire: Can We Edit Multimodal Large Language Models?, in EMNLP 2023. [pdf] [torch]

  • 动机
    • 提出多模态知识编辑的Benchmark(具体见论文)
    • 发现模型编辑的方法还可以,但还有很大进步空间
  • 方法(模型编辑)

![image-20231113213749107](/Users/gary/Library/Application Support/typora-user-images/image-20231113213749107.png)

:man_scientist: AI4Science

:factory: Industrial

:fire: :hammer_and_wrench: SimpleNet: A Simple Network for Image Anomaly Detection and Localization, in CVPR 2023. [pdf] [torch]

  • 动机
    • 噪音在特征上面来加,生成负样本,而不是在图像上面加
  • 方法(很Simple)

image-20231113213001981

:fire: Pushing the Limits of Fewshot Anomaly Detection in Industry Vision: Graphcore, in ICLR 2023. [pdf]

  • 动机
    • 开发了一种新的FSAD方法,称为GraphCore,该方法使用少量正常样本来实现新产品的快速训练和有竞争力的AD精度性能。一方面,通过利用少量数据,我们可以快速训练并加快异常推理的速度。另一方面,因为我们直接训练新产品样本,所以不会发生从旧产品到新产品的异常适应和迁移。
      • 提出了一种用于 FSAD 的特征增强方法,以研究 CNN 生成的视觉特征的特性。
      • 提出了一种新颖的异常检测模型 GraphCore,将新的 VIIF 添加到基于内存库的 AD 范例中,这可以大大减少冗余视觉特征的数量。
      • 实验结果表明,所提出的 VIIF 是有效的,可以显着提高 FSAD 在 MVTec AD 和 MPDD 数据集上的性能。
  • 方法(详见论文)

图片

:fire: :hammer_and_wrench: WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentation, in CVPR 2023. [pdf] [torch]

  • 动机
    • 直接用CLIP模型Zero-shot来做异常检测二分类问题
  • 方法(Prompt的设计才是最重要的)
    • 作者设计了一个Prompt的模版(详见论文附录部分)

image-20231113213509342

:hammer_and_wrench: :fire: AnomalyCLIP- Object-agnostic Prompt Learning for Zero-shot Anomaly Detection, in ICLR 2024. [pdf]

  • 动机:WinCLIP的进阶,Text Prompt是动态learnable的
  • 方法

image-20240125194537208

:fire: :hammer_and_wrench: [2024-1未开源] MuSc : Zero-Shot Anomaly Classification and Segmentation by Mutual Scoring of the Unlabeled Images, in ICLR 2024. [pdf] [code]

  • 动机
    • Zero-shot + 使用Unlabeled数据
      • the normal image patches could find a relatively large number of similar patches in other unlabeled images, while the abnormal ones only have a few sim- ilar patches.

image-20240131095310433

  • 模型方法(具体见论文)

image-20240131095349281

:hammer_and_wrench: :fire: Automated Defect Report Generation for Enhanced Industrial Quality Control, in AAAI 2024.

详见论文

  • 动机

image-20240125193139741

:fire: :hammer_and_wrench: Unsupervised Continual Anomaly Detection with Contrastively-learned Prompt, in AAAI 2024. [pdf] [torch]

MM论文的升级版本

  • 动机
    • 过去DD任务都是为每个domain训练一个模型
    • 希望连续学习,二分类+分割

![image-20240128194210630](/Users/gary/Library/Application Support/typora-user-images/image-20240128194210630.png)

  • 方法(无监督连续学习)

image-20240128194249618

:fire: :hammer_and_wrench: AnomalyGPT: Detecting Industrial Anomalies Using Large Vision-Language Models, in AAAI 2024. [pdf] [torch]

  • 动机:LLM + 异常检测
    • 生成文本 + Few-shot能力

![image-20240128194741441](/Users/gary/Library/Application Support/typora-user-images/image-20240128194741441.png)

  • 方法:整体上和WinCLIP类似,就是最后变成了LLM

image-20240128195000804

:fire: :hammer_and_wrench: HA-ViD: A Human Assembly Video Dataset for Comprehensive Assembly Knowledge Understanding, in NeurIPS 2023. [pdf] [dataset&Code]

  • 动机
    • 视频工业零件组装知识图谱
      • subject, action verb, manipulated object, target object, and tool. We provide 3222 multi-view and multi-modality videos, 1.5M frames, 96K temporal labels and 2M spatial labels. We benchmark four foundational video understanding tasks: action recognition, action segmentation, object detection and multi-object tracking.

image-20240130110708355

  • 知识图谱标注

image-20240130110759805

:hammer_and_wrench: LithoBench: Benchmarking AI Computational Lithography for Semiconductor Manufacturing, in NeurIPS 2023. [pdf] [dataset]

  • 动机:半导体制造的一个Benchmark,主要研究逆向光刻技术
    • 场景够牛逼,数据独一无二

image-20240130111434449

:fire: :hammer_and_wrench: Learning to Taste : A Multimodal Wine Dataset, in NeurIPS 2023. [pdf] [dataset]

  • 动机:红酒数据集(味觉空间👅)
    • The dataset encompasses 897k images of wine labels and 824k reviews of wines curated from the Vivino platform. It has over 350k unique bottlings, annotated with year, region, rating, alcohol percentage, price, and grape composition.
    • In this work we combine flavor annotations with other modalities, such as images and text reviews, to form a "flavor space" that describes the human perception of flavor. This opens exciting directions in grounding machines in the physical world.
  • 数据集
    • More specifically, we conducted seven wine tastings, pairing the acquired data with text reviews and images from the #Vivino platform, creating a comprehensive flavor space for wine 🥂 Introducing #WineSensed, a large multimodal dataset and presenting FEAST, a novel algorithm for learning a latent space representation aligned with human perception of flavor.

image-20240131104004934

  • 模型方法

image-20240131104039592

:fire: :hammer_and_wrench: Real3D-AD: A Dataset of Point Cloud Anomaly Detection, in NeurIPS 2023. [pdf] [dataset]

  • 动机:第一个高分辨率的三维异常检测数据集

    • 能够设计高分辨率的三维异常检测算法,并将其应用于公开可用的算法。Real3D-AD表现出三个主要属性,这使它有别于之前的3D研究 异常检测数据集。这些属性包括一个高水平的精度,没有盲点,和一个现实的,高精度的原型。
  • 数据集

image-20240201110404892

:fire: :hammer_and_wrench: PAD: A Dataset and Benchmark for Pose-agnostic Anomaly Detection, in NeurIPS 2023. [project]

  • 动机
    • 多视角的异常检测

image-20240601210224880

  • 方法

image-20240601210258058

:fire: :hammer_and_wrench: Reconnecting the Broken Civilization: Patchwork Integration of Fragments from Ancient Manuscripts, in MM 2023. [pdf]

  • 动机
    • 破碎的文物重新拼接

image-20240608203300394

:fire: :hammer_and_wrench: Defect Spectrum: A Granular Look of Large-Scale Defect Datasets with Rich Semantics, in ECCV 2024. [project]

  • 动机
    • 过去的缺陷检测任务数据集没有很细粒度的标注

image-20240801204307478

  • 数据集对比

image-20240801204338810

:fire: :hammer_and_wrench: Can Large Language Models Understand Symbolic Graphics Programs?, 2024-08. [project]

  • 动机
    • 探究LLM能不能理解图形化的代码(CAD + SVG)
    • 提出一个超大的SVG、CAD指令数据集
    • 结论:现在的LLM在这方面很差

image-20240903095004297

  • 数据标注方式:GPT-4看图来标注,测评LLM时候没有把图像给到LLM
  • 测评(四选一)

image-20240903095144990

:fire: :hammer_and_wrench: Rapid 3D Model Generation with Intuitive 3D Input, in CVPR 2024. [project]

  • 动机
    • 3D Sketch到3D模型的生成(元宇宙
    • 主要针对新手用户

image-20240917115002472

  • 方法

image-20240917114936185

:hammer_and_wrench: :fire: From Supervised to Generative: A Novel Paradigm for Tabular Deep Learning with Large Language Models, in KDD 2024. [project]

  • 动机
    • 表格数据对Science领域很重要,表格的数据在很多比赛当中是有的(Kaggle的社区)
  • 训练方法(连续预训练)
    • 主要改了一下loss,在输入的某些token也要算loss

image-20240928122551231

:fire: :hammer_and_wrench: CAD-SIGNet: CAD Language Inference from Point Clouds using Layer-wise Sketch Instance Guided Attention, in CVPR 2024 Spotlight. [project]

  • 动机
    • 3D点云 -> CAD生成(B-Rep的形式)

image-20240928123325557

  • 方法

image-20240928123348854

  • B-Rep量化细节

image-20240928123422477

:fire: :hammer_and_wrench: Text2CAD: Generating Sequential CAD Models from Beginner-to-Expert Level Text Prompts, in NeurIPS 2024 Spotlight. [project]

  • 动机
    • 从入门到专家prompt来做CAD序列的生成
      • 这里的CAD是B-Rep的形式,类似DeepCAD
    • 过去的模型(包括LLM)没办法生成CAD序列,最主要的原因就是缺少数据
  • 数据标注
    • 基于DeepCAD标注了660K的指令数据集
    • 标注流程(一些细节需要看附录)

image-20240928122833563

  • 方法
    • 主要是在量化(具体见附录)
    • 很小的Transformer就可以做生成了

image-20240928122923184

  • Case展示

image-20240928123026492

image-20240928123044212

:hammer_and_wrench: CableInspect-AD: An Expert-Annotated Anomaly Detection Dataset, in NeurIPS 2024. [project]

  • 动机
    • Cable的缺陷检测,需要考虑实际情况。
    • 做了更加详细的标注
      • a high-quality, publicly available dataset created and annotated by domain experts from Hydro-Québec, a Canadian public utility. It features 4,798 high-resolution images and 6,023 annotated anomalies across three types of power line cables.

image-20240929105813807

:hospital: Medical

:fire: :hammer_and_wrench: Interactive and Explainable Region-guided Radiology Report Generation, in CVPR 2023. [pdf] [torch]

也是挺简单的

  • 动机
    • X光报告生成,未每个区域都生成一个报告

image-20240125193842616

  • 任务设计

image-20240125193938419

  • 方法

image-20240125194141939

  • Case展示

image-20240125194125059

:hammer_and_wrench: CLIPSyntel: CLIP and LLM Synergy for Multimodal Question Summarization in Healthcare, in AAAI 2024. [pdf] [torch]

  • 动机
    • 医学疾病诊断报告

image-20240128202657099

  • 数据集:基于之前的数据集扩展构建的
  • 方法:用LLM

image-20240128202727869

:fire: :hammer_and_wrench: CARE-MI: Chinese Benchmark for Misinformation Evaluation in Maternity and Infant Care, in NeurIPS 2023. [pdf] [dataset]

  • 动机
    • 中文婴儿与产妇护理Benchmark
  • 数据集构建

image-20240131103530400

  • 评价实验

image-20240131103611823

:fire: :hammer_and_wrench: Mol-Instructions: A Large-Scale Biomolecular Instruction Dataset for Large Language Models, in ICLR 2024. [pdf] [project]

  • 动机
    • 生物分子研究领域的特殊性—比如专用数据集的缺乏、数据标注的高复杂度、知识的多元化以及表示方式的不统一—仍旧是当前面临的关键挑战。
    • 针对这些问题,本文提出Mol-Instructions,这是一个针对生物分子领域各项研究任务定制的指令数据集。

image-20240204165141272

  • 指令数据集构建
    • 小分子指令:深度探索小分子的固有属性与行为,研究化学反应和分子设计的核心挑战。理解和预测小分子的化学特性,优化分子设计,提高化学反应预测的准确性和效率。其目标是在化学和药物设计领域加速药物的研发进程,同时降低研发成本。
    • 蛋白质指令:主要解决蛋白质设计和功能相关的问题。旨在预测蛋白质结构域、功能及活性,通过文本指令推动蛋白质设计。对于疾病的诊断、治疗以及新药的研发工作具有一定的价值。
    • 生物文本指令:侧重于生物信息学和化学信息学领域的自然语言处理任务。旨在从生物医学文献中提取和解析关键信息,支持研究人员快速获取知识、便于进行查询。

![image-20240204165354754](/Users/gary/Library/Application Support/typora-user-images/image-20240204165354754.png)

  • 方法
    • 本文对LLaMA-7B模型进行了指令微调,并从多个角度进行了定量实验分析。实验结果显示,经Mol-Instructions微调的LLM在多种任务上的表现超越了其他大型模型,证明了Mol-Instructions在提升LLMs处理生物分子信息能力方面的关键作用。

:fire: :hammer_and_wrench: LLaVA-Med: Training a Large Language-and-Vision Assistant for Biomedicine in One Day, in NeurIPS 2023. [pdf] [project]

  • 动机:医学报告
  • 方法(重点是通过prompt来给GPT生成QA对话作为训练数据)
    • 先模态对齐
    • 后利用指令数据微调

image-20240209152253086

:fire: :hammer_and_wrench: VTaC: A Benchmark Dataset of Ventricular Tachycardia Alarms from ICU Monitors, in NeurIPS 2023. [pdf]

具体见论文

  • 动机:VTaC:ICU 监护仪室性心动过速警报的基准数据集

:man_teacher: Education

:hammer_and_wrench: Class Prototypes based Contrastive Learning for Classifying Multi-Label and Fine-Grained Educational Videos, in CVPR 2023. [pdf] [torch]

居然还有这种多标签分类的任务

  • 动机:教育学视频标签多分类任务
    • 提出了一个数据集

image-20240120154525846

  • 方法:对比学习

image-20240120154559485

:film_projector: Exploring Automated Distractor Generation for Math Multiple-choice Questions via Large Language Models, in 2023-12, NeurIPS 2023 Workshop. [pdf]

  • 动机
    • 干扰项还有对应每个**干扰项对应的迷失概念(Feedback)**生成
    • 教育学应用意义(对学生和教师都有用)

image-20240120163747323

  • 方法(很简单,数据集有1.4K都是提前找人标好的)

image-20240120164011096

:fire: :hammer_and_wrench: Zero-1-to-3: Domain-level Zero-shot Cognitive Diagnosis via One Batch of Early-bird Students towards Three Diagnostic Objectives, in AAAI 2024. [pdf] [torch]

  • 动机
    • 教育学上跨学科学生知识认知
    • 可以参考小红书关于这篇论文的讲解

image-20240128205846872

:fire: :hammer_and_wrench: Towards Real-World Writing Assistance: A Chinese Character Checking Benchmark with Faked and Misspelled Characters, in ACL 2024. [pdf] [dataset&torch]

  • 动机
    • 错别字纠正任务
    • 过去方法:only focus on mis- spelled characters mainly caused by phonologi- cal or visual confusion, thereby ignoring faked characters which are more common and difficult.

image-20240715083756688

  • 数据集收集&方法(超级简单)

image-20240715083844656

image-20240715083909531

  • Case展示

image-20240715083950509

:waning_gibbous_moon: Remote Sensing

:fire: :hammer_and_wrench: EarthVQA: Towards Queryable Earth via Relational Reasoning-Based Remote Sensing Visual Question Answering, in AAAI 2024. [pdf] [torch]

  • 动机
    • 提出遥感VQA数据集,改进城市建设计划

image-20240128203216588

  • 数据集标注

EarthVQA数据集从LoveDA数据集(Wang et al. 2021)扩展而来,包括来自南京、常州和武汉的18个城市和农村地区。LoveDA数据集提供了5987张HSR图像 以及带有七种常见的土地覆盖类型的语义面具。有三个重要的修订:1)数量扩展。增加了8个城市和5个农村样本,以扩大容量到6000张图像(世界观- 3 0.3m).2)标签的细化。“操场”类被添加为一个重要的人工设施,并对语义标签修改了一些错误。3)添加QA对。我们添加了208,593对QA对 为城市规划的VQA任务。每个城市形象有42个质量点,每个乡村形象有29个质量点。按照平衡划分(Wang et al. 2021),列车集包括2522张图像,包含88166个QAs,v 所有组包括1669张图片,57202和测试集包括1809张图像,63225个质量质量。注释的过程。EarthVQA目前还不涉及诸如地理方向等模糊的问题。至于“是否有任何交叉点” 学校附近的离子吗?”在图2(a)中,通过判断拓扑结构,识别的1#路和#2路首先形成5号路口。同样,4号地面和3号楼共同构成了6号学校的场景。我们 使用ArcGIS工具箱计算6号学校和5号十字路口之间的多边形到多边形的距离,得到94.8m < 100m。因此,最终的答案是“是的”。每一步都有固定的阈值和conditions.

image-20240128203651956

  • 方法:Baseline

image-20240128203708238

:fire: :hammer_and_wrench: GeoCLIP: Clip-Inspired Alignment between Locations and Images for Effective Worldwide Geo-localization, in NeurIPS 2023. [pdf] [torch]

  • 动机
    • 地理位置识别CLIP

image-20240201112034132

  • 模型方法

image-20240201112058128

:fire: :hammer_and_wrench: DiffusionSat: A Generative Foundation Model for Satellite Imagery, in ICLR 2024. [pdf] [torch]

  • 动机
    • Diffusion模型生成遥感图像
      • single-image generation, conditioned on text and metadata, multi-spectral superresolution, temporal prediction, and temporal inpainting.
  • 方法

image-20240205103113351