On the Token Collapse Phenomenon in Textual Graph Soft Prompting
Andrea Giuseppe Di Francesco, Rishabh Jain, Franco Maria Nardini, Nicola Tonellotto, Pietro Liò, Fabrizio Silvestri
Sapienza University of Rome · ISTI-CNR · University of Cambridge · University of Pisa
Published October 22, 2026 · on the feed October 26, 2026 · ▲ 3 · arXiv 2610.31572
The abstract
Recent methods for injecting graph structure into LLM prompts include graph soft prompting, in which a graph neural network (GNN) learns graph-specific tokens that capture relational information among entities in textual prompts. G-Retriever combines graph soft prompts with a verbalized description of the same graph to strengthen the textual prompt signal. We conduct an in-depth analysis of G-Retriever and uncover a pathological behavior we term token collapse. Across three benchmarks, three graph encoders, two LLM families, and both frozen and LoRA-adapted models, G-Retriever's graph tokens become almost indistinguishable across inputs. We provide evidence that the same failure is inherited by subsequent methods, even with multi-token pooling. Under the standard setup, swapping a token with the dataset mean, a token from another example, or one derived from a corrupted graph produces no resolved answer-level effect in accuracy. Moreover, a learned constant prompt that never accesses the graph matches or surpasses G-Retriever on all three benchmarks. These findings indicate that, rather than conveying graph content as intended, the collapsed token functions primarily as a generic soft prompt. We also examine conditions linked to this collapse and propose a two-stage procedure that yields non-collapsed tokens while maintaining competitive performance in most cases. However, token variability alone does not prove that the model uses graph information: via interventions and decoding probes, we show that depending on the configuration, a token can reflect the question, an answer prior, or graph-derived content that the LLM may or may not use. Overall, our results offer a practical approach to evaluating graph-token alignment rather than inferring it from task accuracy alone. Code to reproduce our experiments is available at https://github.com/difra100/Token_Collapse_KGQA.
The Brief
2:51A short podcast summary of the paper. Written and voiced by AI.
Transcript
On the Token Collapse Phenomenon in Textual Graph Soft Prompting. By Andrea Giuseppe Di Francesco and five others, from Sapienza University of Rome, the Institute of Information Science and Technologies of the Italian National Research Council, and two other institutions. Published on the twenty-second of October. Its code repository is worked out: about forty-five source files, with a readme.
One recent way to bring graph structure into a language model's prompt is graph soft prompting. A graph neural network, a GNN, learns graph-specific tokens meant to capture the relations among the entities a textual prompt mentions. G-Retriever pairs those graph soft prompts with a verbalized description of the same graph, to strengthen the textual signal.
Looking closely at G-Retriever, the authors find a pathology they call token collapse. The graph tokens, which are supposed to differ from graph to graph, become almost indistinguishable from one input to the next. Their conclusion is that the collapsed token is not carrying graph content as intended. It works mainly as a generic soft prompt.
The collapse is not confined to one setup. It appears across three benchmarks, three graph encoders, two families of language model, and with the model both frozen and LoRA-adapted. The authors also give evidence that methods which came after G-Retriever inherit the same failure, even when they pool several tokens.
Two kinds of test show the token is not doing graph work. In the first, under the standard setup, the token is swapped out: for the dataset mean, for a token taken from another example, or for one built from a corrupted graph. None of these swaps produces a resolved effect on answer accuracy. If the token were carrying the graph, putting in the wrong graph, or a broken one, ought to matter. It does not.
In the second test, the graph is taken away entirely. A learned constant prompt, one that never accesses the graph at all, matches or beats G-Retriever on all three benchmarks. Whatever the graph token was contributing to accuracy, a fixed prompt with no graph behind it contributes as much.
The paper goes on to examine conditions linked to the collapse, and proposes a two-stage procedure that yields tokens which do not collapse, while keeping performance competitive in most cases. Most, not all.
A second limit is drawn just as clearly. Tokens that vary are not proof that the model uses graph information. Using interventions and decoding probes, the authors show that, depending on the configuration, a token can reflect the question, an answer prior, or content derived from the graph, and in that last case the language model may or may not make use of it. Restoring variability does not, by itself, settle whether the graph is being used.
Before this, a graph soft prompt that helped accuracy was taken to be delivering the graph. After it, accuracy alone is not enough evidence: a constant prompt can score as well, and whether a graph token carries the graph has to be checked directly. The authors offer their tests as a practical way to evaluate that alignment between graph and token, and they release code to reproduce the experiments.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free