Back to search

Monterey, CA; Naval Postgraduate School

CONTROLLED EVALUATION OF ATTENTION MECHANISMS FOR THE WIDEST PATH PROBLEM

Abstract

dc:description.abstract

Many logistics and networked systems are constrained by bottlenecks rather than cumulative costs. Such decision structures are naturally modeled by the widest path problem (WPP), a classical network optimization problem with an exact dynamic programming (DP) solution. This thesis studies how different attention mechanisms behave on bottleneck-based problems such as the WPP. Extending prior work on tropical attention transformers, this thesis applies the same encoder-only architecture and attention variants (softmax, adaptive, and tropical) to a new bottleneck-based problem, the WPP. Models are trained in a supervised setting using exact DP solutions and evaluated under both in-distribution (ID) and out-of-distribution (OOD) conditions, including increased graph size, shifted edge capacities, and near-tie stress tests. Results show that while all models perform similarly under ID, softmax-based attention degrades substantially under distribution shift. Tropical attention exhibits more stable generalization, suggesting that structural alignment between attention mechanisms and bottleneck-style DP is critical for neural algorithmic generalization.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Operations Research
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Operations Research
Department dc:contributor.department
Operations Research (OR)
Grantor dc:publisher
Monterey, CA; Naval Postgraduate School
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • An, Yunjeong
Advisor dc:contributor.advisor
  • Yoshida, Ruriko
Committee member dc:contributor.committeemember
  • Huang, Jefferson

Rights

dc:rights
Statement dc:rights
  • Copyright is reserved by the copyright owner.
  • Distribution Statement A. Approved for public release: Distribution is unlimited.

Identifiers

dc:identifier.*
Dc Identifier Programcode
360, Operations Analysis
Thesis Thesis Identifier
41555

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

An, Yunjeong. CONTROLLED EVALUATION OF ATTENTION MECHANISMS FOR THE WIDEST PATH PROBLEM. Masters thesis, Monterey, CA; Naval Postgraduate School, 2026. https://hdl.handle.net/10945/74964