Gemma 4 E2B multimodal: TextVQA accuracy about 18 pp below the same model in LiteRT-LM
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ai-infra-agents, computer-vision, react-native, typescript
調査の方向性
Start by tracing how createLLMChatSession preprocesses image input for Gemma 4 E2B and compare its effective resolution with the LiteRT-LM bundle’s reported limit of 1024 px. Check whether the vision input resolution can be configured and inspect how generated control tokens are handled. Done means explaining or addressing the accuracy gap, documenting a higher-resolution option if supported, and checking that answers do not expose control tokens.
索引モデルが issue の本文から書いたものです。
説明
Description
On TextVQA (validation, 200 images, greedy decoding, maxNewTokens: 64) the Gemma 4 E2B omni .pte (XNNPACK 8da4w) scores:
- iPhone 17: 43.6 % (95 % CI 37.6-50.0)
- Galaxy S23: 42.8 % (36.7-49.4)
The same Gemma 4 E2B as a .litertlm bundle scores 59.5-62.0 % on the same 200 images and prompts.
The lost answers are mostly misread scene text, e.g. Casio for Macy's, 12.04 for 68.4, Four for 2, 3, 4. As far as we can tell the image is letterboxed to 640x448 before the vision encoder, while the LiteRT-LM bundle keeps up to 1024 px, so small text is gone before the model sees it.
Separately, one answer on the Galaxy S23 contained a leaked control token: Vacation<channel|>.
Expected: accuracy close to other runtimes for the same weights, or a documented way to use a higher input resolution.
Steps to reproduce
createLLMChatSessionwith the Gemma 4 E2B multimodal model from the registry and{ temperature: 0, topK: 1, enableThinking: false }.- Send
[{ kind: 'image', image }, question]for TextVQA validation images. - Score with the standard VQA accuracy.
Snack or a link to a repository
No response
React Native Executorch version
0.11.0 (code path re-checked in the 0.11.1 npm package)
React Native version
0.88.1 (Expo 58)
Platforms
Android, iOS
JavaScript runtime
No response
Workflow
No response
Architecture
No response
Build type
No response
Device
No response
Device model
iPhone 17 (iOS 26.5.2), Galaxy S23 (Android 16)
AI model
Gemma 4 E2B omni (XNNPACK 8da4w)
Performance logs
No response
Acknowledgements
Yes
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 102
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 46
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
software-mansion/react-native-executorch のほかの issue
-
Require react-native-blob-util >=1.0.0 (Xcode 27 iOS build failure)対応中かも @msluszniak が 23 日前に担当しました。 オープンdependencies platform: ios
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
software-mansion/react-native-executorch#1617 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Android: prebuilt libexecutorch.so SIGILLs on ARMv8.0 CPUs (unguarded LSE atomics in the JNI layer, one-line fix upstream)対応中かも @msluszniak が今日担当しました。 オープンuser exp
software-mansion/react-native-executorch#1665 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Chat session: add `session.reset()` for stateless single-turn requests対応中かも @barhanc が 1 日前に担当しました。 オープンfeature request
software-mansion/react-native-executorch#1664 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
software-mansion/react-native-executorch#1663 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Selfie segmentation: single-channel mask is passed through sigmoid twice対応中かも @barhanc が 1 日前に担当しました。 オープンmodel
software-mansion/react-native-executorch#1660 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
software-mansion/react-native-executorch の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ehmpathy/rhachet-roles-bhrain#878 ·
メンテナーはふだん 1 日以内に返信
-
Chat UI: Message actions dropdown is cut off beneath composer when message is near bottom of chat対応中かも @koeria が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
milind-soni/OpenMausBot#8023 ·
メンテナーはふだん 1 日以内に返信
-
Windows microphone listing treats words in a device name as DirectShow labels対応中かも @Sujal-chaudhary が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
clipy-recorder/clipy#447 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nightly-labs/openbot#19162 ·
メンテナーはふだん 1 日以内に返信
-
triage:in-progress
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Cotal-AI/Cotal#11229 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信