All models

BriVL (WenLan)

Two-tower Chinese image-text model trained with MoCo-style contrastive learning for cross-modal retrieval.

Multimodal · 1,509 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
547.6M
Operations
1,509
Framework
PyTorch
Recurrent
No
Published
2021
Cited by
158 (as of 30 November 2026)
Authors
Yuqi Huo, Manli Zhang, Guangzhen Liu and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14997
Graph hash
8788bf526971430038a91829cd8a9a867e659087f39f944c1e14f19fa4a210f6
Skeleton hash
6e2dc108532894d6488e21d7b58772308a433b1173a5dc0a380b4b133d98b40a
Architecture hash
7e0c1f60a18f02848eba70d1902cde5bb712b805f574cd2bf9e56971a9160d27
Diagram SHA-256
4696d4b63ff628996491d46121d4ad0e83ffb98f0ee0c30658ad80264593c4a5
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

BriVL (Bridging Vision and Language Model) is a two-tower image-text model: an image encoder and a text encoder that embed pictures and captions into the same space, so that either can be used to search for the other. It came out of WenLan, a Chinese project on large-scale multi-modal pre-training, and starts from the observation that web image-text pairs are often only weakly related, so it models their correlation implicitly.

The image tower runs a CNN backbone over the picture, pools features for object boxes found by a detector, and fuses them with a self-attention block. The text tower stacks self-attention blocks in the style of RoBERTa, and a two-layer MLP projects each tower's output into the joint space. Training adapts MoCo to the cross-modal setting: a large queue of negative keys lets BriVL use more negative samples on limited GPU resources. The paper argues that the two-tower design, together with contrastive pre-training, lets BriVL be readily deployed in real-world applications.

The paper reports a first version with 1 billion parameters, pre-trained on RUC-CAS-WenLan, a Chinese dataset of 30 million image-text pairs. On the RUC-CAS-WenLan test set it reports gaps of more than 45% in recall at 10 over UNITER and OpenAI CLIP on both retrieval directions. The paper also reports that BriVL was pre-trained on 128 GPUs for about 7 days, against 256 GPUs for 12 days for OpenAI CLIP.

Key idea. BriVL pairs separate image and text encoders with a MoCo-style queue of negatives to pre-train on weakly correlated Chinese image-text pairs.

  • BriVL
  • WenLan
  • Bridging Vision and Language
  • chinese image-text retrieval
  • vision-language pre-training
  • cross-modal contrastive learning
  • two-tower model
  • text-to-image retrieval
  • image-to-text retrieval

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{huo2021wenlanbridgingvisionlanguage,
      title={WenLan: Bridging Vision and Language by Large-Scale Multi-Modal Pre-Training}, 
      author={Yuqi Huo and Manli Zhang and Guangzhen Liu and Haoyu Lu and Yizhao Gao and Guoxing Yang and Jingyuan Wen and Heng Zhang and Baogui Xu and Weihao Zheng and Zongzheng Xi and Yueqian Yang and Anwen Hu and Jinming Zhao and Ruichen Li and Yida Zhao and Liang Zhang and Yuqing Song and Xin Hong and Wanqing Cui and Danyang Hou and Yingyan Li and Junyi Li and Peiyu Liu and Zheng Gong and Chuhao Jin and Yuchong Sun and Shizhe Chen and Zhiwu Lu and Zhicheng Dou and Qin Jin and Yanyan Lan and Wayne Xin Zhao and Ruihua Song and Ji-Rong Wen},
      year={2021},
      eprint={2103.06561},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2103.06561}, 
}