Handling Long Sequences in BERT for Question Answering Systems

The Question Answering System is an important component of Natural Language Processing applications, allowing for efficient information processing and improving user experience. Despite the fact that BERT has provided additional work in QA tasks, the fact that it only supports up to 512 tokens has reduced its effectiveness in large-scale scenarios. This study addresses the problem by introducing a new algorithm that integrates hierarchical and dynamic memory networks with BERT. The method used to collect broad contexts into chunks that may be used for independent research, ensuring that no important information is missing. The dynamic memory module integrates and stores information in real time throughout the system, allowing for comprehensive context understanding. Depending on the SQuAD v2.0 dataset, the model achieved an Exact Match score of 78.10% and an F1 score of 87.27%. The F1-score value of standard BERT with a value of 81.9% increased to 87.27% with this approach. This research investigated the potential of structured and memory networks to overcome the weaknesses of BERT, provide solutions, and adapt to QA tasks.

Authors

Institutions

Publication Details

Journal
Eduvest - Journal Of Universal Studies
Published
2025-08-08
DOI
https://doi.org/10.59188/eduvest.v5i8.51006
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Handling Long Sequences in BERT for Question Answering Systems

Hasanul Fahmi, Aqsal Harris Pratama
Eduvest - Journal Of Universal Studies
Topic Modeling
article

Handling Long Sequences in BERT for Question Answering Systems

Hasanul Fahmi, Aqsal Harris Pratama
article en

Abstract

The Question Answering System is an important component of Natural Language Processing applications, allowing for efficient information processing and improving user experience. Despite the fact that BERT has provided additional work in QA tasks, the fact that it only supports up to 512 tokens has reduced its effectiveness in large-scale scenarios. This study addresses the problem by introducing a new algorithm that integrates hierarchical and dynamic memory networks with BERT. The method used to collect broad contexts into chunks that may be used for independent research, ensuring that no important information is missing. The dynamic memory module integrates and stores information in real time throughout the system, allowing for comprehensive context understanding. Depending on the SQuAD v2.0 dataset, the model achieved an Exact Match score of 78.10% and an F1 score of 87.27%. The F1-score value of standard BERT with a value of 81.9% increased to 87.27% with this approach. This research investigated the potential of structured and memory networks to overcome the weaknesses of BERT, provide solutions, and adapt to QA tasks.

Eduvest - Journal Of Universal StudiesVol. 5(8)
President University (ID)
Quality Education
Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Handling Long Sequences in BERT for Question Answering Systems — Hasanul Fahmi, Aqsal Harris Pratama · Eduvest - Journal Of Universal Studies (2025) | TGRS Research Map | TGRS