Kentaro Inui, Benjamin Heinzerling, Qin Dai
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Bi-encoder architectures for distantlysupervised relation extraction are designed to make use of the complementary information found in text and knowledge graphs (KG). However, current architectures suffer from two drawbacks. They either do not allow any sharing between the text encoder and the KG encoder at all, or, in case of models with KG-to-text attention, only share information in one direction. Here, we introduce cross-stitch bi-encoders, which allow full interaction between the text encoder and the KG encoder via a cross-stitch mechanism. The cross-stitch mechanism allows sharing and updating representations between the two encoders at any layer, with the amount of sharing being dynamically controlled via cross-attention-based gates. Experimental results on two relation extraction benchmarks from two different domains show that enabling full interaction between the two encoders yields strong improvements.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2211.01432")
get_code_for_paper("2211.01432")
have("2211.01432")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2211.01432.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2211.01432)
Connect an agent — have() is free.