---
id: "large-reconstruction-model"
title: "Large Reconstruction Model (LRM)"
aliases: [LRM]
domain: "genai"
stage: "generation"
realtime: "interactive"
platforms: [cuda, python]
year_introduced: 2023
inputs: [ldr-image]
outputs: [radiance-field, mesh]
style: "both"
dynamic: "static"
cost: "heavy"
authority: "Hong et al., 2023"
url: "https://texelatlas.vercel.app/t/large-reconstruction-model/"
sources_verified_at: "2026-11-29"
---
# Large Reconstruction Model (LRM) (Hong et al., 2023)

> A big transformer that regresses a triplane NeRF from a single image in one forward pass, trained on about a million multi-view object renders; the template for most later feed-forward image-to-3D systems.

## Reach for it when

- want 3d from a single image in seconds
- optimisation per object is too slow
- need a feed-forward image-to-3d baseline
- predict a neural 3d representation without per-scene training

## How it works

A pretrained vision transformer encodes the image into tokens. A transformer decoder with learned triplane queries cross-attends to those tokens and outputs a triplane feature grid, which a small MLP turns into density and colour. Training renders the predicted NeRF from other known camera views of the same object and minimises image and mask losses, so no 3D-specific supervision beyond multi-view renders is needed. At test time a single forward pass gives the reconstruction, which can be volume-rendered or meshed with marching cubes. The scaling insight was that data and model size matter more than hand-built 3D priors.

## When to use it

Choose it as the conceptual baseline for single-image to 3D in seconds. In practice use [TripoSR](https://texelatlas.vercel.app/t/triposr.md) (permissive, packaged) or [InstantMesh](https://texelatlas.vercel.app/t/instantmesh.md) (mesh-focused with multi-view diffusion front end) rather than the original model, which has no official public weights. Prefer [Zero-1-to-3](https://texelatlas.vercel.app/t/zero-1-to-3.md) plus [Score Distillation Sampling (DreamFusion)](https://texelatlas.vercel.app/t/score-distillation-sampling.md) when no feed-forward model fits your category and you can wait.

## Cost

heavy — A single transformer forward pass; seconds on a datacentre GPU per the paper.
Measured GPU Weight: 38.49× baseline (heavy) — 1.2663 ms median / 1.2916 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 29.62× baseline (heavy) — 0.471 ms median (2.69× faster on L4).
Ampere A100 scaling: 25.8× baseline (heavy) — 0.7429 ms median (1.7× faster on A100).

## Failure modes

- Back of the object is blurry or mirrored because only one view is visible
- Fine texture and text are smoothed by the triplane resolution
- Out-of-distribution inputs (scenes, cluttered photos, unusual camera FOV) give melted shapes
- Triplane NeRF extraction yields staircase or noisy meshes without extra regularisation

## Dataflow

- Inputs: ldr-image
- Outputs: radiance-field, mesh
- Platforms: cuda, python

## Presets

### Large Reconstruction Model (LRM) — single-view cross-attention tokens (left) vs triplane 3D NeRF decode (right) (glsl-fragment; rendered 2026-11-30)

```json
{
  "P_ATTN_GLOW": 1,
  "P_SIGMA": 5.5,
  "P_ROT_SPEED": 0.6,
  "P_SPLIT": 0.45
}
```

```glsl
const float P_ATTN_GLOW = 1.0; // P Attention Glow [0.0, 1.8, 0.05]
const float P_SIGMA = 5.5; // P NeRF Density [1.5, 10.0, 0.25]
const float P_ROT_SPEED = 0.60; // P Orbit Speed [0.0, 2.2, 0.05]
const float P_SPLIT = 0.45; // P Tokens / 3D Recon [0.0, 1.0, 0.02]

mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }

// Stylized architectural teapot/capsule asset decoded from LRM triplane NeRF
void evalLRM(vec3 q, out float sigma, out vec3 rgb) {
  float body = length(q * vec3(1.0, 1.25, 1.0)) - 0.48;
  float dome = length(q - vec3(0.0, 0.36, 0.0)) - 0.26;
  float ring = length(vec2(length(q.xz) - 0.56, q.y + 0.06)) - 0.085;
  float d = min(min(body, dome), ring);
  sigma = exp(-max(d, 0.0) * 20.0) * smoothstep(0.14, -0.04, d);
  float band = smoothstep(-0.1, 0.1, sin(q.y * 14.0));
  rgb = mix(vec3(0.18, 0.54, 0.92), vec3(0.96, 0.72, 0.26), band * 0.65);
  rgb = mix(rgb, vec3(0.95, 0.34, 0.42), smoothstep(0.45, 0.56, length(q.xz)));
}

vec3 aces(vec3 x) {
  x = max(x, 0.0);
  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}

void mainImage(out vec4 fragColor, in vec2 fragCoord) {
  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
  float screenX = fragCoord.x / max(iResolution.x, 1.0);
  float split = clamp(P_SPLIT, 0.0, 1.0);
  float attn = clamp(P_ATTN_GLOW, 0.0, 2.0);
  float sigmaGain = clamp(P_SIGMA, 1.0, 12.0);
  float spin = iTime * max(P_ROT_SPEED, 0.0);

  vec3 bg = mix(vec3(0.022, 0.030, 0.052), vec3(0.062, 0.084, 0.138), smoothstep(-0.55, 0.55, uv.y));
  vec3 col = bg;

  if (screenX < split) {
    // Left: DINO image patch grid (input single-view tokens) sending cross-attention beams into triplane tokens
    vec2 p = uv + vec2(0.32, 0.0);
    float boxMask = step(max(abs(p.x), abs(p.y)), 0.34);
    vec2 patchUV = (p + 0.34) / 0.68;
    vec2 cell = floor(patchUV * 8.0);
    vec2 cf = fract(patchUV * 8.0);
    // Input silhouette inside the patch token grid
    float sil = smoothstep(0.30, 0.22, length(p * vec2(1.0, 1.2)));
    float ringSil = smoothstep(0.06, 0.02, abs(length(p - vec2(0.0, -0.02)) - 0.24));
    vec3 patchCol = mix(vec3(0.07, 0.11, 0.19), vec3(0.24, 0.62, 0.94), sil);
    patchCol = mix(patchCol, vec3(0.98, 0.44, 0.36), ringSil);
    float scan = exp(-abs(cell.y - mod(iTime * 5.0, 8.0)) * 0.9);
    patchCol += vec3(0.98, 0.82, 0.32) * scan * 0.35 * attn;
    float gridL = smoothstep(0.08, 0.02, min(cf.x, cf.y));
    patchCol = mix(patchCol, vec3(0.18, 0.88, 0.96), gridL * 0.35);
    col = mix(col, patchCol, boxMask);
    // Cross-attention streams radiating rightward toward the 3D triplane
    float rays = exp(-abs(sin(uv.y * 24.0 + uv.x * 6.0 - iTime * 3.5)) * 6.0) * smoothstep(-0.02, 0.35, uv.x + 0.25);
    col += vec3(0.22, 0.78, 0.98) * rays * 0.35 * attn * (1.0 - boxMask * 0.7);
  } else {
    // Right: Feed-forward 3D triplane NeRF volume rendered from novel orbiting view
    vec3 ro = vec3(0.0, 0.22, 2.25);
    vec3 rd = normalize(vec3(uv - vec2(0.10, 0.03), -1.52));
    ro.xz = rot2(spin * 0.62) * ro.xz;
    rd.xz = rot2(spin * 0.62) * rd.xz;

    float b = dot(ro, rd);
    float c = dot(ro, ro) - 1.0 * 1.0;
    float disc = b * b - c;
    if (disc > 0.0) {
      float t0 = max(-b - sqrt(disc), 0.1);
      float t1 = -b + sqrt(disc);
      float dt = (t1 - t0) / 44.0;
      vec3 acc = vec3(0.0);
      float T = 1.0;
      vec3 lDir = normalize(vec3(0.55, 0.80, 0.45));
      for (int i = 0; i < 44; i++) {
        float t = t0 + (float(i) + 0.5) * dt;
        vec3 p = ro + rd * t;
        float s; vec3 rgb;
        evalLRM(p, s, rgb);
        s *= sigmaGain;
        vec3 n = normalize(p + vec3(1e-4));
        float diff = max(dot(n, lDir), 0.0);
        float spec = pow(max(dot(n, normalize(lDir - rd)), 0.0), 32.0);
        vec3 lit = rgb * (0.35 + 0.75 * diff) + vec3(1.0) * spec * 0.38;
        float a = 1.0 - exp(-s * dt);
        acc += T * a * lit;
        T *= (1.0 - a);
        if (T < 0.015) break;
      }
      col = acc + T * bg;
    }
  }

  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
  col = mix(col, vec3(0.95, 0.97, 1.0), sep);

  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}
```

Attribution: MIT — written for this index.

## Sources

1. [primary] Yicong Hong, Kai Zhang, Jiuxiang Gu, Sai Bi, Yang Zhou, Difan Liu, Feng Liu, Kalyan Sunkavalli, Trung Bui, Hao Tan (2023) LRM: Large Reconstruction Model for Single Image to 3D. arXiv preprint (cs.CV). https://arxiv.org/abs/2311.04400 (verified via arxiv on 2026-11-29)
2. [implementation] 3DTopia (2023) 3DTopia/OpenLRM. https://github.com/3DTopia/OpenLRM License: Apache-2.0. (verified via github on 2026-11-29)

## Cite this entry

Texel. "Large Reconstruction Model (LRM)." https://texelatlas.vercel.app/t/large-reconstruction-model/ (accessed 2026-12-01).
