Peer Review History

Original SubmissionApril 20, 2025
Decision Letter - Hung Thanh Bui, Editor

PONE-D-25-21383A local-global Transformer-based model for Person Re-IdentificationPLOS ONE

Dear Dr. Xu,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Jul 13 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.
  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Hung Thanh Bui, Ph.D

Academic Editor

PLOS ONE

Journal requirements: 

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf.

2. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

3. Thank you for stating the following financial disclosure:

 [This study was funded by Jilin Provincial Department of science and technology (YDZJ202401376ZYTS).]. 

Please state what role the funders took in the study.  If the funders had no role, please state: ""The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.""

If this statement is not correct you must amend it as needed.

Please include this amended Role of Funder statement in your cover letter; we will change the online submission form on your behalf.

4. Thank you for stating the following in the Acknowledgments Section of your manuscript:

[The authors are most grateful to the referees and the editors for their constructive suggestions. This study was funded by Jilin Provincial Department of science and technology (YDZJ202401376ZYTS).]

We note that you have provided funding information that is not currently declared in your Funding Statement. However, funding information should not appear in the Acknowledgments section or other areas of your manuscript. We will only publish funding information present in the Funding Statement section of the online submission form.

Please remove any funding-related text from the manuscript and let us know how you would like to update your Funding Statement. Currently, your Funding Statement reads as follows:

  [This study was funded by Jilin Provincial Department of science and technology (YDZJ202401376ZYTS).]. 

Please include your amended statements within your cover letter; we will change the online submission form on your behalf.

5. Thank you for uploading your study's underlying data set. Unfortunately, the repository you have noted in your Data Availability statement does not qualify as an acceptable data repository according to PLOS's standards.

At this time, please upload the minimal data set necessary to replicate your study's findings to a stable, public repository (such as figshare or Dryad) and provide us with the relevant URLs, DOIs, or accession numbers that may be used to access these data. For a list of recommended repositories and additional information on PLOS standards for data deposition, please see https://journals.plos.org/plosone/s/recommended-repositories.

6. We are unable to open your Figure file [Fig1.eps, Fig2.eps, Fig3.eps and Fig4.eps ]. Please kindly revise as necessary and re-upload.

Additional Editor Comments:

This paper presented a local-global Transformer-based model for Person Re-Identification. They did experiments on Market-1501 and DukeMTMC-reID datasets and analyzed the result. There are some points the authors should take care of as follows:

- The author should explain why they used local and global Transformer-based model for Person Re-Identification.

- Why did they split the feature map into smaller batches based on size and stride?

- Did they evaluate local and global features separately?

- What is important of each feature: local and global?

- Why did they said that Relative position encoding helps the model understand the relative positional relationships between various tokens?

- What is their improvement on each component?

- What reason did the SAN [22] get the best result in Market-1501?

- Why did their proposed method get the best result in others?

- They should analyze the result in detail.

- What is limitation of their proposed model and why?

- They should do more experiments and compare with advanced methods in recent year

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Partly

Reviewer #3: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: No

Reviewer #3: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: No

Reviewer #3: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: - It is needed to provide the novelty of this work

- It is suggested to conduct statistical tests for the proposed system. For example, see Section 4.5 in paper [a] and the author could cite this paper for reference.

[a] Biswas, S., Mostafiz, R., Uddin, M.S. and Paul, B.K., 2024. XAI-FusionNet: Diabetic foot ulcer detection based on multi-scale feature fusion with explainable artificial intelligence. Heliyon, 10(10), p.e31228.

- please site the following papers

[1] https://doi.org/10.1016/j.ibmed.2023.100128

[2] https://doi.org/10.1007/s44174-024-00165-5

[3] https://doi.org/10.1007/s10772-024-10152-2

Reviewer #2: I will recommend a major revision to reorganize the revised paper:

1. It's a well written introductory section. However, in the later section, I cannot see a similar trend.

2. There are some clear constraints in the introductory section on whether a mixed-method strategy can be used. I would also recommend that the manuscript be focused on current shortcomings and differences.

3. The scope and importance of research is not adequately clarified. The simple reader does not understand why this subject is important and what is the significance of new research results on such real-world applications, as they appear in our everyday lives.

4. There is no contrast of the latest approach introduced to other current methods in the results section (unless I have ignored).

Reviewer #3: This manuscript presents a Transformer-based framework for person re-identification (ReID), addressing the common weakness of global attention mechanisms by incorporating a Local Attention (LA) Module augmented with relative position encoding. The work addresses a relevant and timely challenge in computer vision. The manuscript is generally well-structured and readable, and the experimental results support the main claims. However, there are some concerns regarding novelty, comparative depth, and clarity in certain methodological aspects that need to be addressed before publication.

1. The proposed model is essentially an extension of TransReID with local attention and relative positional encoding. Similar ideas have been extensively explored in prior works (e.g., Swin Transformer, LocalViT, Neighborhood Attention Transformer). The manuscript should more clearly explain what distinguishes the proposed LA Module from these existing approaches. The contribution needs to be emphasized more explicitly in terms of architectural innovation or theoretical insight.

2. The integration of the LA Module and relative positional encoding is described in detail. However, the explanation of mathematical symbols and model flow could be made clearer, especially for readers unfamiliar with transformer architectures. The rationale for key design choices (e.g., partition size of 2×2 and stride of 4×4) should be explained beyond empirical observation.

3. The performance improvements over the TransReID baseline are relatively small (e.g., +0.8% mAP and +0.7% Rank-1). While the gains are consistent, they may not be compelling without stronger justification or broader impact.

4. Table 5 is incorrectly referenced as “Table ??” multiple times in the manuscript. Please revise table references and ensure all tables are properly labeled and formatted.

5. Why do certain module combinations decrease performance? Are there any trade-offs in computation time or memory usage?

6. Code availability is not mentioned. For transparency and reproducibility, the authors should consider providing source code or a link to a repository.

7. Some minor grammatical issues and awkward phrasings exist and should be revised.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Khan Md Hasib

Reviewer #3: Yes: Xiaogang Guo

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

Attachments
Attachment
Submitted filename: Reviewer Attachment PONE-D-25-21383.docx
Revision 1

Response to Reviewers for Manuscript ID: PONE-D-25-21383

Dear Editors and Reviewers:

Thank you for your letter and for the reviewers’ comments concerning our manuscript entitled “A local-global Transformer-based model for Person Re-Identification”.Those comments are all valuable and very helpful for revising and improving our paper, as well as the important guiding significance to our researches. We have studied comments carefully and have made correction which we hope meet with approval.

Revised portion are marked in yellow in the paper. The main corrections in the paper and the responds to the reviewer’s comments are as flowing:

Comment: "The author should explain why they used local and global Transformer-based model for Person Re-Identification."

Response: Combining local and global Transformer-based models for Person Re-Identification is motivated by two key considerations. On one hand, Transformer-based models primarily focus on the global context of an image, often overlooking finer local details. This limitation prevents them from fully leveraging all available information within the image. Therefore, augmenting their inherent global attention capability with a complementary focus on local regions facilitates a more comprehensive extraction of image features. On the other hand, images in Person Re-Identification tasks depict people, where localized details on the human body are often critical for determining identity. Examples include distinctive elements such as a person's hat or the specific patterns on their clothing. Consequently, in addition to capturing global features, explicitly attending to local characteristics is highly important during feature extraction.

Comment: "Why did they split the feature map into smaller batches based on size and stride?"

Response: Splitting the feature map into smaller batches based on size and stride is performed to extract finer-grained image features. The rationale for using both size and stride is that partitioning based solely on size risks dividing a coherent, discriminative detail (such as a clothing pattern) across multiple patches. This fragmentation could compromise the discriminative power of the extracted features. In contrast, the combined use of size and stride significantly increases the likelihood that intact local patterns reside within a single patch, thereby preserving their integrity and enhancing feature extraction effectiveness.

Comment: "Did they evaluate local and global features separately?"

Response: We did not evaluate local and global features separately for the following reasons: Solely extracting global features represents an established practice in many existing models, and its effectiveness has been empirically validated for person re-identification. Conversely, relying exclusively on local features proves inadequate for robust person re-identification, as localized regions often lack sufficient contextual information for reliable identity matching. Therefore, only by integrating both global and local representations can the model comprehensively capture discriminative cues at multiple scales, leading to more effective and robust performance.

Comment: "What is important of each feature: local and global?"

Response: The importance of global features lies in their role as fundamental distinguishing characteristics between different individuals. Only by extracting these features can the model effectively differentiate distinct identities.Conversely, the significance of local features stems from their ability to capture fine-grained details on a person. These localized cues critically enhance discrimination among visually similar individuals, thereby boosting the accuracy of person re-identification.

Comment: "Why did they said that Relative position encoding helps the model understand the relative positional relationships between various tokens?"

Response: Relative position encoding provides the model with explicit information about the relative distances and positional relationships between all token pairs. This enables the model to effectively capture and utilize the contextual relationships between tokens based on their relative positions during feature learning.

Comment: "What is their improvement on each component?"

Response: Adding local attention blocks to capture fine-grained regional details, addressing the limitation of global-only attention; Incorporating relative position encoding in attention computation to explicitly model spatial relationships between tokens.

Comment: "What reason did the SAN [22] get the best result in Market-1501?"

Response: The SAN model addresses partial occlusion scenarios, a capability our approach does not implement. This results in its marginally superior Rank-1 accuracy. Nevertheless, our modeling of local features enables higher mAP performance, demonstrating stronger holistic matching robustness.

Comment: "Why did their proposed method get the best result in others?"

Response: By incorporating local feature learning into our framework, our model demonstrates superior performance across key metrics compared to all baseline methods. Experimental results show that this focus on fine-grained details enhances discriminative capability.

Comment: "They should analyze the result in detail."

Response: We have thoroughly expanded our analysis of the experimental results in the revised manuscript, with detailed discussions now incorporated into the Comparison with SOTA Methods section.

Comment: "What is limitation of their proposed model and why?"

Response: The primary limitation of our proposed model lies in its increased computational complexity and longer training time compared to baseline methods, resulting from the incorporation of local attention modules for fine-grained feature extraction.

Comment: "They should do more experiments and compare with advanced methods in recent year."

Response: Our current experiments already provide sufficient validation, with comparisons including recent state-of-the-art methods. The results demonstrate our approach's competitive advantages, as detailed in Section Comparison with SOTA Methods.

Response to Reviewer

Reviewer #1, Comment #1: " It is needed to provide the novelty of this work."

Response: Our work introduces a novel global-local Transformer framework for person re-identification, advancing prior arts through two key innovations: A Local Attention (LA) module that explicitly captures fine-grained discriminative features overlooked by global-only approaches, and the integration of relative position encoding to enhance the comprehension of the spatial relationships between different tokens, aiding in more precise processing of tokens This combined approach—the first to synergize local attention with relative position encoding in ReID—achieves state-of-the-art performance on standard benchmarks (Market-1501: 89.8% mAP, DukeMTMC-reID: 82.3% mAP).

Reviewer #1, Comment #2: " It is suggested to conduct statistical tests for the proposed system. For example, see Section 4.5 in paper.

[a] and the author could cite this paper for reference.[a] Biswas, S., Mostafiz, R., Uddin, M.S. and Paul, B.K., 2024. XAI-FusionNet: Diabetic foot ulcer detection based on multi-scale feature fusion with explainable artificial intelligence. Heliyon, 10(10), p.e31228."

Response: We appreciate the reviewer's suggestion regarding statistical testing. In response, we have conducted additional repeated experiments to strengthen the robustness evaluation of our proposed system. Specifically, we performed 10 independent runs of the key experiments and calculated the variance of the results for the primary performance metrics. This provides a measure of the consistency and stability of our system's outputs. Furthermore, we have now appropriately cited the paper by Biswas et al. (2024) in the revised manuscript as a relevant reference in the field. These additions address the need for enhanced statistical reliability assessment and context within the literature.

Reviewer #1, Comment #3: " please site the following papers

[1] https://doi.org/10.1016/j.ibmed.2023.100128

[2] https://doi.org/10.1007/s44174-024-00165-5

[3] https://doi.org/10.1007/s10772-024-10152-2"

Response: We thank the reviewer for suggesting these relevant papers. All three references ([1] DOI:10.1016/j.ibmed.2023.100128, [2] DOI:10.1007/s44174-024-00165-5, [3] DOI:10.1007/s10772-024-10152-2) have now been appropriately cited in the revised manuscript.

Reviewer #2, Comment #1: "It's a well written introductory section. However, in the later section, I cannot see a similar trend."

Response: We sincerely appreciate the reviewer’s positive feedback on our introduction and take note of the observed stylistic inconsistency in later sections. To ensure cohesive narrative flow throughout the manuscript, we have carefully revised subsequent sections to align with the introduction’s clarity and structure. This involved standardizing terminology, strengthening transitional logic between key ideas, and applying consistent framing for technical concepts. The improved version now maintains a unified voice while preserving analytical rigor.

Reviewer #2, Comment #2: "There are some clear constraints in the introductory section on whether a mixed-method strategy can be used. I would also recommend that the manuscript be focused on current shortcomings and differences."

Response: We thank the reviewer for this critical observation. In the revised introduction, we explicitly address the inherent constraints of hybrid CNN-Transformer methodologies. This addition clarifies our rejection of hybrid designs while sharpening focus on current shortcomings and key methodological differences.

Reviewer #2, Comment #3: "The scope and importance of research is not adequately clarified. The simple reader does not understand why this subject is important and what is the significance of new research results on such real-world applications, as they appear in our everyday lives."

Response: In the revised manuscript, we have enhanced the introduction to explicitly emphasize the practical importance of person ReID technology. Specifically, we now discuss how robust ReID systems directly benefit: Enabling efficient tracking of persons-of-interest across camera networks in emergencies. Improving urban mobility analysis while addressing privacy concerns through anonymized matching.These additions make the societal value and technological impact of our global-local framework immediately clear to readers across disciplines. The connection between our technical innovations and these use cases is now systematically highlighted in introduction sections.

Reviewer #2, Comment #4: "There is no contrast of the latest approach introduced to other current methods in the results section (unless I have ignored)."

Response: Our Comparison with SOTA Methods section already provides comprehensive contrasts between our approach and current state-of-the-art techniques.

Reviewer #3, Comment #1: "The proposed model is essentially an extension of TransReID with local attention and relative positional encoding. Similar ideas have been extensively explored in prior works (e.g., Swin Transformer, LocalViT, Neighborhood Attention Transformer). The manuscript should more clearly explain what distinguishes the proposed LA Module from these existing approaches. The contribution needs to be emphasized more explicitly in terms of architectural innovation or theoretical insight."

Response: We acknowledge the need to clarify our methodological distinctions. Unlike Swin Transformer’s sliding windows, LocalViT’s depth-wise convolutions, or Neighborhood Attention’s query-centered windows, our approach uniquely employs adaptive multi-scale partitioning based on size and stride parameters.

Reviewer #3, Comment #2: "The integration of the LA Module and relative positional encoding is described in detail. However, the explanation of mathematical symbols and model flow could be made clearer, especially for readers unfamiliar with transformer architectures. The rationale for key design choices (e.g., partition size of 2×2 and stride of 4×4) should be explained beyond empirical observation."

Response:  In the revised manuscript, we have enhanced the description of the LA Module and relative positional encoding. a theoretical justification for the 2×2 partition size and 4×4 stride selection is that these parameters optimally align with the scale distribution of discriminative body parts.

Reviewer #3, Comment #3: "The performance improvements over the TransReID baseline are relatively small (e.g., +0.8% mAP and +0.7% Rank-1). While the gains are consistent, they may not be compelling without stronger justification or broader impact."

Response: While absolute gains appear modest, the consistent improvements validate a critical paradigm: Local attention mechanisms intrinsically enhance pure Transformers for person ReID. It establishes a promising direction for future optimizations.

Reviewer #3, Comment #4: "Table 5 is incorrectly referenced as “Table ??” multiple times in the manuscript. Please revise table references and ensure all tables are properly labeled and formatted."

Response: We sincerely apologize for the referencing errors in the original manuscript. All incorrect instances of "Table ??" have been systematically corrected to "Table 5" throughout the text, and we have conducted a full cross-check of all table/figure references to ensure proper labeling and formatting consistency.

Reviewer #3, Comment #5: "Why do certain module combinations decrease performance? Are there any trade-offs in computation time or memory usage?"

Response: We attribute performance decreases in certain module combinations primarily to feature conflicts arising from incompatible receptive fields. To mitigate computation and memory costs, our design intentionally adopts 2×2 local attention blocks paired with 4×4 strides, reducing redundant processing while maintaining efficiency.

Reviewer #3, Comment #6: "Code availability is not mentioned. For transparency and reproducibility, the authors should consider providing source code or a link to a repository."

Response: The complete source code for our model, including implementations of the Local Attention Module and relative position encoding, has been made publicly available under the on GitHub:[Repository Link: https://github.com/xukeeeee/A-local-global-Transformer-based-model-for-Person-Re-Identification]

Reviewer #3, Comment #7: "Some minor grammatical issues and awkward phrasings exist and should be revised."

Response: We have carefully revised the manuscript to address grammatical issues and improve overall clarity through professional proofreading and systematic editing. All changes maintain the technical precision of the original content while enhancing readability and adherence to academic writing standards.

We sincerely appreciate the reviewers’ time and constructive comments, which have significantly improved the quality of our manuscript. All concerns have been carefully addressed in the revised version. We believe the paper now meets the journal’s standards and hope it is deemed suitable for publication.

The source code will be made publicly available upon acceptance (GitHub link: https://github.com/xukeeeee/A-local-global-Transformer-based-model-for-Person-Re-Identification).

Attachments
Attachment
Submitted filename: Response to Reviewers.docx
Decision Letter - Hung Thanh Bui, Editor

PONE-D-25-21383R1A local-global Transformer-based model for Person Re-IdentificationPLOS ONE

Dear Dr. Xu,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Sep 03 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.
  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Hung Thanh Bui, Ph.D

Academic Editor

PLOS ONE

Journal Requirements:

If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise. 

Please review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript. If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

Additional Editor Comments:

They should include their short answers for my comments from 1 to 10 in the revision and show where they do that when they reply.

There are many parameters in their model, they should explain how they chose these parameters.

They said they didn’t evaluate local and global features separately. By their opinion, what is the most important feature and why?

They should visualize how attention effects to their result.

It’s better if they show some best and worst results and analyze these cases in detail.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #2: All comments have been addressed

Reviewer #3: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #2: Yes

Reviewer #3: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #2: Yes

Reviewer #3: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #2: Yes

Reviewer #3: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #2: Yes

Reviewer #3: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #2: The authors have responded to each and every single comment. This particular version of the paper ought to be appropriate for acceptance.

Reviewer #3: The manuscript has improved significantly, especially in language quality and structural clarity. Major technical concerns have been partially addressed, but the novelty claim remains. Consider adding more specific technical details, such as a structural diagram of the module, a clearer explanation of the processing flow, or whether a dynamic mechanism is employed to adapt to variations in image regions. Additionally, include a brief analysis of why this particular partitioning strategy is especially effective for person ReID, even if only a concise rationale is provided.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #2: No

Reviewer #3: Yes: Xiaogang Guo

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

Revision 2

Dear Editors and Reviewers:

We sincerely appreciate the valuable feedback provided by the Editor and reviewers on our manuscript entitled “A local-global Transformer-based model for Person Re-Identification.” These suggestions have been instrumental in further refining our paper and have provided constructive direction for our ongoing research. We have thoroughly addressed all the feedback and implemented corresponding revisions in the manuscript, with the hope that these adjustments meet your expectations.

Revised portion are marked in yellow in the paper. The main corrections in the paper and the responds to the reviewer’s comments are as flowing:

Comment: "There are many parameters in their model, they should explain how they chose these parameters. "

Response: We have added detailed explanations regarding the parameter selection process in our manuscript. The newly added content has been highlighted in yellow for easy reference.

Comment: "They said they didn’t evaluate local and global features separately.By their opinion, what is the most important feature and why? "

Response: We maintain that the most critical aspect is not the local or global features per se, but rather the mechanism for their synergistic integration. As indicated in our previous response, relying exclusively on local features proves inadequate for robust person re-identification, as localized regions often lack sufficient contextual information for reliable identity matching. Therefore, evaluating local features in isolation is not meaningful. it is only through their combination with global features that the model can effectively accomplish person re-identification tasks.

Comment: "They should visualize how attention effects to their result."

Response: Thank you for this suggestion. While we acknowledge that attention visualization would provide valuable insights, technical constraints prevent us from adding these visualizations to the current study. Instead, we have added a new subsection titled "Qualitative Analysis" in the Experiments section, which provides detailed case studies of best and worst performance scenarios. Through visual examples and in-depth discussion, offering concrete insights into the factors that influence performance.

Comment: " It’s better if they show some best and worst results and analyze these cases in detail."

Response: Thank you for the suggestion. We have added a new subsection titled "Qualitative Analysis" within the Experiments section, which provides detailed case studies of both best and worst-case results. This subsection includes visual examples and an in-depth discussion of the factors influencing performance, offering valuable insights into the model's capabilities and limitations.

We sincerely appreciate the Editors’ time and constructive comments, which have significantly improved the quality of our manuscript. We are particularly grateful for the Editor's guidance regarding citation practices, and we have carefully reviewed and removed the references suggested by the reviewer that were not directly relevant to our work. All concerns have been thoroughly addressed in the revised version. We believe the paper now meets the journal’s standards and hope it is deemed suitable for publication.

The source code will be made publicly available upon acceptance (GitHub link: https://github.com/xukeeeee/A-local-global-Transformer-based-model-for-Person-Re-Identification).

Attachments
Attachment
Submitted filename: Response_to_Reviewers_auresp_2.docx
Decision Letter - Hung Thanh Bui, Editor

A local-global Transformer-based model for Person Re-Identification

PONE-D-25-21383R2

Dear Dr. Xu,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager® and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact billing support.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Hung Thanh Bui, Ph.D

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

All comments are addressed.

The paper is good for publishing.

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #2: All comments have been addressed

Reviewer #3: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #2: Yes

Reviewer #3: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #2: Yes

Reviewer #3: Yes

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #2: Yes

Reviewer #3: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #2: Yes

Reviewer #3: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #2: All the reviewer comments and editorial suggestions have been thoroughly addressed by the authors in the revised manuscript. The revisions significantly enhance the clarity, methodological rigor, and overall presentation of the paper. I am satisfied that all concerns have been adequately resolved, and therefore, I recommend that the manuscript be **accepted for publication in PLOS ONE** without any further changes.

Reviewer #3: The authors have effectively addressed all previous comments and significantly improved the manuscript. The manuscript is technically sound and makes a valuable contribution.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #2: No

Reviewer #3: Yes: Xiaogang Guo

**********

Formally Accepted
Acceptance Letter - Hung Thanh Bui, Editor

PONE-D-25-21383R2

PLOS ONE

Dear Dr. Xu,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

You will receive further instructions from the production team, including instructions on how to review your proof when it is ready. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few days to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

You will receive an invoice from PLOS for your publication fee after your manuscript has reached the completed accept phase. If you receive an email requesting payment before acceptance or for any other service, this may be a phishing scheme. Learn how to identify phishing emails and protect your accounts at https://explore.plos.org/phishing.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Hung Thanh Bui

Academic Editor

PLOS ONE

Open letter on the publication of peer review reports

PLOS recognizes the benefits of transparency in the peer review process. Therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. Reviewers remain anonymous, unless they choose to reveal their names.

We encourage other journals to join us in this initiative. We hope that our action inspires the community, including researchers, research funders, and research institutions, to recognize the benefits of published peer review reports for all parts of the research system.

Learn more at ASAPbio .