Perplexity AI uses a combination of its own in-house models and third-party models, with a strong emphasis on its Retrieval Augmented Generation (RAG) system.
Here's a breakdown:
In-house LLMs (pplx models):
Perplexity has developed its own large language models, often referred to as pplx models. These are typically fine-tuned versions of powerful open-source models.
For example, they have models like pplx-7b-online and pplx-70b-online which are fine-tuned from models like Mistral 7B and Llama 2 70B respectively.
The "online" designation signifies that these models are optimized to work with Perplexity's real-time web search and information retrieval capabilities.
These are the default models for many queries on Perplexity, especially for free users.
Third-Party LLMs (Primarily for Pro users):
Perplexity Pro subscribers get access to more powerful third-party models. Users can often choose which model to use for their queries. These include:
GPT-4 Turbo (from OpenAI)
Claude 3 Opus & Sonnet (from Anthropic)
Experimental models (Perplexity's own more advanced, unreleased models)
Potentially others as they become available and integrated.
Large Retrieval Model (LRM) / RAG System:
This is arguably Perplexity's core differentiator. While "LRM" isn't a distinct, separately named model they publicize, their entire architecture is built around Retrieval Augmented Generation (RAG).
How it works:
When you ask a question, Perplexity first uses its search engine technology to scour the web for relevant, up-to-date information.
It processes and ranks these search results.
The most relevant snippets of information from these sources are then fed as context to one of their LLMs (either their own pplx models or a third-party one like GPT-4/Claude 3).
The LLM then generates an answer based on this retrieved context, and Perplexity provides citations to the sources used.
This RAG system is what allows Perplexity to provide current information and cite its sources, mitigating hallucination and providing transparency.
In summary:
LLM: Perplexity uses a mix of its own pplx models (fine-tuned open-source models) and leading third-party models like GPT-4 and Claude 3 (especially for Pro users).
"LRM": This is best understood as their sophisticated RAG system, which integrates web search, information retrieval, and ranking with the LLM to generate informed and cited answers. It's not a single "LRM" model but rather the overarching architecture.
The specific models and their availability can change as Perplexity continues to innovate and update its platform.
User
I mean RLM not LRM
Assistant
Ah, thank you for the clarification! "RLM" can stand for a couple of things in this context, so let's cover the most likely ones:
Reinforcement Learning Model (RLM):
Yes, Perplexity AI almost certainly uses Reinforcement Learning (RL), specifically Reinforcement Learning from Human Feedback (RLHF), to fine-tune its in-house pplx models.
RLHF is a common and crucial technique for aligning LLMs to be more helpful, harmless, and honest. It involves:
Collecting human preferences on model outputs (e.g., ranking different answers to the same prompt).
Training a "reward model" based on these preferences.
Using this reward model to fine-tune the LLM with reinforcement learning algorithms (like PPO - Proximal Policy Optimization).
This process helps their pplx models (which are often fine-tuned versions of open-source models like Mistral or Llama) perform better, follow instructions more accurately, and reduce undesirable behaviors.
So, while they don't publicize a specific "RLM" as a standalone product, the principles of RLMs are integral to the training and refinement of their proprietary LLMs.
Retrieval Language Model (RLM):
If by "RLM" you're thinking of a model that inherently combines retrieval with language modeling, then this directly points back to their Retrieval Augmented Generation (RAG) architecture.
In this sense, their entire system functions as a sophisticated "Retrieval Language Model."
It retrieves relevant information from the web using its search capabilities.
This retrieved context is then fed into a language model (their pplx models, GPT-4, Claude 3, etc.) to generate an answer.
So, the "RLM" in this interpretation isn't a single model component but rather the overarching design philosophy and operational mechanism of Perplexity AI.
In summary:
For LLMs: Perplexity uses its own fine-tuned pplx models (built on open-source foundations) and offers access to powerful third-party models like GPT-4 and Claude 3.
For RLMs (Reinforcement Learning Models): The techniques of RL, particularly RLHF, are used to train and improve their in-house pplx LLMs.
For RLMs (Retrieval Language Models): Perplexity's core strength lies in its RAG system, which effectively functions as a very advanced Retrieval Language Model by integrating real-time web search with LLM generation.
They don't typically advertise a specific named "RLM," but the concepts are deeply embedded in their technology.
User
Sorry, it was supposed to be LRM - large reasoning models
Assistant
Okay, thank you for the final clarification! "LRM" as Large Reasoning Models.
In that context, Perplexity AI leverages "Large Reasoning Models" in two primary ways:
Through the State-of-the-Art Third-Party Models it Offers:
Models like GPT-4 Turbo (OpenAI) and Claude 3 Opus (Anthropic), which Perplexity Pro users can choose, are considered some of the most powerful Large Reasoning Models currently available.
Logical deduction: Following logical chains and making inferences.
Mathematical reasoning: Solving math problems.
Understanding nuance and context: Disambiguating complex queries.
Code generation and understanding: Which involves logical structuring.
When you select one of these models in Perplexity Pro, you are directly using a top-tier LRM to process your query in conjunction with Perplexity's retrieval system.
Through its In-House pplx Models (Enhanced by RAG):
Perplexity's own pplx models (e.g., pplx-7b-online, pplx-70b-online), which are fine-tuned versions of open-source models (like Mistral or Llama), are also designed to perform reasoning tasks.
While they might not have the same raw, standalone reasoning power as a GPT-4 Turbo or Claude 3 Opus on every complex abstract task, their reasoning capabilities are significantly augmented by Perplexity's Retrieval Augmented Generation (RAG) system.
How RAG enhances reasoning:
Grounding: By retrieving relevant, factual information from the web, the RAG system provides the pplx model with a solid foundation of facts. This reduces the need for the model to "reason" from a purely internal knowledge base (which can be prone to hallucination) and instead allows it to reason over the provided evidence.
Focus: The retrieved context helps focus the LLM's reasoning on the specific information needed to answer the query.
Synthesis: The model still needs to reason to synthesize information from multiple retrieved sources, identify consistencies or contradictions, and construct a coherent answer.
Perplexity's fine-tuning of these models also likely includes datasets and techniques aimed at improving their ability to reason about and synthesize information from search results.
In essence:
Perplexity AI doesn't necessarily have a distinct, separately branded model called "The Perplexity Large Reasoning Model." Instead, it:
Integrates leading third-party LRMs (GPT-4, Claude 3) for its Pro users.
Develops its own pplx models that possess reasoning capabilities, which are then supercharged by its RAG architecture. The RAG system ensures that the reasoning performed by the LLM is grounded in up-to-date, verifiable information.
So, the "reasoning" in Perplexity AI is a collaborative effort between the inherent capabilities of the chosen LLM (be it their own or third-party) and the contextual information provided by their powerful retrieval system. This combination is what allows it to tackle complex questions that require understanding, synthesis, and logical thought.