Elamur Research

PerLTQA: A Personal Long-Term Memory Dataset for Memory Classification, Retrieval, and Fusion in Question Answering

Paper · 2024 · Yiming Du, Hongru Wang, Zhengyi Zhao et al.

Summary

A question about what someone did with his brother can require two kinds of evidence. A relationship record tells you who the brother is. An account of a past event tells you what the two people did together. A record of a similar activity with a friend can look relevant while pointing to the wrong answer. PerLTQA is a Chinese dataset for studying this problem in personal question answering. It gives a system a database about fictional characters and asks it to find and use the evidence needed for a specific answer.

The database brings together semantic memory, which covers facts such as a character’s occupation and relationships, and episodic memory, which covers experiences and previous conversations. The authors generate profiles and relationships before writing events around those people, then use the events to generate dialogues with an assistant. The resulting collection contains 141 character profiles, 1,339 relationship descriptions, 4,501 events, and 3,409 historical dialogues. It has 8,593 question–answer pairs. A question can be associated with the record that supports its answer and with a memory anchor, a span of answer text that expresses a detail the system is expected to recover.

The experiments separate three decisions. A classifier predicts which broad kind of memory a question calls for. A retriever searches the character’s records and can use the classification to reorder its candidates. A generator reads the selected records and writes the answer. The highest classification accuracy on the test set was 95.64%, obtained by fine-tuning BERT-base. In the answer experiments, gpt-3.5-turbo scored 0.756 on the paper’s exact-match anchor metric and 0.573 on its correctness measure with classification and retrieval. With retrieval alone, its scores were 0.745 and 0.562. With neither component, they were 0.156 and 0.088.

Access to relevant records accounts for the clearest improvement. Classification can help the system favor the right kind of record, especially when both kinds are searchable and superficially related entries compete for attention. Correctly retrieved evidence produces better answers across the systems tested, while coherence remains high even without external memory. The experiments establish those patterns for a constructed benchmark with written records and known answers. The characters’ histories come from a generation and review procedure, and the correctness and coherence scores come from an automated evaluator.

Deep dive: PerLTQA: A Personal Long-Term Memory Dataset for Memory Classification, Retrieval, and Fusion in Question Answering

PerLTQA tests how a Chinese question answering system finds and combines personal facts, past events, and conversations to answer questions. · about 31 minutes to read

The problem and its context

A personal question can point to more than one record

The example that opens the paper asks what Liu Liang has been doing at home with his brother. The memory bank contains an account of a study group at home with Liu Ming and an account of games at home with Li Hua. It also contains records that identify Liu Ming as Liu Liang’s brother and Li Hua as his friend. The place fits both events. The relationship singles out the person whose activity belongs in the answer.

This example explains why remembering an event and finding the right event are different tasks. An event account can give the names of its participants without describing how they are related. A question can use a relationship term without giving either participant’s full name. The relationship record supplies a way to connect the question to the event. A complete answer also needs the activity itself. Resolving the family reference gives the system a person to look for, and the event account gives it something specific to say.

The paper adapts a distinction from cognitive psychology. Semantic memory refers to facts and knowledge that can be recorded independently of a particular remembered experience. In the dataset, a profile and a description of a social relationship are examples. Episodic memory describes things that happened and conversations in which people took part. The distinction concerns the role of a record. An account of a film production can mention someone’s work, and a description of colleagues can include details about projects they share. Either record can contain useful words about a person while offering a different kind of support for an answer.

For an assistant, the practical problem is to maintain enough continuity that a user can ask about familiar people and prior conversations in ordinary language. The user may refer to a colleague by role, allude to an event, or ask about a detail that came up in an earlier exchange. Each formulation gives the search procedure a different set of clues. When the evidence lives in several forms, a system can find material about the right person or the right setting and still miss the detail being asked for. PerLTQA turns such cases into an evaluation with questions, records, and reference answers that can be inspected separately.

How the paper places earlier datasets

The authors compare earlier datasets by asking which kinds of evidence their records cover. They distinguish world knowledge, profiles, social relationships, dialogues, and events. Their examples of semantic knowledge include Wikipedia-based question answering in Natural Questions and CoQA. A question grounded in Wikipedia can require finding a passage and identifying a fact. The corresponding personal-memory problem asks for a fact about a particular character and may require identifying which part of that character’s history can establish it.

The authors also recognize earlier work that asks a reader to use material in different formats. They describe a question answering task in HybridQA that draws on tables and text. This provides a precedent for combining sources. PerLTQA applies a distinction based on what a record represents, such as a standing relationship or a remembered incident. That distinction can matter even when both records ultimately arrive at the answer generator as text.

The dialogue datasets in the comparison cover a range of goals. The paper describes MultiWOZ as task-oriented and DailyDialog as a collection of everyday exchanges over multiple turns. The authors discuss MSC and Dulemon as examples that use conversations as episodic memory. They also describe MemoryBank as a bilingual effort in which GPT-4 summarizes conversations and personal information. Conversation Chronicles brings relationships and events into a multi-session setting in the authors’ comparison. Together these precedents explain why the paper frames the gap in terms of coverage and annotation. It wants a single evaluation in which profiles and relationships can be consulted alongside events and dialogue history, with enough information about the supporting evidence to examine what a system used.

Search and response generation were already separate jobs

The related work describes two families of search methods. Sparse retrieval ranks text using terms from the query and candidate records. The authors use BM25 as their example. Vector-based retrieval represents questions and records numerically and scores them by similarity. That is the family represented by Dense Passage Retrieval and Contriever.

The paper also describes work in which retrieved text is supplied to a generator so that it can use external information in its answer. The general approach is called retrieval-augmented generation. In dialogue, the retrieved information can be placed directly in the prompt. The generator then sees the question and the selected records together. This gives it a chance to use details from personal history even though those details belong to an external store.

PerLTQA uses this familiar separation to ask a more specific question about search. A request for an occupation and a request about a shared outing may need different evidence, even when they mention the same people. A classification step could supply that distinction to the search procedure. The design decision is how much authority to give the classifier. If a predicted type determines the only bank the system searches, a mistake at that stage can hide the answer before the generator sees any evidence. If the prediction influences ranking while both banks remain searchable, the system can still consider records from either type. The paper builds its evaluation around the latter arrangement.

The method, step by step

Building a world for the characters

PerLTQA contains a memory bank and a set of questions about the things it records. The authors construct the bank first. They begin with seed material, use it to create fictional people, and then add the relationships and experiences that give those people a history. This order gives later generation steps access to names and facts established by earlier steps. It also gives a reviewer concrete points of comparison when a new episode seems inconsistent with a character’s profile or social circle.

The seed material comes from Wikipedia and ChatGPT. It includes occupations, educational backgrounds, hobbies, and subjects that can serve as the backdrop for an event. The occupation material spans 10 categories and 299 specialties. The hobbies cover 7 groups and 140 items. The topics are organized into 49 categories with 2442 subtopics. Separately, gpt-3.5-turbo generates 141 fictional names. The authors review the seed material by hand to avoid using implausible inputs in later stages. In this part of the construction procedure, world knowledge helps furnish plausible settings and attributes for personal records.

For each profile, the authors combine seed attributes with a template that asks for biographical details. Occupation, education, and hobbies provide part of the input. The output can describe a person’s age, nationality, appearance, employer, achievements, awards, and other characteristics. A profile thus establishes facts that can later be asked about directly. It also supplies background for generating relationships and episodes. An occupation can matter in both roles. It is an answer to a profile question and part of the setting for an event about the person’s work.

Relationship generation proceeds from these profiles. The authors use structured prompts and cover 50 relationship categories, including family ties, friendships, professional connections, and neighbors. The relationship prompt asks for the name of the other person and a description of the connection, organized by relationship. The description can contain useful facts beyond the category itself. For example, a record about a colleague can explain the work the two people do together. That is why a query about an occupation may be answerable from a relationship description as well as from a profile.

Event generation connects the profiles and relationships to particular experiences. The authors first use randomly chosen seed topics to develop background occurrences. They then prompt for events consistent with the relevant people and their relationship. The event template calls for information such as the date, topic, supporting character, and the nature of that character’s tie to the main person, along with a detailed account. The authors use worked examples in the prompt to encourage consistency between the event and the surrounding history. This use of examples is the paper’s application of few-shot learning.

The events in turn supply the material for historical dialogues. A prompt combines character information with details of an earlier event and asks for a conversation between the character and an assistant. It specifies the speakers and calls for details such as who was there, when and where things happened, and what took place. An experience can therefore leave evidence in an event account and in a conversation that discusses it. The two records can express different parts of the same history. A question may resemble the words of the dialogue while one of its answer details appears more explicitly in the event description.

Reviewing the records and writing the questions

The authors start checking memory records in small batches before increasing the scale of generation. They sample records, identify recurring problems, and correct or remove entries. A faulty profile field can be emptied or removed. An unusable relationship can be excluded, and a short event with insufficient detail can be dropped. They also check for contradictions in a character’s history and remove discriminatory material. This review affects what evidence the benchmark contains. A record with a broken reference or an undeveloped account may be unable to support a clear question even when it contains relevant names.

The questions are generated from the bank. The prompt supplies a reference memory and identifies the character, then asks for a question and an answer grounded in the supplied information. This creates a link between the task given to the system and the evidence intended to support the reference response. A question originating from a relationship record can be about a person’s job if the description gives that job. A question originating from a dialogue can ask about a specific detail of the event discussed there. The source of a question helps define its memory label, while the words of the question can resemble material from several sources.

The next annotation identifies the memory anchor. An anchor is a span of the answer that expresses a detail tied to the question and the reference record. A person’s name can be the anchor when the question asks who took an action. A job name can serve the same purpose when the question asks what work someone does. The authors use exact matching to locate candidates and human verification to check their start and end positions. The manual work limits the character coverage of this annotation to 30. The anchor here is the answer span the evaluator looks for, while the reference memory is the record used to establish the answer.

Validation covers questions, answers, supporting records, and anchor spans. The authors sample items and check errors, including the use of pronouns and other references to people. They report using an automated quality score from 0 to 10 during this process. Items scored 10 can be accepted automatically, items scored between 6 and 9 are reviewed, and items below 6 are discarded. The checks also verify the reference memory, remove irrelevant stopwords, and correct misaligned text. The authors describe manual changes that shorten redundant answers or repair an anchor boundary. The boundary matters because a later evaluator searches for the annotated words. Including a preposition in the expected span can change whether an otherwise similar response receives credit.

How the bank and the questions are represented

The paper writes the personal memory database as a collection of paired banks. A pair belongs to a character, and its two parts hold the kinds of evidence that the retrieval procedure searches.

M = {(Sᵢ(l₁), Eᵢ(l₂)) | i = 1, 2, …, p}

Here M is the database. The index i identifies a character, and p is the number of characters in the collection. Sᵢ(l₁) is the semantic memory bank for that character, with l₁ entries, and Eᵢ(l₂) is the corresponding episodic bank, with l₂ entries. The vertical bar introduces the range of character indices. Semantic entries in this task representation include profiles and relationship descriptions. Episodic entries include events and dialogues. The dataset discussion gives world knowledge a broader role in constructing the material, while the retrieval task uses this division into two searchable banks.

The associated collection consists of question answering items.

T = {tⱼ}ⱼ₌₁,…,ₙ

T denotes the collection, tⱼ is one item, and j indexes the items. The final index ₙ represents their total, written N in the paper. Each item joins the information needed to pose a question to the information needed to evaluate a response.

tⱼ = (qⱼ, rⱼ, mⱼ, aⱼ)

For the item indexed by j, qⱼ is its question, rⱼ is the reference memory, mⱼ denotes its annotated anchor information, and aⱼ is the reference answer. The roles of rⱼ and mⱼ are distinct. A retriever can be evaluated against the reference record. The answer can be checked for the anchor expressed in that record and annotation. The reference answer supplies the fuller response against which an evaluator can judge the produced answer.

From a question to a ranked set of records

The answer pipeline is applied within the memory bank for the character in question. It first predicts the type of evidence that is likely to help. It then searches for candidates on both sides of the semantic and episodic division. The type prediction can change the order in which the candidates are presented to the generator.

How PerLTQA turns a question into an answer

The steps in order.

How PerLTQA turns a question into an answerStep 1: Identify the question’s character and memory bank1. Identify the question’s character and memory bankStep 2: Predict the likely memory type2. Predict the likely memory typeStep 3: Retrieve candidates from each memory type3. Retrieve candidates from each memory typeStep 4: Combine retrieval scores with classification confidence4. Combine retrieval scores with classification confidenceStep 5: Rank the candidates for the answer prompt5. Rank the candidates for the answer promptStep 6: Generate an answer using the selected records6. Generate an answer using the selected records

The classification step assigns the question to the semantic or episodic class. The authors test a classifier trained on labeled questions as well as prompt-driven alternatives. An instruction can tell a system what the classes mean and ask it to choose. A few-shot prompt adds examples that show the expected distinction. For BERT-base, the authors adjust the pretrained classifier for this particular task through fine-tuning.

π = Mᶜ(q)

Here q is the input question, Mᶜ is the memory classifier, and π is the classification result. The decision concerns the expected form of the evidence. It does not identify a particular entry or resolve an entity directly. A semantic prediction for a question about someone’s occupation can give profile and relationship records more influence. A separate retriever still has to find which record contains the job.

The authors formalize the search as a function returning both records and scores.

m, s = R(q, M, k)

R denotes the retriever, q is the question, and M is the memory database searched within the relevant character’s bank. The requested retrieval size is k. The returned records are represented by m, and s represents their corresponding scores. The procedure initially takes k records from each of the two memory types, producing the 2k candidates described by the authors. Each is eligible for the subsequent ranking.

The separate searches give the classifier a limited role. A candidate from the less favored bank remains available if it ranks well enough. This structure is useful for questions whose wording is compatible with more than one kind of evidence. Someone’s profession might be specified in a relationship entry, discussed during dialogue, or mentioned in an event. Category confidence supplies a way to order such records together. It does not make an entry relevant on its own.

Combining the scores and writing the answer

For each candidate, the method combines the classifier’s assessment with a transformed retrieval score. The authors use the same weights for the two terms.

s′ᵢ = α · P(π | mᵢ) + β · sigmoid(sᵢ)

Here i indexes candidates, mᵢ is the candidate at index i, sᵢ is its original retrieval score, and s′ᵢ is the score after reranking. π denotes the predicted memory category. The paper describes P(π | mᵢ) as the classifier’s confidence that the candidate belongs to that category. The vertical bar indicates that this confidence is written conditionally on the candidate. sigmoid is the transformation applied to the original score, giving a bounded value that rises with the score. The coefficients α and β both have the value 0.5. The dot denotes multiplication, and the plus sign adds the two weighted contributions.

The appendix describes the mechanism in terms of using classification probabilities to revise scores for candidates from the two types. The paper’s formula gives the category-confidence term, and the algorithmic description explains why both banks contribute candidates before that term is applied. The comparison with hard selection is structural. Under hard selection, a wrong type could exclude an entire bank. Under reranking, a wrong type can lower an item’s position, with the original retrieval score still contributing. The method therefore depends on two signals. Strong topic similarity can put an entry in contention, and its type can affect whether it outranks another entry about the same topic.

The last stage asks a generator to answer with the chosen material in its prompt. The prompt calls for a concise answer and instructs the system to disregard irrelevant records. This is what the paper calls memory fusion. Its output is a written answer, which can express evidence from the prompt in a compact form.

r′ = LLM(z, q, m)

r′ denotes the generated response. LLM is the text generator, z is the answer prompt template, q is the question, and m is the set of memories supplied as context. In this formula, m refers to retrieved records. The indexed mⱼ in the dataset tuple denotes annotated answer anchors. The experiment description sets a limit of 50 words for generated responses. The generator receives the evidence as text and produces the answer in context. The setup trains or adapts components for classification and retrieval, then provides the retrieved evidence to the answer generator at inference time.

Measuring whether the answer incorporates the evidence

The stages have separate measures because their outputs differ. Classification is evaluated using precision, recall, F1, and accuracy. Precision asks how frequently a predicted class is right among the assignments to that class. Recall asks how frequently the classifier recovers examples belonging to it. F1 combines those two views, and accuracy counts correct class assignments overall. The paper reports weighted classification scores, so when it combines class-level results, the class frequencies affect the reported values.

Retrieval is measured with Recall@K. The cutoff K is how far down the returned list the evaluation looks. A retriever that frequently puts the reference evidence first can do well at the tightest cutoff. Another can recover more of the desired evidence when the evaluator considers a deeper list. The measurements at different cutoffs keep those behaviors visible, and the authors also report how long the search takes.

For answers, the paper reports correctness and coherence assessed by gpt-3.5-turbo. It also uses an anchor measure called MAP, expanded by the authors as mean average precision. The expression averages, across questions, the fraction of a question’s anchors exactly matched in the answer.

MAP = (1/N) · ∑ᵢ₌₁ᴺ [EM(qᵢ, marᵢ) / NUM(marᵢ)]

MAP is the final anchor score and N is the number of questions used in the evaluation. The summation sign ∑ adds the terms from the first question through N, with i identifying each question. marᵢ is the anchor set for question i. NUM(marᵢ) is its anchor count, and EM counts exact matches with those anchors. The formula uses qᵢ as its first argument, identifying the question, and the accompanying definition makes clear that the exact matches are sought in the answer for that question. The division inside the brackets gives the fraction for an individual question. The factor 1/N averages those fractions. This use of MAP evaluates details in answers. The paper assesses ranking separately with Recall@K.

Experiments and results

The size of the task and the evaluation split

The memory bank has 141 character profiles covering 98 jobs. Its 1,339 relationship descriptions span 50 categories, with 9.5 social relationships per character on average. The episodic bank includes 4,501 events with an average length of 313 words. It also includes 3,409 event-related dialogues, with 25,256 utterances averaging 43.7 words. The event descriptions and utterances are different units of text. Their lengths give a sense of how much detail a search candidate may contain before it is included in an answer prompt.

The 8,593 question–answer pairs average 16.7 words per question and 27.4 words per answer. The statistics table reports 23,697 anchors and an average of 2.8 anchors. These figures describe the dataset as tabulated, while the construction procedure gives 30 characters as the scope of the manual anchor annotation. The paper’s experiments use 5155 training items, 1719 validation items, and 1719 test items. The appendix specifies 7,516 QA pairs for BERT-base training and 7516 questions for DPR training. It gives the classification evaluation as 1,719 test questions. The appendix’s training counts and the main split are reported separately, and the paper leaves their relationship unclear.

In the classification experiment, the comparison includes prompt-based use of ChatGLM2, ChatGLM3, Baichuan2-7B-Chat, Qwen-7B-Chat, and gpt-3.5-turbo. The paper also evaluates BERT-base with a prompt-based training variant. For retrieval, it uses BM25, DPR, and Contriever on the separate character banks. The authors train DPR with evaluation questions and describe using text2vec for the question-to-record similarity calculation in their Contriever setup. In the answer experiment, the same five generative systems used for classification are prompted to produce a short response under different evidence conditions.

Classifying the evidence a question needs

Fine-tuned BERT-base has the best reported test results on all four classification metrics. The paper gives weighted precision of 95.96%, weighted recall of 95.64%, weighted F1 of 95.74%, and accuracy of 95.64%. Its comparison table expresses the results as decimal scores. The chart uses the weighted F1 entries from that table to compare configurations in the same units.

Weighted F1 for memory classification on the PerLTQA test split

Fine-tuned BERT-base has the highest weighted F1 among the reported classifiers.

Weighted F1 for memory classification on the PerLTQA test splitChatGLM2-6B, instruction: 0.729ChatGLM2-6B, instruction0.729Baichuan2-7B, instruction: 0.657Baichuan2-7B, instruction0.657gpt-3.5-turbo, instruction: 0.715gpt-3.5-turbo, instruction0.715ChatGLM2-6B, few-shot: 0.785ChatGLM2-6B, few-shot0.785Baichuan2-7B, few-shot: 0.337Baichuan2-7B, few-shot0.337gpt-3.5-turbo, few-shot: 0.566gpt-3.5-turbo, few-shot0.566BERT-base, prompt-based training: 0.779BERT-base, prompt-based training0.779BERT-base, fine-tuned (this paper): 0.957BERT-base, fine-tuned (this paper)0.957
The numbers
System or settingweighted F1
ChatGLM2-6B, instruction0.729
Baichuan2-7B, instruction0.657
gpt-3.5-turbo, instruction0.715
ChatGLM2-6B, few-shot0.785
Baichuan2-7B, few-shot0.337
gpt-3.5-turbo, few-shot0.566
BERT-base, prompt-based training0.779
BERT-base, fine-tuned (this paper)0.957

Examples in a prompt have different effects across systems. ChatGLM2-6B has table accuracy of 0.712 with an instruction and 0.806 with examples. For gpt-3.5-turbo, the corresponding accuracies are 0.668 and 0.511. ChatGLM3-6B goes from 0.485 to 0.445, and Qwen-7B goes from 0.631 to 0.402. The Baichuan2-7B entries are 0.602 under instruction and 0.324 with examples. All of these figures refer to accuracy on the test classification task. They describe the effects of the particular prompts used in the experiment. Other example selections or instructions could change those effects.

The multiple classification metrics matter here. With an instruction, gpt-3.5-turbo has weighted precision of 0.868 and weighted recall of 0.668. In the few-shot condition, those scores are 0.864 and 0.511. The precision entries are close, while recall and F1 show a larger change. A claim based on precision alone would miss much of what changed when the authors added examples. Fine-tuned BERT-base gives high scores on both measures on this test.

The result establishes that the binary distinction is learnable from questions in this benchmark. It also provides grounds for using the classifier as a ranking signal in the answer experiment. The evidence needed for that second claim comes from the retrieval and answer comparisons. High accuracy in choosing a broad category leaves open which item within that category will answer the question and whether the generator will use it correctly.

Retrieval changes with the number of results considered

The retrieval table gives results for several cutoffs. BM25 leads at Recall@1, Recall@2, and Recall@3, with scores of 0.705, 0.847, and 0.871. DPR records 0.602, 0.803, and 0.862 at those cutoffs. At Recall@5 the order changes, with DPR at 0.919 and BM25 at 0.895. Contriever records 0.486 at Recall@1, 0.674 at Recall@2, 0.737 at Recall@3, and 0.792 at Recall@5.

Retriever comparison on PerLTQA at Recall@5

DPR has the strongest recall at this cutoff, which considers a deeper list than the cutoffs led by BM25.

Retriever comparison on PerLTQA at Recall@5Contriever: 0.792Contriever0.792BM25: 0.895BM250.895DPR (this paper): 0.919DPR (this paper)0.919
The numbers
System or settingRecall@5
Contriever0.792
BM250.895
DPR (this paper)0.919

The table also reports average retrieval times in seconds. BM25 takes 0.030, Contriever takes 0.070, and DPR takes 2.960 in the authors’ setup. Thus the system with the strongest score when the evaluation looks only at the first returned item is also the quickest in this comparison. DPR’s advantage appears at a deeper reported cutoff. These observations refer to different properties of the ranked lists and matter to different uses of the pipeline. A generator given only the first entry depends sharply on the ordering at the top. One given several entries can benefit from recall farther down the list, provided it can select the pertinent evidence from the added material.

The paper describes BM25 as statistics-based, DPR as supervised, and Contriever as unsupervised. Its reported ordering concerns those implementations and the character-specific memory banks. Some questions in this construction share names or terminology with the originating records, which makes term matching a plausible form of evidence for search. The retrieval table does not determine how much of BM25’s performance comes from names, other overlapping words, or the sizes and composition of the candidate banks.

Retrieval and classification in the final answer

The authors evaluate answer generation under three conditions. The full pipeline retrieves external memories and reranks them using classification. The retrieval-only condition supplies retrieved memories without classification-based reranking. In the third condition, the generator gets the question without external memory. Each configuration exercises the same ability to produce a response, with a different chance of seeing evidence specific to the fictional character.

gpt-3.5-turbo answer correctness on PerLTQA by memory configuration

Retrieval accounts for the clearest gain, and classification-based reranking gives the highest correctness score.

gpt-3.5-turbo answer correctness on PerLTQA by memory configurationNo external memory: 0.088No external memory0.088Retrieval only: 0.562Retrieval only0.562Retrieval with classification-based reranking (this paper): 0.573Retrieval with classification-basedreranking (this paper)0.573
The numbers
System or settingcorrectness
No external memory0.088
Retrieval only0.562
Retrieval with classification-based reranking (this paper)0.573

The anchor measure shows the same ordering for gpt-3.5-turbo. Its MAP is 0.156 without external memory, 0.745 with retrieval, and 0.756 with retrieval plus classification. The other systems also benefit from having memory in the prompt. In ChatGLM3, MAP goes from 0.130 without retrieval to 0.695 with retrieval alone and 0.704 in the full pipeline. For Baichuan2-7B the corresponding MAP scores are 0.132, 0.728, and 0.736. Qwen-7B records 0.131, 0.720, and 0.729. ChatGLM2 records 0.128 without memory and 0.688 in each of the two conditions with retrieval.

The full configuration’s highest correctness is the 0.573 from gpt-3.5-turbo. Qwen-7B and Baichuan2-7B each reach 0.535, ChatGLM3 reaches 0.517, and ChatGLM2 reaches 0.483. With retrieval only, their correctness scores are 0.532, 0.522, 0.517, and 0.481, respectively. Classification-based reranking improves some entries in the comparison and leaves others unchanged at the reported precision. ChatGLM3, for example, improves on anchor matching while keeping correctness at 0.517. ChatGLM2 keeps MAP at 0.688 while its correctness rises from 0.481 to 0.483. An answer can include a recognized anchor and still vary in how the correctness evaluator judges the full response.

Coherence tells a different story. Across the fusion table, its lowest reported value is 0.953. For gpt-3.5-turbo the score is 0.961 without memory and 0.969 in both conditions with retrieval. Baichuan2-7B has coherence of 0.968 with retrieval alone and 0.966 with reranking, even though its MAP and correctness rise with reranking. These figures show why the paper evaluates the contents of the response separately from its overall coherence. In this experiment a system can write a plausible, orderly answer while supplying few of the details established by the memory bank.

The authors also draw attention to the performance of smaller systems when given external evidence. Baichuan2-7B’s MAP of 0.736 with the full configuration is close to the 0.756 from gpt-3.5-turbo under the same condition. Their respective correctness scores are 0.535 and 0.573. This is a comparison on short, memory-grounded answers in PerLTQA. It shows how much the configuration can matter to this task and leaves broader comparisons of system capability outside the experiment.

What the ablations show

The value of correct retrieval

The main answer experiment measures the effect of making retrieval available and of adding classification to the ranking. The ablation in the analysis section asks a different question. It groups answer performance by whether retrieval is absent, incorrect, or correct. That gives the reader a view of how much the generator’s performance depends on the evidence it receives.

Under correct retrieval, gpt-3.5-turbo reaches MAP of 0.842 and correctness of 0.609. With incorrect retrieval it has MAP of 0.375 and correctness of 0.252. Without retrieval its scores are 0.156 and 0.088. Qwen-7B follows the same ordering. It reaches MAP of 0.786 and correctness of 0.574 with correct retrieval, MAP of 0.390 and correctness of 0.221 with incorrect retrieval, and MAP of 0.131 and correctness of 0.057 when retrieval is absent. Across systems, the paper reports anchor scores between 0.365 and 0.396 under incorrect retrieval. Each of the tested systems achieves its strongest anchor and correctness scores in the correct-retrieval condition.

This experiment distinguishes receiving a record from receiving the record that supports the answer. A retrieved dialogue about the right person may offer clues about the person’s work, and it may contain words that help answer alongside other context. It can also invite an unwarranted inference. The authors interpret the intermediate scores under incorrect retrieval as evidence that the generators can sometimes use helpful information in imperfect results. The condition concerns retrieval relative to the benchmark’s expected evidence. A record from a fictional character’s bank can fail that test while making a true statement about the character. The scores therefore say more about distracting or incomplete evidence in this setup than about resistance to deliberate falsehoods.

The correct-retrieval figures give another view of the remaining difficulty. An answer can omit an anchor, express the evidence in different words, or fail the correctness evaluation even when the needed record is available. The score for the condition combines these possibilities. It neither isolates the generator’s choice among records nor treats evidence provision as the final measure of success. This is the reason to retain an answer evaluation alongside the retrieval metric.

Searching one or both memory types

The paper also varies which banks are available. It compares semantic memory alone, episodic memory alone, both types together, and both types with classification-based reranking. The figure breaks out performance by the type of memory associated with the question and reports correctness and anchor matching. This addresses a specific tradeoff created by a unified bank. A larger pool can supply evidence for more kinds of questions while also adding records that compete with the best match for a particular question.

The authors find that single-bank access leaves some questions poorly served, and that some questions associated with a missing bank can still be answered from the bank that remains. The construction provides a basis for such overlap. A semantic description can mention a shared activity, and a historical event or conversation can reveal a standing fact about a character. The originating record provides a reference for evaluation. Other records may contain clues or contain the same information in a different form.

Using both banks improves overall correctness and MAP in the comparison described by the authors. Some results within individual memory types are weaker when the banks are mixed than when the matching bank is available on its own. These observations can coexist because the overall evaluation covers both types of question. Providing broader coverage gives the system a chance on items that a single bank serves poorly. Mixing the candidates can also displace particularly clear evidence on questions a matching bank would have served well on its own. The paper reports that classification-based reranking improves performance for both memory types relative to mixed retrieval without that step.

This comparison supports the idea that the extra information and the extra competition come from the same design choice. Access to both types gives search more opportunities. Classification guides the ranking when that access also produces distracting candidates. The experiment concerns the configured memory banks and scoring procedure as a whole. It does not show how often a correct answer actually required the generator to combine facts from a semantic and an episodic record.

How a plausible answer goes wrong

The occupation question about Wang Wei puts the aggregate pattern into a form a reader can inspect. The reference answer identifies him as a cameraman. Without memory, gpt-3.5-turbo calls him a teacher. The response has the right form for the question and offers a definite occupation, but the memory bank gives a different fact.

In the case with incorrect retrieval, the system sees an exchange about Wang Wei’s successful collaboration on a film. It calls him an actor. The conversation makes the film industry relevant, yet the fact that someone collaborated on a production leaves their particular job open. The answer fills that gap with a role the dialogue does not establish.

The successful case supplies a description of Wang Wei’s relationship to a colleague in film production. The description explicitly gives his profession. The system answers with the occupation expected by the reference and includes the anchor. The figure gives the first two responses an anchor score of 0/1 and the response with the direct evidence 1/1. This example shows how a semantic entry can carry the precise answer even when an episodic entry appears topically close. It also illustrates the intended contribution of reranking. The classifier favors the kind of entry likely to establish a standing fact, while search still has to find the relationship description that actually contains it.

Limitations

Limits identified by the authors

The authors take the order of generation as a choice about how to simulate personal histories. Profiles precede relationships, relationships inform events, and events supply material for dialogues. They acknowledge that other construction procedures are possible and that their generation prompts could be improved. The order matters because later records inherit details from earlier ones. It helps maintain local consistency across entries and also carries forward assumptions already present in the profile, relationship, or event templates.

The paper identifies limited diversity in names and nationalities, as well as the effects of relatively uniform prompts. It notes that a generated incident may fit its internal story while failing to reflect the relevant period, culture, or work experience convincingly. The authors therefore place the dataset closer to simulated personal narratives and fictional settings than to a record of actual lives. The memory bank can adjudicate a claim about a fictional character because the authors specify what counts as evidence in that world. Plausibility and social representativeness require a different kind of evaluation.

The authors also restrict the scope of their comparison of answer generators. They test four open-source systems smaller than 10B and ChatGPT. The appendix describes resource limits and a reduced-precision inference setup for the locally run systems. The results characterize these systems, prompts, and banks. The paper leaves open how systems of other sizes or types would rank, and how much they would benefit from the same retrieval setup.

Finally, the authors flag uncertainty in using an automated evaluator for correctness and coherence. Those metrics summarize judgements made by gpt-3.5-turbo under the evaluation method they adopted. Human review is part of the dataset construction procedure. The paper gives no parallel human score for the response experiments that would establish how generally the automated judgements agree with readers. This is particularly relevant to the small changes in correctness between the two retrieval conditions. The exact-match anchor measure provides another view, with its own dependence on the annotated wording.

Limits visible in the experimental setup

The evaluation starts with a memory bank already populated. It tests whether a system can identify useful evidence and answer a question from it. The long-term histories are represented in the bank, and many episodes have dates and related conversations. This design leaves the ongoing management of that bank outside the main experiment. It does not measure when an assistant should save a new event, how it should reconcile competing accounts, or how it should handle an obsolete detail after a person’s circumstances change. Those questions concern how the available evidence evolves. PerLTQA’s pipeline primarily varies how available evidence is found and used.

The retrieval procedure also starts with a known character and uses that character’s bank. Some questions still require identifying another person within the character’s social circle, as the example about Liu Liang’s brother shows. An assistant that first had to identify whose history to search would face an additional decision. Similarly, the paper gives train, validation, and test item counts and identifies separate banks for characters, but the split description does not establish that the test questions belong to characters entirely held out from training. The classification and retrieval results support conclusions about the reported split. Generalization to unfamiliar characters under a character-disjoint split remains unverified.

The questions are generated from reference memories. This makes it possible to connect a test item to a particular record and check whether an answer recovers its evidence. It also shapes the distribution of questions. A question formulated after a record is selected may use concepts or wording close to that record. Questions posed independently by users could leave more information implicit, name people differently, or refer across several periods of their history. The benchmark includes cases with different memory types and related records, but it does not report performance for independently collected personal questions of that kind.

The memory-type distinction deserves a similar qualification. A question receives a broad semantic or episodic label in the classification task. The single-bank comparisons show that another bank can sometimes supply information about the same question. Neither a correct type prediction nor a matching anchor establishes that the system composed a chain of evidence across both banks. The introductory example makes the need for such composition easy to understand. The experimental sections do not give a separate score for questions verified to require both a relationship fact and an event or dialogue fact. Claims about the overall benefit of access to varied evidence are better supported than claims about the frequency of cross-record reasoning.

Anchor matching makes an important part of the evaluation inspectable. A reader can see which name, occupation, or other phrase the procedure expects to find. Literal matching can give a low score to a response that expresses the same fact with a different phrase. It can also credit a phrase embedded in an answer that misstates its relation to another person or to the event being asked about. The separate correctness measure addresses the wider response, subject to the evaluator’s own uncertainties. The scope of manual anchor verification and the absence of a clearly specified anchor-evaluation denominator by character also limit how precisely a reader can trace the anchor scores back to portions of the full dataset.

The answer comparisons report point scores for the tested configurations. They show a recurring direction of improvement when records are available and more variable changes when reranking is added. They give no estimated variation across repeat runs or alternative prompts for those changes. The fixed category and retrieval weights likewise show performance for the chosen combination. The paper establishes that the combination can help in its setting, with the size and stability of that contribution under other scoring choices left open.

What came after

The later papers cite PerLTQA from several points in a personal-memory system. Some treat the main problem as evaluation. Others focus on the decisions that produce the memory a retriever will eventually search. Their titles identify the direction of that work. The citation relationship alone leaves open whether a paper reused the dataset, adopted its scoring rule, or cited it as a precedent for testing long-term memory.

LongMemEval takes long-term interactive memory as the subject of a benchmark for chat assistants. It shares PerLTQA’s interest in evaluating what an assistant can recover when a response depends on prior information. The emphasis on interactive memory places the assistant’s use of a history at the center of the evaluation. PerLTQA gives a particular view of that issue through questions with linked records and checked answer details. The title of LongMemEval establishes its broader evaluation target, while the citation by itself gives no basis for attributing PerLTQA’s memory taxonomy or answer annotations to it.

From Recall to Forgetting brings forgetting into a benchmark for personalized agents. That extends the evaluation question from how prior material can be recovered to how both remembering and forgetting affect an agent’s behavior. PerLTQA tests retrieval and use within a populated personal bank. A benchmark framed around forgetting adds a question about the continued availability or influence of prior material. The precise conditions used to test forgetting and any reuse of PerLTQA records are unspecified.

Fine-Mem addresses memory management over a long horizon through fine-grained feedback alignment. This places feedback on memory management in the foreground. PerLTQA’s anchor measure gives detailed feedback about which expected pieces of evidence appear in a final answer. The later title points to similarly fine-grained feedback serving a management objective. It does not identify PerLTQA’s anchor measure as that feedback or specify which management decisions are supervised.

MemBuilder names long-term memory construction as the capability to be reinforced, using attributed dense rewards. Its focus is the production of a memory store that later steps can consult. The connection to PerLTQA is visible in the placement of that decision. PerLTQA constructs the store before evaluating search and answers, so its experiments can vary those later steps while holding the available records fixed. A construction method treats the quality of the stored material as something the system is itself learning to improve. The title gives the reinforcement approach, with its implementation and any use of PerLTQA left unspecified.

Learning How and What to Memorize describes a cognition-inspired, two-stage optimization for memory that evolves. Its title separates two decisions, how material should be memorized and what material is worth memorizing. PerLTQA also uses a distinction inspired by cognition, applying it to the kinds of evidence in a bank. The later work places that inspiration in an optimization procedure for an evolving store. A reader can trace a shared interest in the structure of memory without assuming that the later procedure inherits the semantic and episodic categories or the fixed-bank task.

EventWeave focuses on capturing core and supporting events in dialogue systems. It takes up the event side of the memory problem at a different level of detail. PerLTQA distinguishes an event account from the dialogue that draws on it, then asks a retriever to select records useful to an answer. EventWeave’s title makes distinctions among events themselves part of what a dialogue system captures. This directs attention to a decision that precedes ranking a memory for a question. The system first has to represent what happened and which other events provide the support needed to understand it.

Cite

Cite as Yiming Du, Hongru Wang, Zhengyi Zhao, Bin Liang, Baojun Wang, Wanjun Zhong, Zezhong Wang and Kam-Fai Wong. 2024. PerLTQA: A Personal Long-Term Memory Dataset for Memory Classification, Retrieval, and Fusion in Question Answering. Proceedings of the 10th SIGHAN Workshop on Chinese Language Processing (SIGHAN-10).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{du2024perltqa,
  title = {{PerLTQA: A Personal Long-Term Memory Dataset for Memory Classification, Retrieval, and Fusion in Question Answering}},
  author = {Yiming Du, Hongru Wang, Zhengyi Zhao, Bin Liang, Baojun Wang, Wanjun Zhong, Zezhong Wang and Kam-Fai Wong},
  booktitle = {Proceedings of the 10th SIGHAN Workshop on Chinese Language Processing (SIGHAN-10)},
  year = {2024},
  url = {https://aclanthology.org/2024.sighan-1.18/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/du-2024-perltqa-personal-long-term-memory/