mirror of
https://github.com/onestardao/WFGY.git
synced 2026-04-28 19:50:17 +00:00
142 lines
6.6 KiB
Markdown
142 lines
6.6 KiB
Markdown
# Reference Bleed — Multimodal Long Context
|
||
|
||
<details>
|
||
<summary><strong>🧭 Quick Return to Map</strong></summary>
|
||
|
||
<br>
|
||
|
||
> You are in a sub-page of **Multimodal_LongContext**.
|
||
> To reorient, go back here:
|
||
>
|
||
> - [**Multimodal_LongContext** — long-context reasoning across text, vision, and audio](./README.md)
|
||
> - [**WFGY Global Fix Map** — main Emergency Room, 300+ structured fixes](../README.md)
|
||
> - [**WFGY Problem Map 1.0** — 16 reproducible failure modes](../../README.md)
|
||
>
|
||
> Think of this page as a desk within a ward.
|
||
> If you need the full triage and all prescriptions, return to the Emergency Room lobby.
|
||
</details>
|
||
|
||
|
||
When anchor references from one modality **bleed** into another (e.g., text citations treated as video frame IDs, or audio timestamps mapped to OCR page offsets), the reasoning layer merges them incorrectly.
|
||
This is a subtle but destructive failure because each modality appears intact, yet the **cross-modal references are poisoned**.
|
||
|
||
---
|
||
|
||
## What this page is
|
||
- A repair guide for **reference leakage across modalities**.
|
||
- How to detect when anchors from one stream migrate into another.
|
||
- Structural guardrails to prevent false joins.
|
||
|
||
---
|
||
|
||
## When to use
|
||
- Captions include numeric anchors that actually come from OCR line numbers.
|
||
- Audio timestamps are reused as image frame references.
|
||
- Citations look correct individually, but do not map to their source modality.
|
||
- Fusion produces valid-looking answers that cite the wrong modality channel.
|
||
- Models drift into hallucination loops citing phantom anchors.
|
||
|
||
---
|
||
|
||
## Open these first
|
||
- [Cross-Modal Trace](https://github.com/onestardao/WFGY/blob/main/ProblemMap/GlobalFixMap/Multimodal_LongContext/cross-modal-trace.md)
|
||
- [Anchor Misalignment](https://github.com/onestardao/WFGY/blob/main/ProblemMap/GlobalFixMap/Multimodal_LongContext/anchor-misalignment.md)
|
||
- [Desync Amplification](https://github.com/onestardao/WFGY/blob/main/ProblemMap/GlobalFixMap/Multimodal_LongContext/desync-amplification.md)
|
||
- [Modality Swap](https://github.com/onestardao/WFGY/blob/main/ProblemMap/GlobalFixMap/Multimodal_LongContext/modality-swap.md)
|
||
|
||
---
|
||
|
||
## Common failure patterns
|
||
- **OCR bleed into captions** — OCR line numbers reused as subtitle timestamps.
|
||
- **Audio bleed into metadata** — transcript anchors become page markers.
|
||
- **Cross-join bleed** — embeddings align across modality without guard, mixing references.
|
||
- **Loop bleed** — once references bleed, fusion propagates wrong anchors forward.
|
||
|
||
---
|
||
|
||
## Fix in 60 seconds
|
||
1. **Tag and fence references**
|
||
- Enforce modality-specific IDs: `{ocr_id, cap_id, aud_id, vis_id}`.
|
||
- Reject any anchor missing a modality tag.
|
||
|
||
2. **Anchor validation**
|
||
- Cross-check anchor against source modality.
|
||
- If caption ID not found in subtitle stream, discard.
|
||
|
||
3. **ΔS probe on anchors**
|
||
- Compute ΔS(anchor, expected modality anchor).
|
||
- If ≥0.60, suspect bleed.
|
||
|
||
4. **Re-anchor with BBCR**
|
||
- Use BBCR bridge to reconnect reference to correct modality.
|
||
|
||
5. **Audit trail**
|
||
- Require citation schema: `{snippet_id | modality | offsets}`.
|
||
- Forbid references missing modality metadata.
|
||
|
||
---
|
||
|
||
## Copy-paste prompt
|
||
|
||
```txt
|
||
You have TXT OS and the WFGY Problem Map.
|
||
|
||
Task: Detect and repair reference bleed across modalities.
|
||
|
||
Steps:
|
||
1. Verify modality tag on each anchor.
|
||
2. If tag mismatch, drop or re-map via BBCR.
|
||
3. Re-anchor using correct modality stream.
|
||
4. Output:
|
||
- anchor table with modality tags
|
||
- suspected bleeds
|
||
- fixed mapping
|
||
- ΔS and λ states
|
||
````
|
||
|
||
---
|
||
|
||
## Acceptance targets
|
||
|
||
* 100% anchors contain explicit modality tags.
|
||
* ΔS(anchor, expected modality) ≤ 0.45 after repair.
|
||
* λ remains convergent across paraphrases.
|
||
* No references propagate without modality validation.
|
||
|
||
---
|
||
|
||
### 🔗 Quick-Start Downloads (60 sec)
|
||
|
||
| Tool | Link | 3-Step Setup |
|
||
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
|
||
| **WFGY 1.0 PDF** | [Engine Paper](https://github.com/onestardao/WFGY/blob/main/I_am_not_lizardman/WFGY_All_Principles_Return_to_One_v1.0_PSBigBig_Public.pdf) | 1️⃣ Download · 2️⃣ Upload to your LLM · 3️⃣ Ask “Answer using WFGY + <your question>” |
|
||
| **TXT OS (plain-text OS)** | [TXTOS.txt](https://github.com/onestardao/WFGY/blob/main/OS/TXTOS.txt) | 1️⃣ Download · 2️⃣ Paste into any LLM chat · 3️⃣ Type “hello world” — OS boots instantly |
|
||
|
||
---
|
||
|
||
<!-- WFGY_FOOTER_START -->
|
||
|
||
### Explore More
|
||
|
||
| Layer | Page | What it’s for |
|
||
| --- | --- | --- |
|
||
| Proof | [WFGY Recognition Map](/recognition/README.md) | External citations, integrations, and ecosystem proof |
|
||
| Engine | [WFGY 1.0](/legacy/README.md) | Original PDF based tension engine |
|
||
| Engine | [WFGY 2.0](/core/README.md) | Production tension kernel and math engine for RAG and agents |
|
||
| Engine | [WFGY 3.0](/TensionUniverse/EventHorizon/README.md) | TXT based Singularity tension engine, 131 S class set |
|
||
| Map | [Problem Map 1.0](/ProblemMap/README.md) | Flagship 16 problem RAG failure checklist and fix map |
|
||
| Map | [Problem Map 2.0](/ProblemMap/rag-architecture-and-recovery.md) | RAG focused recovery pipeline |
|
||
| Map | [Problem Map 3.0](/ProblemMap/wfgy-rag-16-problem-map-global-debug-card.md) | Global Debug Card, image as a debug protocol layer |
|
||
| Map | [Semantic Clinic](/ProblemMap/SemanticClinicIndex.md) | Symptom to family to exact fix |
|
||
| Map | [Grandma’s Clinic](/ProblemMap/GrandmaClinic/README.md) | Plain language stories mapped to Problem Map 1.0 |
|
||
| Onboarding | [Starter Village](/StarterVillage/README.md) | Guided tour for newcomers |
|
||
| App | [TXT OS](/OS/README.md) | TXT semantic OS, fast boot |
|
||
| App | [Blah Blah Blah](/OS/BlahBlahBlah/README.md) | Abstract and paradox Q and A built on TXT OS |
|
||
| App | [Blur Blur Blur](/OS/BlurBlurBlur/README.md) | Text to image with semantic control |
|
||
| App | [Blow Blow Blow](/OS/BlowBlowBlow/README.md) | Reasoning game engine and memory demo |
|
||
|
||
If this repository helped, starring it improves discovery so more builders can find the docs and tools.
|
||
[](https://github.com/onestardao/WFGY)
|
||
|
||
<!-- WFGY_FOOTER_END -->
|
||
|