Abstract
Traditional Spoken Language Understanding (SLU) systems rely on rigid "intent and slot" architectures that struggle with domain overlap, complex compound requests, and linguistic ambiguity. This paper introduces the Alexa Meaning Representation Language (AMRL), a graph-based semantic framework grounded in a massive hierarchical ontology. AMRL represents utterances as rooted graphs, enabling precise cross-domain understanding, anaphora resolution, and the representation of inferred entities. Experimental results demonstrate high parsing accuracy and annotation efficiency, suggesting that AMRL provides a scalable and robust foundation for industrial-scale voice assistants.
Introduction
Voice assistants frequently encounter ambiguity in natural language. A request like "Play Hunger Games" could refer to an audiobook, a movie, or a soundtrack. Traditional SLU models attempt to force these requests into flat "intent and slot" buckets. This approach suffers from several limitations: domain overlap (where linguistically similar requests belong to different domains), an inability to handle compound requests, and a lack of mechanisms for resolving ambiguity or reusing data structures across different skills.
The AMRL Framework
To address these challenges, Amazon researchers developed AMRL, which moves beyond flat structures to a rooted graph representation. This framework is built upon two pillars:
- The Alexa Ontology: A hierarchical map of the world based on schema.org, defining Classes (entities like people or places), Properties (relationships), and Roles (how actions interact with objects).
- Graph-Based Representation: Utterances are mapped to graphs where nodes represent class instances and edges represent properties. This allows for "inferred nodes"—entities necessary for logic but not explicitly named—and logical operators for complex commands involving conjunctions or conditionals.
As shown in the figure above, AMRL allows for high compositionality. The structure for "Turn on the lights" is semantically similar to "Turn on the music," enabling massive code and data reuse across different features.
Advanced Semantic Capabilities
One of AMRL's primary strengths is its ability to handle context and the "unspoken." It excels at anaphora resolution, linking pronouns or references back to specific entities from previous conversational turns using unique IDs.
Furthermore, AMRL utilizes reification through inferred nodes. For example, if a user asks for a restaurant "near the sharks game," the system can create an inferred node for the location of the game to bridge the gap between the sports and local search domains.
Results and Scalability
To evaluate AMRL, researchers created a benchmark of approximately 20,000 manually annotated examples across eight domains. While existing frameworks like Abstract Meaning Representation (AMR) use roughly 80 entity types, AMRL utilizes over 1,000.
Key findings include:
- Parsing Accuracy: Modern sequence-to-sequence models achieved a 78% full-parse accuracy in predicting AMRL graphs from natural language.
- Annotation Efficiency: Trained annotators mapped utterances at a rate of 40 per hour, proving the framework's industrial scalability.
- Deployment: The representation has been integrated into the Alexa Skills Kit to support developers in building more complex interactions.
Limitations and Future Work
Despite its advantages, AMRL continues to evolve. Current challenges include improving quantification (e.g., handling "all" vs. "some"), creating automated mappings to formal First Order Logic, and better representing linguistic agency in complex multi-party scenarios. Future iterations aim to refine these logical mappings to further enhance the assistant's reasoning capabilities.
Summary updated