arXiv Science⌕ Search

arXiv subjects

Suyeon Hwang

Publications and source records attributed to Suyeon Hwang.

2 recordsLinked to original sources

Revisiting Compact Streaming Video Memory: Preserving Both Past and Present

In streaming video understanding, questions may ask about either the current scene or an earlier moment; e.g., after a drive from day to night, the answer to "Is it daytime?" is 'no' for the current scene but 'yes' for the beginning of the drive. Yet existing benchmarks evaluate state tracking and history recall separately. To address this, we introduce State-Contrastive Evaluation (SCE), a complementary protocol that jointly scores prior- and current-state questions, testing whether a memory keeps both. With SCE, we find that bounded-memory methods, which discard or merge the past, often lose prior states, whereas retrieval-based methods, which read the past for every question, let it interfere with current-state answers. We therefore propose StreamLoG, a training-free memory that decouples what to keep from when to read. It stores each past frame as compact low-rank residuals over shared statistics, keeping every frame retrievable. It looks back only when the recent frames barely change the model's representation of the question, limiting interference with current-state answers. On SCE, StreamLoG answers both prior- and current-state questions at the same moment correctly in 22.0% of pairs, versus 15.2% for the strongest method, while a recent-frame baseline strong on existing benchmarks does so in only 4.8%, below a text-only model. On three existing benchmarks, ours remains competitive while using about 1/16 of the uncompressed KV memory per frame in FP16.

cs.CV↗

HookLens: Visual Analytics for Understanding React Hooks Structures

Maintaining and refactoring React web applications is challenging, as React code often becomes complex due to its core API called Hooks. For example, Hooks often lead developers to create complex dependencies among components, making code behavior unpredictable and reducing maintainability, i.e., anti-patterns. To address this challenge, we present HookLens, an interactive visual analytics system that helps developers understand howHooks define dependencies and data flows between components. Informed by an iterative design process with experienced React developers, HookLens supports users to efficiently understand the structure and dependencies between components and to identify anti-patterns. A quantitative user study with 12 React developers demonstrates that HookLens significantly improves participants' accuracy in detecting anti-patterns compared to conventional code editors. Moreover, a comparative study with state-of-the-art LLM-based coding assistants confirms that these improvements even surpass the capabilities of such coding assistants on the same task.

cs.HC↗