{
  "id": "bbg-p0326-ai-models-and-llm-systems",
  "title": "Full Fine-Tuning vs LoRA vs RAG",
  "chapter": "ai-models-and-llm-systems",
  "batch": "17",
  "rank": 164,
  "sourcePage": 326,
  "sourcePointer": "p. 326",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "comparison",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render and extracted text inspected",
      "preserve adaptation comparison: full weight updates, low-rank adapters, and runtime retrieval",
      "omit decorative source panels"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: full fine-tuning updates all weights",
      "concept: LoRA changes small adapters",
      "concept: RAG retrieves external knowledge",
      "concept: compute and storage tradeoffs"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "compare",
      "label": "Adaptation options",
      "x": 54,
      "y": 126,
      "w": 852,
      "h": 330
    }
  ],
  "shapes": [
    {
      "id": "base",
      "kind": "hex",
      "label": "Pretrained LLM",
      "detail": "base weights",
      "x": 92,
      "y": 244,
      "w": 140,
      "h": 84,
      "tone": "purple"
    },
    {
      "id": "full",
      "kind": "rect",
      "label": "Full tuning",
      "detail": "all weights",
      "x": 300,
      "y": 164,
      "w": 132,
      "h": 58,
      "tone": "red"
    },
    {
      "id": "lora",
      "kind": "rect",
      "label": "LoRA",
      "detail": "small adapters",
      "x": 502,
      "y": 164,
      "w": 132,
      "h": 58,
      "tone": "orange"
    },
    {
      "id": "rag",
      "kind": "rect",
      "label": "RAG",
      "detail": "retrieve context",
      "x": 704,
      "y": 164,
      "w": 132,
      "h": 58,
      "tone": "green"
    },
    {
      "id": "data",
      "kind": "cylinder",
      "label": "Domain data",
      "detail": "examples docs",
      "x": 502,
      "y": 334,
      "w": 132,
      "h": 74,
      "tone": "teal"
    }
  ],
  "connectors": [
    {
      "from": "base",
      "to": "full",
      "label": "retrain",
      "flow": "control"
    },
    {
      "from": "base",
      "to": "lora",
      "label": "adapt",
      "flow": "control"
    },
    {
      "from": "base",
      "to": "rag",
      "label": "ground",
      "flow": "main"
    },
    {
      "from": "data",
      "to": "full",
      "label": "train",
      "flow": "data"
    },
    {
      "from": "data",
      "to": "lora",
      "label": "adapter",
      "flow": "data"
    },
    {
      "from": "data",
      "to": "rag",
      "label": "retrieve",
      "flow": "data"
    }
  ]
}
