CRePE: Curved Ray Expectation Positional Encoding for Unified-Camera-Controlled Video Generation
The paper proposes CRePE, a novel positional encoding method that leverages curved ray expectations and a geometric attention adapter to enable unified, stable camera control and external geometry conditioning in video generation, effectively addressing the limitations of existing pinhole-based encodings for wide-angle and fisheye lenses.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to teach a robot artist how to paint a moving video scene. You want to tell the robot exactly how the camera should move (pan left, zoom in, spin around) and what kind of "lens" to use (like a standard camera, a wide-angle lens that stretches the edges, or a fisheye lens that makes everything look like a bubble).
The problem with previous robot artists is that they only understood the direction the camera was looking, but not how far away things were in that direction. It's like giving someone a compass that tells them "North" but doesn't tell them if a mountain is 1 mile away or 100 miles away. When the camera moves, the robot gets confused about where objects should be, especially with weird lenses like fisheye that bend the world.
This paper introduces a new tool called CRePE (Curved Ray Expectation Positional Encoding) to fix this. Here is how it works, using simple analogies:
1. The "Fuzzy Flashlight" vs. The "Laser Pointer"
Old methods acted like a laser pointer. They drew a straight line from the camera to a specific spot in the image and said, "This pixel is right here." This works okay for normal cameras, but fails with wide-angle or fisheye lenses because those lenses bend light like a funhouse mirror. The straight line doesn't match the bent reality.
CRePE acts like a fuzzy flashlight. Instead of saying, "This pixel is exactly at point X," it says, "This pixel is somewhere along this curved path, likely between these distances." It creates a "probability cloud" of where the object might be along the line of sight. This allows the robot to understand that with a fisheye lens, the path to an object isn't a straight line; it's a curve.
2. The "Smart GPS" for Video Tokens
In AI video generation, the image is broken into tiny puzzle pieces called "tokens."
- The Old Way: The robot knew which direction each puzzle piece was facing, but not how deep it was in the scene.
- The CRePE Way: CRePE gives every puzzle piece a "Smart GPS" tag. It predicts a distance and a range of uncertainty for that piece. It tells the robot, "This piece of the street is likely 5 meters away, give or take 1 meter."
3. The "Middle-Manager" Strategy
The paper tested where to put this new "Smart GPS" inside the robot's brain (which is a massive neural network).
- They found that putting it in the very beginning or the very end of the process didn't work well.
- The Sweet Spot: They found that the middle layers of the brain are the best place for this information. It's like having a middle manager who knows the details of the project (the geometry) and can organize the workers (the tokens) perfectly before the final product is finished.
4. The "Training Wheels" (Pseudo-Supervision)
To teach the robot this new skill, the researchers used a "training wheel" system. They used a separate, pre-existing AI (a "geometry foundation model") to guess the distances in the training videos.
- They didn't force the robot to copy these guesses perfectly.
- Instead, they used the guesses as a safety net. If the robot's guess was wildly wrong, the safety net nudged it back toward reality. If the safety net's guess was bad (like looking at a blurry sky), the robot was allowed to trust its own judgment.
5. The Result: Better Movies with Bending Lenses
When they tested CRePE:
- Better Camera Control: The videos followed the requested camera movements much more accurately, especially with wide-angle and fisheye lenses.
- Better Geometry: The objects in the video stayed in the right place as the camera moved, without warping or floating weirdly.
- Bonus Feature: Because the robot now understands "distance" so well, you can actually swap in a distance map from a different video. This lets you take the movement from one video and the shape of the world from another, creating new scenes that didn't exist before.
In Summary:
CRePE is a new way of teaching AI video generators to understand depth and curved lenses. Instead of just knowing which way to look, the AI now knows how far away things are, allowing it to create smooth, realistic videos even when using crazy, distorted camera lenses.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.