Trace and Edit Relation Associations in GPT

Jiahang Li, Taoyu Chen, Yuanli Wang
12/30/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

This study introduces a novel approach for analyzing and modifying entity relationships in GPT models, diverging from ROME's entity-focused methods. We develop a relation tracing technique to understand the influence of language model computations on relationship judgments. Using the FewRel dataset, we identify key roles of MLP modules and attention mechanisms in processing relationship information. Our method, tested against ROME on a new dataset, shows improved balance in specificity and generalization, underscoring the potential of manipulating early-layer modules for enhanced model understanding and accuracy.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2023trace,
  title  = {Trace and Edit Relation Associations in GPT},
  author = {Jiahang Li and Taoyu Chen and Yuanli Wang},
  year   = {2023},
  eprint = {2401.02976},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.02976v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.02976.svg)](https://codeofpaper.com/paper/2401.02976)

Discussion