{"id":{"repo_id":"nanyang","oai_identifier":"oai:dr.ntu.edu.sg:10356/210517"},"canonical_url":"https://search.ndltd.org/etd/nanyang/oai:dr.ntu.edu.sg:10356/210517","repository":{"repo_id":"nanyang","name":"Nanyang Technological University","base_url":"https://dr.ntu.edu.sg/oai/request"},"display":{"title":"A feedback-updatable framework for hierarchical memory retrieval in long conversations","abstract":"This dissertation presents the design and implementation of a feedback-updatable framework for hierarchical memory retrieval in long conversations. The framework addresses the core challenges of maintaining, retrieving, and updating long-term conversational context efficiently while avoiding the loss of factual details and minimizing inference cost. The proposed system organises dialogue histories into four hierarchical levels (L0–L3), ranging from global full-context summaries to fine-grained message representations. Each level is stored in both a relational database—preserving lineage and metadata—and a lightweight vector store optimised for semantic retrieval. Queries follow a top-down recursive search path, beginning with coarse-level L0 recall and progressively drilling down through time-based (L1) and session- or topic-based (L2) summaries to the most relevant dialogue or message units (L3). This structure enables precise evidence localisation with minimal token consumption. A feedback mechanism empowers users to inspect, edit, or pin memory entries through a memory sandbox, while consistent propagation rules ensure that updates at any level are synchronised upward without compromising raw historical fidelity. The framework also integrates an inner-thought reasoning process that dynamically decides when to employ function calls for lineage resolution or persona updates, balancing reasoning accuracy and computational efficiency. Experimental evaluations demonstrate that this architecture substantially reduces retrieval latency and token overhead, while improving contextual coherence, factual consistency, and long-term adaptability compared to baseline retrieval-augmented generation systems.","abstract_html":"This dissertation presents the design and implementation of a feedback-updatable framework for hierarchical memory retrieval in long conversations. The framework addresses the core challenges of maintaining, retrieving, and updating long-term conversational context efficiently while avoiding the loss of factual details and minimizing inference cost. The proposed system organises dialogue histories into four hierarchical levels (L0–L3), ranging from global full-context summaries to fine-grained message representations. Each level is stored in both a relational database—preserving lineage and metadata—and a lightweight vector store optimised for semantic retrieval. Queries follow a top-down recursive search path, beginning with coarse-level L0 recall and progressively drilling down through time-based (L1) and session- or topic-based (L2) summaries to the most relevant dialogue or message units (L3). This structure enables precise evidence localisation with minimal token consumption. A feedback mechanism empowers users to inspect, edit, or pin memory entries through a memory sandbox, while consistent propagation rules ensure that updates at any level are synchronised upward without compromising raw historical fidelity. The framework also integrates an inner-thought reasoning process that dynamically decides when to employ function calls for lineage resolution or persona updates, balancing reasoning accuracy and computational efficiency. Experimental evaluations demonstrate that this architecture substantially reduces retrieval latency and token overhead, while improving contextual coherence, factual consistency, and long-term adaptability compared to baseline retrieval-augmented generation systems.","abstract_has_math":false,"creators":["Che, Taifu"],"institution":"Nanyang Technological University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":"School of Electrical and Electronic Engineering","contributors":[],"advisors":["Tan Yap Peng"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025","date_published":"2025","updated_at":"2026-11-27T08:07:38Z","subjects":["Computer and Information Science"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10356/210517","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10356/210517","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Ananyang%3Aoai%3Adr.ntu.edu.sg%3A10356%2F210517","prefix":"oai_dc"},"source_record":{"url":"https://dr.ntu.edu.sg/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.ntu.edu.sg%3A10356%2F210517","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.school","label":"School","values":["School of Electrical and Electronic Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Tan Yap Peng"]},{"key":"dc:creator","label":"Author","values":["Che, Taifu"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-03-06T06:27:48Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-03-06T06:27:48Z"]},{"key":"dc:date.issued","label":"Date","values":["2025"]},{"key":"dc:publisher","label":"Institution","values":["Nanyang Technological University"]},{"key":"dc:type","label":"Dc Type","values":["Thesis-Master by Coursework"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer and Information Science"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Hierarchical memory retrieval","Feedback-updatable framework","Long conversations","Relational database","Vector store","Multi-level compression","Conver sational agent","Memory sandbox"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10356/210517"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"5200c939-fa85-4365-9fdd-7544ea5dacea\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>A feedback-updatable framework for hierarchical memory retrieval in long conversations</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2025</PublicationDate> <Authors> <Author> <DisplayName>Che, Taifu</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Computer and Information Science</Keyword> <Abstract>This dissertation presents the design and implementation of a feedback-updatable framework for hierarchical memory retrieval in long conversations. The framework addresses the core challenges of maintaining, retrieving, and updating long-term conversational context efficiently while avoiding the loss of factual details and minimizing inference cost. The proposed system organises dialogue histories into four hierarchical levels (L0–L3), ranging from global full-context summaries to fine-grained message representations. Each level is stored in both a relational database—preserving lineage and metadata—and a lightweight vector store optimised for semantic retrieval. Queries follow a top-down recursive search path, beginning with coarse-level L0 recall and progressively drilling down through time-based (L1) and session- or topic-based (L2) summaries to the most relevant dialogue or message units (L3). This structure enables precise evidence localisation with minimal token consumption. A feedback mechanism empowers users to inspect, edit, or pin memory entries through a memory sandbox, while consistent propagation rules ensure that updates at any level are synchronised upward without compromising raw historical fidelity. The framework also integrates an inner-thought reasoning process that dynamically decides when to employ function calls for lineage resolution or persona updates, balancing reasoning accuracy and computational efficiency. Experimental evaluations demonstrate that this architecture substantially reduces retrieval latency and token overhead, while improving contextual coherence, factual consistency, and long-term adaptability compared to baseline retrieval-augmented generation systems.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"dc:description.abstract","label":"Abstract","values":["This dissertation presents the design and implementation of a feedback-updatable framework for hierarchical memory retrieval in long conversations. The framework addresses the core challenges of maintaining, retrieving, and updating long-term conversational context efficiently while avoiding the loss of factual details and minimizing inference cost. The proposed system organises dialogue histories into four hierarchical levels (L0–L3), ranging from global full-context summaries to fine-grained message representations. Each level is stored in both a relational database—preserving lineage and metadata—and a lightweight vector store optimised for semantic retrieval. Queries follow a top-down recursive search path, beginning with coarse-level L0 recall and progressively drilling down through time-based (L1) and session- or topic-based (L2) summaries to the most relevant dialogue or message units (L3). This structure enables precise evidence localisation with minimal token consumption. A feedback mechanism empowers users to inspect, edit, or pin memory entries through a memory sandbox, while consistent propagation rules ensure that updates at any level are synchronised upward without compromising raw historical fidelity. The framework also integrates an inner-thought reasoning process that dynamically decides when to employ function calls for lineage resolution or persona updates, balancing reasoning accuracy and computational efficiency. Experimental evaluations demonstrate that this architecture substantially reduces retrieval latency and token overhead, while improving contextual coherence, factual consistency, and long-term adaptability compared to baseline retrieval-augmented generation systems."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master's degree"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["A feedback-updatable framework for hierarchical memory retrieval in long conversations"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"5200c939-fa85-4365-9fdd-7544ea5dacea\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>A feedback-updatable framework for hierarchical memory retrieval in long conversations</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2025</PublicationDate> <Authors> <Author> <DisplayName>Che, Taifu</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Computer and Information Science</Keyword> <Abstract>This dissertation presents the design and implementation of a feedback-updatable framework for hierarchical memory retrieval in long conversations. The framework addresses the core challenges of maintaining, retrieving, and updating long-term conversational context efficiently while avoiding the loss of factual details and minimizing inference cost. The proposed system organises dialogue histories into four hierarchical levels (L0–L3), ranging from global full-context summaries to fine-grained message representations. Each level is stored in both a relational database—preserving lineage and metadata—and a lightweight vector store optimised for semantic retrieval. Queries follow a top-down recursive search path, beginning with coarse-level L0 recall and progressively drilling down through time-based (L1) and session- or topic-based (L2) summaries to the most relevant dialogue or message units (L3). This structure enables precise evidence localisation with minimal token consumption. A feedback mechanism empowers users to inspect, edit, or pin memory entries through a memory sandbox, while consistent propagation rules ensure that updates at any level are synchronised upward without compromising raw historical fidelity. The framework also integrates an inner-thought reasoning process that dynamically decides when to employ function calls for lineage resolution or persona updates, balancing reasoning accuracy and computational efficiency. Experimental evaluations demonstrate that this architecture substantially reduces retrieval latency and token overhead, while improving contextual coherence, factual consistency, and long-term adaptability compared to baseline retrieval-augmented generation systems.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"dc:contributor.school":["School of Electrical and Electronic Engineering"],"dc:contributor.supervisor":["Tan Yap Peng"],"dc:creator":["Che, Taifu"],"dc:date.accessioned":["2026-03-06T06:27:48Z"],"dc:date.available":["2026-03-06T06:27:48Z"],"dc:date.issued":["2025"],"dc:description.abstract":["This dissertation presents the design and implementation of a feedback-updatable framework for hierarchical memory retrieval in long conversations. The framework addresses the core challenges of maintaining, retrieving, and updating long-term conversational context efficiently while avoiding the loss of factual details and minimizing inference cost. The proposed system organises dialogue histories into four hierarchical levels (L0–L3), ranging from global full-context summaries to fine-grained message representations. Each level is stored in both a relational database—preserving lineage and metadata—and a lightweight vector store optimised for semantic retrieval. Queries follow a top-down recursive search path, beginning with coarse-level L0 recall and progressively drilling down through time-based (L1) and session- or topic-based (L2) summaries to the most relevant dialogue or message units (L3). This structure enables precise evidence localisation with minimal token consumption. A feedback mechanism empowers users to inspect, edit, or pin memory entries through a memory sandbox, while consistent propagation rules ensure that updates at any level are synchronised upward without compromising raw historical fidelity. The framework also integrates an inner-thought reasoning process that dynamically decides when to employ function calls for lineage resolution or persona updates, balancing reasoning accuracy and computational efficiency. Experimental evaluations demonstrate that this architecture substantially reduces retrieval latency and token overhead, while improving contextual coherence, factual consistency, and long-term adaptability compared to baseline retrieval-augmented generation systems."],"dc:description.degree":["Master's degree"],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10356/210517"],"dc:language.iso":["en"],"dc:publisher":["Nanyang Technological University"],"dc:subject":["Computer and Information Science"],"dc:subject.keyword":["Hierarchical memory retrieval","Feedback-updatable framework","Long conversations","Relational database","Vector store","Multi-level compression","Conver sational agent","Memory sandbox"],"dc:title":["A feedback-updatable framework for hierarchical memory retrieval in long conversations"],"dc:type":["Thesis-Master by Coursework"],"dspace:entity.type":["Publication"]},"updated_at":"2026-11-27T08:07:38Z"}