All models

DFGN

A question answering model that reasons across documents by exploring a graph of entities.

Language · 1,216 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 (25 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
127.2M
Operations
1,216
Framework
PyTorch
Recurrent
No
Published
ACL 2019
Cited by
42 (as of 26 October 2026)
Authors
Yunxuan Xiao, Yanru Qu, Lin Qiu 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
m15620
Graph hash
17cd1c3ff4f149cfe2b5c165ca84b954839a7785a5187eeb43930cb59da5c46d
Skeleton hash
18628eff1c5743e504d7dcc901d81e3cf83b6a73140461a2bfb9a0863eb8b666
Architecture hash
512c0fbfc95e20a06f5a361863a4a8dcf2ec43191f877a2e9e064bfeb9b56c6e
Diagram SHA-256
bdb103eeb698f57af3b08245ac936f6ab44ddc16d42850ec0609c22a2935f2d8
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

DFGN, the Dynamically Fused Graph Network, answers questions whose evidence is scattered across several pieces of text and has to be reasoned over. The paper sets this against most earlier approaches, which look for the answer to a question within a single paragraph.

The model includes a dynamic fusion layer that starts from the entities mentioned in the question, explores an entity graph built dynamically from the text, and gradually finds the relevant supporting entities in the given documents. The paper describes this design as inspired by the step-by-step way people reason. In the authors' PyTorch code, the input is prepared in three steps: paragraph selection, named entity recognition and graph construction.

The paper evaluates DFGN on HotpotQA, a public text-based question answering dataset that requires multi-hop reasoning. It reports competitive results on that dataset's public board. Its analysis also shows that DFGN produces interpretable reasoning chains. The README states that training needs at least 2 GPUs, one for BERT encoding and one for the DFGN model.

Key idea. DFGN adds a dynamic fusion layer that explores an entity graph built from the text, starting at the question's entities, to gather scattered supporting evidence for multi-hop questions.

  • dfgn
  • dynamically fused graph network
  • multi-hop reasoning
  • multi-hop question answering
  • text-based question answering
  • tbqa
  • hotpotqa
  • entity graph
  • question answering

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

Cite the paper

@misc{xiao2019dynamicallyfusedgraphnetwork,
      title={Dynamically Fused Graph Network for Multi-hop Reasoning}, 
      author={Yunxuan Xiao and Yanru Qu and Lin Qiu and Hao Zhou and Lei Li and Weinan Zhang and Yong Yu},
      year={2019},
      eprint={1905.06933},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/1905.06933}, 
}